Skip to content

Jmeter

2.21.1. Definition

Jmeter designed to load test functional behavior and measure performance. You can use JMeter to analyze and measure the performance of web application or a variety of services. Performance Testing means testing a web application against heavy load, multiple and concurrent user traffic. JMeter originally is used for testing Web Application or FTP application. Nowadays, it is used for a functional test, database server test etc

Precondition: To run Jmeter testcase, you need to have Jmeter Capability (Go to Capability, create new Jmeter cap). By default, there is a sample cap existing.

2.21.2. Screen description

No Object Type Description
1 Threads (Users) Column Thread is the basic element of the Jmeter Test plan. It holds other test elements like controllers, samplers, config elements also the listeners
2 Sampler Column in JMeter allows JMeter to send different types of requests to a server. Samplers are the actual requests, JMeter sends to the web server under test. Each sampler (except Test Action) generates one or more sample results. The sample results have various attributes (success/fail, elapsed time, data size etc.)
3 Logic Controller Column let you handle the order of processing Samplers/Requests in a Thread.
4 Post Processors Column are the test plan elements that are used to perform certain actions after the processing of a sampler request
5 Timer Column Display Run profile of Test case
6 Config Element Column is accessible from only inside the tree node where you defined it, enable us to declare variables

2.21.2.1 Threads

There are 3 keywords of thread:

  • "setUp Thread Group"
  • "Thread Group"
  • "tearDown Thread Group"

2.21.2.2 Sampler

There are 2 keywords of sampler:

  • "HTTP Request"
  • "JSR223 Sampler"

2.21.2.3 Logic Controller

There is a keyword of logic controller:

  • "Loop Controller"

2.21.2.4 Post Processors

There are 3 keywords of post processors:

  • "JSON Extractor"
  • "Regular Expression Extractor"
  • "JSR223 PostProcessor"

2.21.2.5 Timer

There are 4 keywords of timer:

  • "Constant Timer"
  • "Uniform Random Timer"
  • "Precise Throughput Timer"
  • "Constant Throughput Timer"

2.21.2.6 Config Element

There are 3 keywords of timer:

  • "HTTP Header Manager"
  • "HTTP Cookie Manager"
  • "HTTP Cache Manager"