We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce deps: vertx-web 3.9.4
public class ServerVerticle extends AbstractVerticle { @Override public void start() { Router router = Router.router(vertx); router.get("/hello").handler(routingContext -> { routingContext.response().end(new JsonObject().put("message", "Hello, World!").encode()); }); vertx.createHttpServer() .requestHandler(router) .listen(9998); } public static void main(String[] args) { Vertx.vertx().deployVerticle(ServerVerticle.class.getName()); } }
Environment
Compiler: 1.8 arex-agent-java: 0.4.0
Additional context 简单修复: 删除掉RequestTracingHandler:channelReadComplete 在ResponseTracingHandler#invoke方法中 添加 if (ContextManager.needReplay()) { MockUtils.replayBody(mocker); } else if (ContextManager.needRecord()) { MockUtils.recordMocker(mocker); } CaseEventDispatcher.onEvent(CaseEvent.ofExitEvent());
The text was updated successfully, but these errors were encountered:
lucas-myx
No branches or pull requests
Steps to reproduce
deps: vertx-web 3.9.4
Environment
Compiler: 1.8
arex-agent-java: 0.4.0
Additional context
简单修复:
删除掉RequestTracingHandler:channelReadComplete
在ResponseTracingHandler#invoke方法中 添加
if (ContextManager.needReplay()) {
MockUtils.replayBody(mocker);
} else if (ContextManager.needRecord()) {
MockUtils.recordMocker(mocker);
}
CaseEventDispatcher.onEvent(CaseEvent.ofExitEvent());
The text was updated successfully, but these errors were encountered: