21
JMeter Workshop Lokesh Agrawal Pulkit Kochar

J-meter Workshop Vodqa

Embed Size (px)

Citation preview

JMeter Workshop

Lokesh Agrawal

Pulkit Kochar

Why To Performance Test

Performance Testing

•Memory

•CPU

• I/O

•Latency

• Bandwidth

•Performance of external services

•Response Time

•Success Rate

•Throughput

•Concurrent Users

•Page Load Time

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 doesn’t bother about it

JMeter doesn’t 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/

It’s 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