Record the application
To record the Dropbox application, you need to start the application twice:
- You first pre-record the application to define the list of the servers used in Dropbox and the IP address of the Dropbox simulation in NeoLoad.
- Then, you browse the application to create the true test scenario in NeoLoad.
First, you need to create a new Virtual User for your new record in the Recording dialog box.
In the Name field, you must specify the label for the new Virtual User. In the Record in drop-down list, select the Container in which you want the Dropbox pages to be recorded. To record Dropbox in Tunnel mode, you have to select the Tunnel mode option. In the Client settings group box, clearing the Start client option makes it possible for you to record the Dropbox application directly from your iPhone.
When you click on the OK button, the Tunnel mode recording wizard opens up to help you prepare the recording.
In NeoLoad, click on the Detect servers button to start the discovery function.
The Detecting servers bar gives you the IP address of the NeoLoad Controller. This IP address is necessary to reroute the iPhone requests toward the NeoLoad Controller which then plays the role of the Dropbox server. Without closing the bar, you must modify the IP address of the DNS server of your iPhone:
- Write down the IP address of the DNS server of your iPhone to reset it after the recording process.
- In the Wifi parameters of your iPhone, switch the IP address of the DNS server with the IP address of the NeoLoad Controller.
- Restart your iPhone to save the change.
At that moment, you must start your iPhone and connect it in Wifi to the same network as your NeoLoad Controller. Close every application but Dropbox to have NeoLoad detect your iPhone and the application.
Once your iPhone is ready, you perform every action of your Dropbox scenario to have NeoLoad detect the servers and domains used by the application. Then, you can click on the Stop server detection process button. The Tunnel mode recording wizard is updated with the servers and domains to record.
You can modify this servers list in the Port and SSL columns, and with the Add and Remove buttons.
Then, you can click on the Next button to display the Configuration check screen.
When IP or port issues are raised in this screen, you must correct them before starting the true record of the application. If you change IPs and ports, you can click Back to restart the Configuration check step.
For more information about the Tunnel mode recording wizard, see Record a secured application in tunnel mode.
When you are ready with the record configuration, you can click on the Finish to close the wizard. You then see the Recording of Virtual User bar to start recording your Dropbox scenario.
To make sure the DNS server change on the iPhone is enforced, restart your iPhone. Then, you can start the Dropbox application.
You are going to browse the application and perform every action of your scenario. This automatically creates the record in NeoLoad.
In your scenario, you already have a Dropbox account. Accessing the application with your account makes it possible for your to test how the secured login performs.
Then, you want to check the files available in your Public folder. This sends a request to the Dropbox storage servers.
You can see that you Public folder is empty as replied by the Dropbox servers.
Eventually, you decide to quit the application. You can click on the Stop Recording icon to close the recording bar. The Post-recording Wizard opens up to help you configure the recorded scenario, as documented in Post-recording wizard. When you close the Post-recording Wizard, you can see the scenario components in the Design section of the NeoLoad Controller.
- Warning: When the recording is over, you need to reset the original IP address of the DNS server on your iPhone. Restart it to save the change.
You can edit and improve your scenario further, as documented in Virtual Users before executing load tests on the your application. Testing your application is useful to measure how it performs. You are advised to start with small tests before increasing the load gradually, because your mobile application heavily depends on the bandwidth conditions with crucial effects on how your application server can handle the requests. For more information about playing your tests and analyzing the results, see Runtime supervision and Manage test results.
The Tunnel mode allows you to record any application whether it is a mobile or a desktop application, a secured application or a regular one. See Record mobile applications and Record an HTTP application in tunnel mode.
Home