先上代码: Properties pro = PropertyUtil.getPropertiesInfo("xxx.properties"); String url = pro.getProperty("xxxxxxx"); HttpPost httpPost = new HttpPost(url); 自己在本地开发的时候,一直没有问题,上了测试环境后一直报错: java.net.URISyntaxException: Illegal character in q…
今天在做服务发布性能测试的时候,傻傻的犯了个错,没有对参数进行仔细的检查,直接从fiddler中copy到jmeter中了,业务流程配置好后执行测试报错... jmeter中的响应结果如下: java.net.URISyntaxException: Illegal character in query at index 222: http://xxx.xx.xx.24:9006/xx-cloud/rest/china1_10/wmts?service=WMTS&...&width=256&…
java.net.URISyntaxException: Illegal character in query解决方案 by:授客 QQ:1033553122 测试环境 apache-jmeter-3.2 1. 问题描述 如下,jmeter发送get参数,参数中携带字符 {},运行后查看请求响应结果,提示如下: java.net.URISyntaxException: Illegal character in query at index 59:http://xx.xxx.xx.xx:130…