Comment on page

Adding dependencies for Flood Gatling libraries when using automated build tools

This short guide describes how to solve Gatling script dependency issues with our Flood libraries when using a build tool like SBT
If you have a requirement to compile scripts and run them through a build tool like SBT, you might find that they fail locally but not on Flood.
In our example scripts you will notice we include a Flood library as follows:
// Mandatory, you must import Flood libraries
import flood._
When building using a tool like SBT with this dependency described, it will fail if it cannot be found.
Therefore a link to this dependency is available at: https://api.flood.io/flood.scala
Simply include this as an SBT dependency and your script should now build successfully.