Skip to content

vidner/rest-mark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-mark

benchmark rest api with python requests

Install Dependencies

$ pip3 install -r requirements.txt

Usage

$ python3 rest-mark.py --help
Usage: rest-mark.py [OPTIONS] METHOD

  available methods : get,post,put,delete

Options:
  -n, --count INTEGER   number of request
  -u, --url TEXT        api url  [required]
  -s, --single          single thread, by default is multi-thread
  -w, --worker INTEGER  default worker is 10
  -d, --data TEXT       in json format
  -h, --headers TEXT    in json format
  --help                Show this message and exit.

Example

Alt text

About

benchmark rest api with python requests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages