51Testing软件测试论坛

标题: loadrunner11录制silverlight+socket协议时出现的错误 [打印本页]

作者: x-man-bb    时间: 2011-9-23 14:42
标题: loadrunner11录制silverlight+socket协议时出现的错误
执行到这一段脚本时报错:

silverlight_service_call("StepName=GetUserInfo_3",
                "SOAPMethod=FriendService|BasicHttpBinding_IFriendService|GetUserInfo",
                "Service=FriendService",
                "Snapshot=t88.inf",
                "ResponseParam=response",
                BEGIN_ARGUMENTS,
                "strAuth=1#5915df0c20ca1411ac35ff1a7f63013e",
                "userID=24467",
                "userIDSpecified=True",
                END_ARGUMENTS,
                BEGIN_RESULT,
                END_RESULT,
                LAST);


错误:
Action.c(682): Error: The maximum read depth (32) has been exceeded because XML data being read has more levels of nesting than is allowed by the quota. This quota may be increased by changing the MaxDepth property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 20381.
Action.c(682): Error: InvokeMethod failure: 外部组件发生异常。.

请教各位大侠:是因为参数值过长造成的错误吗?
作者: 云层    时间: 2011-9-24 16:58
感觉是你XML格式中得深度超长了导致错误的
作者: x-man-bb    时间: 2011-9-24 17:47
回复 2# 云层


    请问云大,这个要怎么解决?能通过修改lr的设置支持这么长的深度吗?
作者: x-man-bb    时间: 2011-9-27 17:20
完整的错误提示信息如下:  请问有人知道怎么解决吗??

Action.c(94): Error: The maximum read depth (32) has been exceeded because XML data being read has more levels of nesting than is allowed by the quota. This quota may be increased by changing the MaxDepth property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 18732.
Action.c(94): Error: InvokeMethod failure: 外部组件发生异常。.
Action.c(94): Error: C interpreter run time error: Action.c (94):  Error -- memory violation : Exception ACCESS_VIOLATION received.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2