Test Runs

This endpoint is used to create, and read the results of, test runs. API URL - https://api.moropo.com/testsruns

Available actions

  1. Create Test Run

  2. Check Test Run Status

Example - Triggering a Test Run

Note this request uses POST to inform the API that a test run is being created. This example is for a basic usage of the endpoint. The docs linked above provide a comprehensive specification of all possible overrides.

curl -X 'POST' \
  'https://api.moropo.com/testRuns' \
  -H 'accept: */*' \
  -H 'x-app-api-key: MOROPO_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
	"ciCdId": "SCHEDULED_TEST_RUN_ID"
}'

Where;

  • MOROPO_API_KEY is the API key for the target app, found in your Moropo settings.

  • SCHEDULED_TEST_RUN_ID is the UUID of the scheduled test run you wish to create.

Expected Response

Example - Reading Test Run Status

This request uses GET to inform the API test run status is being requested

Where;

  • MOROPO_API_KEY is the API key for the target app, found in your Moropo settings.

  • TEST_RUN_ID is the ID of the test you want to request the results for.

Expected Response

Last updated

Was this helpful?