cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Web Service payload encoded in base64

A new web service we are being asked to monitor will have both request and response encoded in base64

I've been supplied an example by the project:

Request : eyJ0eXBlIjoiZ2V0SW5zaWdodHMiLCJiYW5rSW5mbyI6eyJjdHhJZCI6ImN0eF9kYXNoYm9hcmQiLCJsYW5nIjoiZW4ifX0%3D

When decoded it will be {"type":"getInsights","bankInfo":{"ctxId":"ctx_dashboard","lang":"en"}}7

Response: eyJpbnNpZ2h0cyI6W10sInN0YXR1cyI6IjIwMCIsInN0YXR1c01lc3NhZ2UiOiJvayJ9

When decoded it will be {"insights":[],"status":"200","statusMessage":"ok"}

The "type" key contains the value for the method being called and we would like to be able to determine the method (as we do with SOAP calls) to monitor at that granularity, e.g.

http://servicename/URL/End/Point:getInsights

Is DCRUM able to decode the base64 strings before doing some text matching to extract operation names or will we be stuck at URL level monitoring?

http://servicename/URL/End/Point

Cheers

2 REPLIES 2

Roberto_Vannucc
Dynatrace Organizer
Dynatrace Organizer

Hi, you should be able, expecially with HS AMD. Youprobably need to do a coulpe of tries, but add in the url monitoring (http://servicename/URL/End/Point) add a param or a misc param and chech which rules apply best to your case.

bye

cosmin_gherghel
Dynatrace Pro
Dynatrace Pro

Hi Gary,

You should be able to extract and decode the request. You can use miscellaneous parameters to pull out that value. Take a look at the documentation. It should provide enough information to achieve what you are trying to do.

https://community.dynatrace.com/community/display/...