<?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 Capture cookie value in synthetic script step (to set in following step) in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/169904#M880</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the dynatrace synthetic script does not keep cookie's an values between steps. I have noticed that you can define cookies using an event. It would be nice if the value from a previous step could be used here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In first steps I login, a session cookie is used. And after the login in the next step a 400 (deceptive) request is send back. I mimicked this by removing the session cookie in the browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 10:35:35 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2021-07-29T10:35:35Z</dc:date>
    <item>
      <title>Capture cookie value in synthetic script step (to set in following step)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/169904#M880</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the dynatrace synthetic script does not keep cookie's an values between steps. I have noticed that you can define cookies using an event. It would be nice if the value from a previous step could be used here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In first steps I login, a session cookie is used. And after the login in the next step a 400 (deceptive) request is send back. I mimicked this by removing the session cookie in the browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 10:35:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/169904#M880</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2021-07-29T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Capture cookie value in synthetic script step (to set in following step)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/170650#M909</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11427"&gt;@henk_stobbe&lt;/a&gt;&amp;nbsp;you might want to toss in a RFE so this feature can be built into the product&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 20:37:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/170650#M909</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-08-11T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Capture cookie value in synthetic script step (to set in following step)</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/170770#M916</link>
      <description>&lt;P&gt;For Browser Monitors, I wouldn't expect this to occur, once a Cookie is set I would expect it to persist for that execution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For HTTP Monitors, I would expect the cookie to need to be set with each request and this can be done by pulling the session id and then adding it into the subsequent requests. There's a similar example in the docs &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/http-monitors/pre-and-post-scripting-for-http-monitors/#example-monitor" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this is for a Browser Monitor, can you create a Support ticket for Dynatrace to investigate?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 07:59:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/170770#M916</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2021-08-13T07:59:18Z</dc:date>
    </item>
  </channel>
</rss>

