Jenkins
Jenkins stands as an open-source automation server dedicated to streamlining software building, testing, and distribution processes. Highly favored for its role in CI/CD Pipelines and Build automation, it finds extensive popularity.
GoTestPro extends its functionality by presenting a Jenkins plugin tailored to automate Test Execution within your Jenkins Pipeline.
1.1 Get Curl Command Link from GoTestPro
Log in to your account on GoTestPro.
Navigate to Test Plans.
Select a test plan and then select the CI/CD tab.
Click the Jenkins button.
GTP application will display the REST API (Curl Command).
Copy the Curl Command link.
1.2 Add Execution Step in Jenkins Pipeline
If you have a Jenkins pipeline in place, skip to step 2. Otherwise, follow the steps below to create a new Pipeline.
Log into your Jenkins Instance after starting the Jenkins instance. It will take you to the Jenkins Dashboard as shown below:
Create a new pipeline by clicking on 'New Item' on the left menu in the Dashboard page above.
Enter a name, select ‘GTP-CurlTest' as the Project type.
Click on the 'Ok' button to create the Pipeline.
In next configuration window scroll down to pipeline configuration area and add the curl command.
That's all we need to automate the execution of a test plan, when a successful build is triggered, using the Jenkins CI server. The user will receive an email with the execution status of a test case as ‘pass’ or ‘fail’.