From 67f077d0d4643e0071bc855651609ebcbeccbf3b Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 9 Apr 2025 06:54:04 -0400 Subject: [PATCH] removed uneeded tests --- .../firstbank_to_simbrella_jwt_test.jmx | 651 +----------------- 1 file changed, 31 insertions(+), 620 deletions(-) diff --git a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx index e6167a7..9037ba4 100644 --- a/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx +++ b/bank-to-simbrella/firstbank_to_simbrella_jwt_test.jmx @@ -27,6 +27,8 @@ + false + false @@ -40,7 +42,7 @@ - + ${BASE_URL} ${PORT} ${BASE_URL} @@ -63,7 +65,7 @@ - + Content-Type @@ -72,7 +74,7 @@ - + jwtToken $.token 1 @@ -120,7 +122,7 @@ - + jwtToken $.data.access_token 1 @@ -128,7 +130,7 @@ - + Authorization @@ -170,63 +172,63 @@ - + transactionId $.transactionId 1 NO_TRANSACTION_ID - + customerId $.customerId 1 NO_CUSTOMER_ID - + accountId $.accountId 1 ACN8263457 - + msisdn $.msisdn 1 8012345678 - + countryCode $.countryCode 1 NGR - + offerId $.eligibleOffers[0].offerId 1 101 - + productId $.eligibleOffers[0].productId 1 2030 - + maxAmount $.eligibleOffers[0].maxAmount 1 5000 - + $.resultCode 00 true @@ -236,7 +238,7 @@ - + ${BASE_URL} ${PORT} ${PROTO} @@ -265,14 +267,14 @@ - + requestId $.requestId 1 REQ${__time()} - + $.resultCode 00 true @@ -281,7 +283,7 @@ true - + 200 @@ -292,7 +294,7 @@ - + ${BASE_URL} ${PORT} ${PROTO} @@ -322,7 +324,7 @@ - + $.resultCode 00 true @@ -331,73 +333,6 @@ true - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/Disbursement - true - POST - true - true - - - - false - { - "requestId": "${requestId}", - "countryCode": "${countryCode}", - "transactionId": "${transactionId}", - "debtId": "D${__time()}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "productId": "${productId}", - "provideAmount": "${maxAmount}", - "totalFees": 7075, "${accountId}", - "productId": "${productId}", - "provideAmount": "${maxAmount}", - "totalFees": 7075, - "feesDetails": { - "collectAmountInterest": 5000, - "collectAmountMgtFee": 1000, - "collectAmountInsurance": 1000, - "collectAmountVAT": 75 - }, - "countryId": "01" -} - = - - - - - - - debtId - $.debtId - 1 - D${__time()} - - - - $.resultCode - 00 - true - false - false - false - - 200 @@ -409,532 +344,7 @@ - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/LienCheck - true - POST - true - true - - - - false - { - "transactionId": "LC${__time()}", - "customerId": "${customerId}", - "accountId": "${accountId}" -} - = - - - - - - - lienAmount - $.lienAmount - 1 - 0 - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/StatusCall - true - POST - true - true - - - - false - { - "requestId": "SC${__time()}", - "countryCode": "${countryCode}", - "transactionId": "${transactionId}", - "debtId": "${debtId}", - "transactionType": "Disbursement", - "customerId": "${customerId}" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/SMS - true - POST - true - true - - - - false - { - "text": "Your loan of ${maxAmount} has been approved and disbursed to your account. Thank you for using our service.", - "dest": "+${msisdn}", - "unicode": false -} - = - - - - - - - $.statusCode - 200 - true - false - false - false - - - - $.IsSuccessful - true - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/BulkSMS - true - POST - true - true - - - - false - [ - { - "text": "Your loan of ${maxAmount} has been approved and disbursed to your account. Thank you for using our service.", - "dest": "+${msisdn}", - "unicode": true - }, - { - "text": "Reminder: Your loan repayment is due in 7 days. Please ensure sufficient funds in your account.", - "dest": "+${msisdn}", - "unicode": true - }, - { - "text": "Important: Your loan application has been processed successfully. Contact customer service for any inquiries.", - "dest": "+${msisdn}", - "unicode": true - } -] - = - - - - - - - $.statusCode - 200 - true - false - false - false - - - - $.IsSuccessful - true - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/TransactionVerify - true - POST - true - true - - - - false - { - "requestId": "TV${__time()}", - "countryCode": "${countryCode}", - "counter": "1", - "transactionId": "${transactionId}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "transactionType": "Disbursement" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/LoanStatus - true - POST - true - true - - - - false - { - "transactionId": "${transactionId}", - "customerId": "${customerId}", - "msisdn": "${msisdn}", - "channel": "USSD" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - loanDetails - $.loans - 1 - NO_LOANS - - - - currentLoanAmount - $.loans[0].currentLoanAmount - 1 - ${maxAmount} - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/CollectLoan - true - POST - true - true - - - - false - { - "transactionId": "CL${__time()}", - "fbnTransactionId": "${transactionId}", - "debtId": "${debtId}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "productId": "${productId}", - "collectAmount": "${currentLoanAmount}", - "penalCharge": 0, - "collectionMethod": 3, - "lienAmount": "${currentLoanAmount}", - "countryId": "01", - "comment": 0, - "collectionMethod": 3, - "lienAmount": "${currentLoanAmount}", - "countryId": "01", - "comment": "Collection via JMeter test" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/TransactionVerify - true - POST - true - true - - - - false - { - "requestId": "TV${__time()}", - "countryCode": "${countryCode}", - "counter": "1", - "transactionId": "${transactionId}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "transactionType": "Collection" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/PenalCharge - true - POST - true - true - - - - false - { - "transactionId": "PC${__time()}", - "fbnTransactionId": "${transactionId}", - "debtId": "${debtId}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "penalCharge": 100.0, - "lienAmount": 100.0, - "comment": "Penal charge via JMeter test" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - ${BASE_URL} - ${PORT} - ${PROTO} - ${API_PATH}/TransactionVerify - true - POST - true - true - - - - false - { - "requestId": "TV${__time()}", - "countryCode": "${countryCode}", - "counter": "1", - "transactionId": "${transactionId}", - "customerId": "${customerId}", - "accountId": "${accountId}", - "transactionType": "Penalty" -} - = - - - - - - - $.resultCode - 00 - true - false - false - false - - - - - 200 - - - Assertion.response_code - false - 8 - - - - + ${BASE_URL} ${PORT} ${PROTO} @@ -952,8 +362,9 @@ "countryCode": "${countryCode}", "transactionId": "${transactionId}", "debtId": "${debtId}", - "customerId": "${customerId}", - "accountId": "${accountId}", + "countryCode": "NGR", + "customerId": "${CustomerId}", + "accountId": "${AccountID}", "productId": "${productId}", "collectedAmount": "${currentLoanAmount}", "penalCharge": 0, @@ -967,13 +378,13 @@ - + $.resultCode 00 true false false - false + true @@ -987,7 +398,7 @@ - + , sample_account.csv @@ -1037,7 +448,7 @@ - + false saveConfig @@ -1074,7 +485,7 @@ - + 1 1 true