Created attachment 34928 [details] Search Tree - Replace Count Error In Apache JMeter 3.2, in Search Tree, the replaced 'n' occurrences always showing 'n+1' count. Steps to reproduce. 1. Create a new test plan with one HTTP sampler for the server www.example.com 2. Click on the 'Search' icon. 3. In Search Tree dialog, enter 'www.example.com' in Search field and enter 'www.example1.com' in Replace by field. 4. Click on Search. It will display '1 node(s) match the search'. 5. Click on Replace All button. It will display 'Replaced 2 occurrences' Expected text should be 'Replace 1 occurrence'
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4368