background
Develop faster with on-demand gRPC and HTTP mock server
powered by Microsoft Azureazure-logo
Mock.qa is a cloud-based service that offers gRPC and HTTP mock servers. Describe your backend with a single configuration file and use a fake server.
Verified by GitHub
Free plan
No card required
dashboard
Features
Various protocols
Mock.qa offers mocks for gRPC, gRPC-Web, HTTP/1.x, and HTTP/2 protocols. You can mock your gRPC or REST service.
http-logo
grpc-logo
various-protocols
playground
Playground
Test your mock configuration in the playground. Review requests and responses in one single place.
Check out our demo gRPC and HTTP playground to evaluate mock.qa features.
Mock API everywhere
Use your favorite tools, frameworks, and programming languages. With mock.qa, there is no need to set up any additional software to mock your services.
mock-api-everywhere
data-generators
Data generators
Inbuilt meaningful fake data generator. You can generate an entire response or just a few fields. Fast, flexible, and powerful.
Request URL path & query parameters
We support HTTP route templates using URL path and URL query parameters, for example '/post/{id}?language={lang}'. The template variables are accessible for use in the scripting language
request-parameters
credentials
Channel and method credentials
Mock.qa supports a wide range of auth methods to secure requests at both channel and method levels:
  • Basic Auth
  • Client Certificate
  • JWT Bearer
  • IP white list
Advanced request matching
You can match an entire request against a file or match individual fields of any type like scalar, array, and object. Mapping content can be hardcoded or chosen dynamically.
advanced-request-matching
dynamic-response-templating
Dynamic response templating
You can use request data, data generators, or external files to template an entire response or individual fields.
Stateful scenarios
Some services are stateful. We know how to mock them! Mock.qa offers a state machine for such scenarios.
stateful-scenarios
scripting-language
Scripting language
Need to evaluate a math expression or implement a conditional template? There is an inbuilt scripting language that supports if-else expressions, math functions, faker, and more!
Start for free
Security
Mock.qa offers built-in protection of sensitive data powered by RSA-2048 encryption.
security
diagnostic-logs
Diagnostic logs
Complex mocks are hard to debug and develop. We offer a detailed diagnostic trace accessible by CorrelationId using trace API for every request you made.
Team-friendly
Use separate git branches to set up mock servers for different features, and review the changes in your mock using pull requests. Mock.qa updates a mock server on each git push you made, so your mock is always up-to-date.
git-logo
team-friendly
How does it work?
1. Install mock.qa application from GitHub Marketplace
We have different plans suitable for everyone from individual developers and small teams to enterprise-level companies. All our plans are fully-featured. Also, we offer a free plan!
2. Add a single configuration file to describe your services
Put .grpc.mock.qa.yaml or .http.mock.qa.yaml or both files in the root of your repository. Describe mock behavior in your configuration file.
3. Enjoy
gRPC server mock will be served on the following address: https://[instanceName→][repo→]<owner>.grpc.qa.
HTTP server mock will be served on the following address: https://[instanceName→][repo→]<owner>.rest.qa.
https://github.com/<owner>/<repo>/.grpc.mock.qa.yaml
---
fileVersion: v1
instanceName: Greet
protoFile: "/src/Protos/greet.proto"
channel:
  credentials:
  - type: ip-white-list
    allowedIps:
      - 177.234.192.*
calls:
- method: SayHello
  credentials:
  - type: basic-auth
    user: john
    password: "$RSA2048:encryptedPassword"
  request:
    body:
      Name: "John"
  response:
    body:
      Message: "Hello John!"
    status: OK
background
Pricing
Save 20% with annual billing
MonthlyAnnually
Free PlanPersonal PlanTeam PlanEnterprise PlanUltimate Plan
Pricing
Free

$10
per account
per month, billed monthly
$30
per org account
per month, billed monthly
$90
per org account
per month, billed monthly
Description
For personal use
For personal use
Plan for usage in organizations
Plan for unlimited usage in organizations
Ultimate Plan
Public repositories
Private repositories
Email support
Organization accounts
Daily requests
100
Unlimited
Unlimited
Unlimited
Unlimited
Monthly requests
1,000
5,000
20,000
Unlimited
Unlimited
Rate limit
10 req/sec
10 req/sec
10 req/sec
10 req/sec
Unlimited
Mock availability
Sleeps after 1 hour
Sleeps after 4 hours
Sleeps after 4 hours
Never sleeps
Never sleeps
Hosting
Shared
Shared
Shared
Shared
Dedicated
Free Plan
Free
  • Public repositories
  • Private repositories
  • Email support
  • Daily requests: 100
  • Monthly requests: 1,000
  • Rate limit: 10 req/sec
  • Mock availability: Sleeps after 1 hour
  • Hosting: Shared
Personal Plan
$10
per account
per month, billed monthly
  • Public repositories
  • Private repositories
  • Email support
  • Daily requests: Unlimited
  • Monthly requests: 5,000
  • Rate limit: 10 req/sec
  • Mock availability: Sleeps after 4 hours
  • Hosting: Shared
Team Plan
$30
per org account
per month, billed monthly
  • Public repositories
  • Private repositories
  • Email support
  • Organization accounts
  • Daily requests: Unlimited
  • Monthly requests: 20,000
  • Rate limit: 10 req/sec
  • Mock availability: Sleeps after 4 hours
  • Hosting: Shared
Enterprise Plan
$90
per org account
per month, billed monthly
  • Public repositories
  • Private repositories
  • Email support
  • Organization accounts
  • Daily requests: Unlimited
  • Monthly requests: Unlimited
  • Rate limit: 10 req/sec
  • Mock availability: Never sleeps
  • Hosting: Shared
Ultimate Plan
  • Public repositories
  • Private repositories
  • Email support
  • Organization accounts
  • Daily requests: Unlimited
  • Monthly requests: Unlimited
  • Rate limit: Unlimited
  • Mock availability: Never sleeps
  • Hosting: Dedicated