jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject [jmeter] branch master updated: Bug 63527: Avoid empty element saved when embedded_url_exclude_re is not set to avoid too much change in source versionning
Date Fri, 06 Nov 2020 20:07:16 GMT
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 <p.mouawad@ubik-ingenierie.com>
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, "");
     }
 
     /**


Mime
View raw message