Interface WebGraphQlTester

All Superinterfaces:
GraphQlTester
All Known Subinterfaces:
HttpGraphQlTester, WebSocketGraphQlTester

public interface WebGraphQlTester extends GraphQlTester
Server-side tester, without a client, that executes requests through a WebGraphQlHandler. Similar to ExecutionGraphQlServiceTester but also adding a web processing layer with a WebGraphQlInterceptor chain.
Since:
1.0.0
Author:
Rossen Stoyanchev
See Also:
  • Method Details

    • mutate

      Description copied from interface: GraphQlTester
      Create a builder initialized from the configuration of "this" tester. Use it to build a new, independently configured instance.
      Specified by:
      mutate in interface GraphQlTester
    • create

      static WebGraphQlTester create(org.springframework.graphql.server.WebGraphQlHandler graphQlHandler)
      Create a WebGraphQlTester instance.
      Parameters:
      graphQlHandler - the web GraphQL handler to be tested
    • builder

      static WebGraphQlTester.Builder<?> builder(org.springframework.graphql.server.WebGraphQlHandler graphQlHandler)
      Return a builder for a WebGraphQlTester.
      Parameters:
      graphQlHandler - the handler to execute requests