Setup

Installation

  1. Start the Mockgee server by downloading and installing the server.

Docker

docker
docker run -it  -p 8080:8080 -p 8085:8085 --name mockgee --restart=always mockgee/mockgee:latest

Ubuntu OS

Single command to setup Mockgee

ubunut
curl -fsSL https://raw.githubusercontent.com/mockgeelabs/mockgee-install/main/mockgee.sh -o mockgee.sh && chmod +x mockgee.sh && ./mockgee.sh install
  1. Browse and login to the mockgee user interface:
✨ Well done! Open the URL http://localhost:8080 in th browser window.

Mockgee offers a web-based user interface accessible through port 8080 to manage API mocks, as well as a Mock API endpoint on port 8085.
  1. First, access the Mockgee web UI by navigating to the URL and port where it is running (e.g. http://localhost:8080).

Import existing API specs like OpenAPI or WSDL to quickly create mocks. Select "Importer", choose your file, and click "Import". Customize and manage your new mock as needed.

To manually create an API mock, click Add. Specify details like HTTP method, path, parameters, status codes, and response. Define advanced features like map and request matcher as needed.