Skip to content

Automated API testing suite for crypto price endpoints using Postman, Newman, and GitHub Actions.

Notifications You must be signed in to change notification settings

Tryhard365/postman-crypto-api-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

API Testing

Crypto API Automated Testing Suite

This repo demonstrates automated API tests for live Bitcoin and Ethereum price endpoints using Postman, Newman CLI, and continuous integration with GitHub Actions.

​Features

API tests for valid and invalid crypto endpoints using the CoinGecko public API

Separate requests for Bitcoin and Ethereum price checks in USD, plus a multi-crypto endpoint

Negative test for invalid coin IDs to verify safe handling of bad input

Automated regression suite executed via Newman CLI

CI/CD pipeline with GitHub Actions running tests on every push and exposing status via badge

​

Usage

Download Postman and import crypto-api-tests.json.

Run tests manually in Postman, or execute them with Newman from the terminal:

bash newman run crypto-api-tests.json

To see CI results:

Fork or clone this repo

Push any change to the main branch

Open the Actions tab to view the latest workflow run and logs.

    ​

Project Structure

crypto-api-tests.json — Postman API test collection (requests, assertions, and scenarios)

.github/workflows/api-tests.yml — GitHub Actions workflow that installs Newman and runs the collection on each push.

​

Author

Michael A - QA Automation Engineer

About

Automated API testing suite for crypto price endpoints using Postman, Newman, and GitHub Actions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published