Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update perf test script #333

Open
alexey-yarmosh opened this issue Apr 11, 2023 · 0 comments
Open

Update perf test script #333

alexey-yarmosh opened this issue Apr 11, 2023 · 0 comments

Comments

@alexey-yarmosh
Copy link
Member

alexey-yarmosh commented Apr 11, 2023

Our npm perf test script worth updating to represent the typical use case.

Current behaviour for every emulated user:

  1. Send create measurement request
  2. Wait for 202 Accepted
  3. Finish

Required behaviour for every emulated user:

  1. Send create measurement request
  2. Wait for 202 Accepted
  3. Send get measurement request
  4. Wait for 200 OK and check the status
  5. If the status is in-porgress repeat steps 3, 4 with the delay of 1 sec
  6. Finish when the status is finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant