.N .NET Landscape

Mockaco

HTTP Clients & Resilience
github.com/natenho/Mockaco

🐵 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

api-mockaspnetaspnet-corecsharpdotnet-coreenginefakefakerhacktoberfestmockmock-apismock-server
GitHub stars
351
Forks
40
Open issues
36
NuGet downloads
65,524
latest 1.9.14+2
Language
C#
Last push
11 months ago
26 Nov 2025
Created
13 Mar 2019

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