Test coverage: 

This test will confirm the following:

The test will be divided into 2 parts:

Basic Test procedure:

Note: The majority of Tags & Custom fields implementation is done when the application is launched for the first time. other available ways to assign tags is through using the FTP API.

Expected results:

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.


Example for Set Tags & Set Custom fields API Calls:
Requests:




Response:


Advanced Test procedure:

        1. The format of your custom fields are exactly the same as in your app. For example, the parameter "F_name" will be configured in the same format in the app's settings (in the dashboard) and in the app's code.
        2. You have defined the custom fields according to the correct custom field type: numeric, date, string, boolean (for tags).


Expected result:






Logs

IOS

SET

[Appoxee Debug] Starting custom fields update operation...
[Appoxee Debug] Custom fields update operation completed.


GET

[Appoxee Debug] Starting custom fields fetch operation...
[Appoxee Debug] Custom fields fetch operation completed. Cached value was fetched.


Tags

GET / SET

Starting tags update operation...
[Appoxee Debug] Fetching Tags...
[Appoxee Debug] Completed fetching Tags.
[Appoxee Debug] Added tag 'TAG_NAME' to device tags
[Appoxee Debug] Updating tags operation completed.
[Appoxee Debug] Fetching Tags...
[Appoxee Debug] Completed fetching Tags.
[Appoxee Debug] Fetching Tags...
[Appoxee Debug] Completed fetching Tags.


Android

Set

setAttributesJSON SET API: action : {"key":"a999b65a149ab8d9","actions":{"set":{"Key":"Value"}}}

Custom attribute name - "Key"

Custom Attribute value - "Value"