Endtest for Azure DevOps
Run Endtest automated tests directly from Azure Pipelines, publish the results in Azure DevOps, and optionally prevent deployments when tests fail.
What the extension does
Endtest for Azure DevOps provides a native EndtestRun@1 pipeline task that can:
- Trigger an Endtest web or mobile test execution
- Start one test suite or multiple executions through an Endtest label
- Store the Endtest App ID and App Code in a secure service connection
- Wait for all Endtest executions to finish
- Publish an Endtest summary in the Azure Pipeline run
- Publish execution-level JUnit results in Azure DevOps
- Expose execution hashes, result links, and test totals as output variables
- Fail the pipeline when Endtest reports failures or errors
Getting started
After installing the extension:
- Open Project settings in your Azure DevOps project.
- Open Service connections.
- Create a new Endtest service connection.
- Enter your Endtest App ID and App Code.
- Add the
EndtestRun@1 task to your pipeline.
steps:
- task: EndtestRun@1
name: runEndtest
displayName: Run Endtest tests
inputs:
endtestService: 'Endtest Production'
apiRequest: 'https://app.endtest.io/api.php?action=runWeb&suite=YOUR_SUITE_ID&platform=windows&os=windows11&browser=chrome&browserVersion=latest&resolution=1280x1024&geolocation=sanfrancisco&cases=all¬es='
timeoutMinutes: '30'
pollIntervalSeconds: '30'
resultsFormat: 'json-light'
failPipeline: true
publishSummary: true
publishTestResults: true
The App ID and App Code should normally be omitted from the API request because the task retrieves them securely from the selected service connection.
Pipeline output
After the Endtest execution finishes, the task can publish:
- Test suite and configuration
- Number of test cases
- Passed, failed, and error totals
- Start and end times
- Direct links to the Endtest results
- JUnit results in the Azure DevOps Tests section
Output variables
When the task is assigned a name such as runEndtest, subsequent steps can use:
$(runEndtest.executionCount)
$(runEndtest.hashes)
$(runEndtest.resultUrls)
$(runEndtest.testCases)
$(runEndtest.passed)
$(runEndtest.failed)
$(runEndtest.errors)
$(runEndtest.status)
Support
For setup instructions, see the Endtest Azure DevOps integration documentation.
For bugs and feature requests related to the extension, use the GitHub issue tracker.
For Endtest account or platform support, use the Endtest contact page.