.group("Home Page") {exec(http("Homepage").get("/").headers(headers_1)).exec(http("request_2").get("/scripts/vendor/tags/jquery.tagsinput.css") .headers(headers_2)).exec(http("request_3").get("/assets/styles/plugins.css") .headers(headers_2))..........so on .....exec(http("request_57").get("/scripts/vendor/jquery.matchHeight-min.js")
)
}
The parallel resources that are not covered by infer can be simulated by
http://gatling.io/docs/2.0.0-RC1/http/http_request.html#resources
Combinations of sequential blocking .exec() and parallel .resources() should cover most needs if you need to get closer to how a real browser makes requests.
As the doc states: gatling isn't a real browser. So ymmv.
There's scope to do more work on this in 2.1, we have been discussing it. Would be useful to hear who needs to more closely simulate page loading behaviour to determine if the work needed to simulate/record more complicated blocking/parallel resource loading is a priority.
See
https://github.com/gatling/gatling/issues/1943
For the kind of consideration needed.
Currently using exec, resources able to run the test. However page load time shown in report using group function is not correct, does not seem to be aggregate as well. The report
Looks good only when loading page without resources.
Kindly brief me if any other approach is there to display page min, max,995 response time.
Thanks,
Raja
Raja
constantUsersPerSec(20) during(15 seconds), // 4 constantUsersPerSec(20) during(15 seconds) randomized, // 5 rampUsersPerSec(10) to(20) during(10 minutes), // 6 rampUsersPerSec(10) to(20) during(10 minutes) randomized, // 7