Top Banner
JMeter Workshop Lokesh Agrawal Pulkit Kochar
21

JMeter Workshop vodQA

May 22, 2015

Download

Technology

vodQA

This talk was presented at VodQA Gurgaon 5th edition (22nd March 2014)
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: JMeter Workshop vodQA

JMeter Workshop

Lokesh AgrawalPulkit Kochar

Page 2: JMeter Workshop vodQA

Why To Performance Test

Page 3: JMeter Workshop vodQA

Performance Testing

•Memory•CPU• I/O•Latency• Bandwidth

•Performance of external services

•Response Time•Success Rate•Throughput•Concurrent Users

•Page Load Time

Client Side Performanc

e

Server Side

Performance

Network/Hardware

Performance

Integrated Services

Page 4: JMeter Workshop vodQA

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).

Page 5: JMeter Workshop vodQA

How WebApp Works

Page 6: JMeter Workshop vodQA

JMeter doesn’t bother about it

Page 7: JMeter Workshop vodQA

JMeter doesn’t bother about it

Jmeter simulate this part

Page 8: JMeter Workshop vodQA

JMeter Elements

TimersPre-ProcessorsSampler Post-Processors Assertions Listeners

Page 9: JMeter Workshop vodQA

Setup

Download the binary from Jakartahttp://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.

Page 10: JMeter Workshop vodQA

JMEter Workshop – Session 1

Recording

Play Back

Page 11: JMeter Workshop vodQA

Add Thread Group

Page 12: JMeter Workshop vodQA

Add HTTP Request Defaults

Page 13: JMeter Workshop vodQA

Add Recording Controller

Page 14: JMeter Workshop vodQA

Add Proxy Server

Page 15: JMeter Workshop vodQA

Exclude Patterns

Page 16: JMeter Workshop vodQA

Add Listner

Page 17: JMeter Workshop vodQA

Change Proxy Settings in Browser

Page 18: JMeter Workshop vodQA

Start Proxy Server

Page 19: JMeter Workshop vodQA

Recording

Browse WebApp

Verify Recording in JMeter

Page 20: JMeter Workshop vodQA

JMeter Workshop – Session 2

Assertions

Post Processors

Listeners

Page 21: JMeter Workshop vodQA

Questions