distributed load testing (local vs cloud)

21

Upload: testcampro

Post on 09-May-2015

166 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Distributed load testing (Local vs Cloud)
Page 2: Distributed load testing (Local vs Cloud)
Page 3: Distributed load testing (Local vs Cloud)

Distributed Performance testing

Jmeter vs Blazemeter

Igor Cernopolc

Page 4: Distributed load testing (Local vs Cloud)

What we are talking about?

www.amazon.com www.ebay.com

www.nytimes.com www.euronews.com

www.fifa.com www.facebook.com

Page 5: Distributed load testing (Local vs Cloud)

Numbers first

Page 6: Distributed load testing (Local vs Cloud)

Why do they work when we need them?

Pure luck?

Page 7: Distributed load testing (Local vs Cloud)

Why do they work when we need them?

Designed Developed

Page 8: Distributed load testing (Local vs Cloud)

Why do they work when we need them?

Designed Developed

Page 9: Distributed load testing (Local vs Cloud)

Why distributed?

Insufficient power for larger scale projects

Geographical regions simulation

Realistic results (end to end)

Page 10: Distributed load testing (Local vs Cloud)

How can we do that?

Classic way Computer - lots of them, wires, routers, people, scripts, more computers an so on

Modern way Cloud, dedicated tools, dedicated environments

Page 11: Distributed load testing (Local vs Cloud)

Solutions

Distributed on local infrastructure

Distributed on cloud

Dedicated cloud solutions

Combination between local and cloud

Page 12: Distributed load testing (Local vs Cloud)

Distributed on local infrastructure

Firewalls on the systems are turned off Clients are on the same subnet Same version of JMeter on all the systems

and

Page 13: Distributed load testing (Local vs Cloud)

1. go to jmeter/bin 2. execute jmeter-server.bat

Multiplies the script

on all Slaves

1. go to jmeter/bin2. open jmeter.properties3. edit “remote_hosts=“

Page 14: Distributed load testing (Local vs Cloud)

Distributed on cloud

Page 15: Distributed load testing (Local vs Cloud)

Dedicated cloud solutions

Page 16: Distributed load testing (Local vs Cloud)

Combination between local and cloud

Best possible test results:- cloud agents provide a realistic simulation of

end-users - agents on the intranet can identify network-

related issues and bottlenecks

Page 17: Distributed load testing (Local vs Cloud)

Advantages

“Team work”

Distributed resources

Large-scale tests are possible

Tests are more realistic and accurate

Page 18: Distributed load testing (Local vs Cloud)

Cloud pro’s

Better geographical areas coverage No setup or maintenance required Easy and fast deployment Scalability: If you need more agents, just

launch them Easy management Low cost: Only pay for the time the agents

are running No limits

Page 19: Distributed load testing (Local vs Cloud)

Disadvantages

Same configuration and resources should be kept for comparability

High costs of implementation and maintenance

Application under test must be Internet facing so that cloud agents can interact with it.

Cloud con’s

Page 20: Distributed load testing (Local vs Cloud)

Conclusion

Do your magic before going live,

don't be a “Rio” example

Page 21: Distributed load testing (Local vs Cloud)

Thank you

Igor [email protected]

mNovember 2013