Eggplant Performance Test Controller:
GET Injector Status Method

This method gets the current status of the injectors in the test run.

URL

/test_controller/api/1.0/<workspace>/<project>/<test>/injector_status

HTTP Method

GET: Gets the current status of the injectors in the test run

Response Parameters

The response will be an object with an entry for each injector family. Within each injector family there will be an object for each injector in the test run.

For each injector, there will be an object containing the following:

Parameter Type Description
CPU Float The % CPU usage on the injector
availableMemory Integer The amount of available memory, in bytes, on the injector
bytesSentPerSecond Integer The number of bytes sent per second over the network on the injector machine
bytesRecvPerSecond Integer The number of bytes received per second over the network on the injector machine
availableDisk Object The available space on each of the disks on the injector machine
engines Object The state of each of the engines running on the injector machine
connectionLost Boolean

Whether or not the test controller server has lost the network connection to the injector

Example Request

http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/injector_status

Example Response

{

"This machine": {

"localhost": {

"availableMemory": 21730672640,

"engines": {

"9.intel.win32.clr4_6.0": "Running"

},

"bytesSentPerSecond": 225.6,

"availableDisk": {

"Local Fixed Disk (D:)": 662852288512,

"Local Fixed Disk (C:)": 8834531328

},

"bytesRecvPerSecond": 473.8,

"connectionLost": false,

"CPU": 10.316850836234382

}

}

}

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant