README
xendit-collections
Ownership
Team: Payments Team
Slack Channel: #payments-dev
Slack Mentions: @troops-paym
How to run artillery load testing
Pre-requisite
- run
npm install
- from
xendit-collections
root,cd artillery
export CALLBACK_VA_API_KEY={CALLBACK_VA_API_KEY}
Callback Virtual Account Creation
- Execute scenario and generate report: artillery run -o reports/cva_creation_report callback_virtual_account_creation.yml
- View the report from browser: artillery report reports/cva_creation_report
Add Docker test environment
- Install docker with full access permission
docker pull rabbitmq
docker pull redis
docker pull mongo
- Run test with comand
DEBUG=testcontainers npm run test:integration
Scripts 😬
- List of business id that is using same prefix & account block (get_list_ro_merchant_same_prefix_and_block.js)
context: we previously got 'switched payment' issue, this scripts is to find businesses that potentially affected (use faulty settings)