Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Eggplant Runner

Eggplant Runner

Eggplant

|
91 installs
| (0) | Free
Eggplant DAI Runner enable integration of DAI test configuration execution in pipeline

Eggplant DAI Runner

Introduction

The Eggplant DAI Runner is an Eggplant DAI integration tool that build as Azure DevOps extension. It enables the functionality to launch DAI tests from within a Azure DevOps workflow pipeline. You can use it to continuously test your application's model-based approach to testing. For more information about Eggplant, visit https://www.eggplantsoftware.com.

The core integration of the Eggplant DAI Runner are with DAI Test Configuration. Eggplant DAI Runner basically will communicate with the API services provided by Eggplant DAI to perform test configuration execution.

Using Eggplant DAI Runner in your workflow

Step 1: Search for Eggplant Runner in Visual Studio Marketplace and click on it

image

Step 2: Click on Get it free to navigate to the download page

image

Step 3: Select the organization that you want to install the extension and click on Install.

image

Step 4: Click on Proceed to organization

image

Step 5: Create pipeline .yml in the project and Click on Edit at the pipeline

image

Step 6: At the task search list, enter Eggplant Runner and click on it

image

Step 7: Fill in Eggplant Runner inputs value -> Click Add

image

Step 8: View the added information in azure-pipelines.yml file

image

Step 9 (Optional) : Access client secret from a variable
Navigate to Library and create a property group
Add the Client Secret as a variable

image

Click on Pipeline permission and select the pipeline

image

Update azure-pipelines.yml file as below

image

Inputs

serverURL

Required The URL of the Eggplant DAI server, http(s)://dai_server_hostname:portnumber.

testConfigID

Required The ID of the Eggplant DAI test configuration that you want to run, e.g. 09c48b7d-fc5b-481d-af80-fcffad5d9587. Test configuration ID can be obtain by go to test config > look for a particular test config > test config id can be obtain from url.

image

clientSecret

Required The client secret to use to authenticate with the Eggplant DAI server.
Alternatively, you could set a repo secret in Repo Settings > Secrets > Actions and refer to it like below:
clientSecret: "${{ secrets.DAI_CLIENT_SECRET }}".

The DAI Client Secret can be obtain by go to http(s):/dai_server_hostname:portnumber/ > System > API Access > "Add New" (for new API access creation)

image

clientID

Required The client ID to use to authenticate with the Eggplant DAI server.
Default: client:dai:agent:integration

requestTimeout

Optional The timeout in seconds for each HTTP request to the Eggplant DAI server
Default: 30

requestRetries

Optional The number of times to attempt each HTTP request to the Eggplant DAI server
Default: 5

backoffFactor

Optional The exponential backoff factor between each HTTP request
Default: 0.5

pollInterval

Optional The number of seconds to wait between each call to the Eggplant DAI server
Default: 5

testEnvironmentTimeout

Optional The timeout in seconds for checking test environment readiness
Default: 15

logLevel

Optional The logging level
Default: INFO

CACertPath

Optional The path to an alternative Certificate Authority pem file

testResultPath

Optional Path to a file where the test results will be stored in junit xml format
Example C:\results\result.xml

eggplantRunnerPath

Optional The path to eggplant runner CLI executable

Output

Pipeline triggered

Based on the pipeline .yml configuration, when there is commits or pull request action performed. The pipeline will be triggered and Eggplant DAI Runner will be executed.

image

Console Output

image

Release Notes

  • October'22 release for Eggplant Runner

    • Upgraded to Eggplant Runner version 2.0.0
    • New parameter supported by Eggplant Runner Task
      • DAI Version
        • DAI Version: DAI version deployed in user environment
        • Default : 6.3.0-3
        • User can specify which DAI version that in used in your environment.
        • DAI Version supported by Eggplant Runner
          • DAI 6.3.0-3
          • DAI 6.2.1-2
          • DAI 6.1.2-1
    • Example new DAI Version supported in Eggplant Runner image
  • Latest release for Eggplant Runner

    • Upgraded to Eggplant Runner version 2.0.1
    • New parameter supported by Eggplant Runner Task
      • Test Environment Timeout - To enable validation of Sytem Under Testing (SUT)/Execution Environment readiness before start execute DAI test configuration.
    • Example Test Environment Timout supported in Eggplant Runner

    image

Notes

  1. Eggplant DAI Runner supports 3 type of operating system:
  • Linux
  • Windows
  • MacOS
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft