IBM / gauge-api-steps

A Python module providing reusable Gauge steps for API testing
MIT License
6 stars 2 forks source link

Support GraphQL files to make requests #32

Closed derdualist closed 4 months ago

derdualist commented 5 months ago

This depends on https://github.com/IBM/gauge-api-steps/issues/29. There should be another placeholder like #{gql:path/to/file.gql}. The file must reside inside the project file tree. The contents of the files must the be wrapped inside the graphql JSON request body structure. That means {"query": "graphql content from file as JSON string"}