There are 2 users roles in Application.
When running 2 users roles sequentially in 1 browser (login1 - actions1 - logout1, login2 - actions2 - logout2), the set of problems with users identity /pages visibility and fails occurs.
Is it possible to use 1 dedicated browser window for each user role in 1 JMeter Thread group?
Or what could be solution to split 2 users for 2 separate browsers and manage them as 1 group acting sequentially, role1 actions first and then role2 actions?
"the set of problems with users identity /pages visibility and fails occurs" - it should not be the case given well-behaved script, just in case try executing the following line after the "logout"
More information: WebDriver.Options.deleteAllCookies()
Another option is to put conditions into your script like:
Where
WDS.ctx
stands for JMeterContextAnd last but not the least, you can just put your users into different Thread Groups, just tick
Run Thread Groups consecutively
box on Test Plan level:More information: The WebDriver Sampler: Your Top 10 Questions Answered