1
0
Fork 0
mirror of synced 2024-09-03 03:11:39 +12:00
appwrite/tests/benchmarks/graphql/account/graphql-selection-set.js

16 lines
395 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-20 01:30:01 +12:00
query: `query { accountGet { _id email } }`
2022-07-14 13:47:32 +12:00
}), {
headers: {
'Content-Type': 'application/json',
'X-Appwrite-Project': 'test',
2022-07-20 01:30:01 +12:00
'Cookie': ''
2022-07-14 13:47:32 +12:00
}
})
}