Closed romsworld closed 8 years ago
@romsworld You do realise that the POST and GET result is already logged in the http.txt
output?
If you wanted to see it live on screen, all you would need to do is open another terminal window and tail it. If this information was written to STDOUT also it would display a huge amount of info.
Can I ask why you want to do this? In 10 years of using WebInject I've never wanted to do such a thing... You should investigate the curl command - this does exactly what you want.
Added the --verbose option to display the request and response as string for each test step.
In the future it may show additional debug information.
Hi Qarj, I understood that I can see output in http.txt :). Thanks.
Hi Romsworld,
Great – no problem. Actually I added the feature you wanted anyway – there is now a --verbose flag.
What do you use WebInject for?
Best of Luck,
Tim
From: romsworld [mailto:notifications@github.com] Sent: 13 August 2016 16:21 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Qarj, I understood that I can see output in http.txt :). Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-239625956, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToK_PCjjsR9dec1OwjlNXgkvLnEsAks5qfeDIgaJpZM4Jf9uC.
Disclaimer
This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.
Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861
I m hosting, we check some websites with centreon.
Is it possible to merge config file and test.xml to use only one file ?
Hi Nicolas,
For the way I use WebInject, I wouldn’t want the config and test file in one file.
However for the way you use it, it might be possible since I suspect you do not have much in the config file.
If you send me your config file, I can take a look. You can change the stuff in it so it is anonymous, I just need to see which options you are using.
Cheers,
Tim
From: romsworld [mailto:notifications@github.com] Sent: 19 August 2016 08:31 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
I m hosting, we check some websites with centreon.
Is it possible to merge config file and test.xml to use only one file ?
Cordialement, Nicolas COULIN KLEEGROUP Centre d'affaires la Boursidière BP 159 - 92357 Le Plessis Robinson Cedex - France Tel +33 1 46 29 25 26 Fax +33 1 46 29 58 00
De : Tim Buckland [mailto:notifications@github.com] Envoyé : lundi 15 août 2016 10:24 À : Qarj/WebInject WebInject@noreply.github.com<mailto:WebInject@noreply.github.com> Cc : Nicolas COULIN nicolas.coulin@kleegroup.com<mailto:nicolas.coulin@kleegroup.com>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Objet : Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Romsworld,
Great – no problem. Actually I added the feature you wanted anyway – there is now a --verbose flag.
What do you use WebInject for?
Best of Luck,
Tim
From: romsworld [mailto:notifications@github.com] Sent: 13 August 2016 16:21 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Qarj, I understood that I can see output in http.txt :). Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-239625956, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToK_PCjjsR9dec1OwjlNXgkvLnEsAks5qfeDIgaJpZM4Jf9uC.
Disclaimer
This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.
Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-239751850, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL9tf61O4L4KROLHaNwrRXvKKlAQyQn-ks5qgCIdgaJpZM4Jf9uC.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-240948536, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToHxE1tfYMvDMb99_CX_ZAD3nhQIcks5qhVvQgaJpZM4Jf9uC.
It’s very simple
testcasefile>test.xml
Perhaps, I don’t understand the benefit of config file,
Yes I think in your case you don’t have much need for the config file so it is a bit of a pain.
However I use very large config files – the benefit is that you can run the same set of tests against very different environments. In the config file you can set things like the baseurl and environment variables like the username and password needed for various systems in that environment.
From: romsworld [mailto:notifications@github.com] Sent: 19 August 2016 12:00 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
It’s very simple
testcasefile>test.xml
Perhaps, I don’t understand the benefit of config file,
Cordialement, Nicolas COULIN KLEEGROUP Centre d'affaires la Boursidière BP 159 - 92357 Le Plessis Robinson Cedex - France Tel +33 1 46 29 25 26 Fax +33 1 46 29 58 00
De : Tim Buckland [mailto:notifications@github.com] Envoyé : vendredi 19 août 2016 11:02 À : Qarj/WebInject WebInject@noreply.github.com<mailto:WebInject@noreply.github.com> Cc : Nicolas COULIN nicolas.coulin@kleegroup.com<mailto:nicolas.coulin@kleegroup.com>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Objet : Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Nicolas,
For the way I use WebInject, I wouldn’t want the config and test file in one file.
However for the way you use it, it might be possible since I suspect you do not have much in the config file.
If you send me your config file, I can take a look. You can change the stuff in it so it is anonymous, I just need to see which options you are using.
Cheers,
Tim
From: romsworld [mailto:notifications@github.com] Sent: 19 August 2016 08:31 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
I m hosting, we check some websites with centreon.
Is it possible to merge config file and test.xml to use only one file ?
Cordialement, Nicolas COULIN KLEEGROUP Centre d'affaires la Boursidière BP 159 - 92357 Le Plessis Robinson Cedex - France Tel +33 1 46 29 25 26 Fax +33 1 46 29 58 00
De : Tim Buckland [mailto:notifications@github.com] Envoyé : lundi 15 août 2016 10:24 À : Qarj/WebInject WebInject@noreply.github.com<mailto:WebInject@noreply.github.com<mailto:WebInject@noreply.github.com%3cmailto:WebInject@noreply.github.com<mailto:WebInject@noreply.github.com%3cmailto:WebInject@noreply.github.com%3cmailto:WebInject@noreply.github.com%3cmailto:WebInject@noreply.github.com>>> Cc : Nicolas COULIN nicolas.coulin@kleegroup.com<mailto:nicolas.coulin@kleegroup.com<mailto:nicolas.coulin@kleegroup.com%3cmailto:nicolas.coulin@kleegroup.com<mailto:nicolas.coulin@kleegroup.com%3cmailto:nicolas.coulin@kleegroup.com%3cmailto:nicolas.coulin@kleegroup.com%3cmailto:nicolas.coulin@kleegroup.com>>>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com<mailto:mention@noreply.github.com%3cmailto:mention@noreply.github.com<mailto:mention@noreply.github.com%3cmailto:mention@noreply.github.com%3cmailto:mention@noreply.github.com%3cmailto:mention@noreply.github.com>>> Objet : Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Romsworld,
Great – no problem. Actually I added the feature you wanted anyway – there is now a --verbose flag.
What do you use WebInject for?
Best of Luck,
Tim
From: romsworld [mailto:notifications@github.com] Sent: 13 August 2016 16:21 To: Qarj/WebInject Cc: Tim Buckland; State change Subject: Re: [Qarj/WebInject] Add verbose to debug (#14)
Hi Qarj, I understood that I can see output in http.txt :). Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-239625956, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToK_PCjjsR9dec1OwjlNXgkvLnEsAks5qfeDIgaJpZM4Jf9uC.
Disclaimer
This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.
Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-239751850, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL9tf61O4L4KROLHaNwrRXvKKlAQyQn-ks5qgCIdgaJpZM4Jf9uC.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-240948536, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToHxE1tfYMvDMb99_CX_ZAD3nhQIcks5qhVvQgaJpZM4Jf9uC.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-240966261, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL9tf-QT31ObkpzrFq00vu-K6kj9f_l0ks5qhXD7gaJpZM4Jf9uC.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Qarj/WebInject/issues/14#issuecomment-240989753, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABqToKlu8R0F4KZWzNoEbg6f9UrHX8C6ks5qhYzMgaJpZM4Jf9uC.
Hi,
Is it possible to add a verbose mode to see POST and GET result in the output.
Thanks, !