首页 文章

从jmeter中的csv文件中搜索关键字

提问于
浏览
0

我有一个CSV文件,其中包含一个键和一个值:key pants . 我希望jmeter从文件中读取该值并在搜索字段中搜索它 . 这就是我所做的,但它没有奏效 .
enter image description here

我在运行时遇到的错误:响应代码:非HTTP响应代码:java.net.URISyntaxException响应消息:非HTTP响应消息:索引94处的查询中出现非法字符:http://www.shopyourway.com//search/products?filters=availability%3A1&allowRedirection=true&q= $

响应标头:

HTTPSampleResult字段:ContentType:DataEncoding:null

那么我应该把它放在哪条路上呢?

1 回答

  • 0

    请执行下列操作:

    • 在“ Server Name or IP ", remove " /

    • 在“ Send Parameters with the request " delete the field " q " & " $ ”中,您传递的值为2次,这是不正确的 .

    如果已正确配置“ CSV Data Config ”,则这些更改将起作用 .

    希望这会有所帮助 .

相关问题