Apache JMeter Introduction

10
Cph.pm 2013-01-29 Apache JMeter Introduction Søren Lund (slu) [email protected]

Transcript of Apache JMeter Introduction

Page 1: Apache JMeter Introduction

Cph.pm 2013-01-29

Apache JMeter IntroductionSøren Lund (slu)

[email protected]

Page 2: Apache JMeter Introduction

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/

Page 3: Apache JMeter Introduction

My Focus

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

Page 4: Apache JMeter Introduction

Web Testing

Black Box Test Need to know

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

Page 5: Apache JMeter Introduction

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

Page 6: Apache JMeter Introduction

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)

Page 7: Apache JMeter Introduction

The Test Plan

Page 8: Apache JMeter Introduction

Demo Time

(cross you fingers)

Page 9: Apache JMeter Introduction

The End

Questions?

Page 10: Apache JMeter Introduction

The End

Questions?