Package io.karatelabs.core
Class PerfEvent
java.lang.Object
io.karatelabs.core.PerfEvent
Represents a performance event for Gatling integration.
Events are created after HTTP requests complete, with timing information
captured from the request/response cycle. The failed and message
fields are mutable so that assertion failures can be attributed to the
preceding HTTP request.
-
Constructor Details
-
PerfEvent
Create a new performance event.- Parameters:
startTime- request start time in epoch millisecondsendTime- request end time in epoch millisecondsname- the request name for reportingstatusCode- the HTTP status code (0 if request failed before response)
-
-
Method Details