The fact that Grinder lets you dive into your Jython script has a lot of power to tweak the way you want to control the behavior of an "agent."
For example, if you want to simulate remote network connections, let's say your agent has 100 starts. you can generate an array of random numbers [between 0-99] and for runs matching any of the random numbers, you can instruct the thread to stop.
However, saying that the conditions you want to simulate are more like adjusting the behavior of the server you are testing. What I have given you is work that may or may not live up to your expectations. Grinder as a tool does not very much affect the behavior of the server [for testing]. it is more like a tool for managing load and user behavior.
Hope this helps.
anirvan
source share