Perform SOAP, REST and UI / Feature tests
Installation
You can download and install the latest version of this software from the Python package index (PyPI) as follows::
pip install --upgrade testly
Usage
python -m testly --help=
python -m testly --command <command> [Options]
or
python -m testly -c <command> [Options]
Params
Available commands http, texecute
Test HTTP URL
python -m testly -c http -h <your_host>
Params
-h, --host The Http host that you desire to test.
Optional Params
--proxy Sets Http proxy
--proxysec Sets Https proxy
Test REST Endpoint
python -m testly -c texecute -w <path to directory> -f <name of file>
or
python -m testly -c texecute
Params
-w The directory containing all yaml files.
-f The yaml file containing all the test cases.
YAML File Example Layout
test1:
testType: Rest
requestMethod: get
url: https://api.github.com/users/defunkt
responseCode: 200
bodyContains:
login: defunkt
name: Chris Wanstrath*
test2:
testType: Rest
requestMethod: post
url: https://droopal.free.beeceptor.com/droopal
responseCode: 201
payload:
status: "Awesome!"
bodyContains:
status: "Awesome!"
test3:
testType: Rest
requestMethod: put
url: https://droopal.free.beeceptor.com/droopal
responseCode: 200
payload:
status: "Edited!"
bodyContains:
status: "Edited!"
when: "Today!"
test4:
testType: Rest
requestMethod: delete
url: https://droopal.free.beeceptor.com/droopal
responseCode: 200
Release files for testly 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| testly-1.0.3.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| testly-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / testly-1.0.3.tar.gz
| Download URL | testly-1.0.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23d01b55100e6e796d9a3919ac4879585e05cbce941a8eabdbf13ef329a9e420
|
|
BLAKE2b-256 checksum How to use checksums |
c64530ab58b1a8880fffa0a320a23376ed48293d6ba345f856a4c868b947e97f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / testly-1.0.3-py3-none-any.whl
| Download URL | testly-1.0.3-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a02ff3369175cba0696b340363e1bab406b86657523052055957716a06f26b69
|
|
BLAKE2b-256 checksum How to use checksums |
87d5c6b7baa1754aed6028b6112844e2e17549ec70a388da4159cf3ef7f0050b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|