1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00
appwrite/tests/benchmarks/graphql/locale/graphql-full-selection.js
2022-07-20 01:30:01 +12:00

15 lines
399 B
JavaScript

import http from 'k6/http';
export const options = {
vus: 20,
duration: '60s',
};
export default function () {
http.post('http://localhost/v1/graphql', JSON.stringify({
query: 'query { localeGetCountries { total countries { code name } } }',
}), {
headers: {
'Content-Type': 'application/json',
'X-Appwrite-Project': 'test',
}
})
}