Bug 58941 - Create a new Starter that runs thread groups in validation mode (1 thread only, 1 iteration, no pause all customizable)
Summary: Create a new Starter that runs thread groups in validation mode (1 thread onl...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 58942 (view as bug list)
Depends on: 59246
Blocks: 58942
  Show dependency tree
 
Reported: 2016-01-29 16:23 UTC by UbikLoadPack support
Modified: 2016-04-25 21:16 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description UbikLoadPack support 2016-01-29 16:23:38 UTC
This would ensure that when you are in scripting phase you don't accidentally run the massive test.
Comment 1 UbikLoadPack support 2016-01-29 16:30:02 UTC
*** Bug 58942 has been marked as a duplicate of this bug. ***
Comment 2 Sebb 2016-01-29 20:50:47 UTC
It's not clear what this proposal means.
Comment 3 benoit.wiart 2016-01-29 21:15:35 UTC
It's not clear what you don't find clear...

When you're in the gui, you usually work with 1 thread to test your plan.
Today you need to change all your thread groups to 1 thread, then you set them to the real value before running the plan for the massive test.
It's a waste of time. (and error prone)
Comment 4 Philippe Mouawad 2016-01-29 21:23:24 UTC
It's the same idea as the Start NO Pause which was created to avoid having to wait for the pauses when debugging your script.

An idea I have (I don't know if it's good)is  we could merge it into a feature called "Validate my plan".

To avoid having another popup, maybe the idea would be to embed in the script (or in GUI Option menu or somewhere else) a config element called Debug My Plan with following config:
- Pause : Yes / No (defaults to no)
- Number of threads : 1 by default  (applies to all Thread Groups)
- Number of iterations : 1 by default (applies to all Thread Groups)


When user clicks the equivalent of "Start no pause" , it uses this configuration and runs the test accordingly.
Comment 5 Philippe Mouawad 2016-03-24 21:16:06 UTC
Author: pmouawad
Date: Thu Mar 24 21:14:46 2016
New Revision: 1736508

URL: http://svn.apache.org/viewvc?rev=1736508&view=rev
Log:
Bug 58941 - Create a new Starter that runs thread groups in validation mode (1 thread only, 1 iteration, no pause all customizable)
Bugzilla Id: 58941

Added:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/validation/
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/validation/TreeClonerForValidation.java   (with props)
Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Start.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/threads/gui/AbstractThreadGroupGui.java
    jmeter/trunk/xdocs/changes.xml
Comment 6 Philippe Mouawad 2016-04-25 21:16:42 UTC
Author: pmouawad
Date: Mon Apr 25 21:15:10 2016
New Revision: 1740902

URL: http://svn.apache.org/viewvc?rev=1740902&view=rev
Log:
Bug 58941 - Create a new Starter that runs thread groups in validation mode (1 thread only, 1 iteration, no pause all customizable)
Set Startup Delay to 0 to avoid waiting
Bugzilla Id: 58941

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/validation/TreeClonerForValidation.java
    jmeter/trunk/xdocs/usermanual/component_reference.xml