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

Script that posts on web service with XML and then uses the response in the next step url.

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi guys

Customer would like to use synthetic click path for a specific application that needs token to get to the url. So we need to:

1. Posting web request with XML

2. Retrieve the token from the response

3. Concatenate the token to the next navigate URL

And we need your help in dynatrace scripting on:

1. How to post with XML

2. How to concatenate the response to the next navigation URL

Any explanations and examples will be appreciated

Thanks in advance

Yos


dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel
3 REPLIES 3

gilgi
DynaMight Champion
DynaMight Champion

The Most important part of thsi question is how can we access the URL for the next step navigate action. The documentation does not include any sample to access any step's definition.


Thomas from dynatrace One suggest to add at the end of the JS window.location.href = "https://anyurl.com?q=" + ticketVal; and its look like its works!

Yos


dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Yosi_Neuman
DynaMight Guru
DynaMight Guru

@Hannah M. any thoughts ?


dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts