恋上一支鱼 发表于 2008-11-13 14:58:10

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)
看起来报错信息是一样的,不晓得是不是插入位置错误,但又不知如何找原因...:L
本人初学,请高手指点,谢谢啦~

[ 本帖最后由 恋上一支鱼 于 2008-11-13 15:05 编辑 ]

archonwang 发表于 2008-11-13 15:04:13

感觉是使用的syntax错了,麻烦检查下help

恋上一支鱼 发表于 2008-11-13 16:12:00

不是啊

whyleave 发表于 2008-11-13 17:47:28

相关的脚本贴出来看看
页: [1]
查看完整版本: Loadrunner C/S关联函数lrs_save_param插入位置的困惑