tags:

views:

465

answers:

4

hi, can i use that to simulate user connection speed or is there better way or tool.

thanks in advanced.

+2  A: 

http://www.ozspeedtest.com/ provides a simpler speed testing system than speedtest.net, so it should be pretty easy to run the test from C# (it just involves downloading certain sized images).

I assume you're doing something clientside.

Charlie Somerville
+4  A: 

Fiddler2 is an HTTP proxy that allows you to simulate modem speeds. (I don't know about throttling tools for TCP, much less UDP)

edit for comment:

It sets itself as the WinInet (system) proxy on startup, captures even localhost requests (see this in case of problems); also, it can reroute requests to a different host (i.e. a request to example.com becomes a request to localhost).

Also, it has a powerful scripting engine which allows you to make custom processing rules.

Piskvor
does fiddler simulate localhost addresses ?
@devmania Yes, with a port number: http://is.gd/xqEw
balexandre
or even with a period at the end of the IP: http://127.0.0.1. <- note the final period a little out of place and it works :)
balexandre
man, great everything works, but how i can make presets for speeds like DSL, 56 Modem ?
note that 127.0.0.1. is not working for me :(
@devmania: Check http://www.fiddler2.com/Fiddler/help/hookup.asp#Q-LocalTraffic then - there are several ways of resolving this.
Piskvor
+1. Fiddler is a great tool, worth installing for any web dev work not just throttling.
Steve Haigh
@devmania: "but how i can make presets for speeds like DSL, 56 Modem?" Ask SO =D No, really, this warrants a question of its own.
Piskvor
+1  A: 

I bump into this article, but probably is not what you need.

balexandre
A: 

Try netlimiter

Simon