minor scala and gatling upgrades
This commit is contained in:
@@ -9,17 +9,16 @@ import io.gatling.jdbc.Predef._
|
||||
class RecordedSimulation extends Simulation {
|
||||
|
||||
val httpProtocol = http
|
||||
.baseURL("http://computer-database.gatling.io")
|
||||
.inferHtmlResources(BlackList(""".*\.css""", """.*\.js""", """.*\.ico"""), WhiteList())
|
||||
.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
|
||||
.acceptEncodingHeader("gzip, deflate")
|
||||
.acceptLanguageHeader("it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3")
|
||||
.baseURL("http://computer-database.gatling.io")
|
||||
.inferHtmlResources(BlackList(""".*\.css""", """.*\.js""", """.*\.ico"""), WhiteList())
|
||||
.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
|
||||
.acceptEncodingHeader("gzip, deflate")
|
||||
.acceptLanguageHeader("it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3")
|
||||
.userAgentHeader("Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
val scn = scenario("RecordedSimulation")
|
||||
.exec(http("request_0")
|
||||
.get("/"))
|
||||
@@ -43,4 +42,4 @@ class RecordedSimulation extends Simulation {
|
||||
.get("/computers?p=3"))
|
||||
|
||||
setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user