|
|
|
|
|
by jtmoulia
4230 days ago
|
|
I'd love to use this to test my application, but after reading through the docs, I'm not quite sure how to get the setup I'd like: My application is a server which clients login and then issue commands to. As I'm imagining it, a user load generator would be creating and logging in users. But this is where I get fuzzy... should the user task also create a load generator which issues commands against the application as that user? Seems pretty simple, hopefully it's possible ! Excited to try this out. |
|
A load_generator in essence is just a process generating triggers at requested frequency. Every trigger happens asynchronously so there is no way to thread state between triggers.
If there is enough interest I'd be happy to extend it to handle synchronous load generators where threading state makes sense. With that use case though, it'd be impossible to guarantee that the actual load matches the load_spec in all circumstances.
If you wish to keep state between triggers you have to implement this outside of ponos at this stage.