From 2f6469f5946b336a90cd7ca958acf2989787e756 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 8 May 2025 06:03:30 -0400 Subject: [PATCH] bank to simbrella --- .../firstbank_to_simbrella_jwt_test.jmx | 91 +++++++++++++------ 1 file changed, 64 insertions(+), 27 deletions(-) diff --git a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx index 52eea34..364b1b6 100644 --- a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx +++ b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx @@ -25,8 +25,15 @@ https = + + BASE_URL_1 + 10.0.0.247 + = + + false + false @@ -88,18 +95,39 @@ - 5 - 20 + 1 + 10 true continue - 20 + 1 false - + + + + BASE_URL + 10.0.0.246 + = + + + PORT + 4500 + = + + + PROTO + http + = + + + + + ${BASE_URL} + ${PORT} ${PROTO} /Authorize true @@ -141,7 +169,7 @@ - + EligibilityCheck ${BASE_URL} ${PORT} @@ -170,7 +198,7 @@ - + transactionId $.transactionId 1 @@ -198,7 +226,7 @@ 8012345678 - + countryCode $.countryCode 1 @@ -207,14 +235,14 @@ offerId - $.eligibleOffers[0].offerId + $.eligibleOffers[1].offerId 1 101 productId - $.eligibleOffers[0].productId + $.eligibleOffers[1].productId 1 2030 @@ -235,12 +263,12 @@ true - - 1000 + + 10000 - + ${BASE_URL} ${PORT} ${PROTO} @@ -261,6 +289,7 @@ "msisdn": "${msisdn}", "requestedAmount": "${maxAmount}", "productId": "${productId}", + "offerId": "${offerId}", "channel": "100" } = @@ -295,12 +324,20 @@ 8 - + 1000 + + requestedAmount + $.loan[0].amount + + Requested amount needed to continue + 0 + + - + ${BASE_URL} ${PORT} ${PROTO} @@ -319,9 +356,9 @@ "customerId": "${customerId}", "accountId": "${accountId}", "msisdn": "${msisdn}", - "requestedAmount": "${__Random(100000,999999)}", + "requestedAmount": "${requestedAmount}", "collectionType": 0, - "offerId": 101, + "offerId": "${offerId}", "channel": "100" } = @@ -349,12 +386,12 @@ 8 - + 1000 - + ${BASE_URL} ${PORT} ${PROTO} @@ -381,7 +418,7 @@ - + $.resultCode 00 true @@ -390,7 +427,7 @@ true - + 200 @@ -400,11 +437,11 @@ 8 - + 1000 - + debtId $.loans[0].debtId @@ -412,7 +449,7 @@ - + ${BASE_URL} ${PORT} ${PROTO} @@ -440,7 +477,7 @@ - + $.resultCode 00 true @@ -460,7 +497,7 @@ - + , sample_account.csv @@ -473,7 +510,7 @@ - + false saveConfig @@ -510,7 +547,7 @@ - + false saveConfig