What is the exact difference between DOM time and Page Load time. When I go to Google Chrome and Press F12 and go to Network, I see the DOM time and the Page Load Time and can this be implemented in Jmeter to get the DOM and Load time.
My second question is When I record my script in Jmeter and run it does each sample count as 1 Service as I need to run my website for 30,000 users.
Is the process same when performing uploading for some 10,000 products to ecommerce website and testing the performance of website, as uploading can be done using JDBC Insert command in Jmeter.
1
votes
1 Answers
3
votes
The difference is:
DOMContentLoaded
- HTML finished loadingLoaded
- all other stuff finished loading (scripts, styles, images - everything pulled down by "Retrieve all embedded resources" option enabled). I would recommend to keep this option turned on as it makes JMeter behaviour closer to real life browsers. See onLoad and onDOMContentLoaded and How To Make JMeter Behave More Like A Real Browser articles for more information
- It is unclear what do you mean by "Service". If you need to emulate 30 000 users - you need 30 000 threads. Make sure you use Timers as real user don't hammer application non-stop, they need some time to "think" between requests. Also most likely you will need more than one JMeter instance to simulate 30 000 users, check out JMeter Distributed Testing Step-by-step guide.