1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00
appwrite/tests/benchmarks/graphql/account/graphql-selection-set.js
2022-07-20 01:30:01 +12:00

16 lines
395 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 { accountGet { _id email } }`
}), {
headers: {
'Content-Type': 'application/json',
'X-Appwrite-Project': 'test',
'Cookie': ''
}
})
}