x-man-bb 发表于 2011-9-23 14:42:57

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:12

感觉是你XML格式中得深度超长了导致错误的

x-man-bb 发表于 2011-9-24 17:47:29

回复 2# 云层


    请问云大,这个要怎么解决?能通过修改lr的设置支持这么长的深度吗?

x-man-bb 发表于 2011-9-27 17:20:33

完整的错误提示信息如下:请问有人知道怎么解决吗??:'(

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.
页: [1]
查看完整版本: loadrunner11录制silverlight+socket协议时出现的错误