Hi Marc,

I even tried with "output=file" but it only creates a file and doesn't show 
any stats when a report is generated. The issue that I'm having is although 
the exec file is created or dumped through a port, either one doesn't 
include any coverage stats. I doubt that the manual agent is not capturing 
the requests due to jacoco maven plugin configuration done through the pom 
file.



On Tuesday, January 14, 2020 at 2:44:43 PM UTC+5:30, Marc R. Hoffmann wrote:
>
> Hi,
>
> if you want to create a exec *file* use output=file (which is default and 
> can be omitted).
>
> Regards,
> -marc
>
>
> On 2020-01-14 09:03, MLK wrote:
>
> Hi All, 
>  
> I used the jacoco agent(jar v0.8.4)  in an application server to get the 
> functional test coverage. This application code already had the jacoco 
> maven plugin configured (in pom.xml  v0.8.1) to measure the unit testing 
> coverage. The .exec file which was dumped using the agent didn't had any 
> stats so I removed the maven plugin configuration , redeployed the 
> application and then new .exec file was showing the coverage stats.
>  
> This is the command I used to bind the agent,
> JAVA_OPTS="$JAVA_OPTS 
> -javaagent:/home/user/lib/jacocoagent.jar=address=*,port=xxxx,destfile=/home/user/jacoco-it.exec,append=true,output=tcpserver"
>  
> can this be happened due to different jacoco versions and any idea on how 
> to implement both methods? 
>
>
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/fd3f3e57-e692-4d13-b586-620cd7b25786%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/fd3f3e57-e692-4d13-b586-620cd7b25786%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/b278d7d4-6005-41df-858a-3ce88d177af2%40googlegroups.com.

Reply via email to