标题: loadrunner 场景测试 connect time out [打印本页] 作者: vonu 时间: 2013-6-19 10:13 标题: loadrunner 场景测试 connect time out 我做压力测试时,共20个vuser,每15S起2个vuser,当测试到1分钟时,出现vuser错误,退出,报connect time out ,如何让vuser不退出继续connect。
action脚本
Action()
{
int ret=0;
lrs_set_connect_timeout(10,0);
ret = lrs_create_socket("socket1", "TCP", "RemoteHost=192.168.1.220:9898", LrsLastArg);
lr_output_message("An error occurred while create the socket, Error Code: %d", ret);