Forum Discussion

todd_james's avatar
todd_james
Contributor
11 years ago

HostName of master computer?

Sys.HostName returns the hostname for the slave but I was looking for a way to return the hostname of the master computer that called the slave.



I know I could set up a master project, set a network suite variable, then call the distributed tests through script as then the slave would have access to that variable. I was just wondering if someone knew of an easier way to get this information?
  • Hi Todd,


    The idea with using Network Suite variables sounds good. It's unlikely that you will find an easier way to get the name of the master machine.