修复请求内容为乱码bug

This commit is contained in:
q4speed 2020-06-23 10:45:14 +08:00 committed by chenjianxing
parent e39ce8f87b
commit 5cc1ff291a
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ export class HTTPSamplerProxy extends DefaultTestElement {
this.stringProp("HTTPSampler.protocol", this.request.protocol.split(":")[0]);
this.stringProp("HTTPSampler.path", this.request.pathname);
this.stringProp("HTTPSampler.method", this.request.method);
this.stringProp("HTTPSampler.contentEncoding", this.request.encoding, "UTF-8");
if (!this.request.port) {
this.stringProp("HTTPSampler.port", "");
} else {