Hi,
I am trying to run a simple web service from VuGen, but getting HTTP 500 response.
Equivalent SOAP UI script is working fine, I have enabled the extended logging from VuGen, below is the replay log:
Virtual User Script started at : 12/19/2014 2:30:20 PM
Starting action vuser_init.
Web Services replay version 12.0.0 for Windows 2008 R2; Toolkit: ".Net"; build 2079
Run-Time Settings file: "C:\Users\Administrator\Documents\VuGen\Scripts\SOAP\\default.cfg"
Vuser directory: "C:\Users\Administrator\Documents\VuGen\Scripts\SOAP"
Vuser output directory: "C:\Users\Administrator\Documents\VuGen\Scripts\SOAP\"
LOCAL start date/time: 2014-12-19 14:30:20
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 2 [MsgId: MMSG-26989]
Starting action Action.
Action.c(4): web_add_header("SOAPAction") started [MsgId: MMSG-26355]
Action.c(4): "SOAPAction: "/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0/GetBook"" header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506]
Action.c(4): web_add_header("SOAPAction") was successful [MsgId: MMSG-26392]
Action.c(6): SOAP request "GetBookRequest" started
Action.c(6): "SOAPAction: """ header registered for adding to requests from the immediately following Action function [MsgId: MMSG-26506]
Action.c(6): t=426ms: Connecting [0] to host 10.97.117.24:12000 [MsgId: MMSG-26000]
Action.c(6): t=426ms: Connected socket [0] from 10.97.117.24:52751 to 10.97.117.24:12000 in 0 ms [MsgId: MMSG-26000]
Action.c(6): t=426ms: 381-byte request headers for "http://10.97.117.24:12000/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0" (RelFrameId=1, Internal ID=1)
Action.c(6): POST /WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0 HTTP/1.1\r\n
Action.c(6): Cache-Control: no-cache\r\n
Action.c(6): SOAPAction: "/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0/GetBook"\r\n
Action.c(6): SOAPAction: ""\r\n
Action.c(6): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(6): Accept-Encoding: gzip, deflate\r\n
Action.c(6): Accept: */*\r\n
Action.c(6): Connection: Keep-Alive\r\n
Action.c(6): Host: 10.97.117.24:12000\r\n
Action.c(6): Content-Length: 273\r\n
Action.c(6): \r\n
Action.c(6): t=433ms: 273-byte request body for "http://10.97.117.24:12000/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0" (RelFrameId=1, Internal ID=1)
Action.c(6): <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="htt
Action.c(6): p://www.tibco.com/TNT/webservices/"><soapenv:Header></soapenv:Header><soapenv:Body><web:Ge
Action.c(6): tBook><web:author>Vivek Ranadive</web:author></web:GetBook></soapenv:Body></soapenv:Envelo
Action.c(6): pe>
Action.c(6): t=442ms: 182-byte response headers for "http://10.97.117.24:12000/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0" (RelFrameId=1, Internal ID=1)
Action.c(6): HTTP/1.1 500 Internal Server Error\r\n
Action.c(6): Server: Apache-Coyote/1.1\r\n
Action.c(6): Content-Type: text/html;charset=utf-8\r\n
Action.c(6): Content-Length: 2003\r\n
Action.c(6): Date: Fri, 19 Dec 2014 09:00:21 GMT\r\n
Action.c(6): Connection: close\r\n
Action.c(6): \r\n
Action.c(6): t=458ms: 2003-byte response body for "http://10.97.117.24:12000/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0" (RelFrameId=1, Internal ID=1)
Action.c(6): <html><head><title>Apache Tomcat/5.5.33 - Error report</title><style><!--H1 {font-family:T
Action.c(6): ahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-fami
Action.c(6): ly:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-
Action.c(6): family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY
Action.c(6): {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:T
Action.c(6): ahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,
Action.c(6): sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color :
Action.c(6): black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="
Action.c(6): 1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b
Action.c(6): >description</b> <u>The server encountered an internal error () that prevented it from ful
Action.c(6): filling this request.</u></p><p><b>exception</b> <pre>java.lang.ClassCastException: [Ljava
Action.c(6): .lang.String; cannot be cast to java.lang.String\n
Action.c(6): \tcom.tibco.plugin.share.http.wssdk.ServletContext.getSoapAction(Unknown Source)\n
Action.c(6): \tcom.tibco.plugin.share.http.HttpMessagePredicateL1.canDispatch(Unknown Source)\n
Action.c(6): \tcom.tibco.plugin.share.http.TransportApplicationDemux.getApplication(Unknown Source)\n
Action.c(6): \tcom.tibco.plugin.share.http.TransportApplicationDemux.processMessage(Unknown Source)\n
Action.c(6): \tcom.tibco.bw.service.binding.bwhttp.impl.HttpServer.processMessage(Unknown Source)\n
Action.c(6): \tcom.tibco.bw.service.binding.bwhttp.impl.HttpServerDispatcher.processMessage(Unknown Sou
Action.c(6): rce)\n
Action.c(6): \tcom.tibco.plugin.share.http.servlet.BwServlet.a(Unknown Source)\n
Action.c(6): \tcom.tibco.plugin.share.http.servlet.BwServlet.doPost(Unknown Source)\n
Action.c(6): \tjavax.servlet.http.HttpServlet.service(HttpServlet.java:647)\n
Action.c(6): \tjavax.servlet.http.HttpServlet.service(HttpServlet.java:729)\n
Action.c(6): </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apa
Action.c(6): che Tomcat/5.5.33 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.33</h3
Action.c(6): ></body></html>
Action.c(6): t=461ms: Closing connection [0] to server 10.97.117.24 - server indicated that the connection should be closed [MsgId: MMSG-26000]
Action.c(6): t=461ms: Closed connection [0] to 10.97.117.24:12000 after completing 1 request [MsgId: MMSG-26000]
Action.c(6): t=461ms: Request done "http://10.97.117.24:12000/WSDLFile-service0.serviceagent/BookStoreServiceSoapEndpoint0" [MsgId: MMSG-26000]
Action.c(6): Warning:HTTP status code 500 returned by the server
Action.c(6): The "GetBookRequest" SOAP request response content is not XML
Action.c(6): There was a warning during SOAP request "GetBookRequest"
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.