SkillAgentSearch skills...

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

Install / Use

/learn @natenho/Mockaco

README

<p align="center"> <img src="https://github.com/natenho/Mockaco/raw/master/src/Mockaco/Resources/mockaco-logo.svg" width="96px" height="96px" alt="Mockaco"> </p>

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 <strong>natenho.github.io/Mockaco</strong>

Mocking APIs with Mockaco | .NET 7

License

FOSSA Status


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

View on GitHub
GitHub Stars348
CategoryDevelopment
Updated1mo ago
Forks40

Languages

C#

Security Score

85/100

Audited on Feb 3, 2026

No findings