关于loadrunder测试socket的
用loadrunder进行socket的测试,但是我socket还没返回,怎么loadrunder的事务里就已经提示事务成功了呢?我要socket成功返回后才表示事务成功action的脚本如下
Action()
{
lr_rendezvous("dl");
lrs_create_socket("socket1","TCP","RemoteHost=127.0.0.1:5008",LrsLastArg);
lrs_send("socket1","buf0",LrsLastArg);
lrs_receive("socket1","buf1",LrsLastArg);
lrs_close_socket("socket1");
return 0;
}
页:
[1]