Skip to content

🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting

License

Notifications You must be signed in to change notification settings

natenho/Mockaco

Repository files navigation

Mockaco

Mockaco

Main Build Docker Pulls Nuget FOSSA Status

Mockaco is an HTTP-based API mock server with fast setup.

Features

  • Simple JSON-based Configuration: Configure your mocks easily using a simple JSON format.
  • Pure C# Scripting: Configure your mocks using C# scripting without the need to learn a new language or API.
  • Delay Simulation: Simulate network delays to test how your system handles timeouts and latency.
  • Fake Data Generation: Generate realistic fake data using the built-in functionality.
  • Callback (Webhook) Support: Trigger another service call when a request hits your mocked API.
  • Verification: Verify if a specific mock was called during testing to ensure expected interactions.
  • State Support: Create stateful mocks that return responses based on global variables previously set by other mocks.
  • Portability: Run the mock server in any environment supported by .NET.

Get Started

Access the documentation on natenho.github.io/Mockaco

Mocking APIs with Mockaco | .NET 7

License

FOSSA Status


Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY