SIT_AIRTEL_TZ_MFSUS_MNO

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

=========AIRTEL TZ SIT TESTING==========

OPERATIONS

1 - Account Validation
2 - Money Transfer For Account
3 - Get Transaction Status

----------------------------------------------------------------
1 Account Validation.
args[0] = OPTION
args[1] = msisdn
args[2] = country
args[3] = currency
args[4] = profile(partner profile code for multi OVA)
----------------------------------------------------------------
Case 1 Success :
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 785670229 TZ TZS MFSUS_MNO
Response : 01,Airtel money,ACTIVE
-----------------
Case 2 - invalid msisdn
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 7856709 TZ TZS MFSUS_MNO
Response : 527,FAIL,Invalid msisdn
-----------------
Case 3 - null msisdn
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 TZ TZS MFSUS_MNO
Response : 900,FAIL,Missing parameters
-----------------
Case 4 - invalid country
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 785670229 IU TZS MFSUS_MNO
Response : 100,FAIL,SendPartnerProfile mapping not found.
-----------------
Case 5 - null country
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 785670229 TZS MFSUS_MNO
Response : 900,FAIL,Missing parameters
-----------------
Case 6 - invalid currency
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 785670229 TZ UGX MFSUS_MNO
Response : 100 OR 900 for Invalid/Missing Parameter
-----------------
Case 7 - null currency
-----------------
Request : java -jar OnafriqAirtelTZClient.jar 1 785670229 TZ MFSUS_MNO
Response : 900,FAIL,Missing parameters
----------------------------------------------------------------
2 Money Transfer For Account.

args[0] = OPTION
args[1] = requestId
args[2] = country
args[3] = currency
args[4] = msisdn
args[5] = payerCountry
args[6] = payerFirstName
args[7] = payerLastName
args[8] = amount
args[9] = profile
----------------------------------------------------------------
Case 1: Success :
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011001 TZ TZS 785670229 PAK
Bob Builder 1000 MFSUS_MNO
Response: 01,imtv2-ZKX31RYD15-ONAF2025011001,SUCCESS
------------------------
Case 2: Invalid country:
------------------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011002 UI TZS 785670229 PAK
Bob Builder 1000 MFSUS_MNO
Response: 100,FAIL,SendPartnerProfile mapping not found.
------------------------
Case 3: Null country:
------------------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011003 TZS 785670229 PAK
Bob Builder 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 4: Invalid currency:
------------------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011004 TZ UGX 785670229 PAK
Bob Builder 1000 MFSUS_MNO
Response: 100 OR 900 for Invalid/Missing Parameter
------------------------
Case 5: null currency:
------------------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011005 TZ 785670229 PAK Bob
Builder 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 6: invalid msisdn:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011006 TZ TZS 670229 PAK Bob
Builder 1000 MFSUS_MNO
Response: 527,FAIL,Invalid msisdn
------------------------
Case 7: null msisdn:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011007 TZ TZS PAK Bob
Builder 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 8: null payercountry:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011008 TZ TZS 785670229 Bob
Builder 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 9: null payerFirstname:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011009 TZ TZS 785670229 PAK
Builder 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 10: null payerLastname:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011010 TZ TZS 785670229 PAK
Bob 1000 MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 11: Invalid amount:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011011 TZ TZS 785670229 PAK
Bob Builder 00 MFSUS_MNO
Response: 580,FAIL,Invalid amount
------------------------
Case 12: Invalid amount:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011012 TZ TZS 785670229 PAK
Bob Builder ASDFG MFSUS_MNO
Response: 580,FAIL,Invalid amount
------------------------
Case 13: Null amount:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011013 TZ TZS 785670229 PAK
Bob Builder MFSUS_MNO
Response: 900,FAIL,Missing parameters
------------------------
Case 14: Invalid Profile:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011014 TZ TZS 785670229 PAK
Bob Builder 1000 MFS_MNO
Response: 100,FAIL,SendPartnerProfile mapping not found.
------------------------
Case 15: Null Profile:
-----------------
Request: java -jar OnafriqAirtelTZClient.jar 2 ONAF2025011015 TZ TZS 785670229 PAK
Bob Builder 1000
Response: 900,FAIL,Missing parameters
------------------------
-----------------------------------------------------------------------------------
-----------------------------
3 Get Transaction Status.

args[0] = OPTION
args[1] = extTRID
args[2] = country

------------------------
1. Get status
Request : java -jar OnafriqAirtelTZClient.jar 3 ONAF2025011001 TZ
Response : 01,imtv2-ZKX31RYD15-ONAF2025011001,SUCCESS
------------------------
2. Transaction not found
Request : java -jar OnafriqAirtelTZClient.jar 3 ONAF202412172317 TZ
Response : 508,FAIL,Transaction Not Found
------------------------
3. Empty Transcationid
Request : java -jar OnafriqAirtelTZClient.jar 3 "" TZ
Response : 900,FAIL,TransactionId can not be blank or null
------------------------
4. Null transactionid
Request: java -jar OnafriqAirtelTZClient.jar 3 null TZ
Response: 900,FAIL,TransactionId can not be blank or null
------------------------
5. Empty Country
Request: java -jar OnafriqAirtelTZClient.jar 3 ON20240620103 ""
Response: 900,FAIL,Country can not be blank or null
------------------------
6. null Country
Request: java -jar OnafriqAirtelTZClient.jar 3 ON20240620103 null
Response: 900,FAIL,Country can not be blank or null
------------------------
7. Invalid Country
Request: java -jar OnafriqAirtelTZClient.jar 3 ON20240620103 UI
Response: 508,FAIL,Transaction Not Found
------------------------

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy