Hi Shekar, 

the JaCoCo agent is a command line option that you pass to the JVM. See
documentation: 

    http://www.jacoco.org/jacoco/trunk/doc/agent.html 

I can't tell you how to configure Weblogic JVMs. Please study their
documentation or contact Weblogic support for this. Or maybe there is an
answer for this on stackoverflow? 

  https://stackoverflow.com/questions/tagged/weblogic+jacoco 

Regards,
-marc 

On 2018-02-07 12:34, Shekar G wrote:

> Thanks for the response Marc. I'm using Ant script to collect the execution 
> data from the linux server where the weblogic is running. I see 2 entries for 
> Weblogic when I run JPS command to know the number of JVMs. I'd like to know 
> how do I attach the agent to a specific JVM that is used by the application. 
> The application is run as a managed server. Let me know if you need any 
> specific details. 
> 
> Thanks, 
> Shekar 
> 
> On Wed, Feb 7, 2018 at 12:06 AM, Marc Hoffmann <[email protected]> 
> wrote:
> Hi Shekar,
> 
> so how do you collect execution data?
> 
> Note that in a distributed scenario you need to configure the JaCoCo agent 
> for the JVM executing the application under test. Also some application 
> servers use more than a single JVM.
> 
> Regards,
> -marc
> 
> On 2018-02-06 12:54, [email protected] wrote:
> Hello,
> 
> I'm in the process of using JaCoCo to measure code coverage for my UI tests.
> I could successfully get the coverage report using an ANT script and
> see the coverage information for different classes of an application
> deployed on Weblogic. Now I wish to do the same for another
> application which is deployed on Weblogic but for some reason, the
> report shows 0 coverage. When I check the JaCoCo session, I do not
> find the application classes. I'm stuck here and unable to proceed.
> Appreciate your support in this regard.
> 
> Note:
> 
> 1. The application for which the coverage was captured successfully
> was running on windows server and the ant script was run on a windows
> client.
> 
> 2. The application the has issues with coverage info is running on
> linux while the ant script is run on windows client.
> 
> Thanks,
> Shekar 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "JaCoCo and EclEmma Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jacoco/QALSFu0rDzk/unsubscribe [1].
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/acf8979f749bb8148f7f2b4471b12a99%40mountainminds.com
>  [2]. 
> 
> For more options, visit https://groups.google.com/d/optout [3].

  -- 
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/CAJkORiseWANMKf_eujB1W%3DFSsKsNm7wgiva3eTxOkJen1LeC1A%40mail.gmail.com
[4].
For more options, visit https://groups.google.com/d/optout. 

  

Links:
------
[1] https://groups.google.com/d/topic/jacoco/QALSFu0rDzk/unsubscribe
[2]
https://groups.google.com/d/msgid/jacoco/acf8979f749bb8148f7f2b4471b12a99%40mountainminds.com
[3] https://groups.google.com/d/optout
[4]
https://groups.google.com/d/msgid/jacoco/CAJkORiseWANMKf_eujB1W%3DFSsKsNm7wgiva3eTxOkJen1LeC1A%40mail.gmail.com?utm_medium=email&amp;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/c58957df11eecd6d831b37489e7598f1%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to