51Testing软件测试论坛
标题:
lrs_save_searched_string 的用法
[打印本页]
作者:
chenkunlong
时间:
2012-12-10 12:06
标题:
lrs_save_searched_string 的用法
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_set_receive_option(EndMarker, EndMarker_None);
i=lrs_get_last_received_buffer_size ("socket0");
lrs_save_searched_string("socket0", "buf1","notice","LB/BIN=serialid","RB/BIN=serialid",1,10,80);
lr_output_message("notice is %s",lr_eval_string("<notice>"));
data.ws里的值为"<serialid>6637</serialid>\n"
无论我怎么修改lrs_save_searched_string的参数,总是提示:
vuser_init.c(27): lrs_save_searched_string(socket0, buf1, notice, LB/BIN=, RB/BIN=, 1, 10, 80)
vuser_init.c(27): lrs_save_searched_string: Can't use both size and right boundary
vuser_init.c(27): Error : lrs_save_searched_string : parameter is invalid. Error code : 9005.
要怎么修改呢?
作者:
joe_deng
时间:
2012-12-11 14:14
LZ,请确认检查点选项是否开启
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2