|
4#
楼主 |
发表于 2009-6-3 12:24:46
|
只看该作者
Log如下,不知道问什么第二次迭代时就会报:红色部分显示的错
Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.Starting action Action.
Action.c(6): Web service call "SearchRestaurants_103" started
Action.c(6): Using working copy of the WSDL file "http://10.10.50.65/LBCMSLite?WSDL"
Action.c(6): Using client emulation General
Action.c(6): Removed Web headers not matching the emulated client
Action.c(6): Notice: "CompanyNumber" was selected as the optional <choice> element.Action.c(6): t=1385ms: 148-byte response headers for "http://10.10.50.65/LBCMSLite" (RelFrameId=1)
Action.c(6): HTTP/1.1 200 OK\r\n
Action.c(6): Content-Length: 2472\r\n
Action.c(6): Content-Type: text/xml; charset=utf-8\r\n
Action.c(6): Server: Microsoft-HTTPAPI/1.0\r\n
Action.c(6): Date: Wed, 03 Jun 2009 04:03:57 GMT\r\n
Action.c(6): \r\n
Action.c(6): t=1434ms: 2472-byte response body for "http://10.10.50.65/LBCMSLite" (RelFrameId=1)
Action.c(6): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body xmlns:xsi="http://
Action.c(6): www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SearchRe
Action.c(6): staurantResponse xmlns="http://schemas.livebookings.net/services/cms/1/0/"><Restaurant><Id
Action.c(6): >88</Id(此处省略了一些数据信息)
Action.c(6): Web service call "SearchRestaurants_103" was successful
Ending action Action.
Ending iteration 1.
Starting iteration 2.Starting action Action.
Action.c(6): Web service call "SearchRestaurants_103" started
Action.c(6): Using working copy of the WSDL file "http://10.10.50.65/LBCMSLite?WSDL"
Action.c(6): Using client emulation General
Action.c(6): Removed Web headers not matching the emulated client
Action.c(6): Error: More than one element was selected for <choice>. You can choose only one element. Defaulting to a soap_request.Action.c(6): t=2233ms: 167-byte response headers for "http://10.10.50.65/LBCMSLite" (RelFrameId=1)
Action.c(6): HTTP/1.1 500 Internal Server Error\r\n
Action.c(6): Content-Length: 4480\r\n
Action.c(6): Content-Type: text/xml; charset=utf-8\r\n
Action.c(6): Server: Microsoft-HTTPAPI/1.0\r\n
Action.c(6): Date: Wed, 03 Jun 2009 04:03:57 GMT\r\n
Action.c(6): \r\n
Action.c(6): t=2308ms: 4480-byte response body for "http://10.10.50.65/LBCMSLite" (RelFrameId=1)
Action.c(6): <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcod
Action.c(6): e xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatc
Action.c(6): her">a:InternalServiceFault</faultcode><faultstring xml:lang="zh-CN">Error in deserializin
Action.c(6): g body of request message for operation 'SearchRestaurants'.</faultstring><detail><Excepti
Action.c(6): onDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http
Action.c(6): ://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException><HelpLink i
Action.c(6): :nil="true"/><InnerException><HelpLink i:nil="true"/><InnerException i:nil="true"/><Messag
Action.c(6): e>Start element 'For' does not match end element 'Search'. Line 1, position 424.</Message>
Action.c(6): <StackTrace> at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader read
Action.c(6): er, String res, String arg1, String arg2, String arg3)
\n
Action.c(6): at System.Xml.XmlExceptionHelper.ThrowTagMismatch(XmlDictionaryReader reader, String ex
Action.c(6): pectedPrefix, String expectedLocalName, String foundPrefix, String foundLocalName)
\n
Action.c(6): at System.Xml.XmlUTF8TextReader.ReadEndElement()
\n
Action.c(6): at System.Xml.XmlUTF8TextReader.Read()
\n
Action.c(6): at System.Xml.XmlBaseReader.ReadStartElement()
\n
Action.c(6): at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderIContentService.
Action.c(6): Read5_Item(Boolean isNullable, Boolean checkType)
\n
Action.c(6): at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderIContentService.
Action.c(6): Read6_SearchRestaurantRequestSearch(Boolean isNullable, Boolean checkType)
\n
Action.c(6): at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderIContentService.
Action.c(6): Read58_SearchRestaurantRequest()
\n
Action.c(6): at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer5.Deserialize(X
Action.c(6): mlSerializationReader reader)
\n
Action.c(6): at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encod
Action.c(6): ingStyle, XmlDeserializationEvents events)</StackTrace><Type>System.Xml.XmlException</Type
Action.c(6): ></InnerException><Message>There is an error in XML document (1, 424).</Message><StackTrac
Action.c(6): e> at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String enc
Action.c(6): odingStyle, XmlDeserializationEvents events)
\n
Action.c(6): at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encod
Action.c(6): ingStyle)
\n
Action.c(6): at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDi
Action.c(6): ctionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescri
Action.c(6): ption returnPart, MessagePartDescriptionCollection bodyParts, Object[] parameters, Boolean
Action.c(6): isRequest)</StackTrace><Type>System.InvalidOperationException</Type></InnerException><Mes
Action.c(6): sage>Error in deserializing body of request message for operation 'SearchRestaurants'.</Me
Action.c(6): ssage><StackTrace> at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.Des
Action.c(6): erializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer,
Action.c(6): MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, Object[] p
Action.c(6): arameters, Boolean isRequest)
\n
Action.c(6): at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDi
Action.c(6): ctionaryReader reader, MessageVersion version, String action, MessageDescription messageDe
Action.c(6): scription, Object[] parameters, Boolean isRequest)
\n
Action.c(6): at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message me
Action.c(6): ssage, Object[] parameters, Boolean isRequest)
\n
Action.c(6): at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(Message message
Action.c(6): , Object[] parameters)
\n
Action.c(6): at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc
Action.c(6): & rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&
Action.c(6): rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&a
Action.c(6): mp; rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&a
Action.c(6): mp; rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&a
Action.c(6): mp; rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&a
Action.c(6): mp; rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&a
Action.c(6): mp; rpc)
\n
Action.c(6): at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</St
Action.c(6): ackTrace><Type>System.ServiceModel.CommunicationException</Type></ExceptionDetail></detail
Action.c(6): ></s:Fault></s:Body></s:Envelope>
Action.c(6): Warning: HTTP status code 500 returned by the server
Action.c(6): Error: The reason for the SOAP fault is: "Error in deserializing body of request message for operation 'SearchRestaurants'."
Action.c(6): Error: Web service call "SearchRestaurants_103" execution failed
Ending action Action.
Ending iteration 2.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated. |
|