globalping
globalping copied to clipboard
Update perf test script
Our npm perf test script worth updating to represent the typical use case.
Current behaviour for every emulated user:
- Send
create measurement
request - Wait for
202 Accepted
- Finish
Required behaviour for every emulated user:
- Send
create measurement
request - Wait for
202 Accepted
- Send
get measurement
request - Wait for
200 OK
and check the status - If the status is
in-porgress
repeat steps 3, 4 with the delay of 1 sec - Finish when the status is
finished