Synthetic Monitoring
Browser monitors, HTTP monitors, synthetic locations.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Record two application url in one synthetic browser clickpath session

Sahil23
Participant

Hi , I have a use case where I want to monitor two urls in a single browser clickpath monitor.

Scenario: 
navigate to Application URL 1 --> Login --> perform few task (fill form) --> Submit --> capture unique ID -->
 navigate to Application URL 2 --> login --> fill form (with unique ID from URL1) -->upload file --> submit


Is it even possible to do ?

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

@Sahil23 yes, actually, it's not difficult. You need to use JavaScript clickpath events and use the API https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#javascript-event-api in them.

In the first one, you will get the value in the JavaScript code (document.getElementById) and you will save the data using api.setValue(key, value). In the second one, you need to retrieve the value using api.getValue(key) and use the document.getElementById to set the value.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts