Skip to main content

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

ParameterTypeDescription
engineStringThe engine on which this alert occurred.
groupStringThe VU group within which this alert occurred.
severityStringThe severity of the alert (Error, Warning, or Information).
timeStringThe time at which the alert occurred.
injectorStringThe injector on which this alert occurred.
messageStringThe alert text.
scriptStringThe script in which this alert occurred.
injectorFamilyStringThe injector family in which this alert occurred.
VUIntThe VU where this alert occurred.

Example Request

http://localhost:5001/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
}
]