CoreCard API Automation – Case Study

THE CLIENT

Our client offers a variety of card management software and processing solutions for companies providing credit, debit, prepaid, private label, healthcare, payroll, rewards and fleet cards.

BUSINESS SCENARIO/REQUIREMENT

Our client offers multiple applications for users to access their services. Underneath these interfaces is the biller API layer which handles all the transactions and communications.

With the ever-growing APIs, our client constantly must run regression testing on the massive set of APIs and test the new APIs.

CHALLENGES

  • There is no GUI available to test the application which makes difficult to give input values – parameter combination,parameter selection, categorization and call sequencing.
  • In-depth knowledge of application internals is required to sufficiently test the API.
  • Thorough testing of APIs is time consuming, requires a learning overhead and resources to develop tools and design tests.
  • Exception Handling needs to be thoroughly tested.

SOLUTIONS

To meet above challenges, we have used Test Magic tool for Automation and following best practices

  • First & foremost, test for the functionality – the basic request-response is working consistently.
  • Group Test cases by Test category.
  • For complete Test coverage, create test cases for all possible API input combinations.
  • Test for failure and invalid parameters for how it handles unforeseen problems.
  • Parameters selection should be explicitly mentioned in the Test case itself.
  • Automated using Test Tool

TOOLS & TECHNOLOGY STACK:

  • Test Magic Tool
  • API documents
  • Postman/SoapAPI for manual testing

DIFFERENT APIS AUTOMATED:

  • Search API’s
  • Card Creation API’s
  • Transaction API’s
  • Activity API’s

SCREENSHOTS