Bug 52796

Summary: MonitorHandler fails to clear variables when starting a new parse
Product: JMeter Reporter: Sebb <sebb>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

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