false true false 5 5 true continue 1 false 10000 30000 devcore.digifi.chiefsoft.net http /v1/api/salary Content-Type application/json Accept application/json https://devcore.digifi.chiefsoft.net ${__P(username,testuser)} ${__P(password,testpass)} false transactionId TR${__time(yyyyMMddHHmmss)}${__threadNum} = customerId CN${__Random(100000,999999)} = accountId ACN${__Random(1000000,9999999)} = msisdn 234${__Random(7000000000,9099999999)} = requestId REQ${__time(yyyyMMddHHmmss)}${__threadNum} = countryCode NGR = countryId 01 = requestedAmount 10000 = productId 101 = channel USSD = collectionMethod 1 = counter 1 = penalChargeAmount 500 = phoneNumber +234${__Random(7000000000,9099999999)} = smsMessage Your loan application with ID ${transactionId} has been processed successfully. Thank you for choosing our service. = bulkSmsMessage Special offer: Apply for a loan today and get reduced interest rates! = /RACCheck true POST true true false { "transactionId": "${transactionId}", "fbnTransactionId": "${transactionId}", "customerId": "${customerId}", "accountId": "${accountId}", "RAC_Array": ["SalaryAccount", "BVN", "BVNAttachedtoAccount", "CRC", "CRMS", "AccountStatus", "Lien", "NoBouncedCheck", "Whitelist", "NoPastDueSalaryLoan", "NoPastDueOtherLoan"] } = racResult $.resultDescription 1 Failed 200 Assertion.response_code false 8 $.RACResponse false false false false /LienCheck true POST true true false { "transactionId": "${transactionId}", "customerId": "${customerId}", "accountId": "${accountId}" } = lienAmount $.lienAmount 1 0 lienCheckResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false /EligibilityCheck true POST true true false { "transactionId": "${transactionId}", "countryCode": "${countryCode}", "customerId": "${customerId}", "accountId": "${accountId}", "msisdn": "${msisdn}", "channel": "${channel}" } = offerId $.eligibleOffers[0].offerId 1 101 eligibilityResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.eligibleOffers false false false false ${__jexl3("${eligibilityResultCode}" == "00")} false true /SelectOffer true POST true true false { "requestId": "${requestId}", "transactionId": "${transactionId}", "customerId": "${customerId}", "accountId": "${accountId}", "msisdn": "${msisdn}", "requestedAmount": ${requestedAmount}, "productId": "${productId}", "channel": "${channel}" } = selectOfferResultCode $.resultCode 1 99 loanAmount $.loan[0].amount 1 ${requestedAmount} interestAmount $.loan[0].Interest 1 300 managementFee $.loan[0].ManagementFee 1 100 insuranceFee $.loan[0].InsuranceFee 1 100 vatAmount $.loan[0].VATamount 1 75 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.loan false false false false ${__jexl3("${selectOfferResultCode}" == "00")} false true /ProvideLoan true POST true true false { "requestId": "${requestId}", "transactionId": "${transactionId}", "customerId": "${customerId}", "accountId": "${accountId}", "msisdn": "${msisdn}", "productId": "${productId}", "requestedAmount": ${loanAmount}, "collectionType": 0, "offerId": ${offerId}, "channel": "${channel}" } = provideLoanResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.transactionId ${transactionId} true false false false ${__jexl3("${provideLoanResultCode}" == "00")} false true /SMS true POST true true false { "text": "Your loan application with ID ${transactionId} has been approved. Amount: ${loanAmount}. Thank you for choosing our service.", "dest": "${phoneNumber}", "unicode": false } = smsResultCode $.statusCode 1 500 200 Assertion.response_code false 8 $.IsSuccessful true true false false false /Disbursement true POST true true false { "requestId": "${requestId}_disburse", "countryCode": "${countryCode}", "transactionId": "${transactionId}", "debtId": "DID${__time(yyyyMMddHHmmss)}${__threadNum}", "customerId": "${customerId}", "accountId": "${accountId}", "productId": "${productId}", "provideAmount": ${loanAmount}, "totalFees": ${__jexl3(${interestAmount} + ${managementFee} + ${insuranceFee} + ${vatAmount})}, "feesDetails": { "collectAmountInterest": ${interestAmount}, "collectAmountMgtFee": ${managementFee}, "collectAmountInsurance": ${insuranceFee}, "collectAmountVAT": ${vatAmount} }, "countryId": "${countryId}" } = disbursementResultCode $.resultCode 1 99 debtId $.debtId 1 0 200 Assertion.response_code false 8 $.resultCode 00 true false false false /StatusCall true POST true true false { "requestId": "${requestId}_status", "countryCode": "${countryCode}", "transactionId": "${transactionId}", "debtId": "${debtId}", "transactionType": "Disbursement", "customerId": "${customerId}" } = statusCallResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.data false false false false /TransactionVerify true POST true true false { "requestId": "${requestId}_verify", "countryCode": "${countryCode}", "counter": "${counter}", "transactionId": "${transactionId}", "customerId": "${customerId}", "accountId": "${accountId}", "transactionType": "Disbursement" } = transactionVerifyResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.transactionType Disbursement true false false false /LoanStatus true POST true true false { "transactionId": "${transactionId}", "customerId": "${customerId}", "msisdn": "${msisdn}", "channel": "${channel}" } = loanStatusResultCode $.resultCode 1 99 loanDebtId $.loans[0].debtId 1 ${debtId} currentLoanAmount $.loans[0].currentLoanAmount 1 ${loanAmount} 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.loans false false false false ${__jexl3("${loanStatusResultCode}" == "00" and "${loanDebtId}" != "0")} false true /PenalCharge true POST true true false { "transactionId": "PC${__time(yyyyMMddHHmmss)}${__threadNum}", "fbnTransactionId": "${transactionId}", "debtId": "${loanDebtId}", "customerId": "${customerId}", "accountId": "${accountId}", "penalCharge": ${penalChargeAmount}, "lienAmount": ${penalChargeAmount}, "comment": "Penal charge via JMeter test" } = penalChargeResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false /BulkSMS true POST true true false [ { "text": "A penal charge of ${penalChargeAmount} has been applied to your loan account ${loanDebtId}. Please contact customer service for details.", "dest": "${phoneNumber}", "unicode": true }, { "text": "Reminder: Your loan repayment is due soon. Please ensure sufficient funds in your account to avoid additional charges.", "dest": "${phoneNumber}", "unicode": true } ] = bulkSmsResultCode $.statusCode 1 500 200 Assertion.response_code false 8 $.IsSuccessful true true false false false /CollectLoan true POST true true false { "transactionId": "CL${__time(yyyyMMddHHmmss)}${__threadNum}", "fbnTransactionId": "${transactionId}", "debtId": "${loanDebtId}", "customerId": "${customerId}", "accountId": "${accountId}", "productId": "${productId}", "collectAmount": ${currentLoanAmount}, "penalCharge": ${penalChargeAmount}, "collectionMethod": ${collectionMethod}, "lienAmount": ${currentLoanAmount}, "countryId": "${countryId}", "comment": "Collection via JMeter test" } = collectLoanResultCode $.resultCode 1 99 collectionTransactionId $.transactionId 1 0 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.debtId ${loanDebtId} true false false false /TransactionVerify true POST true true false { "requestId": "${requestId}_verify_collection", "countryCode": "${countryCode}", "counter": "${counter}", "transactionId": "${collectionTransactionId}", "customerId": "${customerId}", "accountId": "${accountId}", "transactionType": "Collection" } = collectionVerifyResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.transactionType Collection true false false false /SMS true POST true true false { "text": "Your loan repayment of ${currentLoanAmount} has been successfully processed. Thank you for your payment.", "dest": "${phoneNumber}", "unicode": false } = smsCollectionResultCode $.statusCode 1 500 200 Assertion.response_code false 8 $.IsSuccessful true true false false false /Repayment true POST true true false { "requestId": "${requestId}_repay", "countryCode": "${countryCode}", "transactionId": "${transactionId}", "debtId": "${loanDebtId}", "customerId": "${customerId}", "accountId": "${accountId}", "productId": "${productId}", "collectedAmount": ${currentLoanAmount}, "penalCharge": ${penalChargeAmount}, "collectionMethod": ${collectionMethod}, "lienAmount": ${currentLoanAmount}, "comment": "Repayment via JMeter test" } = repaymentResultCode $.resultCode 1 99 200 Assertion.response_code false 8 $.resultCode 00 true false false false $.debtId ${loanDebtId} true false false false false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true