03-14-2010 12:11 PM - last edited on 03-14-2010 02:00 PM
Hello,
I want to test my app in the condition of slow network and unreliable network.
I wonder whether we can change the network connection speed of the emulator ? Or is there any tool that can help us to do that?
I'm also thinking about a simple proxy server which the connection speed can be adjusted. And then my application connects to that test server. Does such kinds of proxy server software exist?
Thanks in advance
Ball
Solved! Go to Solution.
03-14-2010 02:01 PM
I think the best you can do is play with the Simulate-->Network Coverage options - see the Simulate menu on the Simulator.
03-18-2010 04:10 AM
1) In case you really want to simulate and do some testing on the server side: I found a simple server implementation at
http://www.acme.com/java/software/Acme.Serve.Serve
(very short)
2) I also found sloppy proxy which allows bandwith throttling:
http://www.dallaway.com/sloppy/
05-15-2010 01:27 PM
I don't have answer for your question.
But I have some trick that might be helpful for those who wish to observe the real network traffic from application:
One trick that I found very useful:
Open MDS simulator and press pause, the simulator will "freeze" untill you press any key in the console windows. It's helpful because we dont' have to start and stop MDS simulator.
If you want to intercept the connection of MDS, setup HTTP proxy in MDS property file to
"Burp suite" tool (http://portswigger.net/suite/). This tool allows us to intercept, drop package or modify package on the fly. I found it really helpful.
05-15-2010 01:42 PM
Well, My way to test my applications in different bandwidth scenarios is using an application like netlimiter where I can limit the bandwidth usage for the MDS simulator and device simulator. It works for me.