I have a web service, which is working perfectly with SOAP UI, but throwing 500 error when tried to from JMETER 2.1.3.I am using SOAP/XML RPC Request, another open endpoint(http://www.webservicex.net/whois.asmx?WSDL) with jmeter is working perfectly fine. Is there any setup to be done with my service to get it invoked from JMETER?
SOAP/XML RPC Request:

Sampler Request
Thread Name: Thread Group 1-1
Sample Start: 2016-03-19 19:20:54 IST
Load time: 531
Connect Time: 0
Latency: 531
Size in bytes: 205
Headers size in bytes: 0
Body size in bytes: 205
Sample Count: 1
Error Count: 1
Response code: 500
Response message: Internal Server Error
Response headers:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Sat, 19 Mar 2016 13:48:24 GMT
Connection: close
HTTPSampleResult fields:
ContentType: text/xml;charset=UTF-8
DataEncoding: UTF-8
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Method is not available : Unauthorized</faultstring>
</soap:Fault>
Use a sniffer tool like Wireshark to capture requests send by SoapUI and JMeter and determine what is the difference.
My expectation is that you're missing a HTTP Header, maybe SOAPAction or Authorization or something like that. Headers can be manipulated using HTTP Header Manager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With