1
0
Fork 0
mirror of synced 2024-08-04 21:12:18 +12:00
appwrite/tests/benchmarks/graphql/locale/graphql-selection-set.js

15 lines
375 B
JavaScript
Raw Normal View History

2022-07-14 13:47:32 +12:00
import http from 'k6/http';
export const options = {
vus: 20,
duration: '60s',
};
export default function () {
http.post('http://localhost/v1/graphql', JSON.stringify({
2022-07-19 00:44:02 +12:00
query: 'query { localeGetCountries { total } }',
2022-07-14 13:47:32 +12:00
}), {
headers: {
'Content-Type': 'application/json',
'X-Appwrite-Project': 'test',
}
})
}