Apache Jmeter response time too high for web pages -
we using apache jmeter performance testing of web application. apparently response time high in comparison loading page in browser during load. when open page during load opens in 2 seconds jmeter reports 70 seconds. understand browser memory cache , disk cache used in browser isn't jmeter cache manager same. how assert it, comparing response header 1 option. thoughts on appreciated.
it may wrong configuration in script. there won't difference between web browser , jmeter response times (browser rendering time ignored in jmeter, not big factor must considered)
if using single http sampler web page , retrieving resources in tha page, select "parallel downloads" option '6' in http sampler advanced section. so, simulating browser behaviour of parallel downloading of resources .js, .css, images etc.
if recorded script using test script recorder, there http sampler each resource requet page sent sequentially, hence increase in response time. might in case, of now, there no feature/option send http samplers in parallel. suggest using approach of adding 1 sampler, use parallel download of resources option in http sampler advanced section.
also, caching important factor decides response time. adding http cache manager can solve issue in jmeter. simulates browser behaviour of caching. don't think there huge difference b/w browser , jmeter in implementing caching althought may not perfect.
Comments
Post a Comment