Hello,

to get a combined report you need to merge the exec files before you create the report. To create this report you need all class files from the client as well as from the server.

To get the exec file from the server there are two standard ways:

1) Copy the exec file created on the server with standard tools (http, scp, ftp, file share ...) 2) Configure the JaCoCo agent in tcpserver mode and use the dump command to retrieve exec files.

Regards,
-marc

On 2018-08-16 00:03, Imo wrote:
Hi Jacoco team,

I am working with a web project running on a remote server, and I
implement Jacoco in the project with maven. For the unit tests, I have
already generate ut reports with the help of jacoco maven plugin. And
the report can be viewed on the server side correctly.

Besides, I also have a automation test through restAPI on my local
machine. In order to get coverage report of API test, I configured
another jacoco agent running on the remote web server, so that I can
dump the coverage report of the API tests also.

The two reports seem good now. The only problem is, can I dump the ut
test report/exec file from the remote server to my local machine? I
would love to merge these two into one and resolve it on my local
machine.

Thanks for your time looking at my problem.

--
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/1f0026d6ac0a10d4ca0a0fee3240a146%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to