
FIGURE 4-2 Distributed Test Execution
PC or Workstation | Device |
JavaTest Harness
1getNextApp
2Application Bundle (agent + tests)
Execution |
| AMS | |
Server |
| ||
getNextTest | |||
|
4Test Name
|
|
| Send Test |
|
|
| |
Passive |
| Result | 9 |
|
| ||
|
|
|
| ||||
|
|
|
|
| |||
Agent |
|
|
|
|
| ||
|
|
|
|
|
| Agent | |
7 |
|
| |||||
|
|
| |||||
Test |
|
|
| ||||
|
|
|
|
| |||
|
| 8 |
|
|
| ||
|
|
|
|
| |||
|
| 5 | Check/Send |
| |||
|
|
| |||||
Messaging |
|
| Message |
| |||
|
|
|
| Tests | |||
Service | 6 | Get Message | |||||
| |||||||
|
|
| |||||
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
1. getNextApp - The AMS issues a getNextApp command to the execution server on the workstation.
The AMS implementation is device specific and must be provided by the licensee.
2. Application Bundle - The execution server sends an application bundle to the AMS.
The AMS downloads and executes the application bundle on the device. Test bundles are created by the Framework.
3. getNextTest - The agent issues a getNextTest request to the execution server.
4. Test Name - The execution server returns the name of the next test in the application bundle that the AMS should run.
While the tests from the application bundle are loaded onto the device by the AMS, the execution server establishes the sequence in which the tests in the bundle are run.
Chapter 4 Writing Tests 47