|
关于loadrunner buffer 参数化问题
action
{
...
lrs_create_socket("socket0","TCP", "LocalHost=0", "RemoteHost=192.168.110.54:10000", LrsLastArg);
lrs_save_param_ex("socket0","static","userbuf",0,1,NULL,"id_");
lr_message("---------------%s+++++++++++++++",lr_eval_string("{id_}"));
lrs_send("socket0", "userbuf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
...
}
data.ws里:
;WSRData 2 1
send buf0 23
"<policy-file-request/>"
"\x00"
recv buf1 109
"<?xml version=\"1.0\"?><cross-domain-policy><allow-access-from domain=\"*\""
" to-ports=\"*\"/></cross-domain-policy>"
"\x00"
send buf2 16
"瞢"
"\x00\x00\x10\x00\x01"
"`"
"\x00\x00\x00\x00"
"4"
"\x00\x00\x00"
send userbuf 1
"5"
send userbuf1 5
"<id_>"
在log能显示出---------------5+++++++++++++++
但在text view里显示却是<id_>这是为什么?并没有显示参数 |
|