Richa Tekriwal
04/14/2025, 2:30 PMLee Turner
04/17/2025, 3:03 PMRicha Tekriwal
04/17/2025, 3:26 PMLee Turner
04/17/2025, 4:16 PM3.12.1
• It looks like you are referencing the wrong main class to start wiremock
• The graphql extension uses the extension loading mechanism so you don't have to specify it using the --extensions
cli parameter
• I don't think you need to use the graphql jar with all the dependencies
This seems to work for me:
java -cp wiremock-graphql-extension-0.9.0.jar:wiremock-standalone-3.12.1.jar wiremock.Run
When it runs I see the extension loaded:
➜ java -cp wiremock-graphql-extension-0.9.0.jar:wiremock-standalone-3.12.1.jar wiremock.Run
██ ██ ██ ██████ ███████ ███ ███ ██████ ██████ ██ ██
██ ██ ██ ██ ██ ██ ████ ████ ██ ██ ██ ██ ██
██ █ ██ ██ ██████ █████ ██ ████ ██ ██ ██ ██ █████
██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███ ███ ██ ██ ██ ███████ ██ ██ ██████ ██████ ██ ██
----------------------------------------------------------------
| Cloud: <https://wiremock.io/cloud> |
| |
| Slack: <https://slack.wiremock.org> |
----------------------------------------------------------------
version: 3.12.1
port: 8080
enable-browser-proxying: false
disable-banner: false
no-request-journal: false
verbose: false
extensions: graphql-body-matcher,response-template,webhook