Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Test coverage: 

This test will confirm that your device which you installed the app on has registered successfully in Appoxee database.

Testing procedure:

  • Open Charles on your computer
  • download your application to your device and install it
  • Launch the application
  • In Charles click on the https://saas.appoxee.com in the structure pane to 
  • Click on the individual device records on the left pane and check the request and response tabs on the right pane as seen in the below screen shot:



Expected result:

The following requests and their respective responses should be successfully reported by Charles.

each request should return a response code of 200 indicating the call was successful.

The Device should have all out of the box parameters included, specifically a Push Token.

Request:

{"key":"81dc64005ec0403","actions":{"app_conf":"","default_values":""}}

Response:

{
"metadata": {
"error": false
},
"links": [],
"payload": {
"app_conf": {
"id": "104774",
"mailboxTitle": "Demo Inbox",
"RTL": "1",
"moreApps": "0",
"feedback": "1",
"is_dev": "0",
"powered": null,
"inbox": "1",
"coppa": "0",
"customInbox": "1",
"timeout": null,
"sleep": null,
"api_link": "saas.appoxee.com\/api\/v3\/device",
"secret": "fgo3WkbvHWMjFmYoHxZMbjnLT0QMj0gLkCBXU\/02",
"key": "AKIAIRES3UGQOP5NJGJQ",
"sqs_link": "https:\/\/sqs.us-east-1.amazonaws.com\/463740239353\/prod",
"google_pid": "423433911434",
"display_last": "2",
"UDIDHashed": "631CB106AB7E537429E24152CBDFB48F5A3B5209D73B5BA47BBA0E2F4C394D80"
},
"default_values": {
"Pr\u00e9nom": "",
"Age": "36",
"DerniereConnexion": "",
"F_name": "Tal",
"B_day": "18-12-1977"
}
}
}

 

Request:

{
"key": "81dc64005ec0403",
"actions": {
"time": "",
"register": {
"UDIDHashed": "631CB106AB7E537429E24152CBDFB48F5A3B5209D73B5BA47BBA0E2F4C394D80",
"appID": 104774,
"uuid": "6d461379-0886-4a34-8be3-8b38bdde9a7b",
"realUDID": "81dc64005ec0403",
"pushToken": "c6g82rAPsgQ:APA91bEmacvAU4qlEy9I7J7V_N6aZT6lZCj6RQwLZ-qNB6B0eRpKIlZ363k5mujMFC4hEkjmkfOh3aR9GqBdfhT4WjBzzwxGoijN_Cl_GQOy5ErvjQiKZhJw63-tYXHXX-tJ9Eiv5thK",
"appVersion": "46",
"clientVersion": "2.5.6",
"hardwareType": "SM-A500F",
"osName": "5.0.2",
"osNumber": 21,
"locale": "en_US",
"timeZone": "Asia\/Jerusalem",
"resolution": "720x1280",
"density": 320,
"platform": "Android",
"customFields": {}
}
}
}

Response:

{
"metadata": {
"error": false
},
"links": [],
"payload": {
"time": "2015-12-14T13:47:48.300",
"register": []
}
}

 




  • No labels