I am scripting using Jmeter. The Login page calls multiple APIs and then logs in the user and next page that comes is Dashboard. On Dashboard 8 APIs are called. I need to report the response time taken by Login page, Dashboard Page and so on. Currently i am using Transaction Controller which sums up the response time of all requests.
E.g For Dashboard page my script looks like below;
Dashboard Transaction Controller
HTTP request 1 HTTP request 2 . . Http request 8
each request response time is below ~3 sec and all APIs are called parallel by the browser. So Browser usually gives the load time between 3-4 secs. Transaction controller sums up the response time of all 8 Http requests in that and hence i am getting around 18 secs which doesn't comply when browser load time and i check the browser load while executing the load test too and it is always ~3 sec or below.
How to report such page response time as transaction controller is showing the sum of all response times which is not correct.
I used HTTP Parallel request sampler to solve this. Used Response assertion by selecting option "Sub-Samples only" and add assertions for all http requests and used pattern matching rules as "or" and "Contains"