Skip to content

Rick and Morty API Check using GraphQL, Katalon Studio and Groovy Scripting.

License

Notifications You must be signed in to change notification settings

rathorsunpreet/GraphQL-API-Check

Repository files navigation

GraphQL API Check

Rick and Morty API provided at link is checked using GraphQL and Katalon Studio. It involves some Groovy scripting to setup custom keywords.

Demo / Explanantion Video: https://www.youtube.com/watch?v=9RGv4bsbNEk

Installation

Either manually download the project or use the in-built EGit plugin in Katalon Studio to get the project.

Usage

There are a couple of ways to run test cases / suites, some of them are as follows:

  1. Select Initial Suite under Test Suites and then press the Run button to execute the suite.
  2. Select Individual test cases such as Response Body Check under Test Cases and then press the Run button.
  3. Select any items under Object Repository such as GET GraphQL Ping and then select Run to ping the API and get the results.

Notes:

Make sure the email address and user name for the project is your own. This would stop the auto-email reports from getting sent to my Katalon TestOps account upon every test suite execution.

License

MIT