iPad or iPhone iOS Load Testing - Web Performance
Menu

iPad or iPhone iOS Load Testing

With the rapid growth of tablets and smart phone purchases, the popularity of mobile browsers have increased significantly.  Our own site has seen an increase in mobile traffic from 0.2% of two years ago, to 2.5% mobile traffic today.  Due to the increase in popularity of mobile browsers, it is becoming essential to test the performance of your website on a mobile device as well.

Web Performance Load Tester records all the HTTP traffic between the browser and server through a transparent proxy, this allows for Load Tester to be flexible with the types of browsers that can be emulated during a recording.  The simulation of the browser includes emulating the correct number of sockets for each browser.  The same level of configuration can be applied to mobile browsers as well.  This tutorial will walk you through the recording of a website on a mobile device; the iPad and iPhone to be exact.  The tutorial was recorded with both devices on the same network as Load Tester.

Configuring Load Tester
In order to successfully record on a mobile device, there are certain configurations that need to be in place on the controller.

Under Preferences -> Web Performance -> Recording, ensure that the “Launch default browser when recording” check box has been unchecked.

 While still looking at Recording section, make a note of the port number listed under HTTP.  If you are recording a secure site, you will want to note the SSL port number instead.

Configuring an iPad
Once Load Tester has been configured, you will need to make some changes to your mobile device in order to allow for the recording to take place.

  1.  On the iPad, go to Settings -> Wi-Fi -> [your WiFi network].
  2. Under the HTTP Proxy section, click on the Manual tab.
  3. For Server, enter the local IP Address of the machine in which load Tester resides.
  4. For Port, enter the HTTP port number you made note of earlier.  If you are recording a secure site, you will enter the SSL port number here instead.
Configuring an iPhone
If the recording will take place on an iPhone instead, the steps are as follows:
  1.  On the iPhone, go to Settings -> Wi-Fi -> [your WiFi network].
  2. Scroll down to the HTTP Proxy section and click on the Manual tab.
  3. For Server, enter the local IP Address of the machine in which Load Tester resides.
  4. For Port, enter the HTTP port number you made note of earlier.  If you are recording a secure site, you will enter the SSL port number here instead.

Recording Testcase
Once Load Tester and the mobile device have been configured, you are now ready to record the testcase.

  1. On Load Tester, click on the record () button.
  2. Start up a Safari instance on the mobile device and begin the recording process.
  3. Once you are finished recording, close the Safari browser and press the stop recording () button on Load TesterDuring the recording, the transactions will show up on the controller as they typically would when recording a testcase.

During the recording, the transactions will show up on the controller as they typically would when recording a testcase.

Once the recording is complete, you can configure and replay it as you please.

The next tutorial will focus on recording on an android device.

Margaret
Engineer at Web Performance

Add Your Comment

You must be logged in to post a comment.

Resources

Copyright © 2024 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
How Many Concurrent Users