Jmeter Transaction Controller Example

Transaction Controller is 1 of the logic controllers of apache jmeter which is useful to mensurate over all fourth dimension taken to perform consummate transaction of whatsoever software spider web application's charge testing scenario. Example : Total fourth dimension taken to house online club on whatsoever eCommerce software spider web application. This includes all the requests which are required to house club from software spider web application. Transaction controller volition add together additional sample afterward nested samples to exhibit full fourth dimension taken past times it's nested samples.

Let's sympathize it practically. I am performing charge testing on my eCommerce software spider web application's house online club scenario as well as at that spot are full five requests every bit bellow.
  1. Add To Basket
  2. Login
  3. View Basket
  4. Add Address
  5. Checkout
I desire full fourth dimension taken past times all these five requests to consummate the transaction. So i volition add together transaction controller inward my jmeter exam excogitation as well as and thus set all five requests nether it every bit shown inward bellow image.

jmeter Transaction Controller

Now add aggregate study inward your jmeter exam excogitation as well as run the exam as well as persuasion termination inward aggregate study when software charge exam execution completed. It volition looks similar bellow.

Transaction Controller inward jmeter

You tin dismiss see, aggregate study has additional asking for transaction controller which shows full of all other requests.

Generate nurture sample
Transaction controller has pick "Generate nurture sample" every bit shown inward bellow image.


If you lot volition select this checkbox option, transaction controller asking volition move generated every bit a nurture of the other samples every bit shown inward bellow image. 

Generate Parent Sample

Otherwise it volition move generated every bit an independent sample.

Include duration of timer as well as pre-post processors inward generated sample
If this checkbox is checked, It will include timer, pre- as well as post-processing fourth dimension delays inward the generated sample of transaction controller if you lot induce got used whatsoever of them inward your exam plan.

This way, You tin dismiss run transaction controller inward your software spider web application's exam excogitation to croak fourth dimension of full transaction.

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post