Running tests from Jenkins
You can run test assets either from the Jenkins Freestyle or the Pipeline project on the Jenkins server to test an application under test.
Before you begin
You must have completed the following tasks:
-
Verified that you have test assets residing within Rational® Performance Tester.
-
Configured the Freestyle project, if you want to run test assets from the Freestyle project. See Configuring the Freestyle project.
-
Configured the Pipeline project either by using the Pipeline script or Pipeline script from SCM, if you want to run test assets from the Pipeline project. See Configuring the Pipeline project by using the sample script or Configuring the Pipeline project by using the script from SCM.
Procedure
-
Log in to the Jenkins server.
The Jenkins dashboard is displayed.
- Open your Jenkins Freestyle or Pipeline project from the list.
- Click Build Now to run the test assets from Jenkins.
Results
What to do next
You can view the build logs by clicking the build number from the Build History pane, and then selecting the Console Output option.
If you have configured the URL of Rational Test Automation Server in preferences ( ) of Rational® Performance Tester and set Publish result after execution as Always, then the Reports information section on the Console Output page displays the names of the report along with its corresponding URLs.