我需要点击最后有mongoId的api。我将从CSV提供脚本。由于未知原因,在第一个Id字符处调用错误时,它不会处理错误。我有txt文件并转换为CSV,它仍然无法正常工作。 有效的原始电话:
提前感谢您的解释和帮助。 JMeter版本是3.3。
更新到UBK: 没有帮助。我仍然得到错误:java.net.URISyntaxException:索引51处的路径中的非法字符:https://qa1.credifi.com/cre-data/property/us/a/a/a/53bb06e8cbda7100842f80ff
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at java.net.URL.toURI(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:398)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1178)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:498)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:424)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Unknown Source)
答案 0 :(得分:1)
您的问题出在HTTP请求配置中:
服务器名称或IP必须仅包含$ {site},该名称应为主机名
路径应位于路径字段中,因此您将拥有:
/ CRE-数据/属性/ US / A / A / $ {PropIds}