<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trigger a logout if any step in the browser clickpath fails in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207505#M1756</link>
    <description>&lt;P&gt;Hello Hannah and thanks for your quick reply and trying to better understand my case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In general I have only one Account that cannot make concurrent session. If I run session in parallel one of the two will get a pop-up message that another session is currently being made.&lt;/P&gt;&lt;P&gt;For this reason I'm implementing an automatic solution with the OnDemand Synthetic Api that will execute in a fashion waterfall way the Synthetic browser monitors (one after the other, only when the previous has finished).&lt;/P&gt;&lt;P&gt;That being said: if, while running, at whatever step, the Synthetic #1 fail -the account will remain logged. The Synthetic #2 will fail since at the first attempt of logging in it will have a pop-up reminding that another session is currently being made with that same Account. In real session I could still go forward by agreeing to continue with the current session (excluding the previous)&lt;/P&gt;&lt;P&gt;I also have to think aboutDEM consumption, so the best solution will be the one that makes consume less and works as expected &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The logout if whatever step failed seemed like a good start without knowing if it was possible or not.&lt;BR /&gt;I'll look into your suggestion (Checking from the beginning of a Synthetic Browser if a session is currently running, if so skip for the current one instead of "Skip to a logout if any of the step are in failed condition for any reason")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yann&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 07:22:36 GMT</pubDate>
    <dc:creator>y_buccellato</dc:creator>
    <dc:date>2023-03-21T07:22:36Z</dc:date>
    <item>
      <title>Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207424#M1754</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm looking for a way to trigger a logout of the user used in my Browser Clikpath if any of the steps in the Browser ClickPath fails or goes timeout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this something achievable via Javascript?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 12:39:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207424#M1754</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2023-03-20T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207453#M1755</link>
      <description>&lt;P&gt;If you there's something on the page you want to check for you can use a &lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/browser-clickpath-events#javascript" target="_self"&gt;JavaScript event&lt;/A&gt;&amp;nbsp;to check for the existence/ not of something and then either conitue or skip the next steps up to the log out. This solution would only work in certain scenarios though. If the previous event failed for any reason the monitor would still end without running the log out steps.&amp;nbsp;&lt;BR /&gt;What is the purpose of needing to log out at the end of your execution? Does it affect future executions? If so, you could add in a check at the beginning of your script to check if the user was already logged in, and if so, either skip the login steps or perform some steps to log the user out and then continue with the login.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 13:21:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207453#M1755</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2023-03-20T13:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207505#M1756</link>
      <description>&lt;P&gt;Hello Hannah and thanks for your quick reply and trying to better understand my case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In general I have only one Account that cannot make concurrent session. If I run session in parallel one of the two will get a pop-up message that another session is currently being made.&lt;/P&gt;&lt;P&gt;For this reason I'm implementing an automatic solution with the OnDemand Synthetic Api that will execute in a fashion waterfall way the Synthetic browser monitors (one after the other, only when the previous has finished).&lt;/P&gt;&lt;P&gt;That being said: if, while running, at whatever step, the Synthetic #1 fail -the account will remain logged. The Synthetic #2 will fail since at the first attempt of logging in it will have a pop-up reminding that another session is currently being made with that same Account. In real session I could still go forward by agreeing to continue with the current session (excluding the previous)&lt;/P&gt;&lt;P&gt;I also have to think aboutDEM consumption, so the best solution will be the one that makes consume less and works as expected &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The logout if whatever step failed seemed like a good start without knowing if it was possible or not.&lt;BR /&gt;I'll look into your suggestion (Checking from the beginning of a Synthetic Browser if a session is currently running, if so skip for the current one instead of "Skip to a logout if any of the step are in failed condition for any reason")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 07:22:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207505#M1756</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2023-03-21T07:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207519#M1757</link>
      <description>&lt;P&gt;I have applied your solution via js and it applies smoothly. After the login step a js will check the page and make decision based on the contnent.&lt;/P&gt;&lt;P&gt;What is not clear to me is if I can make a single js that supervise every and each step inside the Browser Clickpath.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 09:25:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207519#M1757</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2023-03-21T09:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207531#M1758</link>
      <description>&lt;P&gt;If you would like to check for the correct page at each event, you would need to add JS events at each point you wanted to check.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are using the API to run these monitors, perhaps you could take a different path. You could check if the monitor was successful or not before running the next execution/ monitor, and if the previous execution failed have another monitor that you run first that just logs the user out&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:01:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207531#M1758</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2023-03-21T11:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a logout if any step in the browser clickpath fails</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207535#M1759</link>
      <description>&lt;P&gt;I think I'll stop here in order to focus on the rest of the script/orchestration solution. Thank you for every advice, have a great day!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:12:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Trigger-a-logout-if-any-step-in-the-browser-clickpath-fails/m-p/207535#M1759</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2023-03-21T11:12:39Z</dc:date>
    </item>
  </channel>
</rss>

