Gatling behaviour

I have 4 questions.

  1. Gatling has get method. Is this method request for css and js or only for index.html?
  2. As you know, gatling can be measuring requests time. So if you request for gooogle.com, does this time contain downloading css and jss?
  3. Can you configure it in gatling?
  4. What happens if I have the test and I request 10 times for this same page (e.g google.com). Does the page is downloading 10 times or only 1 time and then is taken from the cache?

ad 1: No, gatling doesn’t follow resources contained in HTML document
ad 2: No. Measured time is composed of GET request only. As you would do a simple curl request, more or less.
ad 3: You can use inferHtmlResources but this will add a lot of noise to your report, as all downloaded resources will be added the it. You can mitigate tat noise by grouping requests, but still time measured in this way will not have anything in common with full page load measured by a browser.

W dniu środa, 21 sierpnia 2019 08:50:15 UTC+2 użytkownik Piotr Wolynski napisał:

I have 4 questions.

  1. Gatling has get method. Is this method request for css and js or only for index.html?
  2. As you know, gatling can be measuring requests time. So if you request for gooogle.com, does this time contain downloading css and jss?
  3. Can you configure it in gatling?
  4. What happens if I have the test and I request 10 times for this same page (e.g google.com). Does the page is downloading 10 times or only 1 time and then is taken from the cache?

W dniu środa, 21 sierpnia 2019 08:50:15 UTC+2 użytkownik Piotr Wolynski napisał: