Vous êtes sur la page 1sur 21

JMeter Workshop

Lokesh Agrawal
Pulkit Kochar

Why To Performance Test

Performance Testing
Page Load Time

Response Time
Success Rate
Throughput
Concurrent Users

Client Side
Performanc
e

Server Side
Performanc
e

Integrated
Services

Network/Ha
rdware
Performanc
e
Memory

Performance of external
services

CPU
I/O
Latency
Bandwidth

JMeter Introduction
JMeter is java-based open source tool designed to load test
functional behavior of client/server software(such as web
application) and analyze overall performance under different load
types.
It may be used to test performance both on static and dynamic
resources(Files, Web- Http/Https, Java Objects, Databases and
more).

How WebApp Works

JMeter doesnt bother about it

JMeter doesnt bother about it

Jmeter simulate this part

JMeter Elements
Timers
Pre-Processors
Sampler
Post-Processors
Assertions
Listeners

Setup
Download the binary from Jakarta
http://jakarta.apache.org/jmeter/
Its platform independent, so the same download will run on
Windows, Linux, Mac.
On Windows run jmeter.bat and on Linux run ./jmeter.sh
If unable to open jmeter check JAVA_HOME environment variable
is set.

JMEter Workshop Session 1


Recording

Play Back

Add Thread Group

Add HTTP Request Defaults

Add Recording Controller

Add Proxy Server

Exclude Patterns

Add Listner

Change Proxy Settings in Browser

Start Proxy Server

Recording
Browse WebApp
Verify Recording in JMeter

JMeter Workshop Session 2


Assertions
Post Processors
Listeners

Questions

Vous aimerez peut-être aussi