04-06-2012 12:27 PM
I'm working on an app that requires push notifications that I need to deploy via a client's BES server. I'm sending PAP formatted messages by POST request to the BES server, as in the example on page 17 of this RIM documentation: http://docs.blackberry.com/en/developers/deliverab
I have all the code ready but I have no way to test if it actually works, and I'd like to ensure a smooth deployment with our clients, so I'd rather not test this with the client's real BES server.
Is there any way for me to test the push notifications with a test BES server? The only option I've found so far is to use BES express, but that requires an Exchange server. I'm working on OS X and would rather avoid setting up a Windows environment, with an Exchange server and BES Express, just for testing.
Any help is very much appreciated.
04-06-2012 02:34 PM
You could test using an entirely simulated environment, MDS-CS simulator to handle the transport of the push and a smartphone simulator to test receiving, but that again would require a Windows environment for testing as neither of these support MAC currently.
Something else to keep in mind, even if testing works smoothly there are many things which may cause issues in a customer environment. It would be a good idea to see if you could activate a device on their BES for testing purposes (some companies will allow this). A few things to consider:
1) Are you using a random port over 10,000? If not, it is more likely that it could be in use by another application.
2) Are you using application-level reliabilty? If so, has the BES been configured to use this port?
04-09-2012 10:49 PM
Thanks very much for your quick response. For testing purposes, I'm thinking about run BES Express on an Amazon EC2 instance, since I don't have easy access to a Windows environment. Are you aware of any existing images out there with BES Express installed, or do you have any recommendations on how to properly do this manually?
Again, any help is very much appreciated. Hope you enjoyed your weekend!
04-10-2012 10:38 AM
For info on BES Express you would be best to post to the BES board: