xiechao000 2020-05-01
参考链接地址:http://www.kanmenzhu.com/?p=119
如:http:127.0.0.1/api/download/{imei}/{deviceType/{version}}
3.添加BeanShell 预处理程序
结局。。。。哈哈
代码如下:
import java.net.URLEncoder; String url = vars.get("url"); String url = URLEncoder.encode(url); log.info("==========url========"+url); vars.put("url",url);