What's New in HP LoadRunner 9.1 Software
上一篇 / 下一篇 2008-06-01 10:51:40 / 个人分类:Zee的生活
相关阅读:
- LR排错的一个实例-Zee (Zee, 2008-1-11)
- 监控informix数据库的命令之一 -Zee(未完) (Zee, 2008-1-18)
- LR中HTTP协议两种做文本检查点的方式-Zee (Zee, 2008-1-23)
- 监控informix数据库的命令之二 -Zee (Zee, 2008-1-31)
- 08年,挺重要的 (Zee, 2008-2-13)
- 监控informix数据库的命令之三 -Zee (Zee, 2008-3-22)
- 地震现场 即时消息报道 (Zee, 2008-5-13)
TAG: Zee的生活
- 引用 删除 zyyhgl / 2009-08-17 11:02:35
-
你好请问一个问题,这是我的LR9.1的脚本:
web_service_call( "StepName=LogIn_101",
"SOAPMethod=RetailService|RetailServiceSoap|LogIn",
"ResponseParam=response",
"Service=RetailService",
"ExpectedResponse=SoapResult",
"Snapshot=t1250474828.inf",
BEGIN_ARGUMENTS,
"terminalId=1000022",
"terminalPassword=111111",
"staffNo=001",
"password=111111",
"terminalVersion=2",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
return 0;
}
运行后返回的结果是:
Virtual User Script started
Starting action vuser_init.
Web Services replay version 9.10.0 for WIN2003; Toolkit: ".Net"; build 1643
Run-Time Settings file: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname10\\default.cfg"
Vuser directory: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname10"
Vuser output directory: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname10\"
LOCAL start date/time: 2009-08-17 10:33:42
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Web service call "LogIn_101" started
Action.c(4): Error Exceptions:
Action.c(4): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS0029: Cannot implicitly convert type 'decimal' to 'decimal[]'
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at Microsoft.Web.Services2.WebServicesClientProtocol..ctor()
at Mercury.LR.WS.ProxyBase.WSSoapClient..ctor()
at Mercury.LR.NETProxy.RetailService..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName)
at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo.LoadProxy()
at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo..ctor(ServiceInfo service, String name)
at Mercury.LR.LrWsNetClient.ProxyCreator.Init(String msWSDL, String msService, String msPort, INativeRepositoryApi moNativeRepository)
at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
Action.c(4): Error: InvokeMethod failure: Unable to generate a temporary class (result=1).
error CS0029: Cannot implicitly convert type 'decimal' to 'decimal[]'
.
Action.c(4): Error: Web service call "LogIn_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
这是什么原因呢?
我的栏目
标题搜索
日历
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
1 | 2 | 3 | 4 | ||||||
5 | 6 | 7 | 8 | 9 | 10 | 11 | |||
12 | 13 | 14 | 15 | 16 | 17 | 18 | |||
19 | 20 | 21 | 22 | 23 | 24 | 25 | |||
26 | 27 | 28 | 29 | 30 | 31 |
我的存档
数据统计
- 访问量: 158637
- 日志数: 146
- 图片数: 1
- 建立时间: 2006-12-05
- 更新时间: 2012-11-16