From b542a42ef8d2f093c2a28816cfbd9056bda5e45e Mon Sep 17 00:00:00 2001 From: Nathan Lie Date: Mon, 5 Aug 2024 13:41:36 -0700 Subject: [PATCH] fix: update test script parameters --- test/performance/scripts/create-outgoing-payments.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/performance/scripts/create-outgoing-payments.js b/test/performance/scripts/create-outgoing-payments.js index c5c1cf3b5d..acab254e49 100644 --- a/test/performance/scripts/create-outgoing-payments.js +++ b/test/performance/scripts/create-outgoing-payments.js @@ -1,9 +1,9 @@ import http from 'k6/http' export const options = { // A number specifying the number of VUs to run concurrently. - vus: 10, + vus: 1, // A string specifying the total duration of the test run. - duration: '30s' + duration: '600s' // The following section contains configuration options for execution of this // test script in Grafana Cloud. @@ -119,6 +119,7 @@ export default function () { headers } ) + const receiver = JSON.parse(createReceiverResponse.body).data.createReceiver .receiver