vodqa-chennai-20jul2013: mobile app performance testing using jmeter

11
Mobile Applications Performance Testing With JMeter AMIT DESHPANDE PERFORMANCE TEST CONSULTANT SYNECHRON TECHNOLOGIES PRIVATE LTD

Upload: rameshbaskar

Post on 13-Jul-2015

442 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Mobile Applications Performance Testing With JMeter

AMIT DESHPANDE

PERFORMANCE TEST CONSULTANT

SYNECHRON TECHNOLOGIES PRIVATE LTD

Page 2: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

What we want to achieve …..

To capture the traffic of the mobile application (hybrid/web)and create the scripts in JMeter for furtherPerformance/Load/Stress Tests.

Page 3: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

And what are our problems ….

• No availability of recording tools for native/hybrid mobile application

• Some tools might require to root the device e.g. wireshark, tcpdumpetc.

• For applications with SSL, there are issues with SSL certificate handshake for proxy recording

• JMeter has recording capability only from desktop and proxy recorder can’t be extended as default for mobile platform

• JMeter doesn’t have any option to execute the tests with different network bandwidths which may be important factor for mobile testing

Page 4: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Mobile Performance Test Strategy Overview

Page 5: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Address Recording & Scripting

• Configure the ad-hoc network on the laptop or desktop with wireless adapter.

• Install fiddler on the machine where ad-hoc network is configured.

• Configure fiddler as proxy i.e. to allow remote computers/devices to connect to it.

• On the device search for the ad-hoc network configured and connect to it.

• On the device, in network settings configure the proxy (i.e. proxy for ad-hoc network) i.e. IP address of the machine with ad-hoc network and port as configured in the fiddler to accept remote connections.

• Access the application on the device, all the traffic would be recorded in fiddler which is to be utilized to create script in JMeter.

Page 6: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Demonstration

Live demo with either Android or iPhone/ Video Capture (7-8 mins)

Page 7: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Network Emulation

Page 9: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Extending Recording Approach

• The traffic captured is as good as recording done in any other tool from performance testing perspective

• The traffic captured can be extended to VSTS as web test

• Same traffic can be utilized to create scripts most of the load testing tools provided they have basic protocol support

Page 10: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter

Queries