← Back to work

API Automation · Fintech · Business Banking

API Automation for
Business Banking

Architecting a fully automated API testing framework for a critical business banking platform — transitioning from manual Postman execution to a CLI-driven pipeline integrated with Jenkins.

RoleQA Automation Engineer / SDET
DomainFintech / Business Banking
Tech StackPostman · Newman · JavaScript · Jenkins
PostmanNewmanJavaScriptJenkins
newman run banking-api.postman_collection.json

authentication

POST /auth/login 201 84ms

GET /accounts/balance 200 41ms

transactions

POST /transactions/transfer 201 97ms

GET /transactions/history 200 36ms

4 passing· 0 failing · 258ms
Newman CLI
Execution Engine
120+
Test Cases
6
API Domains

The Challenge

Manual verification was blocking every release.

For the business banking platform, manual API verification was creating a bottleneck in the release cycle. While individual endpoint testing was functional, the lack of pipeline integration meant regressions could slip through during rapid deployments. The existing test scripts were also highly inefficient — constantly creating redundant test data that bloated the environment and caused pipeline timeouts when we attempted to automate them.

Architecture

From authoring to pipeline gate.

Authoring
Postman
Collections + JS scripts
CLI Execution
Newman
Environment vars · Auth tokens
CI/CD Pipeline
Jenkins
Build triggers · HTML + JUnit reports

The Solution

Three pillars of a scalable testing strategy.

01

CLI-Driven Execution via Newman

To move API testing out of a local GUI and into a scalable environment, I transitioned our Postman collections to be executed via Newman. I authored modular JavaScript test scripts within Postman to handle dynamic environment variables, authentication tokens, and complex assertions — ensuring the collections were completely autonomous and ready for pipeline execution.

NewmanPostman collectionsenvironment variablesauthentication tokens
02

Algorithmic Data Generation Optimisation

To drastically reduce test suite execution time and prevent database bloat, I completely re-architected the automation script logic. Fresh data creation was restricted to two strictly defined testing scenarios rather than triggering before every single endpoint call. This logic shift cut API test execution time to a fraction of its original length, making it viable for continuous integration.

data generationconditional logicendpoint isolationdb bloat prevention
03

Jenkins CI/CD Integration

I integrated the optimised Newman test runs directly into Jenkins pipelines. By configuring automated build triggers, the API suite now runs concurrently with deployments. Custom HTML and JUnit reporting gives developers immediate, parsed feedback on any endpoint failures — without manually digging through console logs.

Jenkinsbuild triggersJUnit reportingHTML reports

The Impact

Faster pipelines. Zero regressions.

Pipeline Velocity

Targeted data-generation logic removed severe bottlenecks, allowing Newman test suites to run seamlessly in Jenkins without timeout failures.

Continuous Quality

Replaced ad-hoc manual checks with automated, deterministic pipeline gates — ensuring zero critical API regressions reached production.

Technologies

PostmanNewmanJavaScriptJenkinsCI/CDJUnitHTML ReportsFintechBusiness Banking