Testing your App

Pre-requisites

Once you've 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 which allows you to switch regions.

To switch the region, 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 credentails can be created directly throug the LEAP Developer Console

Enable debugging

Before testing your app, it's recommended that you enable LEAP debugging. To do this, log in to LEAP and enable the built-in debugging mode by holding Ctrl and left-clicking the white question mark, located on the top right of the page.

This will display a window, requesting a password. Enter 'offex' followed by today's date. For example, on the 4th of August, the password would be 'offex4'.

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 debug menu (shown above). Navigate to "Apps" and select 'Use a Local File for Matter Apps Configuration'.

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.