What would be a sensible system for synchronizing the work of virtual users? I mean, I have users playing the role of editors - they modify user data in the system - and I have no way of guaranteeing that a given user is edited by one editor - there may be a situation with two editors being edited at the same time by the same user. This causes 500 errors to appear in the application from time to time - transactivity errors - which is correct from an application point of view, but a bit confusing from a performance test point of view. I have to analyze whether a given error is a multi-thread error or something wrong based on it. The editor works in such a way that it selects a random user from the set of users and edits it. Maybe some kind of user data blocking mechanism if they are already being edited? How do you solve such things?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How can we synchronize users to perform a task at exactly the same moment? | 2 | 149 | April 13, 2021 | |
Running multiple journeys in Gatling | 1 | 114 | August 28, 2017 | |
Are Gatling exec {session => ...} blocks synchronized between users? | 4 | 148 | January 19, 2018 | |
How gatling works | 3 | 194 | June 10, 2021 | |
[Gatling2] How to synchronize scenarios | 4 | 200 | July 18, 2019 |