public interface PerfanaEvent
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest(TestContext context,
EventProperties properties)
Called after the test run is done.
|
void |
beforeTest(TestContext context,
EventProperties properties)
Called before the test run starts.
|
void |
customEvent(TestContext context,
EventProperties properties,
ScheduleEvent scheduleEvent)
Called for each custom event, according to the custom even schedule.
|
String |
getName() |
void |
keepAlive(TestContext context,
EventProperties properties)
Called for each keep alive event for this test run.
|
String getName()
void beforeTest(TestContext context, EventProperties properties)
context - the test run contextproperties - e.g. REST_URL="https://my-rest-url"void afterTest(TestContext context, EventProperties properties)
context - the test run contextproperties - e.g. REST_URL="https://my-rest-url"void keepAlive(TestContext context, EventProperties properties)
context - the test run contextproperties - e.g. REST_URL="https://my-rest-url"void customEvent(TestContext context, EventProperties properties, ScheduleEvent scheduleEvent)
context - the test run contextproperties - e.g. REST_URL="https://my-rest-url"scheduleEvent - the custom event, use to execute specific behaviour in the event handlerCopyright © 2019. All rights reserved.