High Speed ​​/ Intermittent Network Modeling

I download a network application using The Grinder (on a Windows PC) and I want to simulate imperfect network conditions to see what effect it has on the application loading, in particular, I would like to see the effect:

  • Variable network latency , so not only different clients have different latencies, but the latency can vary during the test for one client.
  • Dropped network connections . I want to simulate what happens when a network connection is suddenly / accidentally deleted.

What is the easiest way to do this?

+6
networking load-testing grinder
source share
4 answers
+5
source share

Other parameters:

  • WanEM (OpenSource, clock synchronization can be a problem when installing the default VM, which leads to inconsistent results. Best used wen installed on physical equipment, not inside the virtual machine) WanEm Download location
  • Shunra (Commercial, chassis preference) Shunra Products
  • Anue (commercial, now Ixia) Anue on the Ixia website
+1
source share

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.

0
source share

You may also be interested in the crusher bandwidth throttling function, which at arbitrary levels closes how quickly your agent flows can send / receive data over the network. Your HTTP connection has a setBandwidthLimit () method that allows you to do this.

0
source share

All Articles