Testing a data service

To verify that the data service does what you expect, you can test the operation of a data service in the App Builder Repository. When tested, the data service returns JSON code that you can then copy and paste into your project.

To test a data service in the App Builder Repository, use this procedure:

  1. On the Data Services tab, select the data service to test.
  2. In the same row as the data service, click Test Data Service.
  3. In the Test Data Service dialog box, if prompted, provide at least the mandatory input parameters, as well as any other parameters you want to supply.
    If there are any required or optional input parameters needed by the data service, App Builder prompts you for those parameters. Any input parameter marked as Mandatory must be supplied, or the data service does not run.

    Some data services do not require any input parameters and can just be run.

  4. Click Run Data Service.
In the Response Body field, App Builder displays the JSON code that is returned as a result of running the data service. You can then copy the Response Body data to the system clipboard for use elsewhere.