Helper tool for api test automation
Project description
Zkt for API Test Automation
Zkt
Zurck'z Testing Tool
This package contains some helpers features for api test automation
ZPy use the following packages:
- zpy-api-core
Requirements
- Python 3.10+
Installation
Use the package manager pip to install py flask micro service core .
pip install zkt
Features
Contains some helper features.
- Stage
- Step
Basic Usage
test_scenario = Stepexecutor(
scenario="Create a Generic Order PROD",
steps=[
FullRequestTest("Prepare token request", data_request),
PostHttpRequest("Get Token"),
HttpResponseVerifier("Tooken Response Verifier"),
DictValueExtract("Extract Data Tokens", key="result"),
StoreTransactData("Store Auth Data", key="auth")
],
)
result = test_scenario.execute()
print(result)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Authors
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zkt-1.0.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
zkt-1.0.1-py3-none-any.whl
(3.9 kB
view hashes)