Alerts
This Eggplant Performance Test Controller REST method gets a list of all the alerts that have occurred during the test.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/alerts
HTTP Method
GET: Gets a list of all the alerts that have occurred during the test
Response Parameters
Parameter | Type | Description |
---|---|---|
engine | String | The engine on which this alert occurred. |
group | String | The VU group within which this alert occurred. |
severity | String | The severity of the alert (Error, Warning, or Information). |
time | String | The time at which the alert occurred. |
injector | String | The injector on which this alert occurred. |
message | String | The alert text. |
script | String | The script in which this alert occurred. |
injectorFamily | String | The injector family in which this alert occurred. |
VU | Int | The VU where this alert occurred. |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/alerts
Example Response
[
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Warning",
"time": "2022-01-28T15:31:47.881000+00:00",
"injector": "localhost",
"message": "In Action1_SearchForStuff",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 1
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Error",
"time": "2022-01-28T15:31:54.133000+00:00",
"injector": "localhost",
"message": "In Action2_PutSomeStuffInBasket",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 1
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Warning",
"time": "2022-01-28T15:31:55.730000+00:00",
"injector": "localhost",
"message": "In Action1_SearchForStuff",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 4
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Warning",
"time": "2022-01-28T15:31:56.026000+00:00",
"injector": "localhost",
"message": "In Action1_SearchForStuff",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 3
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Warning",
"time": "2022-01-28T15:31:57.206000+00:00",
"injector": "localhost",
"message": "In Action1_SearchForStuff",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 2
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Error",
"time": "2022-01-28T15:32:02.398000+00:00",
"injector": "localhost",
"message": "In Action2_PutSomeStuffInBasket",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 3
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Error",
"time": "2022-01-28T15:32:04.620000+00:00",
"injector": "localhost",
"message": "In Action2_PutSomeStuffInBasket",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 4
},
{
"engine": "",
"group": "FakeProcessGroup",
"severity": "Error",
"time": "2022-01-28T15:32:08.153000+00:00",
"injector": "localhost",
"message": "In Action2_PutSomeStuffInBasket",
"script": "testplant.testing.fakeProcess",
"injectorFamily": "",
"VU": 2
}
]