From 168725f67eadda7ea28b6a7df359094d345dfd89 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 14 May 2025 07:29:31 -0400 Subject: [PATCH] Jmeter test --- .../firstbank_to_simbrella_jwt_test.jmx | 68 +++++++---- bank-to-simbrella/sample_account.csv | 114 +++++++++--------- 2 files changed, 100 insertions(+), 82 deletions(-) diff --git a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx index 364b1b6..52d97d2 100644 --- a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx +++ b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx @@ -32,8 +32,6 @@ - false - false @@ -95,8 +93,8 @@ - 1 - 10 + 2 + 5 true continue @@ -105,6 +103,26 @@ + + + + BASE_URL + localhost + = + + + PORT + 4500 + = + + + PROTO + http + = + + + + @@ -169,7 +187,7 @@ - + EligibilityCheck ${BASE_URL} ${PORT} @@ -188,8 +206,8 @@ "countryCode": "NGR", "customerId": "${CustomerId}", "accountId": "${AccountID}", - "msisdn": "801${__Random(1000000,9999999)}", - "channel": "100" + "msisdn": "234801${__Random(1000000,9999999)}", + "channel": "USSD" } = @@ -198,14 +216,14 @@ - + transactionId $.transactionId 1 NO_TRANSACTION_ID - + customerId $.customerId 1 @@ -233,25 +251,25 @@ NGR - + offerId - $.eligibleOffers[1].offerId + $.eligibleOffers[0].offerId 1 101 - + productId - $.eligibleOffers[1].productId + $.eligibleOffers[0].product_id 1 - 2030 + AMPC - + maxAmount $.eligibleOffers[0].maxAmount 1 - 5000 + 6600 @@ -264,11 +282,11 @@ - 10000 + 1000 - + ${BASE_URL} ${PORT} ${PROTO} @@ -290,7 +308,7 @@ "requestedAmount": "${maxAmount}", "productId": "${productId}", "offerId": "${offerId}", - "channel": "100" + "channel": "USSD" } = @@ -359,7 +377,7 @@ "requestedAmount": "${requestedAmount}", "collectionType": 0, "offerId": "${offerId}", - "channel": "100" + "channel": "USSD" } = @@ -391,7 +409,7 @@ - + ${BASE_URL} ${PORT} ${PROTO} @@ -449,7 +467,7 @@ - + ${BASE_URL} ${PORT} ${PROTO} @@ -497,7 +515,7 @@ - + , sample_account.csv @@ -510,7 +528,7 @@ - + false saveConfig @@ -547,7 +565,7 @@ - + false saveConfig diff --git a/bank-to-simbrella/sample_account.csv b/bank-to-simbrella/sample_account.csv index 26b7e21..1f13fd1 100644 --- a/bank-to-simbrella/sample_account.csv +++ b/bank-to-simbrella/sample_account.csv @@ -1,4 +1,61 @@ CustomerId,AccountID +CID0000034073,ACC2169670011 +CID0000034074,ACC1755079012 +CID0000034075,ACC2167582015 +CID0000034076,ACC2054076010 +CID0000034078,ACC2004539013 +CID0000034080,ACC2181856013 +CID0000034081,ACC0955799023 +CID0000034082,ACC2100883010 +CID0000034083,ACC1995830019 +CID0000034084,ACC2215293014 +CID0000034085,ACC1258232017 +CID0000034086,ACC1201871012 +CID0000034088,ACC1562752010 +CID0000034089,ACC1966200016 +CID0000034090,ACC1866764018 +CID0000034091,ACC1798049010 +CID0000034093,ACC1429044014 +CID0000034094,ACC2058750013 +CID0000034095,ACC1528947018 +CID0000034097,ACC1719881017 +CID0000034098,ACC0840074011 +CID0000034099,ACC2262789018 +CID0000034100,ACC1586178010 +CID0000034101,ACC0944669018 +CID0000034102,ACC2152519013 +CID0000034103,ACC2073736010 +CID0000034106,ACC2072082019 +CID0000034107,ACC2083597010 +CID0000034109,ACC1914065018 +CID0000034110,ACC1103166027 +CID0000034111,ACC0764343028 +CID0000034113,ACC1954916015 +CID0000034114,ACC1991030017 +CID0000034115,ACC1916205016 +CID0000034116,ACC1689272015 +CID0000034117,ACC1978490016 +CID0000034118,ACC1058685019 +CID0000034119,ACC1988128011 +CID0000034121,ACC2011744017 +CID0000034122,ACC1409741010 +CID0000034124,ACC2156655014 +CID0000034125,ACC1932856012 +CID0000034126,ACC0971428017 +CID0000034127,ACC1289951013 +CID0000034128,ACC1990674014 +CID0000034130,ACC1257741015 +CID0000034131,ACC1528288012 +CID0000034132,ACC0850332015 +CID0000034133,ACC1340809013 +CID0000034134,ACC1608589017 +CID0000034135,ACC1084279011 +CID0000034136,ACC1205777019 +CID0000034139,ACC1641395019 +CID0000034140,ACC2139761013 +CID0000034141,ACC1292729010 +CID0000034142,ACC0885497011 +CID0000034143,ACC2142259015 CID0000025524,ACC1277958011 CID0000025585,ACC1623724015 CID0000025751,ACC1914421014 @@ -42724,63 +42781,6 @@ CID0000034068,ACC1875437019 CID0000034069,ACC2125408016 CID0000034071,ACC0996506011 CID0000034072,ACC1134277015 -CID0000034073,ACC2169670011 -CID0000034074,ACC1755079012 -CID0000034075,ACC2167582015 -CID0000034076,ACC2054076010 -CID0000034078,ACC2004539013 -CID0000034080,ACC2181856013 -CID0000034081,ACC0955799023 -CID0000034082,ACC2100883010 -CID0000034083,ACC1995830019 -CID0000034084,ACC2215293014 -CID0000034085,ACC1258232017 -CID0000034086,ACC1201871012 -CID0000034088,ACC1562752010 -CID0000034089,ACC1966200016 -CID0000034090,ACC1866764018 -CID0000034091,ACC1798049010 -CID0000034093,ACC1429044014 -CID0000034094,ACC2058750013 -CID0000034095,ACC1528947018 -CID0000034097,ACC1719881017 -CID0000034098,ACC0840074011 -CID0000034099,ACC2262789018 -CID0000034100,ACC1586178010 -CID0000034101,ACC0944669018 -CID0000034102,ACC2152519013 -CID0000034103,ACC2073736010 -CID0000034106,ACC2072082019 -CID0000034107,ACC2083597010 -CID0000034109,ACC1914065018 -CID0000034110,ACC1103166027 -CID0000034111,ACC0764343028 -CID0000034113,ACC1954916015 -CID0000034114,ACC1991030017 -CID0000034115,ACC1916205016 -CID0000034116,ACC1689272015 -CID0000034117,ACC1978490016 -CID0000034118,ACC1058685019 -CID0000034119,ACC1988128011 -CID0000034121,ACC2011744017 -CID0000034122,ACC1409741010 -CID0000034124,ACC2156655014 -CID0000034125,ACC1932856012 -CID0000034126,ACC0971428017 -CID0000034127,ACC1289951013 -CID0000034128,ACC1990674014 -CID0000034130,ACC1257741015 -CID0000034131,ACC1528288012 -CID0000034132,ACC0850332015 -CID0000034133,ACC1340809013 -CID0000034134,ACC1608589017 -CID0000034135,ACC1084279011 -CID0000034136,ACC1205777019 -CID0000034139,ACC1641395019 -CID0000034140,ACC2139761013 -CID0000034141,ACC1292729010 -CID0000034142,ACC0885497011 -CID0000034143,ACC2142259015 CID0000034144,ACC0903590018 CID0000034145,ACC1231259017 CID0000034147,ACC2253671012