API testing framework
Project description
apirun
A simple API test framework for doing api test easy.
How to Use It?
Open Console, type apirun --help
, you will see some parameters
-f TESTCASEFILE, --testcasefile=TESTCASEFILE
TESTCASEFILE is .xls format, you can write testcases in it.
-F TESTCASEFOLDER, --testcasefolder=TESTCASEFOLDER
TESTCASEFOLDER contains TESTCASEFILEs, you need write
folder
orfolder\\
, never\\folder
; default is None, which means to scan the current work dir.
--report=REPORT
Folder to store test results, default is
report
.
--demo
Make demo xls in working dir.
-V, --version
Show the version.
sending email after finishing api test
--from
the user who sends email, will cover the info in email.json
--to
the user(s) who receive email, will cover the info in email.json
--subject
the email subject, will cover the info in email.json, default is
API Test Result
--host
the email host, will cover the info in email.json, is required no metter in json file or in parameter
--pt, --pressuretest
run pressure test according to the xls, supported by locustio
--pt-demo
make PT demo file in current folder
--pt-not-run
just make locustfile according to the xls
Pending
- More api test situations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for apirun-0.2.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c83d1f4474d88f9ececfb4c1501f0e1f66371e0b1dfef752cc67fb40d2d4bb |
|
MD5 | 200e27c5c5b9aecdf05e6ece22695b66 |
|
BLAKE2b-256 | 656c01760aa985f849562dc3f200a39fa7f4bf3e20b262b739704aff5d7ca2a2 |