public static interface GraphQlTester.ExecuteSpec
| Modifier and Type | Method and Description |
|---|---|
GraphQlTester.ResponseSpec |
execute()
Execute the GraphQL request and return a spec for further inspection of
response data and errors.
|
void |
executeAndVerify()
Execute the GraphQL request and verify the response contains no errors.
|
GraphQlTester.SubscriptionSpec |
executeSubscription()
Execute the GraphQL request as a subscription and return a spec with options to
transform the result stream.
|
GraphQlTester.ResponseSpec execute()
AssertionError - if the request is performed over HTTP and the response
status is not 200 (OK).void executeAndVerify()
GraphQlTester.SubscriptionSpec executeSubscription()
AssertionError - if the request is performed over HTTP and the response
status is not 200 (OK).