fix(接口测试): 场景url拼接不正确
This commit is contained in:
parent
29cd976431
commit
d564296a97
|
@ -1001,8 +1001,8 @@ class JMXHttpRequest {
|
||||||
this.domain = environment.config.httpConfig.domain;
|
this.domain = environment.config.httpConfig.domain;
|
||||||
this.port = environment.config.httpConfig.port;
|
this.port = environment.config.httpConfig.port;
|
||||||
this.protocol = environment.config.httpConfig.protocol;
|
this.protocol = environment.config.httpConfig.protocol;
|
||||||
let url = new URL(environment.config.httpConfig.protocol + "://" + environment.config.httpConfig.socket);
|
let envPath = environment.config.httpConfig.protocol + "://" + environment.config.httpConfig.socket;
|
||||||
this.path = this.getPostQueryParameters(request, decodeURIComponent(url.pathname + (request.path ? request.path : '')));
|
this.path = this.getPostQueryParameters(request, decodeURIComponent(envPath + (request.path ? request.path : '')));
|
||||||
}
|
}
|
||||||
this.connectTimeout = request.connectTimeout;
|
this.connectTimeout = request.connectTimeout;
|
||||||
this.responseTimeout = request.responseTimeout;
|
this.responseTimeout = request.responseTimeout;
|
||||||
|
|
Loading…
Reference in New Issue