Thursday, March 22, 2018

Mobile Performance Testing Using JMeter


Mobile Performance Testing Using JMeter:

Mobile applications are very rapidly developed but only few provide ultimate services to end users. Any app that is can be readily deployed into the mobile can be termed as mobile app with respective supported operating system IOS or Android OS.

Problem: 
In order to launch a new mobile app into market it is mandatory for any the organization to stabilize the performance of the mobile app should be consistent across the different network speeds as end user will be using across the networks.

Pre-requisite: JMeter tool and mobile app should be connected to same network (WIFI or Normal net) so that while navigating the app in the mobile it records traffic in JMeter tool by using the common proxy.

SOLUTION:
This can be done in JMeter, in order to achieve in the JMeter need to do the below setup in jmeter.properties file for covering all the available networks across the different operations of mobile network.
Note: cps (characters per second)
socket.http.cps=0
socket.https.cps=0
You can use these properties to limit the bandwidth in following ways:
In the bin folder of your JMeter installation, open the JMeter properties file and add these two lines and restart JMeter.
socket.http.cps=21888
socket.https.cps=21888
So different bandwidths can be implemented by using the below table for using cps values in JMeter.
Bandwidth                            cps Value
GPRS                                       21888
3G                                            2688000
4G                                            19200000
WIFI 802.11a/g                     6912000
ADSL                                       1024000
100 Mb LAN                           12800000
Gigabit Lan                             128000000
Benefits:
1) Mobile apps performance can be determined for the estimated number of users using JMeter before releasing into market.
2) Easy to fix the problems of the mobile apps in any network once the issue is identified.
3) Highly valuable and trusted products in terms of performance



No comments :

Post a Comment