public interface WarpGroup extends WarpGroupResult, GroupExecutionSpecifier, GroupInspectionSpecifier
The Warp request group as seen by Warp internally.
Extends WarpGroupResult which is interface exposed to user.
The logic of group is as follows:
RequestPayloadResponsePayload to be paired with adequeate RequestPayloadRequestPayloads in order to get first non-successful TestResultWarpGroupResult to be used by final user| Modifier and Type | Method and Description |
|---|---|
void |
addInspections(Inspection... inspections)
Adds inspections to this group
|
RequestPayload |
generateRequestPayload(Request request)
Generates
RequestPayload which can be verified on server. |
Collection<Request> |
getAllRequests()
Returns the list of all requests which were observed in this group
|
int |
getExpectedRequestCount()
Get a number of requests expected by this group
|
org.jboss.arquillian.test.spi.TestResult |
getFirstNonSuccessfulResult()
Get a first result of verification of this group which isn't
Status.PASSED. |
Object |
getId()
The id of this group
|
RequestObserver |
getObserver()
Returns a filter associated with this group or null if no filter was associated with this group
|
Collection<Request> |
getRequestsWithoutResponse()
Returns the list of requests which were observed in this group but no response came back from the server.
|
boolean |
pushResponsePayload(ResponsePayload payload)
Pushes response payload associated with this group.
|
getHitCount, getInspection, getInspectionForHitNumber, getInspections, getInspectionsForHitNumberexpectCountinspectobserve, observe, observeObject getId()
RequestObserver getObserver()
void addInspections(Inspection... inspections)
RequestPayload generateRequestPayload(Request request)
RequestPayload which can be verified on server.boolean pushResponsePayload(ResponsePayload payload)
org.jboss.arquillian.test.spi.TestResult getFirstNonSuccessfulResult()
Status.PASSED.int getExpectedRequestCount()
Collection<Request> getAllRequests()
Collection<Request> getRequestsWithoutResponse()
Copyright © 2019 JBoss by Red Hat. All rights reserved.