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
Either manually download the project or use the in-built EGit plugin in Katalon Studio to get the project.
There are a couple of ways to run test cases / suites, some of them are as follows:
- Select
Initial Suite
underTest Suites
and then press theRun
button to execute the suite. - Select Individual test cases such as
Response Body Check
underTest Cases
and then press theRun
button. - Select any items under
Object Repository
such asGET GraphQL Ping
and then selectRun
to ping the API and get the results.
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.