Booting test runner
Loading Playwright suites
Spinning up environments
All checks passed
Back to portfolio

API Testing

Postman collections that validate integrations

Structured collections with environments and assertions — validating endpoints for functionality, integration, and regression.

80%

API defects reduced

Broad

Endpoints covered

Postman + Newman

Runner

Collection

Hospita — Integration
POSTAuth / Login
GETPatient / Get by MRN
POSTSEP / Verify BPJS
PUTRekam Medis / Update
GETClaim / Worklist
POST · SEP / Verify BPJS
POST{{baseUrl}}/sep/2.0/insert Send
Body · raw · JSON
{
"noKartu": "0001234567890",
"tglSep": "{{today}}",
"poliTujuan": "INT",
"user": "{{qaUser}}"
}
Response
200 OK312 ms1.2 KB
{
"metaData": { "code": "200", "message": "Sukses" },
"response": {
"sep": {
"noSep": "0301R0011124V000123",
"peserta": { "nama": "BUDI SANTOSO" }
}
}
}

Tests & assertions

Tests tab
pm.test("status is 200", () => {
pm.response.to.have.status(200);
});
pm.test("SEP number returned", () => {
const b = pm.response.json();
pm.expect(b.response.sep.noSep).to.be.a('string');
});
PASS · status is 200
PASS · SEP number returned

Environment

Hospita · Staging
VariableValue
baseUrlhttps://staging.hospita.local/api
qaUserqa.automation
token••••••••••••••••
secret
today{{$isoTimestamp}}