Files
CurrenciCombo/orchestrator/tests/load/artillery-config.yml
defiQUG f52313e7c6 Enhance ComboHandler and orchestrator functionality with access control and error handling improvements
- Added AccessControl to ComboHandler for role-based access management.
- Implemented gas estimation for plan execution and improved gas limit checks.
- Updated execution and preparation methods to enforce step count limits and role restrictions.
- Enhanced error handling in orchestrator API endpoints with AppError for better validation feedback.
- Integrated request timeout middleware for improved request management.
- Updated Swagger documentation to reflect new API structure and parameters.
2025-11-05 17:55:48 -08:00

36 lines
733 B
YAML

config:
target: 'http://localhost:8080'
phases:
- duration: 60
arrivalRate: 10
name: "Warm up"
- duration: 120
arrivalRate: 50
name: "Sustained load"
- duration: 60
arrivalRate: 100
name: "Spike test"
plugins:
expect: {}
processor: "./processor.js"
scenarios:
- name: "Plan Management"
flow:
- post:
url: "/api/plans"
json:
creator: "test-user"
steps:
- type: "borrow"
asset: "CBDC_USD"
amount: 100000
expect:
- statusCode: 201
- think: 1
- get:
url: "/api/plans/{{ planId }}"
expect:
- statusCode: 200