diff --git a/backend/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.java b/backend/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.java index dcf2d626ab..216387be83 100644 --- a/backend/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.java +++ b/backend/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.java @@ -112,6 +112,9 @@ public final class HTTPSamplerProxy extends HTTPSamplerBase implements Interrupt } try { String url = toExternalForm(u); + if (StringUtils.isNotEmpty(url) && url.startsWith("http:/http")) { + url = url.substring(6); + } u = new URL(url); } catch (Exception ex) { LogUtil.error(ex);