Explore Mokapi Resources

Explore a variety of tutorials, examples, and blog articles to help you make the most of Mokapi. Whether you're learning to mock APIs, validate schemas, or streamline your development process, our resources are designed to support you every step of the way.

blog

Automation Testing in Agile Development

Automated tests are key for Agile and CI teams. Discover how Mokapi enables faster, high-quality software development with mocking and testing tools.
blog

Enhance Software Quality with Contract Testing

Ensure reliable software with contract testing. Simulate dependencies, improve collaboration, and boost quality assurance for seamless interactions.
tutorial

Get started with Kafka

Learn how to mock a Kafka Topic and verify that your producer generates valid messages according your AsyncAPI specification.
tutorial

Get started with REST API

This tutorial will show you how to mock a REST API using an OpenAPI specification.
tutorial

How to Combine Frontend, Backend, and API Mocks for Fullstack Development with Mokapi

Combine frontend, backend, and Mokapi to mock third-party APIs locally, speed up dev cycles, and eliminate flaky tests.
tutorial

Mock LDAP Authentication in Node.js

Learn how to mock LDAP authentication using Mokapi and a Node.js backend. Step-by-step guide with code examples for testing LDAP login without a real server!
tutorial

Mock OpenAPI 3.1 Authentication: API Key & Bearer Token

Mock OpenAPI 3.1 authentication with API Key & Bearer Token. Customize authentication using Mokapi Scripts for secure API testing.
tutorial

Mock SMTP Server with Mokapi: Send Emails Using a Node.js Client

Learn how to mock an SMTP server using Mokapi and send emails with a Node.js client. Perfect for testing email workflows without real mail servers.
tutorial

Mocking LDAP with Group Permissions in a Node.js Backend

Learn how to mock LDAP authentication and group permission using Mokapi and a Node.js backend.
example

Mokapi behind Reverse Proxy

How to use Mokapi behind a reverse proxy with CORS header
example

Mokapi with custom base image

How to use Mokapi with your custom base Docker image
tutorial

Running Mokapi in CI/CD: Mock APIs for Automated Testing

Learn how to use Mokapi in CI/CD pipelines to mock APIs, automate tests, and ensure reliable backend validation without live dependencies.
tutorial

Secure API Authentication with OAuth2 and JWT in OpenAPI 3.1

Learn how to secure your API using OAuth2 and JWT authentication in OpenAPI 3.1. This tutorial covers defining security schemes, validating JWT tokens with Mokapi, and generating tokens in Bash for API requests.
tutorial

Using Mokapi for Local Testing (Jest, Manual Testing, and Debugging)

Learn to use Mokapi for local testing with Jest, manual testing, and debugging. Simulate mocked APIs without external dependencies.