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

Home Page:https://natenho.github.io/Mockaco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

🐵 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

https://natenho.github.io/Mockaco/

License:Other


Languages

Language:C# 92.1%Language:JavaScript 4.7%Language:CSS 2.2%Language:Dockerfile 0.6%Language:PowerShell 0.4%