Bug 52796 - MonitorHandler fails to clear variables when starting a new parse
Summary: MonitorHandler fails to clear variables when starting a new parse
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.6
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:49 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2759