Created
August 13, 2019 02:44
-
-
Save cristianonicolai/90e1bc8225edec20b77e4dc473250ab5 to your computer and use it in GitHub Desktop.
graphql test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
given().contentType(ContentType.JSON).body("{ \"query\" : \"{ProcessInstances(filter: {state:ACTIVE}){ id } }\" }") | |
.when().post("/graphql") | |
.then().log().everything().statusCode(200).body("id", hasItem(processInstanceId)).extract().asString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment