Hi folks, Was looking for help to understand why i...
# help
b
Hi folks, Was looking for help to understand why is wiremock standalone unable to print the response. I get the error
Copy code
Outgoing bytes omitted. Could not decode with charset: UTF-8
I am using the command:
Copy code
wiremockConfiguration.networkTrafficListener(ConsoleNotifyingWiremockNetworkTrafficListener())
       .notifier(ConsoleNotifier(true))
Response printed is below:
Copy code
Response:
HTTP/2.0 200
Content-Type: [application/json]
X-REQUESTED-METHOD: [GET]
X-RESPONSE-SPEC: [7QTfz4Xe+93JGw6k]
X-RESPONSE-TOKEN: [asds]
X-RESPONSE-BACKEND-TIME: [1712119337372]
X-REQUEST-BACKEND-TIME: [1712119336557]
X-Frame-Options: [DENY]
X-Content-Type-Options: [nosniff]
X-XSS-Protection: [1; mode=block]
strict-transport-security: [max-age=31536000; preload, max-age=31536000]
Content-Encoding: [gzip]
Content-Length: [790]
Expires: [Wed, 03 Apr 2024 04:42:17 GMT]
Cache-Control: [max-age=0, no-cache, no-store]
Pragma: [no-cache]
Date: [Wed, 03 Apr 2024 04:42:17 GMT]
Vary: [Accept-Encoding]
Set-Cookie: [f5avraaaaaaaaaaaaaaaa_session_=IPGLKJGJBJNFJBEEPPHFKLKBDCEINBMODJEMGAPCGADDJHANGDOCLHKGBMJKOJPBBJIDAOPFONLNCHCMAGMAEJMCLNDFCFGOKJJKDMOHIPAKHKLMBLIPIOPAIEJNIBFC; HttpOnly; secure;]
cf-ray: [0.77092e17.1712119336.d696045]

2024-04-02 21:42:17.257 Outgoing bytes omitted. Could not decode with charset: UTF-8