End to end performance test
npm install abacus-performance-testabacus-performance-test
===
:information_source: In order to run the performance test, against an already set up Abacus, export the following environment variables:
``bash
export ORGS=
export INSTANCES=
export USAGE_DOCS=
export COLLECTOR_URL=https://
export REPORTING_URL=https://
export AUTH_SERVER=https://api.
export SECURED=true
export OBJECT_STORAGE_CLIENT_ID=abacus-object-storage
export OBJECT_STORAGE_CLIENT_SECRET=s3cret
export SYSTEM_CLIENT_ID=abacus
export SYSTEM_CLIENT_SECRET=s3cret
Then run the following commands:
`bash
cd cf-abacus
yarn provision
cd test/performance
yarn run performance
`:information_source: To execute a functional correctness test do:
`bash
Output the organization post status
export DEBUG=abacus-performance-test
Run the test
export COLLECTOR_URL=https://abacus-usage-collector.
export REPORTING_URL=https://abacus-usage-reporting.
export AUTH_SERVER=https://api.
export ORGS=20000
export NO_TIMESTAMP=true
export LIMIT=20yarn run performance
``