I have implemented GraphQL endpoints with spring boot using the following lib - https://github.com/leangen/graphql-spqr. I currently have junits for REST endpoints using WebTestClient and have tried writing junits for spqr in a similar way but that doesn't work.
GraphQL supports POST method for all the endpoints, so does anybody know how to pass query and mutation requests with web test client OR Is there any other way to write junits for spqr lib?