npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

apidog-reporter-allure

v1.3.0

Published

An adapter for apidog proving reports in allure format

Readme

apidog-reporter-allure

An Apidog CLI reporter plugin that writes results in Allure format.

Each test run produces structured XML in ./allure-results/, which Allure then renders into an interactive HTML report with per-step request/response details, assertion results, and script error traces.


Prerequisites

| Requirement | Notes | |---|---| | Node.js ≥ 6 | | | Apidog CLI | npm install -g apidog-cli | | Allure CLI | Installation guide — needed to generate the HTML report |


Installation

npm install -g apidog-reporter-allure

Quick start

# Run a test scenario and collect Allure results
apidog run --access-token APS-xxxxx -t 123456 -r cli,allure

# Generate and open the HTML report
allure generate allure-results --clean -o allure-report
allure open allure-report

Results are written to ./allure-results/ in the working directory where the CLI is invoked.


apidogExport.json

The reporter enriches every test with its folder path, tags, and numeric ID from the Apidog project tree. Place an apidogExport.json file in the working directory before running the CLI. Export it from Apidog via Settings → Export → JSON.

Without this file the reporter still produces valid Allure results — it just omits path-based labels (Epic / Feature / Story / Package).


Reporter options

Pass options after -r cli,allure using --reporter-allure-*:

| Option | Type | Default | Description | |---|---|---|---| | folderId | number | — | When set, resolves the test path by folder ID instead of collection name | | issueLinkLabel | string | Related | Allure label name used for issue tracker tags (see Tags below) | | issueLinkPattern | string | LB-\d+ | Regex pattern that identifies issue tracker tags (see Tags below) |

Example:

apidog run --access-token APS-xxxxx -t 123456 -r cli,allure \
  --reporter-allure-folderId 789 \
  --reporter-allure-issueLinkLabel TMS \
  --reporter-allure-issueLinkPattern "PROJ-\d+"

Tags

Tags defined on a test case in apidogExport.json are interpreted as follows:

| Tag format | Example | Effect | |---|---|---| | Matches issueLinkPattern | PROJ-42 | Added as an issue link label (label name controlled by issueLinkLabel option) | | Key=Value | Feature=Payments | Added as an Allure label — overrides the path-derived Epic / Feature / Story / Component labels | | Anything else | smoke | Added as a plain Allure tag (lowercased) |

The default pattern LB-\d+ matches tags like LB-42. Override it to match your own tracker prefix:

--reporter-allure-issueLinkPattern "PROJ-\d+"   # Jira project key
--reporter-allure-issueLinkPattern "[A-Z]+-\d+" # any uppercase prefix

The Component label defaults to Control-plane when no Component=… tag is present.


CSV iteration data (data-driven runs)

When Apidog runs a scenario with CSV iteration data, the reporter creates one Allure test per data row. The test name is {scenario name}. {row name} and each test receives the CSV column values as parameters.


Allure TestOps integration

Set the following environment variables to automatically link each test result to an Allure TestOps test case (creating it if it does not exist):

| Variable | Description | |---|---| | ALLURE_ENDPOINT | TestOps server URL, e.g. https://allure.example.com | | ALLURE_TOKEN | API token | | ALLURE_PROJECT_ID | Numeric project ID |

When all three are set, the reporter authenticates via OAuth, searches for a test case matching the test name, creates one if none is found, and attaches the resulting ID as the ALLURE_ID label.


Report structure

Each Allure test maps to one Apidog scenario execution and contains:

  • Parameters — environment name and CSV iteration variables
  • Description — list of HTTP calls in the scenario (METHOD /path)
  • Steps — one top-level step per execution item:
    • HTTP steps include request headers/body, response status/headers/body, schema validation, response code validation, and per-assertion sub-steps
    • Script steps surface individual script errors as failed sub-steps
  • Labels — framework, package path, epic/feature/story hierarchy, component, tags, and issue links derived from the folder tree and test tags

Building from source

npm install
npm run build   # transpiles TypeScript via Babel and installs globally
npm run lint    # ESLint

Type-checking is separate from the build (Babel is used for transpilation):

npx tsc --noEmit

License

Apache 2.0 — © Jury Skvortsov