कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

newman

1999azzar द्वारा

DevOps & Cloud
498clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Automated API testing with Postman collections via Newman CLI.

विवरण

यह स्किल क्या करती है

Newman is the command-line runner for Postman collections. It executes API tests from exported collection files with support for environments, data-driven iteration, and multiple report formats. Runs anywhere Node.js is available, including CI/CD pipelines.

Unlike running tests manually in the Postman desktop app, Newman enables fully headless, scriptable execution that integrates directly into CI/CD pipelines without any GUI dependency.

इसे कब इस्तेमाल करें

  • Running Postman API tests automatically on every pull request
  • Generating HTML and JUnit reports from collection runs for test dashboards
  • Data-driven testing across multiple user credentials from a CSV file
  • Regression testing API endpoints before deploying to staging
  • Load testing an endpoint with high iteration counts and custom request delays

उदाहरण वर्कफ़्लो

इनपुट

User asks: Run my Postman collection against staging and produce a test report

एजेंट
  1. 1

    Export collection as collection.json and staging environment as staging.json from Postman desktop

  2. 2

    Run: newman run collection.json -e staging.json --reporters cli,html,junit

  3. 3

    Add output paths: --reporter-html-export ./reports/newman.html --reporter-junit-export ./reports/newman.xml --bail

  4. 4

    Check exit code and surface failed tests from CLI output

आउटपुट

HTML report at ./reports/newman.html and JUnit XML at ./reports/newman.xml with pass/fail status per request

आवश्यकताएँ

  • newman CLI (npm install -g newman)

इंस्टॉलेशन

clawhub install 1999azzar/newman

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक