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