Skip to content

Instantly share code, notes, and snippets.

@raksit31667
Last active January 26, 2020 08:37
Show Gist options
  • Save raksit31667/d7964cc0625e984dfc68ab655b82d30f to your computer and use it in GitHub Desktop.
Save raksit31667/d7964cc0625e984dfc68ab655b82d30f to your computer and use it in GitHub Desktop.
Gatling
package com.raksit.example.order
import io.gatling.core.Predef._ // required for Gatling core structure DSL
import io.gatling.http.Predef._ // required for Gatling HTTP DSL
import io.gatling.http.protocol.HttpProtocolBuilder
object PerformanceTestConfiguration {
private val serviceUrl = System.getProperty("service.url", "http://localhost:8080")
val httpConfiguration: HttpProtocolBuilder = http.baseUrl(serviceUrl)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment