<?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 Multi-requests HTTP Synthetic monitor with authentication in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Multi-requests-HTTP-Synthetic-monitor-with-authentication/m-p/228342#M2133</link>
    <description>&lt;P&gt;We need to monitor an API with a following workflow-&lt;/P&gt;
&lt;P&gt;1. Login - POST with body containing credentials and other auth data&lt;/P&gt;
&lt;P&gt;2. API method call - GET&lt;/P&gt;
&lt;P&gt;3. Logout - POST without a body&lt;/P&gt;
&lt;P&gt;I can create chained HTTP requests but API uses cookie authentication and I cannot find a way to set a cookie header to consequent requests after successful login.&lt;/P&gt;
&lt;P&gt;Is it possible at all to implement this scenario ?&lt;/P&gt;
&lt;P&gt;Any hints appreciated,&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 09:33:04 GMT</pubDate>
    <dc:creator>olegus</dc:creator>
    <dc:date>2023-11-10T09:33:04Z</dc:date>
    <item>
      <title>Multi-requests HTTP Synthetic monitor with authentication</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Multi-requests-HTTP-Synthetic-monitor-with-authentication/m-p/228342#M2133</link>
      <description>&lt;P&gt;We need to monitor an API with a following workflow-&lt;/P&gt;
&lt;P&gt;1. Login - POST with body containing credentials and other auth data&lt;/P&gt;
&lt;P&gt;2. API method call - GET&lt;/P&gt;
&lt;P&gt;3. Logout - POST without a body&lt;/P&gt;
&lt;P&gt;I can create chained HTTP requests but API uses cookie authentication and I cannot find a way to set a cookie header to consequent requests after successful login.&lt;/P&gt;
&lt;P&gt;Is it possible at all to implement this scenario ?&lt;/P&gt;
&lt;P&gt;Any hints appreciated,&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 09:33:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Multi-requests-HTTP-Synthetic-monitor-with-authentication/m-p/228342#M2133</guid>
      <dc:creator>olegus</dc:creator>
      <dc:date>2023-11-10T09:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-requests HTTP Synthetic monitor with authentication</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Multi-requests-HTTP-Synthetic-monitor-with-authentication/m-p/228375#M2141</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65794"&gt;@olegus&lt;/a&gt;, You should be able to do it with Javascript. Some examples for insipration &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Troubleshooting/Sample-Post-Execution-script-JavaScript-Code-to-retrieve-the-Set/ta-p/209465" target="_blank"&gt;https://community.dynatrace.com/t5/Troubleshooting/Sample-Post-Execution-script-JavaScript-Code-to-retrieve-the-Set/ta-p/209465&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/169904" target="_blank"&gt;https://community.dynatrace.com/t5/Synthetic-Monitoring/Capture-cookie-value-in-synthetic-script-step-to-set-in/m-p/169904&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 09:30:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Multi-requests-HTTP-Synthetic-monitor-with-authentication/m-p/228375#M2141</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-11-10T09:30:12Z</dc:date>
    </item>
  </channel>
</rss>

