{"repo":"jmartin82/mmock","free":true,"listed":false,"github":"https://github.com/jmartin82/mmock","clone":"git clone https://github.com/jmartin82/mmock.git","description":"Mmock is an HTTP mocking application for testing and fast prototyping","language":"TypeScript","stars":694,"topics":["golang","mock","stubbing","prototyping","http","httpmock"],"license":"MIT","category":"dev-tools","readme_excerpt":"========= Mmock is a testing and fast prototyping tool for developers: Easy and fast HTTP mock server. Download Mmock Create a mock definition. Configure your application endpoints to use Mmock Receive the expected responses Inspect the requests in the web UI Release it to a real server Built with Go - Mmock runs without installation on multiple platforms. Features Easy mock definition via JSON or YAML Variables in response (fake or request data) Route patterns may include named parameters (/hello/:name) Glob matching ( hello ) Match request by method, URL params, query string, headers, cookies and bodies. Mock definitions hot replace (edit your mocks without restart) Web interface to view requests data (method,path,headers,cookies,body,etc..) Stateful behaviour with scenarios Verifying Proxy mode Fine grain log info in web interface Real-time updates using WebSockets Priority matching Crazy mode for failure testing Public interface auto discover Lightweight and portable No installation required Example Mock definition file example: Or You can see more complex examples here. Getting started Either: Run it from Docker using the provided or from Docker Hub Or run mmock locally from the command line. (Requires Go 1.8 at least) To configure Mmock, use command line flags described in help. The default logging level is INFO, but you can change it by setting the environment variable LOG LEVEL to one of the following: CRITICAL ERROR WARNING NOTICE INFO DEBUG Mock Mock definition: Req","default_branch":null,"files":null,"tree":[],"storefront":"/r/jmartin82","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jmartin82/mmock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}