Hey there!

In this blog, we will discuss, how to integrate Gatling with Jenkins. Further, in the blog, we will try to configure Jenkins and run our Gatling Project with it.

Before moving forward, let us learn how Jenkins works with gatling.

How it works?

The Jenkins plugin looks into job’s workspace for any simulation report it can find, and archives only report that hasn’t been archived yet (meaning that we don’t need to clean our workspace to delete previous reports).

As long as we are able to configure a job that will launch Gatling, execute a simulation and generate a report in our job’s workspace (using the Maven plugin, SBT, a shell script or whatever), we’re good to go!

How to configure sbt?

Now all we have to do is edit the Global Tool configuration, we can do so by clicking on the Manage Jenkins > System Configurations > Global Tool Configuration. Click on Add sbt and we will be needed to name the sbt version and specify the path to the sbt launch jar as well and click on save.

And voila, sbt has been configured with Jenkins.

#quality assurance (qa) #scala #gatling #jenkins #sbt #test automation

Gatling with Jenkins.
2.80 GEEK