Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Error Exception in the logs

$
0
0


Hi All,
i have recorded scripts for web service protocal.
when i ran the script, below error exception writting in the logs.

could anyone please help here.

Script :

web_service_call( "StepName=lockInventoryByLPN_103",
"SOAPMethod=InventoryService|InventoryServiceHttpSoap11Endpoint|lockInventoryByLPN",
"ResponseParam=response",
"Service=InventoryService",
"ExpectedResponse=SoapResult",
"Snapshot=t1397626631.inf",
BEGIN_ARGUMENTS,
"param0={Value1}",
"param1={LPN}",
"xml:param2="

"<param2>{Lock}</param2>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);

 

Logs :

Action.c(29): t=17407ms: 5-byte chunked response overhead for "http://avpsodev-16.manh.com:40000/ws/services/InventoryService.InventoryServiceHttpSoap11Endpoint/" (RelFrameId=1, Internal ID=2)
Action.c(29): 0\r\n
Action.c(29): \r\n
Action.c(29): t=17440ms: Request done "http://avpsodev-16.manh.com:40000/ws/services/InventoryService.InventoryServiceHttpSoap11Endpoint/" [MsgId: MMSG-26000]
Action.c(29): Error Exceptions:
Action.c(29): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in XML document (1, 526). ---> System.InvalidOperationException: Namespace prefix 'axis2ns2' is not defined.
at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName)
at System.Xml.Serialization.XmlSerializationReader.GetXsiType()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read4_Serializable(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read5_ValidationResult(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInventoryService.Read12_lockInventoryByLPNResponse()
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer5.Deserialize(XmlSerializationReader reader)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
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)
at Mercury.LR.NETProxy.InventoryService.lockInventoryByLPN(String param0, String param1, String[] param2)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
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(29): Error: InvokeMethod failure: There is an error in XML document (1, 526)..
Action.c(29): 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(29): Error: ExtractResultArg failure: Object reference not set to an instance of an object..
Action.c(29): Error: Web service call "lockInventoryByLPN_103" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
Action.c(29): t=17654ms: Closed connection [0] to avpsodev-16.manh.com:40000 after completing 2 requests [MsgId: MMSG-26000]


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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