We are using JMeter’s built-in HTTP Proxy to record a test case. It was decided to capture all requests going to the server, and therefore there is no include/exclude rule set in the proxy. My question is whether there is a necessity in load testing to capture calls to JS, CSS, PNGs and other embedded resources?
So, technically speaking if I call a JSP that includes such resources, JSs, CSSs and images then will their timings (such as response time and latency) be automatically included in JMeter? I know that JMeter is not a browser and therefore it cannot execute client-side scripts but does it automatically discover/consider such resources even when there is not any explicit call to them in the test case.
To answer the question,
YES you can remove all embedded resources from being explicitly called. Requests have a checkbox on the bottom that says “retrieve embedded resources”. This would grab all CSS, JPG, etc.
It’s also a great way to find broken links and resources in a web app.