I am using Webservice protocol with Loadrunner 11.04.
The flow is passing the request to DataPower and in turn it passes it to Web service.
We got the SOAP request from the developers and I imported it using IMPORT SOAP and got the SOAP_REQUEST created. The Request runs good using SOAP UI tool.
When I run the request using LR, I am getting the below response. The request is not reaching the Datapower server ( Data power admin confirmed it). Other than that the request works using other SOAP UI tool also.
Just give me a guidance . I am unable to get a clue on what can be the issue
Action.c(6): t=5295ms: 113-byte response headers for "https://test" (RelFrameId=1, Internal ID=1)
Action.c(6): HTTP/1.1 500 Error\r\n
Action.c(6): Content-Type: text/xml; charset=utf-8\r\n
Action.c(6): X-Backside-Transport: FAIL FAIL\r\n
Action.c(6): Connection: close\r\n
Action.c(6): t=5373ms: 232-byte response body for "https://test" (RelFrameId=1, Internal ID=1)
Action.c(6): <?xml version='1.0' ?>\n
Action.c(6): <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>\n
Action.c(6): <faultstring>Internal Error</faultstring>\n
Action.c(6): t=5410ms: Server 184.108.40.206 has shut down the connection  [MsgId: MMSG-26000]
Record soapy I using winsock. Look at the requests for both header and body. Next look at a singer trace of the failing loadrunner request. It should be obvious what is missing on the request stream
Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.
Put us to the test, skilled expertise is less expensive than you might imagine.
Twitter: @LoadRunnerBTH @PerfBytes
James - I did what you said, but still didnt get any thing from the advance tracer and date returned from server.I was still getting 500 error.
It was a wrong DP url which I mentioned in the soap request. Corrected it and it worked.
Thanks for the help .
Last time I had these type of issues it was because I was not sending the right Headers.
I find it simpler to use the HTTP/HTML protocol to do WebServices. What I do is use Fiddler to capture the output from SOAPUI to get the exact XML. I then post that XML through a web_custom_request.
I also found that Fiddler will show me the Headers being sent. The errors you are having might be due to some missing headers.
Here is an example of what my script looks like:
// Here are the headers
// NOTE - You have to escape the quotes when you paste the XML into a HTTP/HTML script.
// Here is the SOAP request
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://services.view.wwag.deere.ext\" xmlns:v3=\"http://soartm.deere.com/v3_0/\" xmlns:bean=\"http://beans.view.wwag.deere.ext\">"
// Put reset of XML here