Bajrang Badaik
Bajrang Badaik

Reputation: 202

How to calculate the Total Time taken for a particular Transaction in a Thread Group?

I have a following Thread Group Settings:

And this is how my Thread Group is constructed:

Thread Group
Transaction Controller
   Login
   View Customers
   Customer Detail Page
   Edit & Update
   Logout

I want to know the Total Time taken by the Edit & Update Transaction.

Upvotes: 1

Views: 801

Answers (1)

vins
vins

Reputation: 15370

You need to modify the test plan.

From Login to Logout can not be a single transaction - does not look correct.

As you are interested only in measuring Edit and Update - the test plan can be as given below.

Thread Group
   Login
   View Customers
   Customer Detail Page
   Transaction Controller
      Edit & Update
   Logout

Enable Include duration of timer and pre-post processors in generated sample in the Transaction Controller.

You will get the total time taken for Edit and Update.


Update:

When you say total time taken - you mean total time of all the Edit & Update. Lets say - in your case as you have 10 threads - so you will have 10 Edit and Update. You want the total time of all the 10 Edit and update?? If yes, then there is no listener for this purpose. Because mostly no one would be interested in that metric!! We would need max, min, avg, median, 90% line from those 10 samples!!

If that is what you want, you can simply calculate that yourself Total = Avg * No of samples

Upvotes: 2

Related Questions