JMeter发送gzip请求
1. Add HTTP Header Manager to test plan/thread group:Content-Encoding: gzipAccept-Encoding:gzip,deflate2. Add Beanshell Preprocessor to http sampler ,script like:import org.apache.commons.io.IOUtils;import java.util.zip.GZIPOutputStream; Strin
原创
2020-07-10 14:19:41 ·
1158 阅读 ·
0 评论