Closed Pabriones closed 3 years ago
Date | Activity | Time |
---|---|---|
03/20/2021 | Asking questions from other teams and other research | 2.5 hours |
03/22/2021 | Running test and documenting result | 2.5 hours |
Instruction using Serverless Artillery 40 request with cache for /users/{userId}/tasks
Turning on Cache
Once the cache is turned on, you are ready for testing 🤘
Running Test
1. Setup AWS credentials
In Linux
$ export AWS_ACCESS_KEY_ID=<access-key-id>
$ export AWS_SECRET_ACCESS_KEY=<secret-access-key>
$ export AWS_SESSION_TOKEN=<session-token>
In windows
$ set AWS_ACCESS_KEY_ID=<access-key-id>
$ set AWS_SECRET_ACCESS_KEY=<secret-access-key>
$ set AWS_SESSION_TOKEN=<session-token>
npm install -g serverless
and npm install -g serverless-artillery
to make sure serverless artillery is properly installed in your local machine2. Create custom deployment assets
slsart configure
3. Deploy
slsart deploy --stage <your-unique-stage-name>
4. Invoke
slsart invoke --stage <your-unique-stage-name>
5. Remove
slsart remove --stage <your-unique-stage-name>
Using Serverless Artillery 40 requests with cache /users/{userId}/tasks (NO PR)