Apache JMeter Introduction

Post on 07-Jul-2015

397 views 1 download

Transcript of Apache JMeter Introduction

Cph.pm 2013-01-29

Apache JMeter IntroductionSøren Lund (slu)

slu@369.dk

About Apache JMeter

The Apache JMeter™ desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

From http://jmeter.apache.org/

My Focus

Web Testing (HTTP/HTTPS) Load Testing Performance Testing Using test data (CSV files) Randomization (scripting) Reporting

Web Testing

Black Box Test Need to know

HTTP(S) Request/Response POST/GET Cookies HTML Recording in JMeter ”Developer Tools” (F12)

Load Testing

How much traffic can we handle? (users, requests, bytes)

Need to know How many users do we have? Peak hours?

Define test Scale down Define/find threshhold

Performance Testing

What are the response times? What are the repsonse times under heavy

load? Need to know

Common operations (e.g. Logging in) Eager/Lazy Loading usage Ressource hungry operations (e.g. Submitting a

form)

The Test Plan

Demo Time

(cross you fingers)

The End

Questions?

The End

Questions?