Home / Companies / WireMock / Blog / Post Details
Content Deep Dive

GraphQL API mocking with the new WireMock extension

Blog post from WireMock

Post Details
Company
Date Published
Author
Eiki Hayashi
Word Count
815
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Eiki Hayashi, a web engineer, introduced a GraphQL extension for WireMock, which addresses the challenges of matching GraphQL queries due to their sensitivity to spaces and line breaks. This extension, now part of the official WireMock organization on GitHub, enhances WireMock's capability to semantically validate and match GraphQL queries, overcoming the limitations of WireMock's existing request body matching function. Hayashi explains that the extension allows for semantic verification by normalizing query spaces, making it easier to mock GraphQL APIs in end-to-end testing environments. The extension can be integrated into WireMock, including Docker instances, by adding the necessary JAR file, and its general availability is anticipated in the upcoming WireMock 4 release. With this development, Hayashi looks forward to feedback from GraphQL users to further improve this tool.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.