MachineReport
GET
/MachineReport
Get registered remote execution machines
Gets the list of all registered remote execution machines
Parameters
/MachineReport
Returns
Dictionary of registered remote execution machines where the key is the machine name and the value contains machine details. Example:
Browser Type Lookup:
{
"machinename": {
"HostAddress": "http://machine.network.com:55555/",
"Load": 0.3387502495508121,
"RunningProcesses": 1,
"OperatingSystem": "Microsoft Windows NT 6.1.7601 Service Pack 1",
"State": 0,
"Details": {
"MachineName": "machinename",
"RamMB": 16384,
"NumberLogicalCores": 8,
"CurrentRamMB": 7229,
"CurrentCPUPercentage": 0.3387502495508121,
"OperatingSystem": {
"_version": "6.1.7601.65536",
"_platform": 2,
"_servicePack": "Service Pack 1"
},
"Is64Bit": true,
"InstalledBrowsers": [
{
"Type": 1,
"Version": "9.10.9200.16614"
},
{
"Type": 2,
"Version": "21.0 (en-US)"
},
{
"Type": 7,
"Version": ""
}
]
}
}
} State Lookup: 0 = AliveInstalled Browsers contains a list of web browsers installed on the execution server.
1 = Unreachable
2 = Dead
3 = NotReported
4 = Removed
Browser Type Lookup:
0 = Not Set,
1 = Internet Explorer,
2 = FireFox,
3 = ASP.NET InProc Host that acts as a browser and request processor,
4 = Internally used for the UI Designer,
5 = Safari,
6 = SLLauncher.exe running Silverlight apps
7 = Google Chrome
8 = Native Windows application
HTTP Status
Reason
200
OK
GET
/MachineReport/{id}
Get registered remnote execution machine by id(name)
Gets a specific registered remote execution machine by id. The id is the machine name.
Parameters
/MachineReport/{id}
id
[String]
required
Machine id
Returns
Dictionary of registered execution machines where the key is the machine name and the value contains machine details. Example:
Browser Type Lookup:
{
"machinename": {
"HostAddress": "http://machine.network.com:55555/",
"Load": 0.3387502495508121,
"RunningProcesses": 1,
"OperatingSystem": "Microsoft Windows NT 6.1.7601 Service Pack 1",
"State": 0,
"Details": {
"MachineName": "machinename",
"RamMB": 16384,
"NumberLogicalCores": 8,
"CurrentRamMB": 7229,
"CurrentCPUPercentage": 0.3387502495508121,
"OperatingSystem": {
"_version": "6.1.7601.65536",
"_platform": 2,
"_servicePack": "Service Pack 1"
},
"Is64Bit": true,
"InstalledBrowsers": [
{
"Type": 1,
"Version": "9.10.9200.16614"
},
{
"Type": 2,
"Version": "21.0 (en-US)"
},
{
"Type": 7,
"Version": ""
}
]
}
}
} State Lookup: 0 = AliveInstalled Browsers contains a list of web browsers installed on the execution server.
1 = Unreachable
2 = Dead
3 = NotReported
4 = Removed
Browser Type Lookup:
0 = Not Set,
1 = Internet Explorer,
2 = FireFox,
3 = ASP.NET InProc Host that acts as a browser and request processor,
4 = Internally used for the UI Designer,
5 = Safari,
6 = SLLauncher.exe running Silverlight apps
7 = Google Chrome
8 = Native Windows application
HTTP Status
Reason
200
OK
PUT
/MachineReport/{id}
Adds or updates a remote execution machine in the execution manager
Expects ProcessManagerReport object in the request body.
Example:
Browser Type Lookup:
Example:
{
"ProcessManagerUri": "http://localhost:55555/",
"AlternateProcessManagerUris": [
"http://localhost:55555/"
],
"MachineDetail": {
"MachineName": "MOCK_machine",
"RamMB": 16384,
"NumberLogicalCores": 8,
"CurrentRamMB": 9409,
"CurrentCPUPercentage": 99.123456789,
"OperatingSystem": {
"_version": "6.1.7601.65536",
"_platform": 2,
"_servicePack": "Service Pack 1"
},
"Is64Bit": true,
"InstalledBrowsers": [
{
"Type": 1,
"Version": "9.10.9200.16576"
},
{
"Type": 2,
"Version": "21.0 (en-US)"
}
]
},
"Processes": [
{
"Name": "profiler",
"ServicePath": "http://localhost:8032/",
"FailedPings": 0
}
],
"State": 0
} State Lookup: 0 = AliveInstalled Browsers contains a list of web browsers installed on the execution server.
1 = Unreachable
2 = Dead
3 = NotReported
4 = Removed
Browser Type Lookup:
0 = Not Set,
1 = Internet Explorer,
2 = FireFox,
3 = ASP.NET InProc Host that acts as a browser and request processor,
4 = Internally used for the UI Designer,
5 = Safari,
6 = SLLauncher.exe running Silverlight apps
7 = Google Chrome
8 = Native Windows application
Parameters
/MachineReport/{id}
id
[String]
required
Machine name
report
[ProcessManagerReport]
required
Should be in the request body.
Returns
204 No Content
HTTP Status
Reason
204
No Content