Test Plan Element

JMeter – Test Plan

In JMeter, the Test Plan element serves as the parent element to which all other elements relate. It is a standard part. Depending on the nomenclature you use, you can rename the test plan with the name of your project or a test case. You can use this to distinguish your project, scenario, or test case.

How can I add the ‘Test Plan’ function to my JMeter script?

The default ‘Test Plan’ items appear in the top left corner of the JMeter window when you start it in GUI mode. See the figure below:

JMeter - Test Plan Element

‘Test Plan’ cannot be removed because it is a parent element. Nevertheless, you may turn it off by right-clicking on it and choosing “Disable.”

‘Test Plan’ input fields in JMeter are described as follows:

There are the following input fields for “Test Plan”:

  1. Name: To provide Test Plan name. It could be the name of a project or test case.
  2. Comments: To provide a comment
  3. User-Defined VariablesStatic variables can be defined for values that are repeated throughout a test, such as server names.
  4. Run Thread Group Consecutively (i.e. one at a time): Check the box if you have multiple groups under the same test plan and want to run sequentially.
  5. Run tearDown Thread Groups after shutdown of main threads: Check the box if you want to run tearDown thread group.
  6. Functional Test Mode (i.e. save Response Data & Sampler Data): It is mainly used for debugging purposes. It saves response data for validation purposes.

Possible Child Element(s) of Test Plan:

  1. Thread Group
  2. Config Element
  3. Non-Test Elements
  4. PreProcessor
  5. PostProcessor
  6. Assertion
  7. Timer
  8. Listener
  9. Test Fragment

The element(s) listed below cannot be introduced directly as children elements:

Sampler Logic 

Controller

Additional Tests

Scroll to Top