Skip to content

Commit e2c4875

Browse files
committed
edits
1 parent a61fa03 commit e2c4875

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

articles/api-management/mock-api-responses.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Tutorial - Mock API responses in API Management - Azure portal | Microsoft Docs
3-
description: In this tutorial, you use API Management to set a policy on an API. The policy returns a mocked response even if the backend isn't available to send real responses.
3+
description: Use Azure API Management to set a policy on an API. The policy returns a mock response even if the back end isn't available to send real responses.
44

55
author: dlepow
66
ms.service: azure-api-management
@@ -9,26 +9,28 @@ ms.topic: tutorial
99
ms.date: 03/24/2025
1010
ms.author: danlep
1111

12+
13+
#customer intent: As a developer, I want to set a policy on an API so that a mock response is returned.
1214
---
1315

1416
# Tutorial: Mock API responses
1517

1618
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
1719

18-
Backend APIs are imported into an API Management (APIM) API or created and managed manually. The steps in this tutorial, show you how to:
20+
Back-end APIs are imported into an Azure API Management API or created and managed manually. The steps in this tutorial describe how to:
1921

20-
+ Use API Management to create a blank HTTP API
21-
+ Manage an HTTP API manually
22-
+ Set a policy on an API so it returns a mocked response
22+
+ Use API Management to create a blank HTTP API.
23+
+ Manually manage an HTTP API.
24+
+ Set a policy on an API so that it returns a mock response.
2325

24-
This method lets developers continue with the implementation and testing of the API Management instance even if the backend isn't available to send real responses.
26+
This method enables developers to continue with the implementation and testing of the API Management instance even if the back end isn't available to send real responses.
2527

2628
[!INCLUDE [api-management-workspace-try-it](../../includes/api-management-workspace-try-it.md)]
2729

28-
The ability to mock up responses is useful in many scenarios:
30+
The ability to create mock responses is useful in many scenarios:
2931

30-
+ When the API façade is designed first and the backend implementation comes later. Or, the backend is being developed in parallel.
31-
+ When the backend is temporarily not operational or not able to scale.
32+
+ When the API façade is designed first and the back-end implementation occurs later, or when the back end is being developed in parallel.
33+
+ When the back end is temporarily not operational or unable to scale.
3234

3335
In this tutorial, you learn how to:
3436

@@ -38,7 +40,7 @@ In this tutorial, you learn how to:
3840
> * Enable response mocking
3941
> * Test the mocked API
4042
41-
:::image type="content" source="media/mock-api-responses/mock-api-response-02.png" alt-text="Mocked API response":::
43+
:::image type="content" source="media/mock-api-responses/mock-api-response-02.png" alt-text="Screenshot that shows the APIs page in the Azure portal." lightbox="media/mock-api-responses/mock-api-response-02.png":::
4244

4345
## Prerequisites
4446

0 commit comments

Comments
 (0)