vodqa-chennai-20jul2013: mobile app performance testing using jmeter
TRANSCRIPT
![Page 1: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/1.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/2.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/3.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/4.jpg)
Mobile Performance Test Strategy Overview
![Page 5: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/5.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/6.jpg)
Demonstration
Live demo with either Android or iPhone/ Video Capture (7-8 mins)
![Page 7: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/7.jpg)
Network Emulation
![Page 8: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/8.jpg)
Bandwidth Throttling with Fiddler
• Make best use of the proxy server & proxy settings of JMeter
• Configure fiddler to accept remote connections
• Configure Fiddler as proxy to JMeter
• Implement the Bandwidth throttling with Fiddler for different network speeds or introduce delays
http://www.logic-worx.com/index.php/tools-and-apps/fiddler-connection-simulator/
![Page 9: vodQA-Chennai-20Jul2013: Mobile App Performance testing using JMeter](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/9.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022071813/55a372401a28ab7d5d8b4576/html5/thumbnails/10.jpg)
Queries