51Testing软件测试论坛

标题: Loadrunner C/S关联函数lrs_save_param插入位置的困惑 [打印本页]

作者: 恋上一支鱼    时间: 2008-11-13 14:58
标题: Loadrunner C/S关联函数lrs_save_param插入位置的困惑
用loadrunner自带的flight录制的脚本,对订单号码做关联,关联函数:lrs_save_param("socket0",NULL,"Order_no",3,3)
插在data.ws中出现下面的报错信息(粗体标示部分):
Action.c(44): Mismatch (expected 8 bytes, 100 bytes actually received)
Action.c(46): lrs_send(socket0, buf18)
Action.c(48): lrs_receive(socket0, buf19)
Action.c(50): lrs_send(socket0, buf20)
Action.c(52): lrs_receive(socket0, buf21)
Action.c(52): Mismatch (expected 8 bytes, 225 bytes actually received)

插在Action中出现下面报错信息(粗体标示部分):
Action.c(45): lrs_receive(socket0, buf17)
Action.c(45): Mismatch (expected 8 bytes, 100 bytes actually received)Action.c(47): lrs_send(socket0, buf18)
Action.c(49): lrs_receive(socket0, buf19)
Action.c(51): lrs_send(socket0, buf20)
Action.c(53): lrs_receive(socket0, buf21)
Action.c(53): Mismatch (expected 8 bytes, 225 bytes actually received)
看起来报错信息是一样的,不晓得是不是插入位置错误,但又不知如何找原因...
本人初学,请高手指点,谢谢啦~

[ 本帖最后由 恋上一支鱼 于 2008-11-13 15:05 编辑 ]
作者: archonwang    时间: 2008-11-13 15:04
感觉是使用的syntax错了,麻烦检查下help
作者: 恋上一支鱼    时间: 2008-11-13 16:12
不是啊
作者: whyleave    时间: 2008-11-13 17:47
相关的脚本贴出来看看




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2