Hello Team, I have rephrased my previous question....
# help
d
Hello Team, I have rephrased my previous question. We have a GraphQL API endpoints and I run WireMock in the proxy mode . When I try to record the transactions, all requests are getting captured in the /__admin/requests endpoint but I don’t see that in mappings . This is my startup command
Copy code
java -jar wiremock-standalone-3.5.4.jar --verbose --port 10080 --bind-address 0.0.0.0 --local-response-templating --jetty-header-request-size 2097152 --jetty-header-response-size 2097152 --max-request-journal-entries 2000 --container-threads 250 --enable-browser-proxying --trust-all-proxy-targe --https-port 8443 --https-keystore /Users/djayakumar/.wiremock/ca-keystore.jks —keystore-password changeit
What could be the issue when Wiremock captures that in Requests logs but not in the mappings. Any tips on troubleshooting this would be greatly appreciated! Below is the response body seeing in requests but not seeing in mappings. "bodyAsBase64": “dfdfdfdfdfdfdfdfdfdfdfdfdfdfdfxccxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxc”, "body": "{\"query\":\"query ($userIds: [String]){ user(ids:$userIds) { userId legacyUserId registrationSiteId countryOfResidence userAccountName userAccountType userAccountStatus userAccountCreationDate individualIdentityProfile { firstName lastName middleName email primaryPhone { phoneNumber } } businessIdentityProfile { businessEmail businessPrimaryPhone { phoneNumber } } businessStakeholders(stakeholderRoles:[\\\"LEGAL_CONTACT\\\"]){ firstName lastName middleName } extensions(namespace:[\\\”fgfgfgfgf\\\”, \\\”fgfgfgfgf\\\”, \\\”fgfgfgfgfgfg\\\”]) { key value } }}\",\"variables\":{\"userIds\”:[\”gfgfgfgfg\”,\”fgfgfgfgfgfgfg\”]}}”, "protocol": "HTTP/1.1", "scheme": "https", "host": “test”.com, "port": 443, "loggedDateString": "2025-01-02T212831.168Z", "queryParams": {}, "formParams": {}
w
Have you stopped recording? (AFAIK the mapping files are created when you stop recording)
d
@Werner Blanck - Yes and I figure out the issue. some of the header filters I pass is not honored by the GraphQL api and that's the reason it is not getting added in the mapping.
🙌 1