|
lr_start_transaction("GETPNINFOS");
web_reg_find("Fail=Found",
"Search=All",
"SaveCount=ZTE_COUNT",
"Text=nested exception is com.linkage.bss.commons.exception.BssRuntimeException",
LAST);
web_service_call( "StepName=getPnInfos_101",
"SOAPMethod=OSSInterfaceForCRMService|OSSInterfaceForCRMPort|getPnInfos",
"ResponseParam=response",
"Service=OSSInterfaceForCRMService",
"URL=http://132.228.224.230/resweb/service/IOSSInterfaceForCRM",
"ExpectedResponse=SoapResult",
"Snapshot=t1373011791.inf",
BEGIN_ARGUMENTS,
"inXml={NewParam}",
END_ARGUMENTS,
BEGIN_RESULT,
"return=Param_return",
END_RESULT,
LAST);
//输出调用返回值
lr_log_message("result1111111112222 = %s", lr_eval_string("{Param_return}"));
// lr_end_transaction("GETPNINFOS", LR_AUTO);
if (atoi(lr_eval_string("{ZTE_COUNT}"))>0) //验证是否找到了要检查的字符串
lr_end_transaction("GETPNINFOS",LR_FAIL);
else
lr_end_transaction("GETPNINFOS",LR_PASS);
lr_think_time(3);
return 0;
后续自己修改的脚步,不知道能否解决我上面提的问题。
我现在的状态就是,开发说loadrunner负载结束后,提供的信息太少,无法确定是不是出现那个异常,他无法定位问题,这就搞的我举步维艰了,我也不知道怎么处理这个情况! |
|