li_feibo 发表于 2017-12-26 13:22:21

编译LR脚本时,提示已经删除的参数文件不存在

编译LR脚本时,提示已经删除的参数文件不存在
问题描述:
将无用的action删除,其中包括该action使用到的dat参数文件,调整脚本后,编译,提示以下错误:Error: The table 'E:\pcauto\autobbs_20170526\autobbs_web\getDailyChoiceForPc.dat' does not exist.Warning: Extension parameng.dll reports error -13889 on call to function ExtPerProcessInitializeError: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.
getDailyChoiceForPc.dat 参数文件已经删除的了。

解决方法:打开.prm文件(例如脚本名称是:autobbs.usr,那么对应是 autobbs.prm),搜索 “getDailyChoiceForPc.dat ”,然后从 开头 直到出现下一个 ,将当前参数文件对应的内容都删除掉,再重新编译即可。

Delimiter=","ParamName="getDailyChoiceForPc"TableLocation="Local"ColumnName="Col 1"Table="getDailyChoiceForPc.dat"GenerateNewVal="EachIteration"Type="Table"value_for_each_vuser=""OriginalValue="/appapi/1/dailyChoice/pc/getDailyChoiceForPc.do"auto_allocate_block_size="1"SelectNextRow="Random"StartRow="1"OutOfRangePolicy="ContinueWithLast"


libingyu135 发表于 2017-12-26 13:31:21

学习了

赵佳乐SMILE 发表于 2017-12-27 13:32:23

不懂
页: [1]
查看完整版本: 编译LR脚本时,提示已经删除的参数文件不存在