Please enable JavaScript.
Coggle requires JavaScript to display documents.
Subscrition Engine (Precondition (Admin (Invoke 'Save Profile'…
Subscrition Engine
Precondition
Admin
Invoke 'Save Profile' API
For Sp App1
Timezone = 5GMT
frequency = 2 (for a Month)
chargeIntervals - 2nd 12.00.01 to 23.59.59 &
28th 00.00.01 to 23.59.59
chargeLimit = $100
profile = App1
MIG token
For App1
For MSISDN X
For scope 'payment'
Test scope capability
User SP invoke payment API Charge operation for App1, msisdn X
at the time of 2nd day of month at 12.00
Charge amount = 50.00
User should be able to invoke charge correctly and get success response
User SP invoke smsmessaging API Send SMS operation for App1, msisdn X
User should get error response
User SP invoke payment API Charge operation for App1, msisdn X
To payment API which is not in state of scope 'payment'
User should get error response
Test MSISDN validation
User sp invoke payment API Charge operation for App1
For msisdn X
at the time of 2nd date of month at 12.01.00
Charge amount= 50.00
User should be able to invoke charge correctly and get success response
For msisdn Y
at the time of 2nd date of month at 13.01.01
Charge amount= 50.00
User should get error response
Test Allpication validation
User sp invoke payment API Charge operation for msisdn X
For App1
at the time of 2nd date of month at 12.00.00
Charge amount= 50.00
User should be able to invoke charge correctly and get success response
For App2
at the time of 2nd date of month at 12.05.00
Charge amount= 50.00
User should get error response - 401 unauthorized
Test Charge limit validation
User sp invoke payment API Charge operation for App1, msisdn X
Scenario 1
at the time of 2nd date of month at 12.00.00
Charge amount= 50.00
User should be able to invoke charge correctly and get success response
Charge Amount = 0.01
User should be able to invoke charge correctly and get success response
Scenario 2
at the time of 30th date of month at 01.00.00
Charge Amount = 99.99
User should be able to invoke charge correctly and get success response
Charge Amount = 100.01
User should get error response.
Charge limit is exceeded for msisdn user X
Scenario 3
at the time of 02nd date of month at 12.00.00
Charge Amount = 25
User should be able to invoke charge correctly and get success response.
MSISDN user X is charge $25
Charge Amount = 25
User should be able to invoke charge correctly and get success response.
MSISDN user X is charge $25
at the time of 30th date of month at 00.11.59
Charge Amount = 25
User should be able to invoke charge correctly and get success response.
MSISDN user X is charge $25
Charge Amount = 25.01
User should get error response.
Charge limit is exceeded for msisdn user X
Scenario 4
at the time of 02nd date of month at 12.01.00
Charge Amount = 50
User should be able to invoke charge correctly and get success response.
MSISDN user X is charge $50
at the time of 02nd date of month at 02.01.00
Charge Amount = 51
User should get error response.
Charge limit is exceeded for msisdn user X
Test frequesncy validation
User sp invoke payment API Charge operation for App1, msisdn X
at the time of 2nd date of month at 12.00.00
Charge amount= 25.00
User should be able to invoke charge correctly and get success response
at the time of 2nd date of month at 03.01.00
Charge amount= 25.00
User should be able to invoke charge correctly and get success response
at the time of 2nd date of month at 23.59.59
Charge amount= 25.00
User should get error response.
Charge Frequency amount exceeded.
Test charge Intervals validation
User sp invoke payment API Charge operation for App1, msisdn X
at the time of 3rd date of month at 12.00.00
Charge amount= 25.00
User should get error response.
Not in Charging Interval.
at the time of 2nd date of month at 09.01.00
Charge amount= 25.00
User should get error response.
Not in Charging Interval.
Timezone
validation
Server time is in sri lankan time
User sp invoke payment API Charge operation for App1, msisdn X
at the time of 3rd date of month at 12.01.00
Charge amount= 25.00
User should get error response.
Not in Charging Interval.
at the time of 2nd date of month at 07.01.00
Charge amount= 25.00
User should be able to invoke charge correctly and get success response
HUB token from store
User SP invoke payment API Charge operation for App1, msisdn X
User should get error response