JMeter GUI: Test Plan & Workbench

As soon as you launch JMeter, you will see 2 elements

  1. Test Plan
  2. Workbench

Hands on with JMeter GUI

What is a Test Plan?

Test Plan is where you add elements required for your JMeter Test.

It stores all the elements (like ThreadGroup, Timers etc) and their corresponding settings required to run your desired Tests.

The following figure shows an example of Test Plan

Hands on with JMeter GUI

What is WorkBench?

The WorkBench simply provides a place to store test elements temporarily. WorkBench has no relation with Test Plan. JMeter will not save the contents of the WorkBench. It only saves the contents of the Test Plan branch

Hands on with JMeter GUI

"WorkBench" will be used in our tutorial HTTP Proxy Server Recording Test

For now, ignore it.

How to add Elements?

Adding Elements is the essential step to build a Test Plan because without adding elements, JMeter cannot execute your Test Plan

A Test Plan includes many Elements such as Listener, Controller, and Timer

You can add an element to test plan by right-clicking on a Test Plan and choose new elements from "Add" list.

Suppose, you want to add 2 elements to Test Plan BeanShell Assertion and Java Request Default

Hands on with JMeter GUI

The numbers to the left of the green box are the number of active threads / total number of threads.

To Stop the Test, press Stop button or use short key Ctrl + '.'

Hands on with JMeter GUI

Test Report

When test execution is done, you can get the test report. The test report includes the error log file, which is saved in jmeter.log, and the test results summary. Here is a sample log file of JMeter

 

YOU MIGHT LIKE: