Bug 52796 - MonitorHandler fails to clear variables when starting a new parse
MonitorHandler fails to clear variables when starting a new parse
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.6
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-02-29 13:56 UTC by Sebb
Modified: 2012-02-29 13:59 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2012-02-29 13:56:46 UTC
The MonitorHandler class stores extracted information in class variables.

However these are not cleared when starting a new document, so a subsequent parse using the same instance can result in using stale values.

The startDocument routine needs to reset all the variables.
Comment 1 Sebb 2012-02-29 13:59:55 UTC
Fixed:

URL: http://svn.apache.org/viewvc?rev=1295110&view=rev
Log:
Bug 52796 - MonitorHandler fails to clear variables when starting a new parse

Modified:
   jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/MonitorHandler.java
   jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java
   jmeter/trunk/xdocs/changes.xml