In order to easily test the GraphQL queries all you need to do is install the ChromeiQL extension for Chrome Browser by pressing the Add to Chrome.

Chromeigl Extension

Once you have added it you will see the extension icon in the right top corner of the browser window. Pressing it will move you to the new window where the testing is actually conducted.

This is the example of how we test the GraphQL query for Magefan Magento 2 Blog module:

  1. Set the Endpoint URL in the corresponding field.
  2. In the left field set the query. It is also allowed to state the query parameters if needed below the query section.
  3. Press the Run ( > ) button and see the result on the right.

GraphQl testing process