Bug 52019 - Add menu option to Start a test ignoring Pause Timers
Add menu option to Start a test ignoring Pause Timers
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.5.1
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-10-13 09:38 UTC by Philippe Mouawad
Modified: 2011-10-13 20:45 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2011-10-13 09:38:53 UTC
Hello,
In scripting mode it is useful sometimes to disable (by the menu) the timers just to verify the run is OK so we don't lose time waiting on Timers.
As these tests are frequent, cumulated lost time slows down scripting process.


Regards
Philippe
Comment 1 Sebb 2011-10-13 10:59:33 UTC
Rather than a Menu item, perhaps it should be a Test Plan option, which would mean checking for it in the engine code. But I think it would be simpler overall.

If done via a Menu option, disabling is easy.

However, I assume there would be a re-enable option - what about timers that were originally disabled? Seems wrong to enable those, so the code would have to keep track of which Timers did not need re-enabling. 

What if the Test Plan were updated in the mean-time? How could one keep track of which Timers to re-enable?

Using a Test Plan option would mean it would also work in non-GUI and client-server mode.
Comment 2 Philippe Mouawad 2011-10-13 20:16:32 UTC
Decided on dev list:
- Add an Menu Option called "Run no pauses" which Runs with timers disabled
Comment 3 Philippe Mouawad 2011-10-13 20:17:07 UTC
Date: Thu Oct 13 20:12:23 2011
New Revision: 1183065

URL: http://svn.apache.org/viewvc?rev=1183065&view=rev
Log:
Bug 52019 - Add menu option to Start a test ignoring Pause Timers

Added:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/TreeClonerNoTimer.java   (with props)
Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/TreeCloner.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/Start.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_es.properties
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_pt_BR.properties
   jakarta/jmeter/trunk/xdocs/changes.xml
Comment 4 Philippe Mouawad 2011-10-13 20:45:05 UTC
Date: Thu Oct 13 20:43:07 2011
New Revision: 1183082

URL: http://svn.apache.org/viewvc?rev=1183082&view=rev
Log:
Bug 52019 - Add menu option to Start a test ignoring Pause Timers

Changed it to make it more extensible and take into account sebb notes

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/TreeCloner.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/TreeClonerNoTimer.java