fix(接口测试): GET 请求参数错误
This commit is contained in:
parent
4887585838
commit
7a867e80d1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue