fix(接口测试): 修复导入数据执行QUERY参数拼接错误问题

--bug=1011989 --user=赵勇 【接口测试】有个场景文件里显示请求有2个query参数,但是页面上只显示一个 https://www.tapd.cn/55049933/s/1130977
This commit is contained in:
fit2-zhao 2022-04-07 14:13:50 +08:00 committed by fit2-zhao
parent 382aa6249d
commit e22a021b17
1 changed files with 0 additions and 8 deletions

View File

@ -390,11 +390,6 @@ public class MsHTTPSamplerProxy extends MsTestElement {
this.useEnvironment = config.getConfig().get(this.getProjectId()).getApiEnvironmentid();
}
String url = httpConfig.getProtocol() + "://" + httpConfig.getSocket();
// 补充如果是完整URL 则用自身URL
if (StringUtils.isNotEmpty(this.getUrl()) && ElementUtil.isURL(this.getUrl())) {
url = this.getUrl();
}
if (isUrl()) {
if (this.isCustomizeReq() && StringUtils.isNotEmpty(this.getUrl())) {
url = this.getUrl();
@ -589,9 +584,6 @@ public class MsHTTPSamplerProxy extends MsTestElement {
}
return true;
}
if (StringUtils.isNotEmpty(this.getUrl()) && ElementUtil.isURL(this.getUrl())) {
return true;
}
return false;
}