Hi guys,
I want to be able to request parallel download of resource to simulate a browser… I so the following info at this link
Gatling allow to fetch resources in parallel in order to emulate the behaviour of a real web browser. At the request level you can use the
resources(res: AbstractHttpRequestBuilder[_]*)
to fetch specific resources.
Or you can usefetchHtmlResources
methods at the protocol definition level. Thus Gatling will automatically parse HTML to find embedded resources in the dom and load them asynchronously. The supported resources are: , , , , ,
I’m a unclear on how I would do that in a scenario script… can you give an example?
Also is this dynamic? ie can we “GET” a web page parse it for the tags listed avove and kick off the fetches in parallel?
thanks
Karl