# TestBash Spring 2023 - Let's test the Pokemon API with REST and GraphQL - Mirza Sisic & Ioan Solderea

**URL:** <https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950>\
**Category:** 🪐 TestBash\
**Tags:** testbash-spring\
**Created:** [23 March 2023 15:15 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950 "2023-03-23T15:15:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dianadromey](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/dianadromey/32/7839_2.png) [@dianadromey](https://club.ministryoftesting.com/u/dianadromey)\
**Post date:** [23 March 2023 15:15 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/1 "2023-03-23T15:15:31Z")

</div>

During TestBash Spring, @mirza & @restertest gave a talk on Let’s Test the Pokemon API with REST and GraphQL.

**We’ll use this Club thread to keep the conversation going, share resources and answer any questions we don’t get to during the live session.**

---

<div class="post-metadata">

**Author:** ![dianadromey](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/dianadromey/32/7839_2.png) [@dianadromey](https://club.ministryoftesting.com/u/dianadromey)\
**Post date:** [23 March 2023 16:08 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/2 "2023-03-23T16:08:58Z")

</div>

## Questions Answered Live

@fullsnacktester - Because GraphQL is so flexible, how do you handle stable test data or boundaries when testing?

@chadbellan - With graphql it seems we can customize what data we want returned. Can the same testing options (in Postman’s testing tab) be applied?

@jenbauer - How does performance testing approach vary between GraphQL and REST? It seems that you can push the performance limits more easily with GraphQL unintentionally.

**Anonymous** - From a security perspective which is better considering GraphQL is more client side?

@lisacrispin - Why is it called “GraphQL”?

@fullsnacktester - For public APIs, is there anything you can do to guard against bad actors misusing it? or is Graph QL really an internal API kind of thing?

@chadbellan - graphql seems to shine when we want to get all optional values returned for specific fields. Would graphql followed by rest be used for more broad testing?

**Anonymous** - We need to know about the challenge, will you be adding it to The Club?

@ben.mueller - How to deal with validation errors and test for the worst path?

@jenbauer - Do you know of any other fun public APIs that use GraphQL? I’m also curious if you have other learning resource exercises/recommendations.

---

<div class="post-metadata">

**Author:** ![jenbauer](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/jenbauer/32/15146_2.png) [@jenbauer](https://club.ministryoftesting.com/u/jenbauer)\
**Post date:** [23 March 2023 16:16 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/3 "2023-03-23T16:16:35Z")

</div>

Please note the challenge details here, thanks!

---

<div class="post-metadata">

**Author:** ![mirza](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/mirza/32/9965_2.png) [@mirza](https://club.ministryoftesting.com/u/mirza)\
**Post date:** [23 March 2023 16:18 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/4 "2023-03-23T16:18:04Z")

</div>

Who won the Pokémon API battle: REST or GraphQL?

_Poll ([view on site](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/4))_

---

<div class="post-metadata">

**Author:** ![mirza](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/mirza/32/9965_2.png) [@mirza](https://club.ministryoftesting.com/u/mirza)\
**Post date:** [23 March 2023 18:43 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/5 "2023-03-23T18:43:32Z")

</div>

Challenge poll has been added, here are some resources for public GraphQL API to play around with:

> **[8 Free to Use GraphQL APIs for Your Projects and Demos](https://www.apollographql.com/blog/community/backend/8-free-to-use-graphql-apis-for-your-projects-and-demos/)**
>
> Whether you’re trying to build a demo, create a workshop, or learn how GraphQL works, it’s nice to have some examples to reference instead of having to build your own. While Apollo Server makes building your own API a delight, sometimes you don’t...

And there is an even longer list on GitHub:

> **[GitHub - IvanGoncharov/graphql-apis: 📜 A collective list of public GraphQL APIs](https://github.com/IvanGoncharov/graphql-apis)**
>
> 📜 A collective list of public GraphQL APIs. Contribute to IvanGoncharov/graphql-apis development by creating an account on GitHub.

Here are some learning resources too:

> **[Learn GraphQL Fundamentals with Fullstack Tutorial](https://www.howtographql.com/basics/0-introduction/)**
>
> Learn all about GraphQL and why it is an API technology that's superior to REST. It is not only for React & Javascript developers but can be used for any API.

> **[Writing Tests for GraphQL APIs using REST Assured](https://applitools.com/blog/writing-tests-graphql-apis-rest-assured/)**
>
> REST has been the de facto standard for APIs for a while now, replacing the relatively cumbersome and XML-only SOAP-based APIs with an architecture that

> **[GraphQL Tutorials](https://www.apollographql.com/tutorials/)**
>
> Boost your developer skills with our hands-on GraphQL tutorials and trainings

Article from the dojo:

> **[GraphQL As A Platform For Testing](https://www.ministryoftesting.com/articles/f3855061?s_id=14448531)**
>
> Read "GraphQL As A Platform For Testing" by Mike Harris in Ministry of Testing's Testing Planet

There was also a talk on it at one of the previous TestBashes:

> **[test.allTheThings('GraphQL') - Manoj Kumar](https://www.ministryoftesting.com/testbash-talks/e8606ff1?s_id=14448531)**
>
> Watch Manoj Kumar's Talk "test.allTheThings('GraphQL')" from TestBash New Zealand 2020

And I came across this short video on MoT’s YouTube channel:

[![](https://img.youtube.com/vi/HMsQT0vZ6WY/maxresdefault.jpg "How to structure tests for a completed graph QL API? | Hilary Weaver Robb") ](https://www.youtube.com/watch?v=HMsQT0vZ6WY)

---

<div class="post-metadata">

**Author:** ![restertest](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/restertest/32/9342_2.png) [@restertest](https://club.ministryoftesting.com/u/restertest)\
**Post date:** [24 March 2023 13:02 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/6 "2023-03-24T13:02:52Z")

</div>

Sorry that I could not make it yesterday. But I try to be here for any questions that you might have.  
Thank you again for attending and I hope you liked the Challenge

---

<div class="post-metadata">

**Author:** ![mirza](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/mirza/32/9965_2.png) [@mirza](https://club.ministryoftesting.com/u/mirza)\
**Post date:** [31 March 2023 16:16 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/7 "2023-03-31T16:16:17Z")

</div>

Small update: Ioan is in the lead, let’s keep the poll open for a few more days! 😃

After that, we will need to figure out a way for the winner to decide what type of content one of us will need to create, as promised.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/system/32/14378_2.png) [@system](https://club.ministryoftesting.com/u/system)\
**Post date:** [22 March 2025 15:16 UTC](https://club.ministryoftesting.com/t/testbash-spring-2023-lets-test-the-pokemon-api-with-rest-and-graphql-mirza-sisic-ioan-solderea/65950/8 "2025-03-22T15:16:22Z")

</div>

This topic was automatically closed after 730 days. New replies are no longer allowed.
