同时在Gatling中运行记录模拟。
我收到一个错误:
“资源/recordedsimulation/0004.request.dat"/"Resource /记录模拟/0004.request.json”未找到?
发布于 2020-06-11 12:08:31
您必须打开模拟文件,例如: recordedsimulation.scala和替换文件路径中第一个斜杠出现的所有错误。
例如,使用:
.body(RawFileBody("recordedsimulation/0004.request.json"))而不是:
.body(RawFileBody("/recordedsimulation/0004.request.json"))如果使用大于3的gatling版本,请确保您的目录记录了模拟。
https://stackoverflow.com/questions/59488712
复制相似问题