Integration with CI/CD

QMetry Automation Studio provides direct integration capabilities with CI/CD tools that allow users to invoke executions from CI/CD pipelines through APIs.

Note: To ensure proper data security and user management, only project members can access project test assets. If an inactive user is assigned to a project, they can not perform any operations on the project test assets.

Steps

1. Go to Project Settings and select With CI/CD under the Integration section.

The Integration with CICD screen opens.

Authentication

User API Key for Managing Execution Services

It is a unique access credential used to authenticate and authorize user interactions with execution services. This key enables secure access to various functionalities and resources within execution services, such as initiating, monitoring, or managing execution processes. Generating this API key grants users the necessary permissions to interact with the execution services platform programmatically through API calls, facilitating seamless integration and management of tasks or processes related to executions.

2. Click on the Generate API Key to generate a unique API key for executing tests without exposing their credentials in the pipeline. Only a single valid key will be active at a time.

  • Generate API Key: This feature adds a layer of security and control for API-based executions. The data security is enhanced when invoking executions from CI/CD pipelines.

  • Revoke API Key: To revoke the existing API key and generate a new API Key, click on the regenerate icon.

Using API Key for Execution

You can use the API Key to invoke execution using languages like CURL, Node, Java, etc. The Integration with CICD module’s UI explains the APIs and shows their usage in applicable formats for different languages.

Curl

Java

Node