diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..327e1b2 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +tests/ +__tests__/ diff --git a/__tests__/artillery.yaml b/__tests__/artillery.yaml index c51db2f..91a9c79 100644 --- a/__tests__/artillery.yaml +++ b/__tests__/artillery.yaml @@ -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"