<?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: Run the Synthetic script with different input values in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117948#M354</link>
    <description>&lt;P&gt;Thanks for the explanation! So, in a nutshell, there is no option to have a single script and run multiple times with different credentials. Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 15:10:03 GMT</pubDate>
    <dc:creator>GAnantula</dc:creator>
    <dc:date>2020-10-16T15:10:03Z</dc:date>
    <item>
      <title>Run the Synthetic script with different input values</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117946#M352</link>
      <description>&lt;P&gt;I have a quick question regarding the Synthetic scripts. We have a synthetic script which has few steps in it. We would like to run that particular script n times with different sets of data, like logging in with 10 different users one after the other. Is this doable using any scripts? &lt;/P&gt;&lt;P&gt;Or can we have Synthetic script pick a different value to log in with on each execution? Appreciate any help on this. Thanks, Ganesh&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 22:18:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117946#M352</guid>
      <dc:creator>GAnantula</dc:creator>
      <dc:date>2020-10-15T22:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run the Synthetic script with different input values</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117947#M353</link>
      <description>&lt;P&gt;Hi Ganesh, &lt;/P&gt;&lt;P&gt;yes, you can pick different logins at execution time. You can do this with a &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#javascript-" target="_blank"&gt;JavaScript event&lt;/A&gt; and randomly, or not so randomly, pick which set of credentials to use and then set the value of placeholders in your script. &lt;/P&gt;&lt;P&gt;You could also duplicate the steps within a monitor and have each set log in and log out for different users. The first user would have uncached page and the others would be cached though.&lt;/P&gt;&lt;P&gt;There is no option to have a single script run multiple times with different credentials. You can duplicate scripts but would need to then keep them all separately updated. &lt;/P&gt;&lt;P&gt;Best wishes, Hannah&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:52:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117947#M353</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2020-10-16T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run the Synthetic script with different input values</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117948#M354</link>
      <description>&lt;P&gt;Thanks for the explanation! So, in a nutshell, there is no option to have a single script and run multiple times with different credentials. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 15:10:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117948#M354</guid>
      <dc:creator>GAnantula</dc:creator>
      <dc:date>2020-10-16T15:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run the Synthetic script with different input values</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117949#M355</link>
      <description>&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;Indeed, the Javascript option is pretty versatile. And it's pretty simple: you get an array with the logins/passwords, and use one of them at each invocation.&lt;/P&gt;&lt;P&gt;Now, if you want to run exactly one after another, you might have some issues, as state is not saved between executions. &lt;A rel="user" href="https://answers.dynatrace.com/users/3408/view.html" nodeid="3408"&gt;@Hannah M.,&lt;/A&gt; do you have an idea how state could be saved between executions?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 09:13:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117949#M355</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2020-10-17T09:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Run the Synthetic script with different input values</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117950#M356</link>
      <description>&lt;P&gt;No, as you mention state is not saved between executions. Only way to do that that would be to duplicate the events and run them all in the same monitor.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:31:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Run-the-Synthetic-script-with-different-input-values/m-p/117950#M356</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2020-10-19T12:31:45Z</dc:date>
    </item>
  </channel>
</rss>

