You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Simon Payne <Si...@1spatial.com> on 2009/02/05 15:59:34 UTC
question re jmeter and jaxws-ri
Hello,
I am load testing a JAXWS-RI based webservice implementation, deployed on an Oracle OC4J 10.1.3.4 platform. I have chosen JMeter because it has a good reputation as a load testing tool and supports SOAP XML webservice testing. My JMeter version is 2.3.1. I am testing on Windows XP (and OC4J is running on localhost). However, I am having a problem because the WebService(SOAP)Request sampler I am using is not working properly (for want to a better phrase). I have verified (using tcpmon) that the SOAP request is being sent to the webservice and is handled correctly, returning status code 200 and a success message. But the jmeter.log file reports: -
2009/02/05 13:13:46 WARN - jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Missing content type.]
And a View Results Tree listener also reports: -
Thread Name: MyWebService 1-1
Sample Start: 2009-02-05 14:55:00 GMT
Load time: 0
Latency: 0
Size in bytes: 0
Sample Count: 1
Error Count: 1
Response code: 000
Response message: Missing content type.
Response headers:
Compare this with the tcpmon response trace:
HTTP/1.1 200 OK
Date: Thu, 05 Feb 2009 14:54:59 GMT
Server: Oracle Containers for J2EE
Content-Length: 427
Connection: close
Content-Type: text/xml;charset=utf-8"
{body follows, not appended here as not relevant}
Please can you advise if this is a known issue, or have I misconfigured my test?
Simon Payne
IMPORTANT NOTICE
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of 1Spatial Group Limited, its subsidiaries or associated companies, except where the author specifically states them to be the views of 1Spatial Group Limited, its subsidiaries or associated companies.
1Spatial Group Limited, its subsidiaries and associated companies will not be held liable for any legally binding obligations that are not the subject of an official 1Spatial purchase order or as part of a contract signed by a director of one of the aforementioned companies.
Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. You should understand and accept that, when communicating with us by e-mail, it is not a totally secure communications medium.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: question re jmeter and jaxws-ri
Posted by sebb <se...@gmail.com>.
On 05/02/2009, Simon Payne <Si...@1spatial.com> wrote:
> Hello,
>
> I am load testing a JAXWS-RI based webservice implementation, deployed on an Oracle OC4J 10.1.3.4 platform. I have chosen JMeter because it has a good reputation as a load testing tool and supports SOAP XML webservice testing. My JMeter version is 2.3.1. I am testing on Windows XP (and OC4J is running on localhost). However, I am having a problem because the WebService(SOAP)Request sampler I am using is not working properly (for want to a better phrase). I have verified (using tcpmon) that the SOAP request is being sent to the webservice and is handled correctly, returning status code 200 and a success message. But the jmeter.log file reports: -
>
> 2009/02/05 13:13:46 WARN - jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Missing content type.]
The Webservice sampler uses an old (obsolete) version of Apache SOAP -
this may be the cause. Unfortunately it's not possible to update the
SOAP jar, as the API has changed.
I suggest you try the XML-RPC version of the sampler, and upgrade to
JMeter 2.3.2.
Be sure to read the updated docs for the sampler.
It should be easy enough to confirm whether or not the current version
of JMeter works for you. I've not looked into how easy it will be to
convert from using the WebService(SOAP) sampler to XML-RPC - hopefully
you have not created many test plan entries yet.
> And a View Results Tree listener also reports: -
>
> Thread Name: MyWebService 1-1
> Sample Start: 2009-02-05 14:55:00 GMT
> Load time: 0
> Latency: 0
> Size in bytes: 0
> Sample Count: 1
> Error Count: 1
> Response code: 000
> Response message: Missing content type.
>
> Response headers:
>
> Compare this with the tcpmon response trace:
>
> HTTP/1.1 200 OK
> Date: Thu, 05 Feb 2009 14:54:59 GMT
> Server: Oracle Containers for J2EE
> Content-Length: 427
> Connection: close
> Content-Type: text/xml;charset=utf-8"
>
> {body follows, not appended here as not relevant}
>
> Please can you advise if this is a known issue, or have I misconfigured my test?
>
> Simon Payne
>
> IMPORTANT NOTICE
>
> This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of 1Spatial Group Limited, its subsidiaries or associated companies, except where the author specifically states them to be the views of 1Spatial Group Limited, its subsidiaries or associated companies.
>
> 1Spatial Group Limited, its subsidiaries and associated companies will not be held liable for any legally binding obligations that are not the subject of an official 1Spatial purchase order or as part of a contract signed by a director of one of the aforementioned companies.
>
> Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. You should understand and accept that, when communicating with us by e-mail, it is not a totally secure communications medium.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org