Hacker News new | ask | show | jobs
by odo 4230 days ago
I am also interested in load testing stateful sessions e.g. log in, wait, do stuff, wait, log out. Using ponos this could be done by spawning a (gen_server-) process in the task which runs the session and then terminates. In this scenario the load function would model the arrival rate of the users.
2 comments

Sure thing. I guess you could even spawn a task that generates new load_generators. In that scenario I guess it could be useful to have the possibility to configure a load generator that terminates after the call_counter reaches a threshold.
Replying to my own post here, this is an example: https://gist.github.com/odo/6c59f604fda6390d034a