You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ry...@scd.desjardins.com on 2007/04/16 16:15:27 UTC
No request data ouputted with SOAP/XML-RPC Request sampler.
Greetings,
First of all this is a great product! I have watched it evolve over the last few years and am very happy to have it as part of my QA Automation tool
kit!
I am encountering a problem with the "request" tab within "view results tree" when utilizing the "SOAP/XML-RPC Request sampler" with https (probably http also) requests.
Specifically I am not seeing the request data being outputted to the screen.
This is what I do see:
https://192.168.8.21/catch
[no cookies]
Request Headers:
However I would expect to see all the lovely XML that makes up the request.
The response data is outputting just fine, and my test is being executed flawlessly, however I never get to see the "request" which jmeter is generating.
Though I have a workaround (on the XML listener on the serverside), I am sure that this used to work, and that it should work.
My testcase is as follows:
|Test Plan
|_User Defined Variables
|_Thread Group
|_Http Header Manager
|_SOAP/XML-RPC Request sampler
| |_Xpath Extractor
|_SOAP/XML-RPC Request sampler
|_View Results Tree
|_Graph Results
I know that this had been identified in a previous mailing
(http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-dev/200606.mbox/%3c8B8DA41C2307E74091C403DDF06ABC5A026DB96C@EXCHG01-BUR%3e), but I did not find a
resolution/patch or bug number associated to this issue.
I am not seeing anything strange being outputted to my log file, nor the jmeter console.
Just the same here is my logfile:
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2007/04/16 10:03:36 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local)
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Starting 0 threads for group Pure XML. Ramp up = 0.
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Continue on error
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Starting 0 threads for group Preauth/Completion. Ramp up = 0.
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Continue on error
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Starting 0 threads for group Refund. Ramp up = 0.
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Continue on error
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group PreAuth Cancel. Ramp up = 0.
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Continue on error
2007/04/16 10:03:36 INFO - jmeter.threads.JMeterThread: Thread PreAuth Cancel 4-1 started
2007/04/16 10:03:36 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP Header Manager superseded by HTTP Header Manager
2007/04/16 10:03:36 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP Header Manager superseded by HTTP Header Manager
2007/04/16 10:03:36 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP Header Manager superseded by HTTP Header Manager
2007/04/16 10:03:36 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP Header Manager superseded by HTTP Header Manager
2007/04/16 10:03:36 INFO - jmeter.threads.JMeterThread: Thread PreAuth Cancel 4-1 is done
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Ending thread PreAuth Cancel 4-1
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Stopping test
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2007/04/16 10:03:36 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local)
2007/04/16 10:03:36 INFO - jmeter.engine.StandardJMeterEngine: Test has ended
Any and all help on this would be greatly appreciated!
Regards,
Ryan Deschamps
(Embedded image moved to file: pic13665.gif)
Re: No request data ouputted with SOAP/XML-RPC Request sampler.
Posted by sebb <se...@gmail.com>.
On 16/04/07, ryan.deschamps@scd.desjardins.com
<ry...@scd.desjardins.com> wrote:
> Sebb,
> Thanks for the suggestion, however I am already running the latest nightly build.
>
> Not sure what you are getting at with regards to the following, perhaps you could shed some light?
>
> > "it would not make sense for it to include the contents of any files for example."
Mainly because the files may be quite large - why bother wasting all
that memory when the data can be read from the file?
In general, the request contents are known, because they are in the
test plan, but of course any variable substitutions are not shown.
> We are talking about an XML post operation, so why would it not make sense to see this request? I mean I see the response in all of it's XML glory.
>
> I know that someone else fixed this by:
>
> > adding the following line before return from the sample method:
>
> > res.setURL(new URL(res.getURL().getProtocol(), res.getURL().getHost(),
> res.getURL().getPort(), res.getURL().getFile() + "\n\n" + getXmlData()));
>
> This is not a big issue for me, but it would definitely help troubleshooting bad
> requests (without having to rely on getting output from my listener on the server
> side), more than anything it just seems like a bug to me...given that the response
> tab is being populated with real data it seems to me that the request tab should as
> well.
>
Actually there is a Bugzilla issue about NOT storing all data:
http://issues.apache.org/bugzilla/show_bug.cgi?id=41921
this relates to responses, but the problem is the same - memory usage.
Check whether there is already a Bugzilla enhancement for this; if
not, feel free to add one...
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: No request data ouputted with SOAP/XML-RPC Request sampler.
Posted by ry...@scd.desjardins.com.
Sebb,
Thanks for the suggestion, however I am already running the latest nightly build.
Not sure what you are getting at with regards to the following, perhaps you could shed some light?
> "it would not make sense for it to include the contents of any files for example."
We are talking about an XML post operation, so why would it not make sense to see this request? I mean I see the response in all of it's XML glory.
I know that someone else fixed this by:
> adding the following line before return from the sample method:
> res.setURL(new URL(res.getURL().getProtocol(), res.getURL().getHost(),
res.getURL().getPort(), res.getURL().getFile() + "\n\n" + getXmlData()));
This is not a big issue for me, but it would definitely help troubleshooting bad
requests (without having to rely on getting output from my listener on the server
side), more than anything it just seems like a bug to me...given that the response
tab is being populated with real data it seems to me that the request tab should as
well.
Thanks Again for all your help,
Ryan Deschamps
(Embedded image moved to file: pic22296.gif)
sebb <se...@gmail.com>
16/04/2007 11:36 AM To
"JMeter Users List" <jm...@jakarta.apache.org>
cc
Please respond to
"JMeter Users List" <jm...@jakarta.apache.org> Subject
Re: No request data ouputted with SOAP/XML-RPC Request sampler.
On 16/04/07, ryan.deschamps@scd.desjardins.com
<ry...@scd.desjardins.com> wrote:
>
> Greetings,
> First of all this is a great product! I have watched it evolve over the last few years and am very happy to have it as part of my QA Automation tool
> kit!
>
> I am encountering a problem with the "request" tab within "view results tree" when utilizing the "SOAP/XML-RPC Request sampler" with https (probably http also)
requests.
>
> Specifically I am not seeing the request data being outputted to the screen.
Yes, this is deliberate for that version of JMeter.
I think the nightly build may show a bit more detail, but it would not
make sense for it to include the contents of any files for example.
If not, check Bugzilla, and raise an enhancement issue if necessary.
By the way the message:
2007/04/16 10:03:36 WARN -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager
suggests that you have got multiple Header Managers in ths same scope.
This is not a good idea, as only one will be used.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: No request data ouputted with SOAP/XML-RPC Request sampler.
Posted by sebb <se...@gmail.com>.
On 16/04/07, ryan.deschamps@scd.desjardins.com
<ry...@scd.desjardins.com> wrote:
>
> Greetings,
> First of all this is a great product! I have watched it evolve over the last few years and am very happy to have it as part of my QA Automation tool
> kit!
>
> I am encountering a problem with the "request" tab within "view results tree" when utilizing the "SOAP/XML-RPC Request sampler" with https (probably http also) requests.
>
> Specifically I am not seeing the request data being outputted to the screen.
Yes, this is deliberate for that version of JMeter.
I think the nightly build may show a bit more detail, but it would not
make sense for it to include the contents of any files for example.
If not, check Bugzilla, and raise an enhancement issue if necessary.
By the way the message:
2007/04/16 10:03:36 WARN -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager
suggests that you have got multiple Header Managers in ths same scope.
This is not a good idea, as only one will be used.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org