Gitlab
Last updated
Last updated
SimplifyQA pipeline execution through GitLab CI/CD enables seamless test automation integrated into your DevOps workflow. This setup uses Docker containers to run SimplifyQA pipelines in a consistent and isolated environment.
Log in to your runner machine.
Download and install the GitLab Runner:
Register the runner:
URL: Enter the GitLab instance URL (e.g., or self-hosted URL).
Registration Token: Obtain it from Settings → CI/CD → Runners in your GitLab project.
Description: Provide a meaningful name for the runner.
Executor: Choose docker as the executor.
Step 2: Configure the Runner
Edit the configuration file (/etc/gitlab-runner/config.toml) and update the executor with Docker configuration:
Restart the runner to apply the changes:
To start the gitlab runner:
Log in to your SimplifyQA account and navigate to the Pipelines section from the left-hand panel. Click on the +Pipeline button to create a new pipeline.
Provide a meaningful and descriptive name for the pipeline to ensure easy identification.
Choose whether you want to execute a Test Case or a Suite, and specify the corresponding Test Case ID or Suite ID.
Select the appropriate Version and Execution Type for the pipeline.
Configure additional details:
Machine Name: Specify the machine where the execution will take place.
Environment: Choose the desired testing environment.
Release and Sprint: Define the release and sprint for which you want to execute the pipeline.
Once all details have been filled in, click Save to finalize and create the pipeline.
Configuring Variables for Pipeline Execution
INPUT_PIPELINEID: The ID of the pipeline to execute in SimplifyQA.
INPUT_APIKEY: Your SimplifyQA key for authentication.
Click on Manage account from by clicking on your profile dropdown
Go to Security
Copy the Machine Registration Key and Paste it in the INPUT_APIKEY
INPUT_APIURL: The URL of the SimplifyQA instance.
INPUT_THRESHOLD: The threshold for execution results.
INPUT_VERBOSE: Toggle for detailed logs (true or false).
Navigate to the project in GitLab.
If a new branch is required:
Click on the + icon dropdown and select New Branch.
Create the branch as needed.
Click on the Edit icon and choose Web IDE to open the editor.
The editor will redirect you to the .gitlab-ci.yml file.
Make the necessary changes to the .gitlab-ci.yml file.
Below is a breakdown:
Global Configuration
Stages: Defines the stage in which the job will execute:
Variables: Specifies global environment variables for Docker setup:
Services: Configures Docker-in-Docker (docker:dind) for containerized builds:
Pipeline Execution Jobs
Job: [Job ID]
Runs a SimplifyQA pipeline with specific variables:
[Job ID]:
Once changes are complete:
Click on Source Control.
Select Commit and push the changes to the respective branch.
Return to the GitLab project page.
From the left panel, navigate to Build > Pipeline.
The pipeline will run automatically on this page.
To view the job log, click on the Status of the pipeline.
To check the pipeline status with individual logs, click on the respective pipeline entry.
If needed, you can rerun the pipeline by clicking the Rerun icon.