TA的每日心情 | 郁闷 2015-6-17 09:59 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
使用win7系统机器作为Controller,linux centos6.5的虚拟机作为Generator,在Controller的Load Generators是Ready状态,但是启动Generator的时候linux端日志报错如下:
15/06/2015 19:55:48 Error: Communication error: Failed to bind socket while calling bind function. (sys error message - 权限不够) [MsgId: MERR-10344]
15/06/2015 19:55:48 Error: Communication error: Failed to create a TCP server for the HTTP channel's server. (sys error message - 权限不够) [MsgId: MERR-10344]
15/06/2015 19:55:48 Error: Two Way Communication Error: Function two_way_comm_create_acceptor failed. [MsgId: MERR-60999]
15/06/2015 19:55:48 Warning: Failed to create "router" server. [MsgId: MWAR-29974]
windows端没有日志报错,在Controller端启动负载的时候报错如下:
Error: Vuser type "WS_SOAP" specified in /tmp/brr_XYHY72/netdir/D/LR/script/MIS/SelectQueryPerson/SelectQueryPerson.usr cannot be found (or its section is empty) in /opt/HP/HP_LoadGenerator/dat/mdrv.dat. [MsgId: MERR-10770]
没有任何事务进行,打开日志也没有日志生成。脚本如下:
Action()
{
lr_start_transaction("queryPerson");
web_service_call( "StepName=queryPerson_101",
"SOAPMethod=CusService|CusServicePort|queryPerson",
"ResponseParam=responsequeryPerson",
"Service=CusService",
"ExpectedResponse=SoapResult",
"Snapshot=t1433918332.inf",
BEGIN_ARGUMENTS,
"arg0={queryPerson}",
//"arg0Specified=",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_end_transaction("queryPerson", LR_AUTO);
//lr_output_message("=====responsequeryPerson=======================%s", lr_eval_string("{responsequeryPerson}"));
//lr_eval_string( "{responsequeryPerson}" );
return 0;
}
脚本回放可以跑通。在负载时跑不通,请问是什么原因?
PS:LR 11.0
|
|