Here is a nifty little tool to help developers test GCM notifications. While developing GCM or Google Cloud Messaging Notifications in Android applications, it is important to have a simple server to test if client code is working correctly. This free GCM notifications test tool below does exactly that – allows you to easily send GCM notifications to your Android client without needing to code out the server side code.
Instructions for using the GCM Notifications Test Tool
Enter the API Key and the GCM ID of the client that you want to the send the test notification to.
Enter the data for the notifications. You can enter this as key-value pairs. If you are using sample code, your default key is probably ‘message’ (enter this in the Key 1 box) and you can enter ‘hello world’ in the value field (enter this in the Value 1 box).
Do let us know in the comments section if you found this GCM notifications test tool useful to test your Android GCM code.
Please help other developers find us by linking to techzog.com or by clicking on one of the social sharing buttons below. Every link and share is highly appreciated. Thanks!
As an Android developer, you might also want to bookmark How to Recover Lost Android Keystore Password. You might also like 5 Simple Tips to Prolong your Phone’s Battery Life.
If you think that you have a link that adds value to this article please contact us at techie[at]techzog[dot]com for evaluation of inclusion into the article.
Comments left solely for spamming links will be deleted. Thank you for understanding.
Hi..it’s very helpful tool. I am able to sending the push notification but message was not received on the device.
Would you please any one help me on this.
Will need more information to help you.
1. Did you get a success code in the response from the tool?
2. Did you cross check the GCM id?
3. Have you implemented the broadcast receiver correctly? You can print logs and see whether they are showing up in logcat.
Thank you for your effort! It works great for me.
Can we also send unescaped string, some thing like :
“data”:{“id”:31232, “tex”:”fsfds”} ?
I’ve got “Internal Server Error – Error 500”? What’s wrong?
I just tested it. It seems to be working fine with my test case. Can you specify what message you are trying to send so that we can debug this issue?
Thanx Dude… Really helpful while testing android notifications. Thumbs Up!!
Hi,
How to send message to any specific time? I am unable to do so by setting “data”: {
“score”: “4×8”,
“time”: “15:47.2342”
}
very gud tool.. this helped me lot 🙂 thank u
Nice tool for testing Push Notification,
but if you could also provide options to add more key value fields, that would be really more helpful…
Does it Support for iOS ?
No, this is for Android only.
Very helpfull, thank you(all) very much
This is really very helpful! Thank you.
Hi,
My app is crashing when I am sending Notification using this. From log I can see,”Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1515″. After some googling it is saying that, this type of problem is caused by an older version of okhttp library. Can you please check?
this is amazing
Just Perfect….helps a lot during debugging.
You guyz are great
Thanks
This is really very helpful! Thank you.
One improvement suggestion:
Add possibility to push to several clients.
Try to enter multiple GCM ids separated by commas (,). Should work.
This is tool very useful for me. Big thank.
Not working for ios
This tool is only for Android GCM Notifications not for IOS 🙂
Thank you for your appreciation – Suresh, Mandeep, Lucas!
Thanks for this. It really helped me!
its very helpful tool…..thank you
Hi.. This is really helpful.. Thanks