style(接口自动化): http协议变量端口问题修复
This commit is contained in:
parent
eab413dd6b
commit
9d311c8df7
|
@ -294,7 +294,7 @@ public class MsHTTPSamplerProxy extends MsTestElement {
|
|||
sampler.setPath(url);
|
||||
}
|
||||
if (StringUtils.isNotEmpty(this.getPort()) && this.getPort().startsWith("${")) {
|
||||
url.replaceAll(this.getPort(), "10990");
|
||||
url = url.replaceAll(this.getPort(), "10990");
|
||||
}
|
||||
try {
|
||||
URL urlObject = new URL(url);
|
||||
|
|
Loading…
Reference in New Issue