Appreciate for the links and input Marc. I could get over the issue.
It's a trivial thing to do with setting the JAVA_OPTIONS in the
setDomainEnv.sh. I'm able to get the coverage now.
I have a different question now. Not sure if it's fine to ask in this
thread or should I be creating a new one.
It's about instructing the Jacoco agent to wipe the execution data between
the dump requests.

Thanks,
Shekar

On Thu, Feb 8, 2018 at 12:13 AM, Marc Hoffmann <hoffm...@mountainminds.com>
wrote:

> 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 <hoffm...@mountainminds.com
> > 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, shekar.e...@gmail.com 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/to
>> pic/jacoco/QALSFu0rDzk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> jacoco+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jacoco/acf8979f749bb8148f7f2b4471b12a99%40mountainminds.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jacoco/CAJkORiseWANMKf_eujB1W%3DFSsKsNm7wgiva3eTxOkJen1LeC1A
> %40mail.gmail.com
> <https://groups.google.com/d/msgid/jacoco/CAJkORiseWANMKf_eujB1W%3DFSsKsNm7wgiva3eTxOkJen1LeC1A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> 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.
> To unsubscribe from this group and all its topics, send an email to
> jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jacoco/c58957df11eecd6d831b37489e7598f1%40mountainminds.com
> <https://groups.google.com/d/msgid/jacoco/c58957df11eecd6d831b37489e7598f1%40mountainminds.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/CAJkORiubUNMMovRCW%2B9Qre7jpGbwGE6HakocyNm0rNHk%2BP_v8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to