Skip to content

API Performance Checker v1.0.4

Latest

Choose a tag to compare

@Daufm Daufm released this 04 Oct 12:00

Release v1.0.4

Summary

This release publishes the CLI api-performance-checker to npm and adds config-file support, improved output formatting, and JSON result export.

Highlights

  • Config file support (--config <path>) to load test options from JSON
  • Support for custom headers and HTTP method via --headers and --method
  • Output results to a JSON file with -o, --output (human readable and machine-friendly)
  • README updated with usage and install instructions

Changelog (suggested)

  • Fixed: Do not treat results.json as a default config file (read config only when --config provided)
  • Added: --method option to control HTTP method
  • Added: Output JSON file format and saved results when --output provided
  • Updated: README with badges, Quick Start, and Config examples

Installation

Global (CLI):

npm install -g api-performance-checker

Local (project):

npm install api-performance-checker --save

Example usage

Run with a config file:

apitest --config ./config.json

Quick one-off:

apitest -u https://jsonplaceholder.typicode.com/posts -n 20 -c 5 -o results.json

Files changed

  • Api_performance/ApiPerformance.js — CLI program: config handling, headers, method, JSON output
  • README.md — docs, badges and Quick Start
  • package.json — metadata and keywords