|
5#
楼主 |
发表于 2010-11-23 14:32:56
|
只看该作者
回复 3# PrefTest
lr_think_time(5);
lrs_create_socket("socket5", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
lrs_send("socket5", "buf20", LrsLastArg);
lrs_receive("socket5", "buf21", LrsLastArg);
lrs_send("socket5", "buf22", LrsLastArg);
lrs_receive("socket5", "buf23", LrsLastArg);
lrs_close_socket("socket5");
lr_think_time(3);
lr_rendezvous("log");
lr_start_transaction("log");
lrs_create_socket("socket6", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
lrs_send("socket6", "buf24", LrsLastArg);
lrs_receive("socket6", "buf25", LrsLastArg);
lr_start_transaction("26");
lrs_send("socket6", "buf26", LrsLastArg);
lrs_receive("socket6", "buf27", LrsLastArg);
lr_end_transaction("26", LR_AUTO);
lrs_close_socket("socket6");
lr_end_transaction("log", LR_AUTO);
lr_output_message("name:%s",lr_eval_string("{name}"));
return 0; |
|