Skip to content

Commit

Permalink
fix: add .npmignore and env var to artillery
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGioioso committed Nov 3, 2020
1 parent cefad9a commit 74ce8f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/
__tests__/
6 changes: 3 additions & 3 deletions __tests__/artillery.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
config:
target: 'https://exzsi21ncc.execute-api.ap-southeast-1.amazonaws.com/Prod/'
target: "{{ $processEnvironment.URL }}"
phases:
- duration: 20 # seconds
arrivalRate: 100 # requests per seconds
- duration: 2 # seconds
arrivalRate: 2 # requests per seconds

scenarios:
- name: "Connect"
Expand Down

0 comments on commit 74ce8f4

Please sign in to comment.