Running tests from the test workbench
After generating a test from a recording, you can edit
the test according to your requirements and initiate a test run from
the test workbench. The
test actually runs on the mobile test client (mobile device
or emulator/simulator). This means that the playback is controlled
from the test workbench.
The test results can be viewed from both the test workbench and the mobile test client.
Before you begin
- You must have recorded and generated a test on a mobile device, emulator or simulator. You can find information on the procedure in Recording tests from the test workbench, in Recording tests from the Android mobile test client, or Recording tests from the iOS mobile test client.
- Ensure that you give control to the test workbench to run tests by tapping Enter passive mode. After you tap it, on the mobile client, a message tells you to press Back to end this mode or wait until a playback scenario starts. On iPads, you must select any other page on the left to end the passive mode.
- To prevent your iOS device from disconnecting from the test workbench during playback, go to on your iOS device and turn Auto-Lock to Never.
Note: If your test contains datapools, it will be controlled
by the workbench.
About this task
Resource monitoring starts immediately after the test run is initiated. Resource data is
collected at the frequency specified in the polling interval. At every interval the collected data
is averaged for resources and sent back to workbench to be plotted in the report. Resource
monitoring is terminated when the test run finishes.
Note: To capture Response Time and Resource Monitoring data about mobile
application and device's resources, you must have Android 2.2 or newer.
Procedure
Results
The test is played back on the mobile device. Do not interact with the mobile device until the test is complete. If you need to stop the test run, click the Stop test button in the toolbar of the test workbench, for details on the Stop Test Run wizard, see Interrupting a run .
After the run, both Statistical (Performance) and Mobile (Live) reports are displayed.