[DEPRECATED] For executing Testable (https://testable.io) test cases
100K+
DEPRECATED -- please switch to testable/runner.
Testable Agents are responsible for executing test cases and reporting back the results. Shared agents are provided in regions across the globe for your use. In certain cases it makes sense for users to run their own agents. These situations include:
Agents you run yourself are private to your account and are not accessible by any other Testable clients.
Install Docker
Docker must be installed before you can start the agent. Instructions on how to install docker can be found at https://docs.docker.com/engine/installation/.
** Create an API Key**
Login to Testable and go to Settings -> Api Key. Create a new API key. You will need this to run the agent.
docker run --net host -e AGENT_REGION_NAME=[region-name] -e AGENT_KEY=[api-key] -v /logs -d testable/agent
That's it. The region name can be anything you want. This name will appear in the Regions multi-select when you create or update your test configuration. The AGENT_KEY is the API key you created earlier (Settings -> Api Keys).
Full set of accepted environment variables:
Logging is written to /logs/agent.log within the container. Mount the /logs volume if you would like to access the log from outside of Docker. 10 days worth of logs are kept in the container using a daily rolling strategy.
Create a new test case and under the Configuration step you will see your agent's region in the list. Select it as one of the regions for your test and when your test starts it will execute on one of your agents.
Note that you can have multiple regions of your own each with multiple agents.
I don't see my region in the list?
Try reloading the Testable page and it should appear as a region to select for your test configuration.
Content type
Image
Digest
sha256:821f4851e…
Size
6.2 GB
Last updated
over 3 years ago
docker pull testable/agent