Skip to content

Commit

Permalink
Fix test data and relax assertions, close #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Landelle committed Sep 30, 2013
1 parent 9d94265 commit 4895f3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/test/resources/data/user_information.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
username,password,account_id
user1,password1,4
user2,password2,7
user3,password3,10
user4,password4,13
user5,password5,17
user6,password6,21
user7,password7,23
user8,password8,27
user9,password9,29
user10,password10,34
user1,password1,1
user2,password2,6
user3,password3,9
user4,password4,12
user5,password5,15
user6,password6,18
user7,password7,21
user8,password8,24
user9,password9,27
user10,password10,30
3 changes: 1 addition & 2 deletions src/test/scala/basic/BasicExampleSimulation.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@ class BasicExampleSimulation extends Simulation {
.protocols(httpConf)
.assertions(
global.successfulRequests.percent.is(100),
details("Login" / "request_2").responseTime.max.lessThan(2000),
details("request_9").requestsPerSec.greaterThan(10))
details("Login" / "request_2").responseTime.max.lessThan(2000))
}

0 comments on commit 4895f3b

Please sign in to comment.