JMock website screenshot

JMock

JMock is a library that supports test-driven development of Java code with mock objects. It provides an expressive API for defining expectations and mock behavior in unit tests, integrating with popular testing frameworks including JUnit. The most recent stable release is jMock 2.13.1.

JMock is listed with 1 API on the APIs.io network. Tagged areas include Java, Mock Objects, Mocking, TDD, and Testing.

JMock’s developer surface includes documentation and 9 more developer resources.

10.5/100 minimal ▬ flat Agent 1/100 human only Front door AI 1/6 silent Heartbeat 0/100 dormant self hosted · BSD-3-Clause Full breakdown ↓
scored 2026-11-13 · rubric v0.28.0 · Show this score on your site →
AccessFreemium
1 API
JavaMock ObjectsMockingTDDTestingUnit Testing

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-13 · rubric v0.28.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero: never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and several others — scorable at all.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for JMock It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/jmock/"><img src="https://apis.io/badge/jmock/card.svg" alt="JMock on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • Machine-Readable Contract +18 pts — api_specs includes an OpenAPI document Ask about this →
  • MCP Server +12 pts — deployment.mode + probe verdict on the mcp/ manifest, not the pointer; an unprobed slug falls back to authorship Ask about this →
  • Agentic Access Contract +10 pts — agentic_access artifact present (x-agentic-access), graded by author Ask about this →
  • Machine-Readable Auth +10 pts — a served openid-configuration/oauth-authorization-server carrying `issuer` (served), else the securitySchemes class in the provider OpenAPIs — bound (mutualTLS, DPoP, Signature) > negotiable (oauth2 authorizationCode/clientCredentials, openIdConnect) > bearer (http bearer, apiKey) Ask about this →
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
  • Stable Error Semantics +8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes Ask about this →
12 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Jmock · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/jmock/apis.yml: open an issue on github.com/api-evangelist/jmock to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

JMock Core API

Core library for creating mock objects and defining expectations in Java tests using an expressive DSL. Supports JUnit 4 and JUnit 5, modern JDK versions, and integrates seamles...

JMock API pricing

Not yet checked against JMock's own pricing page. Compiled by API Evangelist on 2026-05-04; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Free freemium Free
Professional paid Free
Enterprise enterprise —

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against JMock's documentation. All 5 limits →

Pricing Plans 1

Published pricing tiers and plan structures.

JMock Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

JMock Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

JMock Finops

FINOPS

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

JMock Domain Security

TLSv1.3

SECURITY

Resources

Documentation 1

Reference material describing how the API behaves

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: jmock
name: JMock
description: JMock is a library that supports test-driven development of Java code with mock objects. It provides an expressive
  API for defining expectations and mock behavior in unit tests, integrating with popular testing frameworks including JUnit.
  The most recent stable release is jMock 2.13.1.
type: Index
deliveryModel:
  model: self-hosted
  license: BSD-3-Clause
  open_source: true
  commercial: false
  callable_host: false
  label: Self-hosted open source · you run it yourself
  confidence: high
  source:
  - license
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: low
  source:
  - plans
  - security
  generated: '2026-11-13'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/jmock.png
tags:
- Java
- Mock Objects
- Mocking
- TDD
- Testing
- Unit Testing
humanURL: http://www.jmock.org/
url: https://raw.githubusercontent.com/api-evangelist/jmock/refs/heads/main/apis.yml
created: '2024-01-01'
modified: '2026-04-28'
specificationVersion: '0.23'
apis:
- aid: jmock:jmock-core-api
  name: JMock Core API
  description: Core library for creating mock objects and defining expectations in Java tests using an expressive DSL. Supports
    JUnit 4 and JUnit 5, modern JDK versions, and integrates seamlessly with IDE refactoring and autocompletion tools.
  humanURL: http://www.jmock.org/
  tags:
  - Java
  - Mocking
  - Testing
  properties:
  - type: Documentation
    url: http://www.jmock.org/documentation.html
  - type: GettingStarted
    url: http://www.jmock.org/getting-started.html
  - type: Cookbook
    url: http://www.jmock.org/cookbook.html
  - type: Cheat Sheet
    url: http://www.jmock.org/cheat-sheet.html
  - type: JavaDoc
    url: http://www.jmock.org/javadoc/2.12.0/
  - type: GitHubRepository
    url: https://github.com/jmock-developers/jmock-library
  - type: Maven Central
    url: https://mvnrepository.com/artifact/org.jmock/jmock
common:
- type: Plans
  url: plans/jmock-plans-pricing.yml
- type: RateLimits
  url: rate-limits/jmock-rate-limits.yml
- type: FinOps
  url: finops/jmock-finops.yml
- type: Releases
  url: https://github.com/jmock-developers/jmock-library/releases
- type: License
  name: BSD-3-Clause
  url: https://github.com/jmock-developers/jmock-library/blob/master/LICENSE
- type: DomainSecurity
  url: security/jmock-domain-security.yml
- type: Website
  url: http://www.jmock.org/
- type: Documentation
  url: http://www.jmock.org/documentation.html
- type: GitHubOrganization
  url: https://github.com/jmock-developers
- type: Issues
  url: https://github.com/jmock-developers/jmock-library/issues
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

JMock API — frequently asked questions

Does JMock have an API?

Yes. APIs.io lists 1 API from JMock, including JMock Core API.

How much does the JMock API cost?

APIs.io lists 3 pricing plans for JMock, with each plan's price, limits and inclusions under Pricing on this page.

Is the JMock API ready for AI agents?

JMock has a Kin Score of 10.5 out of 100 (minimal) and an Agent Readiness score of 0.6 (human-only), scored by API Evangelist on 2026-11-13.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/jmock"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/jmock/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/jmock/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.