Whenever I navigate to a page in my website, 63 number of requests will hit server. Some of them will be sent concurrently and others will be sent one after the other(After receiving response from earlier request).If I record this scenario in Jmeter, club all the 63 requests in 1 Transaction Controller(because from user's point of view these all requests comprise of single action - Navigate to the page) and run the script the Aggregate report shows total response time for Transaction controller also.How Jmeter calculates this total time?

Case 1: Jmeter executes requests in series only(except for "Embedded resources" which can be run concurrently using concurrent thread pool) and it is SUM of response times of 63 individual requests? In this case the total time would be more than the actual time it takes to navigate to the page because some of the requests run in parallel in real time.

Case 2: Will Jmeter execute the few requests in parallel as a browser does? Thus total Transaction time is the duration from initial request to the final 63rd response? I believe this case gives realistic results.

But my execution reports show that Jmeter follows 1st case. Please do let me know if I am wrong.


Keep in mind the following:

  1. Each JMeter thread (virtual user) executes requests upside down (or according to Logic Controllers)
  2. If you use "Retrieve All Embedded Resources from HTML Files" and "Parallel Downloads"

    Retrieve embedded resources

    • the time required to fetch all images, scripts, styles, etc. will be added to the parent HTTP Request sampler response time, like:

      • 1 request for main content
      • 6 parallel requests to embedded resources (until all are downloaded)
  3. For Transaction Controller there are 2 options (depending on how it is configured)

    • If Generate parent sample box is not checked - it reports time for each of 63 individual requests plus total time for all of them
    • If Generate parent sample box is checked it reports only total time, i.e. sum of response times for all the 63 requests

According to JMeter Glossary

Elapsed time. JMeter measures the elapsed time from just before sending the request to just after the last response has been received. JMeter does not include the time needed to render the response, nor does JMeter process any client code, for example Javascript.

See Using JMeter's Transaction Controller article for detailed information on the Transaction Controller configuration.

  • I think I did not convey my query clearly! If I run the script in Jmeter simulating 1 user and 1 loop, the time displayed in "Aggregate Report" for "Transaction Controller"(whether the checkbox checked or not) depicts the time that takes for the same transaction in a browser? – Surya T Nov 28 '16 at 12:13
  • Could someone please help me in this? It is urgent. – Surya T Dec 6 '16 at 10:14

Your Answer

