Reputation: 87
I have read about the same scenario on blog . I have few queries to related . Can anyone please correct me if am wrong in understanding .
My Questions , I have tried running 2 Thread Groups under Single Test Plan
Thread Group1 : User scenario
Thread Group2 : Admin scenario
So here the scenarios are different which are present under single Test Plan . Suppose I want to check the performance of this Test plan .
To acheieve this scenario :
Test Plan >> Make sure that check box is unchecked for "Run Thread Groups consecutively" My understanding here is " As per the above scenario i.e ThreadGroup 1 & 2 will be started simulatenously . If this is the case then reports generated , we can consider the values generated are for both ThreadGroups 1 & 2 . Can I consider in this way ?
Whether we can consider the reports generated are for both Thread Groups ?
Upvotes: 0
Views: 41
Reputation: 8571
Yes your understanding about thread group execution is correct. Those thread groups will execute simulateously.
If you have added reporters to testplan they will contain and show results for both thread groups like below,
If you have added reporters to each thread group seperately then they will contains reports for that threadgroup only like below,
This all depends on scope of component and execution. This applies to non-gui test also because script scoping is referred while writing data to jtl file.
Upvotes: 1