Basic Jmeter question
When I record a website, after recording Jmeter will display all the list of requests that is associated with that page. I was told to delete all the requests except the request that has the name '/' . This itself enough to verify the load of the page.
For example, If I try to do the load test of www.yahoo.com, Jmeter will capture all the different requests, and the very first request has the name '/'. So, I was told to keep only that request ('/') and delete all the other requests (because this very first request '/' will be equal to all the other requests), to check the performance of www.yahoo.com.
So, my question is,
is this is the correct way to do the load testing, or we need to keep all the requests that's is captured by Jmeter?
If we need to keep all the requests that is captured , then how can we calculate the response time for www.yahoo.com, do we need to sum the response time of all the requests that is made?.
If you try to perform a load test of a site you do not own, manage or have direct written permission from the owners to test then you should be permanently banned from the profession for ethical misconduct and engaging in a denial of services attack against an innocent party.
Whoever told you that should be similarly fired.
i believe JK was just giving an example... (but yeah, you probably shouldn't be load testing against yahoo)
you only need to keep the requests you need, so you should check with the devs which ones need to remain
for example, you can probably delete any requests in your jmeter script related to google analytics