Service Virtualization

  • 1.  DevTest integration with AppDynamics!!

    Posted Apr 27, 2018 07:42 PM

    Wanted to know if AppDynamics can be integrated with DevTest to monitor! Any inputs or thoughts would be helpful.



  • 2.  Re: DevTest integration with AppDynamics!!

    Posted Dec 27, 2018 08:58 PM

    It will be really helpful, if the team can give insights on integrating ca devtest with app dynamics.

     

    For CA DevTest AppMonitoring, we tried configuring Appdynamics javaagent(in Windows) to track VSE transactions. Following are the ways that we tried configuring AppD java agent in VirtualServiceEnvironmentService.vm file but they didn't work

    • -javaagent="C:\AppDynamics\agentDir\javaagent.jar"
    • -javaagent=C:\AppDynamics\agentDir\javaagent.jar
    • -javaagent:"C:\AppDynamics\agentDir\javaagent.jar"
    • -Djavaagent="C:\AppDynamics\agentDir\javaagent.jar"

     

     

    Please suggest which will be right option to try and on which file we should try giving these options on.

     

    Reference Links:

    Install the Java Agent - 4.3.x Documentation --> Load the Java Agent in a JVM

     

     

    #javaagent, #@javaagent#javaagent#appdynamics



  • 3.  Re: DevTest integration with AppDynamics!!
    Best Answer

    Broadcom Employee
    Posted Dec 30, 2018 03:11 AM

    In a .vmoptions file any filepath would be following java conventions, so I would try with either forward slashes or escaped backslashes.

    Secondly, an agent is an argument to the JVM (not to the main class running in it) so it would be just -javaagent (not -Djavaagent)

    And lastly the Oracle JVM docs specify that for -javaagent argument the filepath is added after a colon so it would be -javaagent: (not -javaagent=)

     

    Have you tried?

    -javaagent:C:/AppDynamics/agentDir/javaagent.jar

    or

    -javaagent:C:\\AppDynamics\\agentDir\\javaagent.jar

     

    Hope this helps.

     

    Cheers,

    Danny



  • 4.  Re: DevTest integration with AppDynamics!!

    Posted Dec 30, 2018 07:00 PM

    Thank you Danny. It was really helpful!

     

    For windows : -javaagent:C:\\AppDynamics\\agentDir\\javaagent.jar

    For Linux: -javaagent:/appdynamics/agentDir/javaagent.jar

     

    As you have suggested these are the configurations that has worked for us.