North-Seattle-College / ad440-winter2021-tuesday-repo

NSC AD 440 Winter 2021 Tuesday cohort practicum repo
Apache License 2.0
4 stars 22 forks source link

Using Artillery 40 requests with cache /users/{userId} (NO PR) #355

Open OyunominJuno opened 3 years ago

OyunominJuno commented 3 years ago

this issue is able to test the API users/userid (in this test, userid = 1) for 5 minutes with 40 arrival rate through artillery

What:

artillery test yml file that creates report json file.

How to use:

Artillery needs to be installed by npm i -g artillery No PR included so cannot repeat the steps. However, here is the test results in google drive. Was not able to upload the json file here https://drive.google.com/file/d/1t65J4sPmy47y07MOxU66vTUtpnAEb9cL/view?usp=sharing

Local testing:

From the root of the directory, go to

Remote testing:

N/A

Why:

API endpoint was tested with lower arrival rate in the past and now we developed it more, needed to test it with higher number.

Timing:

Date Activity Time
2/21 Team meeting to discuss the testing 45 min
2/22 Created task on Github 2 min
2/22 Created draft script 0.5 hours
2/22 Had 'Too many files open' error and troubleshoot it 0.5 hours