Test CAP Service and its Destination
Beginner
10 min.
Test the CAP service created with SAP Business Application Studio's productivity tools, including the destination automatically generated to expose it to SAP Build.
You will learn
- How to find and test the destination automatically created when you deployed your CAP service
Prerequisites
- You have created a CAP service, as described in Create a CAP Service with BAS Productivity Tools.
In order for SAP Build Apps to access your CAP service, a destination for the service is required. The destination was automatically created when you deployed the service with Enable Discovery.
In this tutorial we will test the destination using the credentials of the current user. We want to log into the service this way because we have defined roles, which can be assigned to specific users. So we need to know the current user.








