abacus-performance-test
ℹ️ In order to run the performance test, against an already set up Abacus, export the following environment variables:
export ORGS=<number-of-orgs>export INSTANCES=<number-of-instances>export USAGE_DOCS=<number-of-usage-docs> export COLLECTOR_URL=https://<prefix>abacus-usage-collector.<domain>export REPORTING_URL=https://<prefix>abacus-usage-reporting.<domain>export AUTH_SERVER=https://api.<system domain> export SECURED=trueexport OBJECT_STORAGE_CLIENT_ID=abacus-object-storageexport OBJECT_STORAGE_CLIENT_SECRET=s3cretexport SYSTEM_CLIENT_ID=abacusexport SYSTEM_CLIENT_SECRET=s3cret# optional export PLAN_TYPE=<plan>export PERFORMANCE_START_TIMEOUT=<timeout>export PERFORMANCE_TOTAL_TIMEOUT=<timeout>export PROCESSING_TIMEOUT=<timeout>export DELTA=<usage-time-window-shift-in-milli-seconds>export NUMBER_EXECUTIONS=<number-of-test-executions>export LIMIT=<number-of-parallel-requests>export NO_TIMESTAMP=true # do not add timestamp to org names export SKIP_SSL_VALIDATION=true # if you need to skip ssl validation
Then run the following commands:
cd cf-abacusyarn provisioncd test/performanceyarn run performance
ℹ️ To execute a functional correctness test do:
# Output the organization post status export DEBUG=abacus-performance-test# Run the test export COLLECTOR_URL=https://<prefix>abacus-usage-collector.<domain>export REPORTING_URL=https://<prefix>abacus-usage-reporting.<domain>export AUTH_SERVER=https://api.<system domain>export ORGS=20000export NO_TIMESTAMP=trueexport LIMIT=20 yarn run performance