KEMBAR78
Jmeter: Performance Testing Tool. Why JMETER Is Popular | PDF
0% found this document useful (0 votes)
86 views4 pages

Jmeter: Performance Testing Tool. Why JMETER Is Popular

JMeter is an open source performance testing tool that can be used to test applications on Windows, Mac, Linux and Solaris. It has a user-friendly GUI and does not require scripting. A test plan contains all the components needed to run a performance test, including thread groups to run scenarios multiple times concurrently. Listeners are used to view results like samples, average response times, errors and throughput. Common controllers allow grouping of requests, running modules and sampling for a set time period or randomly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views4 pages

Jmeter: Performance Testing Tool. Why JMETER Is Popular

JMeter is an open source performance testing tool that can be used to test applications on Windows, Mac, Linux and Solaris. It has a user-friendly GUI and does not require scripting. A test plan contains all the components needed to run a performance test, including thread groups to run scenarios multiple times concurrently. Listeners are used to view results like samples, average response times, errors and throughput. Common controllers allow grouping of requests, running modules and sampling for a set time period or randomly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

JMETER

Performance Testing tool.

Why JMETER is popular:


 Open source
 Jmeter is built on JAVA. Run on any platform – Windows, MAC, Linux, Solaris.
 Scripting is not required.
 Jmeter GUI is user friendly

JMETER First look:


Test Plan:
Consists of all actions and components you need to execute your performance test script

Work bench: Is removed currently.

Record & Play: Non-Test Element:


Test Plan -> Non Test Element -> HTTPS Test script Recorder

Go to Firefox -> Network settings – enable the port. 8888


Insert certificate for HTTPS. Located in bin folder

Chrome Browser:

Install the blazemeter plugin.


Jmeter accepts the .jmx files

Thread Group:
Running same scenario multiple times.
Number of threads:
Rampup Period in seconds
Loop count

Results: Go to Listeners
 View Listen tree
 Aggregate report
 Summary Report
 Graph Results
Samples – No of users hit the specific request [A click on the button in a particular page. ]
Average – Measured in milli seconds. Average time taken to hit the sample to get the response.
Min – Measured in Milli seconds. Minimum time taken to hit the sample to get the response.
Max – Measured in Milli seconds. Minimum time taken to hit the sample to get the response.

Error: No of errors taken

Throughput: Server is able to handle how many requests per second. No of requests processed by the
server.

Thread Group Plugins:


Ultimate thread Group
Concurrency thread Group

Session cookie:
If a FB/Gmail login is entered, it shall send the Profile of that particular user which is called session
cookie.
In the login page the cookie is stored(SET).
To add cookie: Thread->Add->Config Element-> HTTP cookie Manager

Assertion: Response, size and Duration – are important assertions.

Response -> text -> patterns to test (add the text)


Listener -> Assertion results.

Controller:
It is a container. Where all the requests are kept in a container(folder)

Some frequently used controllers:

In thread group create a recording controller and use it as Target controller.

Module controller – It will list all the modules which we have created earlier can be reused to run it.
Run time controller – give the time like 15 mins, so it will run the sampler for 15 mins.

Random controller – will run the samples in random way.

You might also like