This action runs a loadmill test plan, waits for it to complete and returns the result.
Required The test plan id to run.
Required User token to run the test plan on behalf of. In order to run the test plan you will need to generate an API Token.
It's recommended to use GitHub's secrets when using sensitive data like an API token
Added at the end of the test plan run description (e.g. build number).
Execute flows that are assigned to a specific label (e.g. "label1,label2")
Execute flows that match the labels expression. An expression may contain the characters ( ) & | ! (e.g. '(label1 | label2) & !label3')
Set the concurrency amount of running test suites in a test plan. Max concurrency is 10.
Execute tests from a dedicated agent's pool (when using private agent)
Override pre-defined parameter values via command line arguments by passing name=value pairs seperated by comma (e.g. "name=value,name2=value2")
Run the test plan's suites from a Git branch
The test plan will start running only after a 200 status code is recieved from the given healthcheckURL argument. This health check will be performed every 5 seconds, up to 60 seconds or until the optional healthcheckTimeout arg (see below) is reached.
If healthcheckURL (see above) is given, the health check is performed until healthcheckTimeout is reached.
The result of the test plan run.
uses: loadmill/run-test-plan-action@v1
with:
id: '<test-plan-id>'
token: '<my-generated-token>'
additionalDescription: "Commit ${{ github.ref }} by ${{ github.actor }}"
uses: loadmill/run-test-plan-action@v1
with:
id: '<test-plan-id>'
token: ${{ secrets.LOADMILL_API_TOKEN }}
additionalDescription: "Commit ${{ github.ref }} by ${{ github.actor }}"
uses: loadmill/run-test-plan-action@v1
with:
id: '<test-plan-id>'
token: '<my-generated-token>'
additionalDescription: "Commit ${{ github.ref }} by ${{ github.actor }}"
labels: 'sanity,regression'
uses: loadmill/run-test-plan-action@v1
with:
id: '<test-plan-id>'
token: '<my-generated-token>'
additionalDescription: "Commit ${{ github.ref }} by ${{ github.actor }}"
labels: 'sanity,regression'
parameters: 'host=www.example.com,port:443'