twer@bowen-huang:~/sourcecode/GatlingWorkShop/gatling-charts-highcharts-1.5.2$ ./bin/gatling.sh
GATLING_HOME is set to /Users/twer/sourcecode/GatlingWorkShop/gatling-charts-highcharts-1.5.2
Choose a simulation number:
[0] blog.BlogSimulation
[1] blog.GithubSimulation
1
Select simulation id (default is 'githubsimulation'). Accepted characters are a-z, A-Z, 0-9, - and _
github
Select run description (optional)testing github
Simulation blog.GithubSimulation started…
……
……
……
Simulation finished.
Simulation successful.
Generating reports...
Reports generated in 0s.
Please open the following file : /Users/twer/sourcecode/GatlingWorkShop/gatling-charts-highcharts-1.5.2/results/github-20131223214957/index.html
packageblogimportcom.excilys.ebi.gatling.core.Predef._importcom.excilys.ebi.gatling.http.Predef._importcom.excilys.ebi.gatling.jdbc.Predef._importcom.excilys.ebi.gatling.http.Headers.Names._importakka.util.duration._importbootstrap._classGithubSimulationextendsSimulation{varhttpConf=httpConfig.baseURL("https://github.com")varscn=scenario("search in github.com").exec(http("home page").get("/").check(status.is(200))).pause(0,12).exec(http("do search").get("/search").queryParam("q","gatling").check(status.is(200)))setUp(scn.users(500).ramp(10).protocolConfig(httpConf))}
varscn=scenario("search in github.com").exec(http("home page").get("/").check(status.is(200))).pause(0,12).exec(http("do search").get("/search").queryParam("q","gatling").check(status.is(200)))