I can see a Handler getting created once I start the service from which I am trying to get coverage data, so I believe the jacocoagent is connecting. But after the service finishes running, the jacoco.exec file is nearly blank. I have also tried to modify the server code to send a request to dump data, using
RemoteControlWriter.visitDumpCommand(true, false) after a delay; that did not work either. I have gotten a successful coverage report using tcpserver mode, but I would prefer to get the client mode to work since eventually I need to get report data from multiple micro-services. I am using maven, and currently running everything locally but eventually plan to move it to a docker cluster.