OpenTest consists of three components:

  • The sync server - a Node.js application that orchestrates the test execution, implements the OpenTest web UI and exposes an API that can be used to integrate with external systems (CI/CD, reporting, test management, etc.)

  • The test actor - a Java application that executes test steps, as instructed by the sync server. There can be multiple actors participating in the same test and actors can be deployed on any machine in any network, or in the cloud. The test actor communicates with the sync server by leveraging an HTTP API and the communication is always initiated by the actor, which greatly simplifies the setup in scenarios where the actors are running behind a firewall or in a network that is not accessible from the machine running the sync server (which is the case for many labs and test environments).

  • The test repository - a directory with a predefined structure, typically under source control, containing the various test assets (test files, data files, scripts, test session templates, custom keywords, etc.).

OpenTest high-level architecture
Figure 1. OpenTest high-level architecture

This architecture makes OpenTest adaptable to a large number of test automation scenarios and environments and enables a number of useful features, the most notable of which being distributed testing and parallelization.