Press enter to see results or esc to cancel.

Mockingbird – ASP.NET mocking api for web devs

Reading Time: 1 minute

aaeaaqaaaaaaaafaaaaajde5njjiztdjlwi1mzctndg2ny1iytlilwnkmdlmmdvjoti0mq

Mockingbird is a simple ASP.NET web application to help developer’s setup mock endpoints quickly for development and testing purposes. After deploying this ASP.NET website on a web server; developers can quickly create new RESTful api endpoints which spit out the same response as original endpoint.

Purpose

Modern multi tenant web applications development tasks are frequently effected by unavailable downstream api endpoints due to maintenance and/or other issues in production and develop environments. I found mocking useful especially in companies with Hybrid SaaS infrastructures where applications are spread over in Cloud and OnPremise. By mocking OnPremise application (usually hidden behind firewalls and blocked incoming requests) endpoints, i was able to bridge the broken connectivity to unblock myself. I was also blindsided by frequent api changes on dependency development servers. It is quick to mock up a endpoint and continue with the rest of the development tasks.

These are useful especially when downstream applications are down because of maintenance or in case of any other failures.

Mocking api’s can also be used for performance tests on our application. To be able to put a massive load on dev server to gauge and profile our application behaviour through mock api is much easier. Performance testing need not necessarily mean performance testing our downstream applications always.

Source code

Below is the Github repository link to Mockingbird source code.

https://github.com/ksheerasagar17/mockingbird

Summary

Comments

Leave a Comment

Leave a Reply

Architect | Lead | Mentor | Blogger | Tech Enthus

Sagar

Sagar

I help in automation of business processes in Cloud. I'm a Lead Full Stack .Net Developer with over 12+ years of experience in developing web applications. My core expertise is in web applications designing, programming, implementing, automating, and monitoring.

Verified Services

View Full Profile →