On Tuesday, April 2, 2019 at 6:29:24 PM UTC+2, Vijay Nanekar wrote:
>
>
> We have started our micro service with jacoco java agent with tcpclient 
> output mode, 
> -javaagent:$PWD/coverage/jacocoagent.jar=output=tcpclient,includes=*,address=100.XXX.XXX.XXX,port=6300
>
> ...
>
> After that, We connect to micro-service machine to dump coverage data on 
> the fly (Without shutdown). To do that we execute below jacoco command on 
> micro service machine. java -jar coverage/jacococli.jar dump --address 
> 100.XXX.XXX.XXX –destfile jacoco-server.exec
>
"dump" from command line interface is not applicable here - quoting its 
description ( https://www.jacoco.org/jacoco/trunk/doc/cli.html ):

Request execution data from a JaCoCo agent running in 'tcpserver' output 
> mode.


In case of output=tcpclient ExecutionDataServer can request dump from its 
client - see https://groups.google.com/d/msg/jacoco/V7Bmz5r0P24/PdCC5apIoqgJ

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/650751da-060a-407d-87b0-8e281e4be55a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to