A native application is software written for mobile devices. It is specifically designed to run on a device operating system and machine firmware, and typically needs to be adapted for different devices.
Organizations develop native applications to best match the mobile limitations. Native applications offer better design, and free themselves from the constraints of mobile browsers. Native applications are dedicated client programs which must be downloaded, typically from a store. They are developed to run specifically on one of more mobile operating systems: iOS, Android, Blackberry OS, or Windows Phone. Although operating systems have few consequences on the performance of native applications, they may prove an issue when recording scenarios and replaying tests.
Most native applications are designed to rely on an API which uses a proxy. NeoLoad can act as a proxy to catch the activity of the mobile device or emulator.
NeoLoad can record test scenarios on a native application:
The communication between the device or emulator and the server is recorded through the proxy based recorder. Both NeoLoad and the mobile device must be on the same network. The mobile device must be connected to the NeoLoad network in Wifi. On the mobile device, it is necessary to manually modify the proxy used by the application or by the browser. The hostname must be the name or the IP of the NeoLoad machine. The port is the NeoLoad recorder port (
8090 by default).
For example, on Apple products (iOS), the proxy settings are accessible in Settings > Wi-Fi > <wifi_network> > HTTP Proxy > Manuel setting option.
Warning: Before recording the scenario, it is recommended to close all HTTP client applications (other Web sessions, Twitter client, and so on). NeoLoad records all the HTTP flows going through the machine. It is necessary to close HTTP clients or define exclusion rules in NeoLoad to avoid unwanted requests in the recording.
In NeoLoad, the Design section gives access to the Start Recording toolbar button. The Recording dialog box makes it possible to define the new record.
To record in proxy mode, the Proxy mode option must be selected.
It is recommended to uncheck the Start client option as the mobile device itself generates the traffic. As soon as the recording is started in NeoLoad, the mobile application can be used. NeoLoad catches the HTTP traffic of the recorded application to create the test scenario content.
When all actions on the mobile application are completed, a click on the Stop Recording button in the recording bar displays the Post-recording Wizard to configure the recorded scenario.
The recorded scenario can be checked and edited in the Design section of the NeoLoad Controller. For more information, see User Paths.