Running tests from Jenkins
You can run test assets either from the Jenkins Freestyle or 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 Test Performance.
-
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.
-
Closed Test Performance.
About this task
Procedure
-
Log in to the Jenkins server.
The Jenkins dashboard is displayed.
- Open your Jenkins Freestyle or Pipeline project from the list.
-
Perform one of the following steps to run the test assets from Jenkins:
- Click Build Now.
- Click Build with Parameters to provide the values for the defined parameters, and then click Build.
Results
What to do next
You can view the build logs. To view the build logs, you can click the build number from the Build History pane, and then select the Console Output option.