Skip to content

lice-ernier/Postman-Collection-Tests-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

Postman Collection Tests

This project provides a lightweight environment for running Postman-style test collections using a Python-based automation template. It’s built for developers who want a cheaper, flexible alternative for executing their test suites without relying on heavyweight infrastructure.

Bitbash Banner

Telegram Β  WhatsApp Β  Gmail Β  Website

Created by Bitbash, built to showcase our approach to Scraping and Automation!
If you are looking for Postman Collection Tests you've just found your team β€” Let's Chat. πŸ‘†πŸ‘†

Introduction

The Postman Collection Tests tool serves as a starter framework for automating API test execution. It gives you control of how Postman-like tests run inside a Python environment, allowing you to integrate custom logic, add validations, and sync results with other systems.

Why This Template Helps Developers

  • Eliminates the overhead of maintaining a full Postman runtime.
  • Lets you extend test logic using Python libraries and tooling.
  • Supports reusable workflows for API monitoring and validation.
  • Designed for cost-efficient, large-scale automated test execution.

Features

Feature Description
Python-Based Test Runner Insert custom test logic directly into the provided async template.
Apify SDK Integration Use queues, storage, and structured datasets to organize test flows.
Flexible Test Logic Combine API calls, assertions, and workflows as needed.
Easy Expansion Ideal foundation for building advanced API test frameworks.
Consistent Dataset Output Store execution results in structured form for logs or dashboards.

What Data This Scraper Extracts

Field Name Field Description
testName Name of the test collection or individual test.
endpoint API endpoint under evaluation.
status Pass/Fail status after execution.
responseTime Measured latency of the request.
responseCode The actual HTTP response status.
metadata Any additional information attached to the test run.

Example Output

[
  {
    "testName": "User Auth Check",
    "endpoint": "https://api.example.com/login",
    "status": "passed",
    "responseTime": 182,
    "responseCode": 200,
    "metadata": {
      "method": "POST",
      "payload": {"email": "test@example.com"}
    }
  }
]

Directory Structure Tree

Postman Collection Tests/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ runner/
β”‚   β”‚   β”œβ”€β”€ test_executor.py
β”‚   β”‚   β”œβ”€β”€ assertion_engine.py
β”‚   β”‚   └── request_client.py
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”œβ”€β”€ logger.py
β”‚   β”‚   β”œβ”€β”€ dataset_writer.py
β”‚   β”‚   └── config_loader.py
β”‚   └── config/
β”‚       └── settings.example.json
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ sample_collection.json
β”‚   └── templates/
β”‚       └── sample_test_template.py
β”œβ”€β”€ data/
β”‚   └── sample_output.json
β”œβ”€β”€ requirements.txt
└── README.md

Use Cases

  • API Developers run ongoing validation tests during development cycles.
  • QA Engineers automate regression suites and track failures.
  • DevOps Teams integrate lightweight test runners in CI/CD pipelines.
  • SaaS Platforms monitor API uptime and response consistency.
  • Test Automation Engineers build custom frameworks without vendor lock-in.

FAQs

Is this a full Postman runtime?
No. It’s a flexible template for running Postman-like tests using Python.

Can I import existing Postman collections?
Yesβ€”convert collections into JSON and process them using your custom test executor.

Does it support async workflows?
The template is async-ready and supports concurrent test execution.

Where are the test results stored?
All outputs are saved in structured datasets, ready for export or analysis.


Performance Benchmarks and Results

Primary Metric:
Runs light to medium API test suites in seconds with minimal compute overhead.

Reliability Metric:
Consistent execution flow using Apify SDK queues and retries.

Efficiency Metric:
Low-cost executionβ€”optimized for batches of 1,000+ test events.

Quality Metric:
Produces clean, structured logs suitable for debugging, dashboards, and compliance reporting.


Book a Call Watch on YouTube

Review 1

"Bitbash is a top-tier automation partner, innovative, reliable, and dedicated to delivering real results every time."

Nathan Pennington
Marketer
β˜…β˜…β˜…β˜…β˜…

Review 2

"Bitbash delivers outstanding quality, speed, and professionalism, truly a team you can rely on."

Eliza
SEO Affiliate Expert
β˜…β˜…β˜…β˜…β˜…

Review 3

"Exceptional results, clear communication, and flawless delivery.
Bitbash nailed it."

Syed
Digital Strategist
β˜…β˜…β˜…β˜…β˜…

Releases

No releases published

Packages

No packages published