Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing The test will be divided into 2 parts:

  • Basic test which is monitoring the API call when an alias is created.
  • Advanced test using a segment creation.

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.

  • Make sure Charles ,or a sniffer tool of your choice, is configured and running on your computer.
  • Open your application for the first time.

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:

Image Added

Image Added


Response:

Image Added

Advanced Test procedure:

  • During this test we will create a segment for each custom field that was added to your application and for tags which your application assigns each device when it is registered,
  • Prepare a list of all custom fields that you have configured in your application code, make sure these fields were added to your application settings within Appoxee UI as seen below:

...

Expected result:

    • Verify that Installs and Push Enabled are updated to 1.

    • The content of the Push notification when presented on your device includes the custom filed data. 






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

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

Custom attribute name - "Key"

Custom Attribute value - "Value"