{
  "schemaVersion": "1.0",
  "item": {
    "slug": "newman",
    "name": "Newman",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/1999AZZAR/newman",
    "canonicalUrl": "https://clawhub.ai/1999AZZAR/newman",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/newman",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=newman",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "INSTALLATION.md",
      "README.md",
      "SKILL.md",
      "references/advanced-patterns.md",
      "references/ci-cd-examples.md",
      "scripts/install-newman.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/newman"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/newman",
    "agentPageUrl": "https://openagent3.xyz/skills/newman/agent",
    "manifestUrl": "https://openagent3.xyz/skills/newman/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/newman/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Newman - Postman CLI Runner",
        "body": "Newman is the command-line Collection Runner for Postman. Run and test Postman collections directly from the command line with powerful reporting, environment management, and CI/CD integration."
      },
      {
        "title": "Installation",
        "body": "# Global install (recommended)\nnpm install -g newman\n\n# Project-specific\nnpm install --save-dev newman\n\n# Verify\nnewman --version"
      },
      {
        "title": "Basic Execution",
        "body": "# Run collection\nnewman run collection.json\n\n# With environment\nnewman run collection.json -e environment.json\n\n# With globals\nnewman run collection.json -g globals.json\n\n# Combined\nnewman run collection.json -e env.json -g globals.json -d data.csv"
      },
      {
        "title": "1. Export from Postman Desktop",
        "body": "In Postman:\n\nCollections → Click \"...\" → Export\nChoose \"Collection v2.1\" (recommended)\nSave as collection.json\n\nEnvironment:\n\nEnvironments → Click \"...\" → Export\nSave as environment.json"
      },
      {
        "title": "2. Run Tests",
        "body": "# Basic run\nnewman run collection.json\n\n# With detailed output\nnewman run collection.json --verbose\n\n# Fail on errors\nnewman run collection.json --bail\n\n# Custom timeout (30s)\nnewman run collection.json --timeout-request 30000"
      },
      {
        "title": "3. Data-Driven Testing",
        "body": "CSV format:\n\nusername,password\nuser1,pass1\nuser2,pass2\n\nRun:\n\nnewman run collection.json -d test_data.csv --iteration-count 2"
      },
      {
        "title": "4. Reporters",
        "body": "# CLI only (default)\nnewman run collection.json\n\n# HTML report\nnewman run collection.json --reporters cli,html --reporter-html-export report.html\n\n# JSON export\nnewman run collection.json --reporters cli,json --reporter-json-export results.json\n\n# JUnit (for CI)\nnewman run collection.json --reporters cli,junit --reporter-junit-export junit.xml\n\n# Multiple reporters\nnewman run collection.json --reporters cli,html,json,junit \\\n  --reporter-html-export ./reports/newman.html \\\n  --reporter-json-export ./reports/newman.json \\\n  --reporter-junit-export ./reports/newman.xml"
      },
      {
        "title": "5. Security Best Practices",
        "body": "❌ NEVER hardcode secrets in collections!\n\nUse environment variables:\n\n# Export sensitive vars\nexport API_KEY=\"your-secret-key\"\nexport DB_PASSWORD=\"your-db-pass\"\n\n# Newman auto-loads from env\nnewman run collection.json -e environment.json\n\n# Or pass directly\nnewman run collection.json --env-var \"API_KEY=secret\" --env-var \"DB_PASSWORD=pass\"\n\nIn Postman collection tests:\n\n// Use {{API_KEY}} in requests\npm.request.headers.add({key: 'Authorization', value: `Bearer {{API_KEY}}`});\n\n// Access in scripts\nconst apiKey = pm.environment.get(\"API_KEY\");\n\nEnvironment file (environment.json):\n\n{\n  \"name\": \"Production\",\n  \"values\": [\n    {\"key\": \"BASE_URL\", \"value\": \"https://api.example.com\", \"enabled\": true},\n    {\"key\": \"API_KEY\", \"value\": \"{{$processEnvironment.API_KEY}}\", \"enabled\": true}\n  ]\n}\n\nNewman will replace {{$processEnvironment.API_KEY}} with the environment variable."
      },
      {
        "title": "CI/CD Integration",
        "body": "See references/ci-cd-examples.md for GitHub Actions, GitLab CI, and Jenkins examples."
      },
      {
        "title": "Automated Regression Testing",
        "body": "#!/bin/bash\n# scripts/run-api-tests.sh\n\nset -e\n\necho \"Running API tests...\"\n\nnewman run collections/api-tests.json \\\n  -e environments/staging.json \\\n  --reporters cli,html,junit \\\n  --reporter-html-export ./test-results/newman.html \\\n  --reporter-junit-export ./test-results/newman.xml \\\n  --bail \\\n  --color on\n\necho \"Tests completed. Report: ./test-results/newman.html\""
      },
      {
        "title": "Load Testing",
        "body": "# Run with high iteration count\nnewman run collection.json \\\n  -n 100 \\\n  --delay-request 100 \\\n  --timeout-request 5000 \\\n  --reporters cli,json \\\n  --reporter-json-export load-test-results.json"
      },
      {
        "title": "Parallel Execution",
        "body": "# Install parallel runner\nnpm install -g newman-parallel\n\n# Run collections in parallel\nnewman-parallel -c collection1.json,collection2.json,collection3.json \\\n  -e environment.json \\\n  --reporters cli,html"
      },
      {
        "title": "Custom Scripts",
        "body": "Pre-request Script (in Postman):\n\n// Generate dynamic values\npm.environment.set(\"timestamp\", Date.now());\npm.environment.set(\"nonce\", Math.random().toString(36).substring(7));\n\nTest Script (in Postman):\n\n// Status code check\npm.test(\"Status is 200\", function() {\n    pm.response.to.have.status(200);\n});\n\n// Response body validation\npm.test(\"Response has user ID\", function() {\n    const jsonData = pm.response.json();\n    pm.expect(jsonData).to.have.property('user_id');\n});\n\n// Response time check\npm.test(\"Response time < 500ms\", function() {\n    pm.expect(pm.response.responseTime).to.be.below(500);\n});\n\n// Set variable from response\npm.environment.set(\"user_token\", pm.response.json().token);"
      },
      {
        "title": "SSL/TLS Configuration",
        "body": "# Disable SSL verification (dev only!)\nnewman run collection.json --insecure\n\n# Custom CA certificate\nnewman run collection.json --ssl-client-cert-list cert-list.json\n\n# Client certificates\nnewman run collection.json \\\n  --ssl-client-cert client.pem \\\n  --ssl-client-key key.pem \\\n  --ssl-client-passphrase \"secret\""
      },
      {
        "title": "Error Handling",
        "body": "# Continue on errors\nnewman run collection.json --suppress-exit-code\n\n# Fail fast\nnewman run collection.json --bail\n\n# Custom error handling in wrapper\n#!/bin/bash\nnewman run collection.json -e env.json\nEXIT_CODE=$?\n\nif [ $EXIT_CODE -ne 0 ]; then\n    echo \"Tests failed! Exit code: $EXIT_CODE\"\n    # Send alert, rollback deployment, etc.\n    exit 1\nfi"
      },
      {
        "title": "Troubleshooting",
        "body": "Collection not found:\n\nUse absolute paths: newman run /full/path/to/collection.json\nCheck file permissions: ls -la collection.json\n\nEnvironment variables not loading:\n\nVerify syntax: {{$processEnvironment.VAR_NAME}}\nCheck export: echo $VAR_NAME\nUse --env-var flag as fallback\n\nTimeout errors:\n\nIncrease timeout: --timeout-request 60000 (60s)\nCheck network connectivity\nVerify API endpoint is reachable\n\nSSL errors:\n\nDevelopment: Use --insecure temporarily\nProduction: Add CA cert with --ssl-extra-ca-certs\n\nMemory issues (large collections):\n\nReduce iteration count\nSplit collection into smaller parts\nIncrease Node heap: NODE_OPTIONS=--max-old-space-size=4096 newman run ..."
      },
      {
        "title": "Best Practices",
        "body": "Version Control: Store collections and environments in Git\nEnvironment Separation: Separate files for dev/staging/prod\nSecret Management: Use environment variables, never commit secrets\nMeaningful Names: Use descriptive collection and folder names\nTest Atomicity: Each request should test one specific thing\nAssertions: Add comprehensive test scripts to every request\nDocumentation: Use Postman descriptions for context\nCI Integration: Run Newman in CI pipeline for every PR\nReports: Archive HTML reports for historical analysis\nTimeouts: Set reasonable timeout values for production APIs"
      },
      {
        "title": "References",
        "body": "CI/CD Examples: See references/ci-cd-examples.md\nAdvanced Patterns: See references/advanced-patterns.md\nOfficial Docs: https://learning.postman.com/docs/running-collections/using-newman-cli/command-line-integration-with-newman/"
      }
    ],
    "body": "Newman - Postman CLI Runner\n\nNewman is the command-line Collection Runner for Postman. Run and test Postman collections directly from the command line with powerful reporting, environment management, and CI/CD integration.\n\nQuick Start\nInstallation\n# Global install (recommended)\nnpm install -g newman\n\n# Project-specific\nnpm install --save-dev newman\n\n# Verify\nnewman --version\n\nBasic Execution\n# Run collection\nnewman run collection.json\n\n# With environment\nnewman run collection.json -e environment.json\n\n# With globals\nnewman run collection.json -g globals.json\n\n# Combined\nnewman run collection.json -e env.json -g globals.json -d data.csv\n\nCore Workflows\n1. Export from Postman Desktop\n\nIn Postman:\n\nCollections → Click \"...\" → Export\nChoose \"Collection v2.1\" (recommended)\nSave as collection.json\n\nEnvironment:\n\nEnvironments → Click \"...\" → Export\nSave as environment.json\n2. Run Tests\n# Basic run\nnewman run collection.json\n\n# With detailed output\nnewman run collection.json --verbose\n\n# Fail on errors\nnewman run collection.json --bail\n\n# Custom timeout (30s)\nnewman run collection.json --timeout-request 30000\n\n3. Data-Driven Testing\n\nCSV format:\n\nusername,password\nuser1,pass1\nuser2,pass2\n\n\nRun:\n\nnewman run collection.json -d test_data.csv --iteration-count 2\n\n4. Reporters\n# CLI only (default)\nnewman run collection.json\n\n# HTML report\nnewman run collection.json --reporters cli,html --reporter-html-export report.html\n\n# JSON export\nnewman run collection.json --reporters cli,json --reporter-json-export results.json\n\n# JUnit (for CI)\nnewman run collection.json --reporters cli,junit --reporter-junit-export junit.xml\n\n# Multiple reporters\nnewman run collection.json --reporters cli,html,json,junit \\\n  --reporter-html-export ./reports/newman.html \\\n  --reporter-json-export ./reports/newman.json \\\n  --reporter-junit-export ./reports/newman.xml\n\n5. Security Best Practices\n\n❌ NEVER hardcode secrets in collections!\n\nUse environment variables:\n\n# Export sensitive vars\nexport API_KEY=\"your-secret-key\"\nexport DB_PASSWORD=\"your-db-pass\"\n\n# Newman auto-loads from env\nnewman run collection.json -e environment.json\n\n# Or pass directly\nnewman run collection.json --env-var \"API_KEY=secret\" --env-var \"DB_PASSWORD=pass\"\n\n\nIn Postman collection tests:\n\n// Use {{API_KEY}} in requests\npm.request.headers.add({key: 'Authorization', value: `Bearer {{API_KEY}}`});\n\n// Access in scripts\nconst apiKey = pm.environment.get(\"API_KEY\");\n\n\nEnvironment file (environment.json):\n\n{\n  \"name\": \"Production\",\n  \"values\": [\n    {\"key\": \"BASE_URL\", \"value\": \"https://api.example.com\", \"enabled\": true},\n    {\"key\": \"API_KEY\", \"value\": \"{{$processEnvironment.API_KEY}}\", \"enabled\": true}\n  ]\n}\n\n\nNewman will replace {{$processEnvironment.API_KEY}} with the environment variable.\n\nCommon Use Cases\nCI/CD Integration\n\nSee references/ci-cd-examples.md for GitHub Actions, GitLab CI, and Jenkins examples.\n\nAutomated Regression Testing\n#!/bin/bash\n# scripts/run-api-tests.sh\n\nset -e\n\necho \"Running API tests...\"\n\nnewman run collections/api-tests.json \\\n  -e environments/staging.json \\\n  --reporters cli,html,junit \\\n  --reporter-html-export ./test-results/newman.html \\\n  --reporter-junit-export ./test-results/newman.xml \\\n  --bail \\\n  --color on\n\necho \"Tests completed. Report: ./test-results/newman.html\"\n\nLoad Testing\n# Run with high iteration count\nnewman run collection.json \\\n  -n 100 \\\n  --delay-request 100 \\\n  --timeout-request 5000 \\\n  --reporters cli,json \\\n  --reporter-json-export load-test-results.json\n\nParallel Execution\n# Install parallel runner\nnpm install -g newman-parallel\n\n# Run collections in parallel\nnewman-parallel -c collection1.json,collection2.json,collection3.json \\\n  -e environment.json \\\n  --reporters cli,html\n\nAdvanced Features\nCustom Scripts\n\nPre-request Script (in Postman):\n\n// Generate dynamic values\npm.environment.set(\"timestamp\", Date.now());\npm.environment.set(\"nonce\", Math.random().toString(36).substring(7));\n\n\nTest Script (in Postman):\n\n// Status code check\npm.test(\"Status is 200\", function() {\n    pm.response.to.have.status(200);\n});\n\n// Response body validation\npm.test(\"Response has user ID\", function() {\n    const jsonData = pm.response.json();\n    pm.expect(jsonData).to.have.property('user_id');\n});\n\n// Response time check\npm.test(\"Response time < 500ms\", function() {\n    pm.expect(pm.response.responseTime).to.be.below(500);\n});\n\n// Set variable from response\npm.environment.set(\"user_token\", pm.response.json().token);\n\nSSL/TLS Configuration\n# Disable SSL verification (dev only!)\nnewman run collection.json --insecure\n\n# Custom CA certificate\nnewman run collection.json --ssl-client-cert-list cert-list.json\n\n# Client certificates\nnewman run collection.json \\\n  --ssl-client-cert client.pem \\\n  --ssl-client-key key.pem \\\n  --ssl-client-passphrase \"secret\"\n\nError Handling\n# Continue on errors\nnewman run collection.json --suppress-exit-code\n\n# Fail fast\nnewman run collection.json --bail\n\n# Custom error handling in wrapper\n#!/bin/bash\nnewman run collection.json -e env.json\nEXIT_CODE=$?\n\nif [ $EXIT_CODE -ne 0 ]; then\n    echo \"Tests failed! Exit code: $EXIT_CODE\"\n    # Send alert, rollback deployment, etc.\n    exit 1\nfi\n\nTroubleshooting\n\nCollection not found:\n\nUse absolute paths: newman run /full/path/to/collection.json\nCheck file permissions: ls -la collection.json\n\nEnvironment variables not loading:\n\nVerify syntax: {{$processEnvironment.VAR_NAME}}\nCheck export: echo $VAR_NAME\nUse --env-var flag as fallback\n\nTimeout errors:\n\nIncrease timeout: --timeout-request 60000 (60s)\nCheck network connectivity\nVerify API endpoint is reachable\n\nSSL errors:\n\nDevelopment: Use --insecure temporarily\nProduction: Add CA cert with --ssl-extra-ca-certs\n\nMemory issues (large collections):\n\nReduce iteration count\nSplit collection into smaller parts\nIncrease Node heap: NODE_OPTIONS=--max-old-space-size=4096 newman run ...\nBest Practices\nVersion Control: Store collections and environments in Git\nEnvironment Separation: Separate files for dev/staging/prod\nSecret Management: Use environment variables, never commit secrets\nMeaningful Names: Use descriptive collection and folder names\nTest Atomicity: Each request should test one specific thing\nAssertions: Add comprehensive test scripts to every request\nDocumentation: Use Postman descriptions for context\nCI Integration: Run Newman in CI pipeline for every PR\nReports: Archive HTML reports for historical analysis\nTimeouts: Set reasonable timeout values for production APIs\nReferences\nCI/CD Examples: See references/ci-cd-examples.md\nAdvanced Patterns: See references/advanced-patterns.md\nOfficial Docs: https://learning.postman.com/docs/running-collections/using-newman-cli/command-line-integration-with-newman/"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/1999AZZAR/newman",
    "publisherUrl": "https://clawhub.ai/1999AZZAR/newman",
    "owner": "1999AZZAR",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/newman",
    "downloadUrl": "https://openagent3.xyz/downloads/newman",
    "agentUrl": "https://openagent3.xyz/skills/newman/agent",
    "manifestUrl": "https://openagent3.xyz/skills/newman/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/newman/agent.md"
  }
}