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

Using Artillery 40 requests without cache /users/{userId}/tasks #332

Open
YAG0731 opened this issue Mar 18, 2021 · 2 comments
Open

Using Artillery 40 requests without cache /users/{userId}/tasks #332

YAG0731 opened this issue Mar 18, 2021 · 2 comments
Assignees
Labels
task New task, feature or request team4 Issues for Practicum Team 4
Milestone

Comments

@YAG0731
Copy link
Contributor

YAG0731 commented Mar 18, 2021

This task is to run a artllery test of 40 request without cache for /users/{userId}/tasks locally

@YAG0731 YAG0731 added task New task, feature or request team4 Issues for Practicum Team 4 labels Mar 18, 2021
@YAG0731 YAG0731 added this to the Sprint 06 milestone Mar 18, 2021
@YAG0731 YAG0731 self-assigned this Mar 18, 2021
@YAG0731
Copy link
Contributor Author

YAG0731 commented Mar 22, 2021

Artillery test of 40 requests on tasks without cache

Prerequisite
turn off cache_toggle on Azure
"CACHE_TOGGLE": "FALSE"

Test Locally

  1. Clone the project
  2. direct to the directory where the project is located
  3. run npm install -g artillery
  4. navigate into the artillery folder
  5. run artillery run --output report.json artillery-users-id-tasks.yml to trigger the test
  6. the result will be stored in the report.json file. run artillery report report.json to generate HTML version of the report.

Local summary report
image

Example of Scenarios created #note: /users/{userId}/tasks api is down when testing
image
image
image

Report in HTML format
image

Link to the entire testing result
View entire report here

@YAG0731
Copy link
Contributor Author

YAG0731 commented Mar 22, 2021

Date Activity Time Spent
3/20/2021 Write an artillery test for tasks URL 1 hour
3/21/2021 testing and storing result, write documentation 3 hour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task New task, feature or request team4 Issues for Practicum Team 4
Projects
None yet
Development

No branches or pull requests

1 participant