If you use both Silk Performer and the CI application Jenkins, we have good news for you: You can now start your load tests through Jenkins, using the brandnew Silk Performer plugin. In this blog article, we will take you through the whole process of installing the plugin on Jenkins, configuring it, and using it to start a load test run. Installing the plugin Let's start by opening Jenkins in the browser. Click Manage Jenkins in the menu on the top left (1) and click Manage Plugins (2). Click the Available tab (1) and enter Silk Performer Plugin in the filter on the top right (2). Now we can click the check box (3) and Install without restart (4). Configuring the plugin When the installation is complete, click Manage Jenkins once again, and now click Configure System . Scroll down to the Silk Performer section, specify the Silk Performer Installation folder , and click Save . Your path should resemble the one I used in this example: Using the plugin Back on the Jenkins dashboard, we can create a new Jenkins job. So let's click New Item in the menu on the top left, create a Freestyle project and give it a name. In the Build section, we can now add a new kind of build step - it is called Execute Silk Performer Tests . Now we have to specify the location of our Silk Performer project file. Enter the path (1) and click Save (2). Make sure that you have permission to access the location you specify here. If you do not, you might get an error message. Click Add Success Criteria , specify the settings, and click Save . Starting a Jenkins build Let's go back to the dashboard. We can now run the build and therefore start a load test directly out of Jenkins. By using the comprehensive Jenkins functionality, we can now execute our Silk Performer load tests continuously. Note that you have to start the load test at least once directly in Silk Performer before you trigger it through Jenkins.
↧