JMeter does not execute the Javascript found in HTML pages? Confused -
jmeter user manual says: jmeter not browser. jmeter not execute javascript found in html pages.
i wanted know exact meaning of statement.
most perhaps every webpage have javascripts included. taking example of testing single page (say home page), , usual page have number of js, css, images. during recording, recorded embedded resources. far knowledge, before running test in jmeter, have following 3 options 1. take top level request (homepage.html) without selecting embedded resources check-box 2. take top level request (homepage.html) along selecting embedded resources check-box 3. keep top level request along other components recorded
which among 3 best option check page load time (i assuming 1st option, tries replicate close browser)
and otherwise, if jmeter not execute javascript, how getting response of js file?
jmeter won't execute javascript , won't render page, download .js file , record , replay ajax call driven javascript.
so suggest going option 2, but:
- tick "use concurrent pool" , provide number of threads in interval of 3-8
- filter "external" resources via "urls must match" input
- add http cache manager ensure embedded resources downloaded once per thread (this well-behaved browsers do)
see how make jmeter behave more real browser article other tips on how make load test more realistic
Comments
Post a Comment