+ All Categories
Home > Software > Webinar how to set up a load test in 5 minutes

Webinar how to set up a load test in 5 minutes

Date post: 09-Jan-2017
Category:
Upload: outsystems
View: 212 times
Download: 2 times
Share this document with a friend
19
How to set up a load test in 5 mins Using Apache JMeter Webinar / August 4th 2016
Transcript
Page 1: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 minsUsing Apache JMeter

Webinar / August 4th 2016

Page 2: Webinar   how to set up a load test in 5 minutes

Replace This image in master

Speaker

[email protected]

Rui Mendes

Architecture TeamExpert Services

Page 3: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Agenda

● Ultimate Goal

● Load Testing Principles & Tool

● Test Plan Templates

● Result Analysis

● Additional Considerations

● Live Demo

● Q&A

Page 4: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Ultimate Goal

Provide a set of template scripts to streamline the execution of load tests

during project development cycles.

Page 5: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Software Testing Levels

Page 6: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Load Testing - Why?

1. Measure an application’s typical response times under

normal load conditions

2. Evaluate performance degradation when facing

incrementally heavier load conditions

3. Identify performance bottlenecks under concurrent usage

Page 7: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Load Testing - Best Practices

● Generate seed data to help identify database bottlenecks

● Set up ramp-up periods and pauses to generate

incremental load and emulate users’ think time

● Use distinct user accounts to avoid contention over session

data retrieval

● Monitor queued requests to pinpoint infrastructure limits

● Design your tests to be idempotent in order to compare

results

Page 8: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

The Tool - JMeter

✓ Free and open-source

✓ Extremely Powerful

✓ Highly Extensible

✓ Community Driven

✘ Steep Learning Curve

✘ Outdated Look & Feel

Grab it here: http://jmeter.apache.org/

Page 9: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Test Plan Templates

● Login/Logout

● Screen Preparation (Navigate)

● Submit Request

● Submit Request (AJAX)

● REST/SOAP service call

Page 10: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Test Plan CompositionThread Groups

Configurations

Samplers

Assertions

Extractors

Listeners

Page 11: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Result Analysis

Service Center Logs

JMeter Output Performance Counters

Page 12: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Additional Considerations

● JavaScript code won’t be executed by JMeter

● Adjust number of concurrent threads to the hardware

resources running JMeter

● Isolate test script custom data using request defaults, user

variables and CSV data sets

● Use parameters to instantiate variables via command line

● Use “View Results” listeners when fine-tuning test scripts

Page 13: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Live Demo

Page 14: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Test Application

Case Manager

Page 15: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

HTTP Request / Response

Page 16: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Test Scenarios

1. Landing Page

Perform Login Request Landing Page

Page 17: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Test Scenarios

2. Submit Form (AJAX)

Request Form (after Login) Submit Form Data

Page 18: Webinar   how to set up a load test in 5 minutes

How to set up a load test in 5 mins

Infrastructure Capacity Metrics

(From the Sizing OutSystems Platform KB entry)

Page 19: Webinar   how to set up a load test in 5 minutes

Thank you!See you in two weeks..!


Recommended