Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

0
Jmeter Simple controller and Transaction controller

Open 1 Answers 24 Views
0 1

Hi friends,

I have one doubt regarding Simple and Transaction controller

MY Process is -> Goto Url -> Sign_in -> Create order

I recorded the script

Thread Group

My_page(Simple Controller)

  • api 1
  • api2
  • api3 (fails)

Page_Sigin_in(Simple Controller)

  • api1
  • api2
  • api3
  • api4

etc

like this am having in my jmx file 

and i run the script in NON-GUI mode and created the dashboard Result 

I open the index.html file -> view the result 

Result is show for each single API

 so it is hard to identify  each module api

if single api fails it will show it separately

so i used Transaction Controller , it will consolidate the Api and gives the result for each controller,

 but if single api fails it's not showing the error result in dashboard 

Any solution for this ?

1 Answer

0
0
  • Simple Controller is basically a container for nested requests for logically grouping
  • Transaction Controller can act in 2 modes:

    1. Response time for each request plus cumulative time of all nested requests (if Generate parent sample box is not checked)
    2. Only cumulative time of nested requests (if Generate parent sample box is checked)

So make sure that Generate parent sample box is not ticked and you should have consistent behavior for both scenarios.

answered Jan 31 by bharatvars4567 (650 points)
1Comments
commented Jan 31 by Abhishek (131 points)
edited Jan 31 by SunilBhaskar
@bharat

Thank you, I will try this one.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...