|
如题:
因被测程序使用了.net一个自定义的类,而我在用Loadrunner录制后找到了该方法,但却无法正常运行,提示缺失方法,可因该类是用.NET编译的dll,通过lr_load_dll加载出错。录制的错误代码如下:
flex_amf_call("GetGameRoomInfo",
"Gateway=http://www.ylyx.org/myddz/Gateway.aspx",
"Snapshot=t28.inf",
MESSAGE,
"Method=Jrdg.DdzFxService.Hall.GetGameRoomInfo",
"TargetObjectId=/1",
BEGIN_ARGUMENTS,
END_ARGUMENTS,
LAST);
编译出错信息如下:
Action.c(184): Error: Decoding of AMF message failed. Error is : Externalizable parsing failed: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at hp.flex.HPExternalizableWrapper.ReadObject(HPExternalizableWrapper.java:96)
Caused by: flex.messaging.MessageException: Cannot create class of type 'Jrdg.DdzFxService.DTO.RoomVO'. Type 'Jrdg.DdzFxService.DTO.RoomVO' not found.
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:65)
at flex.messaging.io.AbstractProxy.getClassFromClassName(AbstractProxy.java:72)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:430)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
at flex.messaging.io.amf.Amf3Input.readArray(Amf3Input.java:371)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:157)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
at flex.messaging.io.ArrayCollection.readExternal(ArrayCollection.java:87)
at flex.messaging.io.amf.Amf3Input.readExternalizable(Amf3Input.java:528)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:455)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
... 5 more
我添加加载信息
lr_load_dll(Jrdg.DdzFxService.dll);
提示以下信息:
Action.c (3): undeclared identifier `Jrdg'
Action.c (3): left operand of . has incompatible type `int'
Action.c (3): left operand of . has incompatible type `int'
f:\\new folder\\jiaoben\\youxi1\\youxi952\\\\combined_youxi952.c (7): 3 errors, not writing pre_cci.ci
请各位大虾多多指教,急。。。 |
|