From 4895f3b3e61f0821e26c1e0c40ab30a9c2aaff71 Mon Sep 17 00:00:00 2001 From: Stephane Landelle Date: Mon, 30 Sep 2013 13:50:33 +0200 Subject: [PATCH] Fix test data and relax assertions, close #2 --- src/test/resources/data/user_information.csv | 20 +++++++++---------- .../scala/basic/BasicExampleSimulation.scala | 3 +-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/test/resources/data/user_information.csv b/src/test/resources/data/user_information.csv index ba118bb..86aaf4c 100644 --- a/src/test/resources/data/user_information.csv +++ b/src/test/resources/data/user_information.csv @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/src/test/scala/basic/BasicExampleSimulation.scala b/src/test/scala/basic/BasicExampleSimulation.scala index 89fce53..46e6ee9 100644 --- a/src/test/scala/basic/BasicExampleSimulation.scala +++ b/src/test/scala/basic/BasicExampleSimulation.scala @@ -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)) }