fix(接口测试): GET 请求参数错误

This commit is contained in:
chenjianxing 2020-09-18 15:58:24 +08:00
parent 4887585838
commit 7a867e80d1
1 changed files with 3 additions and 1 deletions

View File

@ -1281,7 +1281,9 @@ class JMXGenerator {
body.push({name: '', value: request.body.raw, encode: false, enable: true});
}
httpSamplerProxy.add(new HTTPSamplerArguments(body));
if (request.method != 'GET') {
httpSamplerProxy.add(new HTTPSamplerArguments(body));
}
}
addRequestBodyFile(httpSamplerProxy, request, testId) {