Service Virtualization

  • 1.  Java virtualization and AspectJ

    Posted Jun 07, 2018 06:12 AM

    Hi All,

     

    I'm trying to record a java method, with a specific DevTest extension, but it does not work. 

    Few facts :

    - the java method works good without the recording

    - when recording, from workstation, the java method does not answer and the jvm seems to do not anything more

    - AspectJ seems to be used somewhere in the stack (some labels _aroundBody found in the stack)

    - the debug mode freezes after the last call to myPersonalExtension.onPreRecord(), with method = "sendReceive_aroundBody4"

     

    All that let me think that there is a link between AspectJ and the recording which does not work. 

     

    Has anyone ever encountered this problem?

     

    PS : Playback tested on the java method, with the same extension, it does work. 

     

    Benoit



  • 2.  Re: Java virtualization and AspectJ

    Broadcom Employee
    Posted Jun 07, 2018 06:42 PM

    Could you please open a ticket with CA support? We can look at this issue in a webex



  • 3.  Re: Java virtualization and AspectJ
    Best Answer

    Posted Jun 08, 2018 04:29 AM

    Hi Shiney,

     

    I found a solution by updating rules.xml content.

    Now I have to understand why with the old content virtualization does not work.

    Further information will follow once the analysis is done and a ticket would be open if necessary.

     

    Best regards.