id: test title: Testing EnvayaSMS ---
If you don't yet have an Android phone, you can test EnvayaSMS in an emulated phone on your computer.
With this method, you can test EnvayaSMS for free and figure out if EnvayaSMS will work for your project without needing to get an actual phone or subscribe to mobile service.
The following steps explain how to set up EnvayaSMS on an Android Virtual Device:
10.0.2.2
as the host in the Server URL. Do not enter localhost
, since this would refer to the AVD itself).
localhost:5554
sms send [phonenumber] [text message]
to send messages to the emulator.The EnvayaSMS Request Simulator is a standalone HTML file that allows you to simulate EnvayaSMS's HTTP requests entirely in your browser via JavaScript.
This may be helpful when developing and testing your server implementation. For example, you could write automated tests in Selenium that use EnvayaSMS Request Simulator to make sure that your server implementation works correctly.
To use EnvayaSMS Request Simulator, just copy the HTML file somewhere on your site, and open it in a web browser. The URL of the EnvayaSMS Request Simulator must be on the same domain as the Server URL.
Of course, you can also test EnvayaSMS by connecting a real Android phone to your development web server. For more information, see the FAQ.