Saturday, October 19, 2013

Android GCM PushNotification Testing

Some time we need to simulate push notification into our android device for testing purpose .
This facilty is still not provided into inbuilt android sdk .
But same can be achived from online api testing site called Hurl.it

Below are steps for that

Step 1 : In the Destination combo box select Post

Step 2: Click on Add headers button and put the following values for name and vale name = "Authorization" value= "key=YOU_GOOGLE_API_KEY"name="Content-Type" value ="application/json"
Step 3: Click on Add Body and put the json values into following format