Quantcast
Viewing all articles
Browse latest Browse all 12134

Re: Load Runer test web servcies using soap version 1.2

Hi Phuong

 

The full trace from my web_service_call is listed below.  I have depersonalized the log to modify the IP addresses referenced.  Any guidance you could provide would be appreciated.

 

Many Thanks

Claire

 

Virtual User Script started at : 24/11/2014 16:03:54
Starting action vuser_init.
Web Services replay version 12.0.0 for Windows 7; Toolkit: ".Net"; build 2079
Run-Time Settings file: "C:\Users\cmcgonagle\Documents\VuGen\Scripts\WebServices7\\default.cfg"
Vuser directory: "C:\Users\cmcgonagle\Documents\VuGen\Scripts\WebServices7"
Vuser output directory: "C:\Users\cmcgonagle\Documents\VuGen\Scripts\WebServices7\"
LOCAL start date/time:  2014-11-24 16:03:54
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(3): Web service call "GetMovement_101" started
Action.c(3): "SOAPAction: "urn:GetMovement"" header registered for adding to requests from the immediately following Action function   [MsgId: MMSG-26506]
Action.c(3): "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032)" header registered for adding to requests from the immediately following Action function   [MsgId: MMSG-26506]
Action.c(3): "Content-Type: application/soap+xml; charset=utf-8" header registered for adding to requests from the immediately following Action function   [MsgId: MMSG-26506]
Action.c(3): t=549ms: Connecting [0] to host 99.98.197.118:8080   [MsgId: MMSG-26000]
Action.c(3): t=585ms: Connected socket [0] from 87.86.298.11:3428 to 99.98.197.118:8080 in 36 ms   [MsgId: MMSG-26000]
Action.c(3): t=586ms: 375-byte request headers for "http://99.98.197.118:8080/myDir1/myDir2/MovementServicePort" (RelFrameId=1, Internal ID=1)
Action.c(3):     POST /myDir1/myDir2/MovementServicePort HTTP/1.1\r\n
Action.c(3):     Content-Type: application/soap+xml; charset=utf-8\r\n
Action.c(3):     Cache-Control: no-cache\r\n
Action.c(3):     SOAPAction: "urn:GetMovement"\r\n
Action.c(3):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.20
Action.c(3):     32)\r\n
Action.c(3):     Accept-Encoding: gzip, deflate\r\n
Action.c(3):     Accept: */*\r\n
Action.c(3):     Connection: Keep-Alive\r\n
Action.c(3):     Host: 99.98.197.118:8080\r\n
Action.c(3):     Content-Length: 833\r\n
Action.c(3):     \r\n
Action.c(3): t=590ms: 833-byte request body for "http://99.98.197.118:8080/myDir1/services/MovementServicePort" (RelFrameId=1, Internal ID=1)
Action.c(3):     <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05
Action.c(3):     /soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://ww
Action.c(3):     w.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"><soa
Action.c(3):     p:Header><wsa:Action>urn:GetMovement</wsa:Action><wsa:MessageID>uuid:f0ac61d6-f97c-4e90-98
Action.c(3):     23-6818fccea31c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/200
Action.c(3):     4/03/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://99.98.197.118:808
Action.c(3):     0/EntryExit/services/MovementServicePort</wsa:To></soap:Header><soap:Body><GetMovementRequ
Action.c(3):     est xmlns="http://myCompany/myDir3/myDir4/MovementService/V1"><MovementId>06AACD3B-2B
Action.c(3):     4D4-E36A-23EC-CC33838EE63</MovementId><Verbosity>ALL</Verbosity></GetMovementRequest></soa
Action.c(3):     p:Body></soap:Envelope>
Action.c(3): t=638ms: 293-byte response headers for "http://99.98.197.118:8080/myDir1/services/MovementServicePort" (RelFrameId=1, Internal ID=1)
Action.c(3):     HTTP/1.1 200 OK\r\n
Action.c(3):     Server: Apache-Coyote/1.1\r\n
Action.c(3):     Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:10f25f9b-d179-
Action.c(3):     425c-a7c6-c31040046f4b"; start="<root.message@cxf.apache.org>"; start-info="application/so
Action.c(3):     ap+xml"\r\n
Action.c(3):     Content-Length: 512\r\n
Action.c(3):     Date: Mon, 24 Nov 2014 16:00:14 GMT\r\n
Action.c(3):     \r\n
Action.c(3): t=749ms: 512-byte response body for "http://99.98.197.118:8080/myDir1/services/MovementServicePort" (RelFrameId=1, Internal ID=1)
Action.c(3):     \r\n
Action.c(3):     --uuid:10f25f9b-d179-425c-a7c6-c31040046f4b\r\n
Action.c(3):     Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml";\r\n
Action.c(3):     Content-Transfer-Encoding: binary\r\n
Action.c(3):     Content-ID: <root.message@cxf.apache.org>\r\n
Action.c(3):     \r\n
Action.c(3):     <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><ns2:GetMov
Action.c(3):     ementResponse xmlns:ns3="http://myCompany/myDir3/myDir4/Common/V1" xmlns:ns2="http://
Action.c(3):     myCompany/myDir3/myDir4/MovementService/V1"/></soap:Body></soap:Envelope>\r\n
Action.c(3):     --uuid:10f25f9b-d179-425c-a7c6-c31040046f4b--
Action.c(3): t=760ms: Request done "http://99.98.197.118:8080/myDir1/services/MovementServicePort"   [MsgId: MMSG-26000]
Action.c(3): Error Exceptions:
Action.c(3): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at Microsoft.Web.Services2.Xml.XmlSkipDTDReader.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at Microsoft.Web.Services2.SoapEnvelope.Load(Stream stream)
   at Microsoft.Web.Services2.Messaging.SoapPlainFormatter.Microsoft.Web.Services2.Messaging.ISoapFormatter.Deserialize(Stream stream)
   at Microsoft.Web.Services2.InputStream.GetRawContent()
   at Microsoft.Web.Services2.InputStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
   at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.InitTextReaderInput(String baseUriStr, Uri baseUri, TextReader input)
   at System.Xml.XmlTextReaderImpl..ctor(String url, TextReader input, XmlNameTable nt)
   at System.Xml.XmlTextReader..ctor(TextReader input)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.GetReaderForMessage(SoapClientMessage message, Int32 bufferSize)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Mercury.LR.NETProxy.MovementService.GetMovement(GetMovementRequestType GetMovementRequest)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
   at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
Action.c(3): Error:InvokeMethod failure: Response is not well-formed XML..
Action.c(3): Error stack trace:    at Mercury.LR.LrWsNetClient.ResultArgExtractor.CreateXmlArgsDoc()
   at Mercury.LR.LrWsNetClient.ResultArgExtractor.ExtractArgAsXml(String sArgPath, ArgumentExtractionType extractionType)
   at Mercury.LR.LrWsNetClient.ResultArgExtractor.ExtractArg(String sArgPath, Boolean IsSaveResultArgumentsAsIs, ArgumentExtractionType extractionType)
   at Mercury.LR.LrWsNetClient.ProxyCreator.ExtractArg(String sArgPath, ArgumentExtractionType extractionType)
   at Mercury.LR.LrWsNetClient.NetReplay.ExtractResultArg(String sArgPath, ArgumentExtractionType extractionType, Array& barrArgValue)
Action.c(3): Error:ExtractResultArg failure: Object reference not set to an instance of an object..
Action.c(3): Error:Web service call "GetMovement_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>