Testing Your App

Pre-requisites

Once you have successfully set up a valid set of LEAP credentials, you will need to download and install a local copy of LEAP. This can be achieved by navigating to the Account page and clicking on the "Download" button. Choose the region you wish to download for and simply follow the installation wizard that follows.

Working on multiple regions

Another great advantage of the LEAP Developer Console is that it allows you to create a LEAP App for multiple regions. LEAP supports the testing of this by providing functionality that allows you to switch regions.

To switch the regions, open LEAP, and whilst holding Ctrl+Alt+Shift, click on the area shown below. Enter your valid set of credentials and log in.

  • Note: New regional credentials can be created directly through the LEAP Developer Console

Enable debugging

Before testing your app, it is recommended that you enable the app dev mode in LEAP (available from version 2.1). This will allow you to access some debugging features such as uploading a custom app schema file or inspecting API calls.

You can enable this by holding alt then clicking the white question mark located on the top right hand of the page. This will display a window requesting a password. Enter 'appdev' followed by today's date. For example, on the 4th of August, the password would be 'appdev4'.

TIP: The "Debug and Error Log List" view will display all API calls being made from LEAP. Access your app whilst this window is open to view the requests made to your callback URL.

Importing your app for local testing

Open LEAP and browse to the app dev menu (shown above). Navigate to "Matter Apps Configuration" and select 'Use Local File'.

Browse to and select the config file downloaded earlier (from the Apps page). Your app should then appear within LEAP at the location specified in the configuration.