jmeter获取CSV Data Set Config数据失败
hhtp请求IP为:http://www.shc.com路径为:/x93ksxd9das3ksedk?$openId={openId}&agent={agent}
Parameters设置的是:
openid${openid}falsetrue
agent${agent}falsetrue
CSV Data Set Config里设置如下:
文件名:D:\openid.txt 记事本里设置的为1,wx变量名:openid,agent
擦看结果树错误信息为:
Thread Name: miaosha 1-3
Sample Start: 2016-09-22 15:02:06 CST
Load time: 0
Connect Time: 0
Latency: 0
Size in bytes: 978
Headers size in bytes: 0
Body size in bytes: 978
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: Non HTTP response code: java.lang.IllegalArgumentException
Response message: Non HTTP response message: Invalid uri 'http://[http://www.shc.com]/x93ksxd9das3ksedk?$openId={openId}&agent={agent}&openid1=3&agent1=wx': IPv6reference
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
原来是openid写成openId了 {:3_69:}解决了 是的是的:lol 大小写!!!!!!!真尴尬。这种小字眼问题最难找 梦想家 发表于 2016-9-23 10:43
大小写!!!!!!!真尴尬。这种小字眼问题最难找
对啊 成败在于细节!!
页:
[1]