I new in gatling and I have a problem with the max response time. I run a script with gatling and jmeter.
class Tierra extends Simulation{
object Tierra{
val r = scala.util.Random
val geoCodeIpAddress = scenario("By Ip Address")
.feed(ipAddress)
.exec(http("By Ip Address")
.get("/v1.3/geocode")
.queryParam( """ip_address""", "${ip_address}")
.queryParam( """client_id""", clientId)
.queryParam("""loadRequests""", loadRequests)
)
}
val ipAddress = csv("ipaddress.csv").random
val httpConf = http
.baseURL("http://xxxx.xxx")
.connectionHeader("keep-alive")
.extraInfoExtractor(extraInfo => List(extraInfo.request))
setUp(
Tierra.geoCodeIpAddress.inject(constantUsersPerSec(5000) over (2 seconds))
).protocols(httpConf)
}
I saw the following numbers:
Simulation finished
Parsing log file(s)...
Parsing log file(s) done
Generating reports...
================================================================================
---- Global Information --------------------------------------------------------
> request count 10000 (OK=9999 KO=1 )
> min response time 2 (OK=2 KO=366 )
> max response time 950 (OK=950 KO=366 )
> mean response time 161 (OK=161 KO=366 )
> std deviation 142 (OK=142 KO=0 )
> response time 50th percentile 122 (OK=122 KO=366 )
> response time 75th percentile 210 (OK=210 KO=366 )
> mean requests/sec 1353.546 (OK=1353.411 KO=0.135 )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms 9939 ( 99%)
> 800 ms < t < 1200 ms 60 ( 1%)
> t > 1200 ms 0 ( 0%)
> failed 1 ( 0%)
---- Errors --------------------------------------------------------------------
> status.find.in(200,304,201,202,203,204,205,206,207,208,209), b 1 (100.0%)
ut actually found 404
================================================================================
With Jmeter
IpAddress 10000 1 1 97 1.0718442004321338 1.0E-4 506.7139599695971 176.55314756460604 356.7899
TOTAL 10000 1 1 97 1.0718442004321338 1.0E-4 506.7139599695971 176.55314756460604 356.7899
As you can see the difference between the max response time is huge: 950 vs 97.
I don't If my gatling script is wrong or there is another problem
Also I checked the numbers with splunk and I saw another number. In splunk shows less than gatling report.
Could someone help me?
I am using the last version of gatling: 2.1.7