DX Application Performance Management

  • 1.  CA CEM JsonPlugin encoded Json response

    Posted Apr 03, 2017 05:05 PM

    Hi Community !

     

    I had a problem with json cem plugin for some json responses (The plugin runs fine for other json applications):

     

     

    When I use fiddler for response debugging, I see the message "Response Body is encoded. Click to decode".

     

     

    After "click to decode" Fiddler shows response body without problems:

     

     

    Does anyone know if it's possible Json Plugin decode response body before parsing ?

     

    Thanks !!

     

    Aldo



  • 2.  Re: CA CEM JsonPlugin encoded Json response

    Broadcom Employee
    Posted Apr 03, 2017 05:31 PM

    Hi Aldo:

      If you are talking about this plugin CEM JSON Plugin  including Hiko_Davis Guenter_Grossberger

    Converted to a discussion since not an official plugin. at this time.Posted internally as well.



  • 3.  Re: CA CEM JsonPlugin encoded Json response

    Broadcom Employee
    Posted Apr 04, 2017 07:52 PM

    If I remember correctly, this is an unsupported field solution. Do you remember where you got this? We may need more details than you can post here due to security issues. Please open a ticket and post all relevant details, including the plugin to see what we can do to help.



  • 4.  Re: CA CEM JsonPlugin encoded Json response

    Posted Apr 05, 2017 09:36 AM

    Thank You Haruhiko,

     

    I will open a case.

     

    Regards !

     

    Aldo Fiorentini



  • 5.  Re: CA CEM JsonPlugin encoded Json response

    Broadcom Employee
    Posted Apr 05, 2017 10:39 AM

    Aldo:

       If something is unsupported, that means that APM Support can provide little assistance here if you open a case.. Hence why this is a discussion and not a question. Can you share more details on where you got the plugin and any clues from the readme on its creator?

     

    Thanks

    Hal German



  • 6.  Re: CA CEM JsonPlugin encoded Json response

    Posted Apr 07, 2017 11:37 AM

    Hi Hallet,

     

    The plugin doesn't have a author reference only the name of jar file:

     

    ca.apm.swat.fieldpacks.json-request-response-parser.jar

     

    Generally Guenter_Grossberger give me support for this plugin.

     

    Regards,



  • 7.  Re: CA CEM JsonPlugin encoded Json response

    Broadcom Employee
    Posted Apr 07, 2017 11:45 AM

    Thanks Aldo 

    I sent Guenter a note on the internal message board. He may be busy at this time



  • 8.  Re: CA CEM JsonPlugin encoded Json response

    Broadcom Employee
    Posted Apr 07, 2017 08:13 PM

    Hi Aldo,

    the plugin is just a template. I just posted the code to GitHub - CA-APM/cem-json-parser. In CemJavaPlugin.endRequest() you need to decode the body before passing it to cleanString() and findJson().

     

    Ciao,

    Guenter



  • 9.  Re: CA CEM JsonPlugin encoded Json response

    Posted Apr 10, 2017 09:04 AM

    Thanks Guenter_Grossberger, Hallett_German for your help !

     

    I will code base64 decode

     

    Regards 

     

    Aldo.