Notoriously Problematic Merge

    @clobbr/cli

    1.12.3 • Public • Published

    clobbr grid logo

    Clobbr - API speed test
    clobbr.app
    get @clobbr/cli on npm

    @clobbr/cli

    Test your api endpoints to see how well they perform under multiple requests (clobber your apis!), in sequence or parallel.

    👉 See cli usage examples here ↗️

    Use this cli tool from your favorite shell or integrate with your CI server:

    CircleCI integration config Travis CI integration config AppVeyor CI integration config

    See more ci samples ↗️

    Basic usage

    npx @clobbr/cli run --url "https://github.com"

    See more examples here ↗️

    Options

    Options:
      -V, --version   output the version number
      -h, --help      display help for command
    
    Commands:
      run [options]   Test an api endpoint/url (<url>), Valid urls begin with http(s)://
      help [command]  display help for command
    

    @clobbr/cli run

    Usage: clobbr run [options]
    
    Test an api endpoint/url (<url>), Valid urls begin with http(s)://
    
    Options:
      -u, --url <url>                     url to test
      -m, --method <method>               request method (verb) to use. (default: "get")
      -i, --iterations <iterations>       number of requests to perform. (default: "10")
      -h, --headersPath <headersPath>     path to headers file (json), to add as request headers.
      -d, --dataPath <dataPath>           path to data file (json), to add as request body.
      -p, --parallel                      run requests in parallel. (default: false)
      -c, --chart                         display results as a chart. (default: true)
      -t, --table <table>                 type of table to display for the visual output format: (none, compact, full).
                                          (default: "none")
      -of, --outputFormat <outputFormat>  output format: (visual, csv, yaml, json). (default: "visual")
      -out, --outputFile <outputFile>     if option set the result will be output as a file. Can optionally pass a filename to
                                          use with this option. Outputs as json if no output format is specified. (default:
                                          false)
      -ck, --checks <checks...>           checks to be made on the results. Can have multiple values. Available checks: mean
                                          (max ms), median (max ms), stdDev (max ms), q5 (max ms), q50 (max ms), q95 (max ms),
                                          q99 (max ms), pctOfSuccess (0-100). (default: false)
      --help                              display help for command
    

    Clobbr icon

    Keywords

    none

    Install

    npm i @clobbr/cli

    DownloadsWeekly Downloads

    667

    Version

    1.12.3

    License

    MIT

    Unpacked Size

    1.65 MB

    Total Files

    38

    Last publish

    Collaborators

    • mindrudan