This is an automated email from the ASF dual-hosted git repository.
pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new f4be397 Bug 63527: Avoid empty element saved when
embedded_url_exclude_re is not set to avoid too much change in source
versionning
f4be397 is described below
commit f4be39781292564d9c3e3de1a6dee68bfde678d2
Author: pmouawad <[email protected]>
AuthorDate: Fri Nov 6 21:06:30 2020 +0100
Bug 63527: Avoid empty element saved when embedded_url_exclude_re is not
set to avoid too much change in source versionning
---
.../java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
index 66b68e9..dee4b47 100644
---
a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
+++
b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
@@ -1038,7 +1038,7 @@ public abstract class HTTPSamplerBase extends
AbstractSampler
}
public void setEmbeddedUrlExcludeRE(String regex) {
- setProperty(new StringProperty(EMBEDDED_URL_EXCLUDE_RE, regex));
+ setProperty(EMBEDDED_URL_EXCLUDE_RE, regex, "");
}
/**