httptoolkit
httptoolkit copied to clipboard
Request made with Micronaut HTTP Client not captured
When making requests with the Java Micronaut HTTP Client, nothing is captured when attached to the JVM. Other requests that use Apache HTTP client are captured, but the Micronaut Client is ignored.
https://docs.micronaut.io/latest/api/io/micronaut/http/client/netty/DefaultHttpClient.html
Does this affect you too? Click the +:smiley: icon in the top right and add a :+1: on issues to help decide where HTTP Toolkit goes next, or go take a look & vote on the most popular ideas so far.
As a workaround, I can use a proxy, but support via the Java agent would be nice!
Interesting, I've never used Micronaut! I'm open to this, absolutely.
Any chance you want to open a PR to add it yourself? The agent code is here: https://github.com/httptoolkit/jvm-http-proxy-agent, you'd typically need to define a transformer (see examples here) which injects some advice class to modify target classes/methods (see here).
Or even just an example test case would be a helpful start (see test-app).
Note that HTTP Toolkit Pro is totally free for contributors!