All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Rob Moore
Posts: 40 Joined: Thu May 27, 2004 7:35 am
Post
by Rob Moore » Tue Jan 26, 2021 2:47 pm
Is there an easy way to find all the tests that are connecting with a different account than the application startup account? I want to find the test(s) that is/are using "Connect As" to connect with a specific account.
Thanks,
Rob
KS-Soft
Posts: 12869 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Tue Jan 26, 2021 3:47 pm
Export test settings into text file (menu File->Export..) then search for 'password = ' field (without quotes).
Also tests may use Connection Manager settings (if "connect as" option not set).
Regards
Alex
Kris
Posts: 375 Joined: Wed May 12, 2010 3:22 am
Post
by Kris » Wed Oct 26, 2022 4:45 am
Just ran into the same requirement.
It would be nice if it was possible to create a view of all the tests that have the 'Connect as' checkbox set.
Maybe something to consider for the next version?
KS-Soft
Posts: 12869 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Wed Oct 26, 2022 8:58 am
We can add variable if you really need such View.
If you just want to change some account for set of tests, you may use HMScript with SetTestParam or ReplaceTestParam command.
E.g.
ReplaceTestParam _AllCPU username oldusername newusername
or use Export/Import fumction.
Regards
Alex
Kris
Posts: 375 Joined: Wed May 12, 2010 3:22 am
Post
by Kris » Mon Oct 31, 2022 3:17 am
KS-Soft wrote: We can add variable if you really need such View.
It wouldn't kill us if we don't have it, but it sure would be nice.
KS-Soft
Posts: 12869 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Tue Nov 01, 2022 4:52 am
Ok, we added %AccountSet% variable. So you can use Views with expressions like
"%AccountSet%">""
or
"%AccountSet%"=='admin5"
If you are using version 13.50, please send e-mail to support at ks-soft.net, we will provide download link.
Regards
Alex
Kris
Posts: 375 Joined: Wed May 12, 2010 3:22 am
Post
by Kris » Wed Nov 02, 2022 7:42 am
Works like a charm.
Thanks alot guys
KS-Soft
Posts: 12869 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Wed Nov 02, 2022 9:07 am
You are welcome
Regards
Alex