How is your experience with the OutSystems Community?
9
Views
0
Comments
[Mock Framework] Mock Framework – Audit Log Shows "There is no mock config for this method" When Calli
mock-framework
Reactive icon
Forge asset by MF Team
Application Type
Reactive

Hi everyone,

I am currently working with the Mock Framework plugin in OutSystems 11 to mock REST API responses for testing purposes.

I have successfully installed and configured the Mock Framework, and I am able to execute the REST API call. However, when I invoke the API, the Mock Framework audit log displays the following error:

Error Message:"There is no mock config for this method"

Method URL:/MockAPI_Provider/rest/CustomerDetails/GetCustomerDetails

HTTP Method: GET

Request Details:

{  "BaseURL": "https://personal-5lvoq1v7.outsystemscloud.com",  "URLPath": "/MockAPI_Provider/rest/CustomerDetails/GetCustomerDetails",  "URLQueryParameters": [    {      "Name": "CustomerID",      "Value": "102"    }  ],  "HTTPMethod": "GET",  "Headers": [    {      "Name": "User-Agent",      "Value": "OutSystemsPlatform"    }  ]}

Response:No response defined

I would like to understand how to configure the mock response correctly for this REST API method.

My questions are:

  1. How do I create a mock configuration for an existing REST API method in the Mock Framework?

  2. Do I need to provide the complete REST API URL or only the method URL path while configuring the mock?

  3. How can I map the request parameters (CustomerID = 102) to the corresponding mock response?

  4. Is there any additional setup required to ensure that the Mock Framework intercepts the API request and returns the configured mock response?

I have already installed the plugin and enabled mocking, but I am unable to get the expected mock response.

Any guidance or step-by-step instructions would be appreciated.

Thanks in advance!





Screenshot 2026-11-19 123502.png
Screenshot 2026-11-19 123551.png
Screenshot 2026-11-19 123656.png
Screenshot 2026-11-19 123758.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.