SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Install a Mock Server in the SAP BTP, Kyma Runtime

This tutorial shows you how to install a mock server in the SAP BTP, Kyma runtime using Visual Studio Code and how to create a destination to the mock server in your SAP BTP subaccount.

Overview

🎓 intermediate 45 min. SAP Cloud Application Programming ModelIntermediateNode JsSAP Business Technology Platform

You will learn

  • How to install a mock server in the SAP BTP, Kyma runtime.
  • How to create a destination to the mock server in the same subaccount.
Grzegorz Karaluch G Grzegorz Karaluch July 27, 2026
Created by December 4, 2024
Contributors

Prerequisites

Prerequisites

  • You have an enterprise global account in SAP BTP. To use services for free, you can sign up for an SAP BTPEA (SAP BTP Enterprise Agreement) or a Pay-As-You-Go for SAP BTP global account and use the free tier services only. See Using Free Service Plans.
  • You have a platform user. See User and Member Management.
  • You’re an administrator of the global account in SAP BTP.
  • You have a subaccount in SAP BTP to deploy the services and applications.

OUT OF MAINTENANCE

This tutorial is no longer maintained. For an up-to-date version and support with any issues, refer to the Develop a Side-by-Side CAP-Based Extension Application Following the SAP BTP Developer’s Guide mission in the SAP Discovery Center.

Steps

Step 1 Use a mock server instead of an SAP S/4HANA Cloud tenant

If you don’t have access to an SAP back end system (SAP ECC, SAP S/4HANA Cloud or an SAP on-premise system) but still need OData services with some data, you can use this mock server application. It contains entities of SAP OData services with sample data.

You need to:

  1. Install the mock server in the SAP BTP, Kyma runtime.

  2. Create a destination to the mock server in the same subaccount in SAP BTP.

The installation of the mock server is only needed if you want to test an application deployed in the SAP BTP, Kyma runtime. For local development testing, you can use the local mock server.

Step 2 Clone the mock server repository
+
Step 3 Build and deploy the mock server application
+
Step 4 Create a destination to the mock server
+
Step 5 Test the mock server
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Use a mock server instead of an SAP S/4HANA Cloud tenant 2. Clone the mock server repository 3. Build and deploy the mock server application 4. Create a destination to the mock server 5. Test the mock server

Learn more →