Good question but nope :
hexdump -C user-files/data/photo_queries.tsv | head
00000000 71 75 65 72 79 09 6d 65 6d 62 65 72 49 64 09 68 |query.memberId.h|
00000010 65 69 67 68 74 09 77 69 64 74 68 09 74 73 0a 2f |eight.width.ts./|
00000020 73 65 72 76 6c 65 74 2f 70 68 6f 74 6f 09 30 30 |servlet/photo.00|
00000030 32 31 65 6c 32 6f 6e 38 66 31 62 69 72 65 09 33 |21el2on8f1bire.3|
"0x09" is TAB
Requests | Executions | Response Time (ms) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Total | OK | KO | Min | Max | Mean | Std Dev | 95th pct | 99th pct | Req/s | |||
Global Information | 230 | 230 | 0 | 160 | 330 | 166 | 23 | 170 | 320 | 1 | ||
Photos | 230 | 230 | 0 | 160 | 330 | 166 | 23 | 170 | 320 | 1 |
query memberId height width ts
/servlet/photo 002qben1yiboxvs 40 40 1346331406000
================================================================================
2012-12-18 17:29:21 200s elapsed
---- My scenario ---------------------------------------------------------------
Users : [#################################################################]100%
waiting:0 / running:0 / done:10
---- Requests ------------------------------------------------------------------
> Photos OK=10 KO=0
================================================================================
Remove the feed part from the Simulation (hardcoded paramater and querry) :
package photo
import com.excilys.ebi.gatling.core.Predef._
import com.excilys.ebi.gatling.http.Predef._
import com.excilys.ebi.gatling.jdbc.Predef._
import akka.util.duration._
import bootstrap._
class SimulationPhotoLoad extends Simulation {
def apply = {
val urlBase = "http://10.40.0.2"
//val urlBase = "http://localhost:8888"
val httpConf = httpConfig.baseURL(urlBase)
.hostHeader("static9.viadeo-static.com")
val scn = scenario("My scenario")
.during(3 minutes) {
exec(
http("Photos")
.get("/servlet/photo")
.queryParam("memberId", "002qben1yiboxvs")
.queryParam("height", "40")
.queryParam("width", "40")
.queryParam("ts", "1346331406000")
)
.pause(0 milliseconds, 100 milliseconds)
}
List(scn.configure.users(10).protocolConfig(httpConf).ramp(20))
}
}
================================================================================
2012-12-18 17:37:48 200s elapsed
---- My scenario ---------------------------------------------------------------
Users : [#################################################################]100%
waiting:0 / running:0 / done:10
---- Requests ------------------------------------------------------------------
> Photos OK=10 KO=0
================================================================================
So feed part is not guilty ...
"Accept-Ranges=bytes";
"Age=0";
"Cache-Control=public, max-age=2592000";
"Connection=Keep-Alive";
"Content-Length=1137";
"Content-Type=image/jpeg";
"Date=Tue, 18 Dec 2012 21:09:18 GMT";
"Expires=Thu, 17 Jan 2013 21:09:18 GMT";
"Last-Modified=Tue, 28 Dec 2010 18:11:50 GMT";
"Server=Apache"
val httpConf = httpConfig
.baseURL(baseURL)
.disableCaching