views:

335

answers:

3

Hello!

I'm trying to test an application that uses a database connection. What I would like to do is throttling the bandwith to, say, 1 MBit or such to get a better feeling for the application under realistic conditions.

I already use Wireshark to have a look at the communication with the DB and I expected Wireshark to have a feature like that but as it seems there is no way to do something like that.

Any suggestions?

A: 

Take a look at Trickle. Also, if you are using a router, commercial-grade router firmware generally has some QoS traffic-shaping services.

John Feminella
Right now, I'm testing on a windows machine and all tools and libs I find are only available an Linux. I also have to test on OS-level, so there is no real hardware involved that I could tweak. Probably there's some kind of extension for the WinPcap driver?
T. Walther
A: 

If you can test it out at the endpoint you could try using a browser throttler. One example is Firefox Throttle.

Pace
Unfortunately, the program I'm testing does not have any kind of web frontend. It's just a Java Swing Application connected to a database. (For all kinds of web applications I've already used Firefox Throttle - nice tool, btw)
T. Walther
A: 

A program called BWMeter can do this.

Joe