2017 © Pedro Peláez
 

project vex

A small app that sends some load to a web application.

image

vamsiikrishna/vex

A small app that sends some load to a web application.

  • Thursday, August 31, 2017
  • by vamsiikrishna
  • Repository
  • 5 Watchers
  • 146 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

vex is a small PHP app that sends some load to a web application, (*1)

vex - PHP based HTTP load generator, (*2)

Installation

Download the latest release from GitHub Releases., (*3)

Or require globally using Composer with composer global require vamsiikrishna/vex. This will automatically add the vex binary to your path., (*4)

Usage

Usage:
vex [options] [--] <url> [<n>] [<c>], (*5)

Arguments:, (*6)

  url                      The URL to which the requests should be sent
  n                        Number of requests to be made [default: 1]
  c                        Concurrency [default: 1]

Options:, (*7)

  -m, --method[=METHOD]    HTTP Method [default: "GET"]
  -H, --headers[=HEADERS]  Headers (multiple values allowed)
  -d, --body[=BODY]        Request body

Example:, (*8)

  • 1000 Get requests with 10 concurrency to http://127.0.0.1:8000

./vex.phar vex http://127.0.0.1:8000 1000 10, (*9)

  • 1000 POST requests with 10 concurrency to http://127.0.0.1:8000 with custom headers and body
./vex.phar vex http://127.0.0.1:8000 1000 10 \
-m "POST" \
-H "accept:application/json, text/plain, */*" \
-H "accept-language:en-IN,en-GB;q=0.8,en-US;q=0.6,en;q=0.4" \
-d "{\"message\": \"Hello world! Your JustAPIs instance is running correctly.\"}"

The Versions

31/08 2017

dev-master

9999999-dev

A small app that sends some load to a web application.

  Sources   Download

MIT

The Requires

 

by Vamsi Krishna B