Skip to content
Fernando Simbolon edited this page Jul 21, 2017 · 7 revisions

Welcome to the rdp-test wiki!

Intro & Overview

List of all activities done and test-cases for Integration Test RDP API. RDP API provide payment mechanism to merchant, read more at http://dev.reddotpayment.com/

Testing Scope

Scope of the test

In Scope

  • Payment Authorization Transaction
  • Payment Sale Transaction

Out of Scope

  • Performance test

Metrics

Test-case planned Test-case executed Test-case passed Test-case failed
13 13 13 0

Test Cases

Test-case report

Generated test report can be found in : https://cdn.rawgit.com/bolon/rdp-test/e91f7867/Test%20Results%20-%20TestSuite.html

Test-case Description

Test-case id Description Expected result
APITest.test1SigLengthValid Check if the signature generated is in correct length Signature generated is 128 char length
APITest.test2CallSuccess Check if request to API Endpoint is received Response code from API : 0 (success)
APITest.test3CallFailedSignature Check if request to API Endpoint is failed by sending different signed data and the original Response code from API : -1003 (invalid signature)
APITest.test4CallFailedSignature Check if request to API Endpoint is failed by sending false signature value Response code from API : -1013 (signature length exceeded)
APITest.test5AuthenticateResponseSig Check the sender of response by sign the response result locally and compare with signature sent. Signature matched.
UITest.test1SuccessOpenPaymentPage Check the payment url can be opened Title of page contains String : RedDotPaymentPage. Source contains String : Transaction Details
UITest.test2SuccessToBackUrl Check the back url send from API request is working by clicking Back button in page generated. User redirected to back url in request
UITest.test3FailedToProceedWithR.. Check user can not proceed without fill the form after click Pay Now button. User stay in the payment page.
UITest.test4CheckInfoSendCorrect Check if Info in payment details is correctly shown as in previous request User shown the correct value from previous request
UITest.test5CheckAtLeast3CharCCV Check that CCV is minimum in 3 character by provide 2 character CCV Error notification shown
UITest.test6PaymentFailed Check that payment failed by provide false card number Notification received : response_msg : failed, response_code : -1
UITest.test7PaymentSuccess Check that payment is success by provide valid data Notification received : response_msg : successful, response_code : 0
UITest.test8PaymentResultVerify Check that redirect is come from RDP Server and safe to store the payment result Signature in response query is equals with the one that generated manually using response fields

Exit Result

All test case executed & passed

Conclusion

All test cases passed and can be integrated using simple merchant service.