mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
24 lines
532 B
YAML
24 lines
532 B
YAML
|
---
|
||
|
|
||
|
concurrency: 10
|
||
|
base: 'http://localhost:3000'
|
||
|
iterations: 10000
|
||
|
|
||
|
plan:
|
||
|
- name: __typename query
|
||
|
request:
|
||
|
url: /graphql
|
||
|
method: POST
|
||
|
body: '{ "query": "query { __typename }" }'
|
||
|
headers:
|
||
|
Content-Type: 'application/json'
|
||
|
Host: example.hasura.app
|
||
|
- name: AlbumByID query
|
||
|
request:
|
||
|
url: /graphql
|
||
|
method: POST
|
||
|
body: '{ "query": "query { AlbumByID(AlbumId: 1) { Title } }" }'
|
||
|
headers:
|
||
|
Content-Type: 'application/json'
|
||
|
Host: example.hasura.app
|