loadrunner socket 回放
我录制的是字符终端工具Netterm,参数化后,回放的到 recvbuf132 1352 因为不同用户返回的数据也不一致,这导致回放到 lrs_receive("socket0", "buf132", LrsLastArg);这里的时候大概要停顿10秒钟,最终生成场景的时候,影响了TPS结果,VUgen控制台提示:Action.c(105): lrs_receive(socket0, buf132)
Action.c(105): Mismatch in buffer's length (expected 1352 bytes, 2078 bytes actually received, difference in 726 bytes)
我想请教一下,用什么方法可以让VUgen在执行到这里的时候很快过去,或者加什么函数不对这里校验,求指教。
action
lrs_send("socket0", "buf131", LrsLastArg);
lrs_receive("socket0", "buf132", LrsLastArg);
下面是data.ws
sendbuf131 1
"3"
recvbuf132 1352
"*"
"\x1b"
"[4A\r"
"\x00\x1b"
"[J"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1b"
"[19B"
"\x1b"
"[79C"
"\x1b"
"[15A"
"\x1b"
"[72D账号/卡号 :"
"\x1b"
"[;4m"
"\x1b"
"(B6235160001500003108 "
"\x1b"
"[4C \n"
"\n"
"\n"
"\x1b"
"[46D"
"\x1b"
"[m"
"\x1b"
"(B查询交易起日 :"
"\x1b"
"[;4m"
"\x1b"
"(B2013/10/23"
"\x1b"
"[9C"
"\x1b"
"[m"
"\x1b"
"(B查询交易止日 :"
"\x1b"
"[;4m"
"\x1b"
"(B2013/10/23"
"\x1b"
"[10B"
"\x1b"
"[61D"
"\x1b"
"[m"
"\x1b"
"(B信息行:\n"
"\r"
"\x00"
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
"━━\n"
"\r"
"\x00"
" 功能键: F3 = 退出F9 = 重复F10 = 提交 ↓ = 列表"
"\x1b"
"[2A"
"\x1b"
"[22C"
"\x1b"
"[66D等候主机响应......"
"\x1b"
"[18D"
"\x1b"
"[K"
"\x00\x00\x00\x1b"
"[66C"
"\x1b"
"[66D"
"\x1b"
"[66C"
"\x1b"
"[66D"
"\x1b"
"[H\n"
"\n"
""
"\x1b"
"[K"
"\x00\x00\x00\x1b"
"[6B "
"\x1b"
"[K"
"\x00\x00\x00"
"\n"
"\n"
"\n"
"\x1b"
"[K"
"\x00\x00\x00\x1b"
"[10B\r"
"\x00"
"\n"
"\n"
"\x1b"
"[13C"
"\x1b"
"[K"
"\x00\x00\x00\x1b"
"[64C"
"\x1b"
"[66D↑↓- 选择 Enter-查询单条P-打印 F10-提交 F3-退出"
"\x1b"
"[H\n"
"\n"
" ┌──────────────────────────────────["
" 1]┐\n"
"\r"
"\x00"
" │账号"
"\x1b"
"[19C分账号 定活标志 卡号"
"\x1b"
"[16C币种 钞汇别│\n"
"\r"
"\x00"
" │────────────────────────────────────"
"─│\n"
"\r"
"\x00"
" │"
"\x1b"
"[;7m"
"\x1b"
"(B159990121000359622 000000 活期 6235160001500003108 01 本币"
""
"\x1b"
"[m"
"\x1b"
"(B│\n"
"\r"
"\x00"
" │159990121000359622 000000 活期"
"\x1b"
"[7C6235160001500003108 01 本币 │\n"
"\r"
"\x00"
" │159990121000359622 000000 活期"
"\x1b"
"[7C6235160001500003108 01 本币 │\n"
"\r"
"\x00"
" │159990121000359622 000000 活期"
"\x1b"
"[7C6235160001500003108 01 本币 │\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" │"
"\x1b"
"[74C│\n"
"\r"
"\x00"
" └────────────────────────────────────"
"─┘"
"\x1b"
"[15A\b\b" 建议你可以通过论坛搜索看下这方面的信息~
页:
[1]