Replies: 1 comment 2 replies
-
hey @Right10Privacy10👋 VUs in Artillery are independent of each other (by design, to mimic API clients and browsers in the real world). If you want to coordinate between them, you will need to add dependency on an external store of some sort, e.g. Redis. With Redis (for example) you could have VUs subscribe to a pubsub channel, pause halfway through a scenario and wait for a message on that channel before continuing with their scenario. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, fellow performance testers,
I'm new to the board and have been stuck on a scenario I'm trying to put together and was curious if anyone got some insight or has done something similar before.
So the problem I'm facing is that I have a website that I want to have a vast amount of users login find an item they desire(RNG) and then wait till everyone else finds an item they like and get all the tests to simultaneously hit a save button.
Like my first thought was to use a
think
but with that, it's not going to perform the way I want it to because if I have a batch of tests that start and get to a point before the save button, while the other tests are still ramping up the tests at the beginning might start hitting the save button which defeats the purpose of what I'm trying to test.Has anyone dealt with a similar situation in the past, much appreciated for any feedback.
Beta Was this translation helpful? Give feedback.
All reactions