1. Home
  2. Integrations
  3. SDK Integration Testing
  4. SDK Testing Guide – iOS

SDK Testing Guide – iOS

The purpose of this documentation is to ease the verification and validation of mTraction iOS SDK after integrating in your Application. It is highly recommended to follow the testing process to ensure the optimal setup of the SDK in your Application.

Prerequisites:

 

  1. Login Credentials for logging into the mTraction Test Application – Register here, if you are a first time user of mTraction platform.
  2. Add your Application on the mTraction platform. You can refer to the documentation here.
  3. Add Test Devices on the mTraction platform. You can refer to the documentation here.

We have broadly classified the testing process into three sections, depending on the functionality being validated. They are as follows:

  1. App Installs
  2. App Sessions
  3. In App Events

You can refer to the Integration guide here.

Please follow the steps with respect to the above sections being tested for your Application.

1. App Installs

 

  • For Testing Non Organic Installs:
    1. Add Media Source to generate a Tracker URL. Please refer to the Media Source documentation here.
    2. Copy and paste the Tracker URL on the browser of your test device and click Go. This will redirect you to App Store.
    3. There are two ways to install your Application that is integrated with mTraction SDK. Choose either of the one as below:
      • If the Application is live on App store, Install it from App Store on the Test Device.
      • Alternatively, If the Application is not live on App store, install it directly through IPA or Adhoc builds on the Test Device.
    4. Launch the Application on test device. Now you can see this Non Organic Install on mTraction platform (with Test Mode: ON) for your Application within an hour.
  • For Testing Organic Installs:
    1. There are two ways to install your Application that is integrated with mTraction SDK. Choose either of the one as below:
      • If the Application is live on App store, Install it from App Store on the Test Device.
      • Alternatively, If the Application is not live on App store, install it directly through IPA or Adhoc builds on the Test Device.
    2. Launch the Application on test device. Now you can see this Organic Install on mTraction platform (with Test Mode: ON) for your Application within an hour.

2. App Sessions

Note: Session Integration is optional and If you haven’t configured Session in your Application, then the Session test would fail.

  1. Once install testing is complete, the session tracking (if configured) will start by default for the test device. This can be seen on the mTraction platform (with Test Mode: ON) for your Application within an hour.
  2. In case of any errors faced which is likely to happen due to mis-configuration of Session tracking in your Application. Please check the following link to ensure the Session tracking is configured: Session Tracking Configuration.

3. In App Events

Note: In App Events configuration is optional and If you haven’t configured Events in your Application, then the Event test would fail.

  1. Trigger the events (if configured) in your Application from the test device. This can be seen on the mTraction platform (with Test Mode: ON) for your Application within an hour.
  2. In case of any errors faced which is likely to happen due to mis-configuration of In App Events in your Application. Please check the following link to ensure the Events setup: In App Events Configuration.
Was this article helpful to you? Yes No

How can we help?