Instructions
You can use the Endtest API in your GitLab CI/CD workflow. This can be done by creating atest.sh file and executing it from your GitLab CI/CD workflow.
YAML snippet
- The
App IDfor your account. - The
App Codefor your account. - The API Request for starting the test execution.
- The number of times the API request for fetching the results will be sent once every 30 seconds.
7 x 30 seconds = 210 seconds > 3 minutes
Don’t forget to make your Shell script executable by running the following command:
jq package:
test_suite_name{string}- The name of the test suite.configuration{string}- The configuration of the machine or mobile device on which the test was executed.test_cases{int32}- The number of test cases.passed{int32}- The number of assertions that have passed.failed{int32}- The number of assertions that have failed.errors{int32}- The number of errors that have been encountered.start_time{timestamp}- The timestamp for the start of the test execution.end_time{timestamp}- The timestamp for the end of the test execution.detailed_logs{string}- The detailed logs for the test execution.screenshots_and_video{string}- The URLs for the screenshots and the video recording of the test execution.test_case_management{string}- The name, status and external IDs for each test case.
hash variable to generate the link to the Results page for that test execution:
You can find more details about our API in the Endtest API chapter.

