Application Packaging Standard

Last updated 18-Mar-2019

Testing and Debugging

This document explains the tools and methods for testing and debugging APS applications on the platform, which is the last phase of the integration process.

Prerequisites

The tools and recommended steps in this section are for application developers who have completed the previous phases of the integration process and now have the following knowledge and skills.

Document Sources

Since the APS JS SDK is based on the Dojo framework, you should also review the debugging methods contained in the Dojo Debugging Tutorial. Also, the APS 2 Knowledge Base contains many examples on how to identify and fix bugs in APS applications.

User Panels

When testing the application user interface (UI), you will use various types of user panels:

  • Provider control panel (PCP)
  • Reseller control panel (RCP), where the Look & Feel is very similar to PCP, or UX1 for resellers
  • Customer control panel (CCP) or UX1 for customers

Provider Control Panel

You will use this panel to deploy and provision the application services. Application specific operations include configuring Application Service Reference resource types.

UX1 Panel

Testing applications in UX1 is usually one of the most important parts of the project. First, you should create a test customer and customer administrator. Next, log in as the customer administrator from the PCP, or log in to UX1 using the user credentials you have created.

To simplify the login process in your development environment, allow your browser to remember the password or assign a simple password for your test user. For the latter case, change the password quality level on the system:

  1. In the PCP, navigate to System > Settings > Security.
  2. On the Setup tab, click Edit to select the desired password quality level.
  3. Click None for the Password Quality Level for Child Accounts.
  4. Click Submit to save changes.

Warning

Do NOT allow simple passwords on a production system.

Log in as the Customer Administrator

Log in to UX1 using the user credentials you have created.

The benefit of this way is that you get access directly to UX1 in one step.

Log in with the Provider Credentials on Behalf of the Customer

If you logged in to PCP as the provider, you can open UX1 on behalf of a customer without entering the customer administrator’s credentials from different places in PCP. This is beneficial since in a production environment, you do not know a customer administrator’s credentials. Also, this enables you to simultaneously access PCP as the provider and UX1 as the customer administrator.

To log in as the customer administrator use one of the following ways:

  • Go to Operations > Customers. Click the Login as Customer Administrator icon of the required customer in the Actions column.
  • Go to Operations > Subscriptions. Click the Login as Customer Administrator icon of the required customer in the Actions column.