求组,loadrunner 录制web_service协议脚本,监控不到事物和响应时间
今天用loadrunner录制了web_service协议的接口,在做负载测试时,响应时间和事物数都监控不到,脚本如下:Action()
{
web_service_call( "StepName=maintainUserInfo_101",
"SOAPMethod=CMSManageService|CMSManagePort|maintainUserInfo",
"ResponseParam=response",
"Service=CMSManageService",
"ExpectedResponse=SoapResult",
"Snapshot=t1449478476.inf",
BEGIN_ARGUMENTS,
"xml:userInfo="
"<userInfo>"
"<amount>33</amount>"
"<branchNO>33</branchNO>"
"<branchName>66</branchName>"
"<description>66</description>"
"<feeKind>1</feeKind>"
"<ip>121.121.121.3</ip>"
"<keyNO>{keyNO}</keyNO>"
"<mac>1</mac>"
"<panchName>LL</panchName>"
"<patchNO>88</patchNO>"
"<phoneNumber></phoneNumber>"
"<status>3</status>"
"<stbId>111111</stbId>"
"<userAddress></userAddress>"
"<userId>{userId}</userId>"
"<userName></userName>"
"<userPassword></userPassword>"
"<userType>1</userType>"
"<vodAreaId>6601</vodAreaId>"
"<vodAreaName></vodAreaName>"
"</userInfo>",
END_ARGUMENTS,
BEGIN_RESULT,
"return/message=Param_message",
"return/returnCode=Param_returnCode",
END_RESULT,
LAST);
lr_log_message("result1111111112222 = %s", lr_eval_string("{Param_message}"));
lr_log_message("result1111111112222 = %s", lr_eval_string("{Param_returnCode}"));
return 0;
}
之前好的么?
检查下 浏览器,LR版本兼容性问题
另外,设置有没有改过? 我看你脚本里面没有事务函数所以没有;
可能也没有在运行设置里面勾选,默认把action当做事务。
添加个事务呢 可能你的运行时设置把默认的一个action一个事务给取消掉了 发生的发多少分撒旦
页:
[1]