Professional Documents
Culture Documents
For a performance testing to be highly effective, it needs to reflect real-world scenario. To achieve this
user think time, mixture of different scenarios in right proportion, bandwidth throttling, etc are
considered during performance testing.
Ideally, web pages are served in standard way to the users viewing from desktop and the lighter version of
the normal page is served to the users viewing from handheld / mobile devices, so as to fit in to their
display and bandwidth connection.
So with increasing mobile users it becomes absolutely important to give necessary consideration
performance testing for mobile web.
In the above HTTP header field list “User-Agent” plays an important role in identifying the software
program and device from which the HTTP request was originated.
Typically for HTTP request from a desktop user the “User-Agent” value would look like
• Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
On the other hand for mobile or handheld devices users “User-Agent” might be like
• SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0
(compatible; Googlebot-Mobile/2.1;
• BlackBerry8350i/4.6.1.204 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/103
• LG-GS500/V100 Obigo/WAP2.0 Profile/MIDP-2.1 Configuration/CLDC-1.1
• Nokia2720a-2b/2.0 (08.64) Profile/MIDP-2.1 Configuration/CLDC-1.1
• Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4
Mobile/7B367 Safari/531.21.10
• Mozilla/5.0 (Linux; U; Android 2.2; en-us; SGH-T849 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0
Mobile Safari/533.1
JMeter can be used to generate mobile traffic to web application. Here are the simple steps to create a
test plan for a website hit by 10 users where 50% of the user access from desktop and 50% from mobile
device.
Figure 1
Figure 3
Reference
http://www.gartner.com/it/page.jsp?id=1278413
http://ifonlyblog.wordpress.com/2010/01/14/gartners-mobile-predictions/
http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html
http://whatheaders.com/data/