Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
agileball
Posts: 10
Registered: 03-10-2010
My Carrier: Vodaphone
Accepted Solution

Change the network connection speed and reliability of the emulator

[ Edited ]

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

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: Change the network connection speed and reliability of the emulator

I think the best you can do is play with the Simulate-->Network Coverage options - see the Simulate menu on the Simulator.

Please use plain text.
Contributor
agileball
Posts: 10
Registered: 03-10-2010
My Carrier: Vodaphone

Re: Change the network connection speed and reliability of the emulator

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.html

(very short)

 

2) I also found sloppy proxy which allows bandwith throttling:

http://www.dallaway.com/sloppy/

 

Please use plain text.
Regular Contributor
lyhoanghai
Posts: 71
Registered: 03-24-2010
My Carrier: Vodaphone

Re: Change the network connection speed and reliability of the emulator

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.

Please use plain text.
Developer
luisfernando
Posts: 91
Registered: 11-24-2009

Re: Change the network connection speed and reliability of the emulator

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.

 

 

-Luis Fernando

Remember to give Kudos(click on the star at your left) if this helped you.
Click on "Accept Solution" if the problem is resolved.
Espanol? Escribeme un mensaje privado.
Please use plain text.