LR录制C/S成功,参数回放成功了,但是在数据库怎么没有呢?
LR录制C/S成功,参数回放成功了,主要操作是,我登录后,增加一个数据。但是在数据库怎么没有呢?
Action()
{
lr_think_time(7);
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("socket2");
lrs_close_socket("socket4");
lrs_create_socket("socket6", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
lrs_send("socket6", "buf24", LrsLastArg);
lrs_receive("socket6", "buf25", LrsLastArg);
lrs_send("socket6", "buf26", LrsLastArg);
lrs_receive("socket6", "buf27", LrsLastArg);
lr_think_time(20);
lrs_create_socket("socket7", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
lrs_send("socket7", "buf28", LrsLastArg);
lrs_receive("socket7", "buf29", LrsLastArg);
lrs_send("socket7", "buf30", LrsLastArg);
lrs_receive("socket7", "buf31", LrsLastArg);
lrs_create_socket("socket8", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
lrs_send("socket8", "buf32", LrsLastArg);
lrs_receive("socket8", "buf33", LrsLastArg);
lrs_send("socket8", "buf34", LrsLastArg);
lrs_receive("socket8", "buf35", LrsLastArg);
//lrs_save_param("socket8","buf34","NewParam",100,30);
//lrs_save_param("socket8", LRS_LAST_RECEIVED, "NewParam", 479, 500);
lr_output_message("new param:%s",lr_eval_string("{NewParam}"));
lrs_create_socket("socket9", "TCP", "LocalHost=0", "RemoteHost=MJW-I-SERVER:9098", LrsLastArg);
...
sendbuf34 479
"\x06\xdc\x03\xa8\x02"
"9http://tempuri.org/IGenericDbAccessOf_MailInfo_String/Add#net.tcp://192.1"
"68.0.18:9098/MailBLL"
"\x03"
"Add"
"\x13"
"http://tempuri.org/"
"\x05"
"model9http://schemas.datacontract.org/2004/07/SCT.Monitor.Model)http://www"
".w3.org/2001/XMLSchema-instance\bCreateBy\n"
"CreateDate"
"\x02"
"ID\vMailAddress\bModifyBy\n"
"ModifyDate"
"\x04"
"Name"
"\x06"
"Remark"
"\x04"
"TypeV"
"\x02"
"\v"
"\x01"
"s"
"\x04"
"\v"
"\x01"
"a"
"\x06"
"V\bD\n"
"\x1e\x00"
"偒"
"\x01"
"D"
"\x1a"
"瑿"
"\x00\x86"
"#M"
"\xa2"
"\aA冘"
"\xb6"
"%萸蚸D,D*"
"\xab\x14\x01"
"D\f"
"\x1e\x00"
"偒"
"\x03\x01"
"V"
"\x0e"
"B"
"\x05"
"\n"
"\aB\t\v"
"\x01"
"b\v\v"
"\x01"
"i\rE"
"\x0f\x99\x03"
"sgyE"
"\x11\x97"
"0"
"\xfe\x1b"
"瑪N蛨E"
"\x13\x99"
" 69d15d4274304f00a041550687a7c2f6E"
"\x15\x99"
"{NewParam}"
"\x17\x99\x03"
"sgyE"
"\x19\x97"
"0"
"\xfe\x1b"
"瑪N蛨E"
"\x1b\x99\x03"
"ss2E"
"\x1d\x99\x04"
"sss2E"
"\x1f\x81\x01\x01\x01\x01" 查看是不是不允许NO重复。
页:
[1]