Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cristianonicolai/90e1bc8225edec20b77e4dc473250ab5 to your computer and use it in GitHub Desktop.
Save cristianonicolai/90e1bc8225edec20b77e4dc473250ab5 to your computer and use it in GitHub Desktop.
graphql test
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