Author: pmouawad Date: Thu Apr 20 18:27:30 2017 New Revision: 1792106 URL: http://svn.apache.org/viewvc?rev=1792106&view=rev Log: Bug 61011 - Replace occurrences count is not correct (Path and Host replacement are counted twice) Bugzilla Id: 61011 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jmeter/trunk/xdocs/changes.xml Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=1792106&r1=1792105&r2=1792106&view=diff ============================================================================== --- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java (original) +++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java Thu Apr 20 18:27:30 2017 @@ -2073,7 +2073,6 @@ public abstract class HTTPSamplerBase ex // check if there is anything to replace int nbReplaced = ((Integer)result[1]).intValue(); if (nbReplaced>0) { - totalReplaced += nbReplaced; String replacedText = (String) result[0]; setPath(replacedText); totalReplaced += nbReplaced; @@ -2085,7 +2084,6 @@ public abstract class HTTPSamplerBase ex // check if there is anything to replace int nbReplaced = ((Integer)result[1]).intValue(); if (nbReplaced>0) { - totalReplaced += nbReplaced; String replacedText = (String) result[0]; setDomain(replacedText); totalReplaced += nbReplaced; Modified: jmeter/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1792106&r1=1792105&r2=1792106&view=diff ============================================================================== --- jmeter/trunk/xdocs/changes.xml [utf-8] (original) +++ jmeter/trunk/xdocs/changes.xml [utf-8] Thu Apr 20 18:27:30 2017 @@ -164,6 +164,7 @@ Summary

General