I working on a load test where on a get request I download a pdf page. There are few steps before I get to the page. The problem is the download button calls some javascripts onload function that generates a download url.
I have only been able to generate the download url using InferHtmlResources globally but the downside is I get lot of junk on my report that I do not wish to see.
Only workaround I could think of is to use group {} for individual pages to hide other resources on the report.
Is there a way I can inferhtml on a single page? Or if I use multiple http protocols and inferhtml resources on one, can I share session variables between these multiple protocols?
I have only been able to generate the download url using
InferHtmlResources globally
Really? Because Gatling doesn't execute javascript. I would have expected
that you'd have to reimplement your javascript logic.
but the downside is I get lot of junk on my report that I do not wish to
see.
Have you tried using white and black lists?
http://gatling.io/docs/2.1.2/http/http_protocol.html#resource-inferring
Only workaround I could think of is to use group {} for individual pages
to hide other resources on the report.
Is there a way I can inferhtml on a single page?
Currently, no. Not sure that's necessary when you can use those white and
black lists.
Or if I use multiple http protocols and inferhtml resources on one, can I
share session variables between these multiple protocols?
No