<?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 Synthetic Monitoring with Multiple Users in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182970#M1189</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we Run the One synthetic Browser or Click path Monitoring with Multiple Users(i.e Passing multiple user s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 07:06:42 GMT</pubDate>
    <dc:creator>VenkataSainath</dc:creator>
    <dc:date>2022-03-22T07:06:42Z</dc:date>
    <item>
      <title>Synthetic Monitoring with Multiple Users</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182970#M1189</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we Run the One synthetic Browser or Click path Monitoring with Multiple Users(i.e Passing multiple user s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:06:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182970#M1189</guid>
      <dc:creator>VenkataSainath</dc:creator>
      <dc:date>2022-03-22T07:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Monitoring with Multiple Users</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182985#M1190</link>
      <description>&lt;P&gt;Can you clarify what you mean? You can randomly select a user to use for logging in and pass the credentials to a variable to use at the relevant points and you can also use code to use a different user to log in to each location. You need to use a JavaScript event to do this. You can find more information &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events#javascript" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 09:27:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182985#M1190</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2022-03-22T09:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Monitoring with Multiple Users</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182986#M1191</link>
      <description>&lt;P&gt;Yes, We are trying to pass different users with the same transaction.&lt;/P&gt;&lt;P&gt;Q:&amp;nbsp;&lt;SPAN&gt;you can also use code to use a different user to log in to each location? Is this possible?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 09:36:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182986#M1191</guid>
      <dc:creator>VenkataSainath</dc:creator>
      <dc:date>2022-03-22T09:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Monitoring with Multiple Users</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182989#M1192</link>
      <description>&lt;P&gt;Cool, yes, you can use&amp;nbsp;&lt;SPAN&gt;api.getContext() to use a different login for each location. You would want something like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;//Default Value
var userid_by_loc = "ValueDoesNotExist";
try {
var loc = api.getContext().location.name;
api.info("Location Name is: " + loc);
var platform = api.getContext().location.cloudPlatform;
api.info("Cloud Platform is: " + platform);
//set parameter(s)
if ((loc.indexOf("Los Angeles") &amp;gt;= 0) &amp;amp;&amp;amp; (platform.includes("Google Cloud") &amp;gt;= 0)) {
userid_by_loc = 'LA_User';
} else if ((loc.indexOf("Oregon") &amp;gt;= 0) &amp;amp;&amp;amp; (platform.includes("Google Cloud") &amp;gt;= 0)) {
userid_by_loc = 'Oregon_User';
} else if ((loc.indexOf("Chicago") &amp;gt;= 0) &amp;amp;&amp;amp; (platform.includes("Azure") &amp;gt;= 0)) {
userid_by_loc = 'Chicago_User';
}
} catch (err) {
api.info("Error message: " + err.description);
}
api.setValue("UserID", userid_by_loc);&lt;/LI-CODE&gt;
&lt;P&gt;You could use Credentials Vault values if you prefer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 10:02:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-Monitoring-with-Multiple-Users/m-p/182989#M1192</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2022-03-22T10:02:43Z</dc:date>
    </item>
  </channel>
</rss>

