Remote test runner for Apiwatcher platform
Project description
Apilisk
Standalone rest client for Apiwatcher platform.
It can run testcases defined in Apiwatcher locally on you machine or on CI server.
Installation
Currently Apilisk is distributed using Pypi, more options for download are comming soon.
Linux
The best way is to create a virtual environment and then use pip.
virtualenv env
. env/bin/activate
pip install Apilisk
You must have libcurl installed.
OS X
On Mac we suggest to use easy_install, although pip should work as well.
sudo easy_install Apilisk
Run
At first you need to have a team in Apiwatcher, so sign/log in.
You need to create a project and some testcases, otherwise there is nothing to run. :) And finally you need to have a credentials (Client ID and Client secret). This you can find under team settings - create a new pair and download the configuration file for Apilisk or copy paste the command with apilisk init, which will create the file for you.
apilisk init --client-secret SECRET --client-id ID --agent-id "My agent"
Example file:
{
"host": "https://api2.apiwatcher.com",
"port": 443,
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"agent_id": "My local agent"
}
And now just run it :)
apilisk run -c apilisk.json -u -v 1 -d YOUR_DATASET_ID -p YOUR_PROJECT_HASH
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
File details
Details for the file Apilisk-0.2.1.tar.gz
.
File metadata
- Download URL: Apilisk-0.2.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0536259d4ff1afa0138af634cf7af0b03186d0b665605b95a1f71aaf6fcfe17e |
|
MD5 | 8c5c7c80042a12f18e3b32d5b9ab8ace |
|
BLAKE2b-256 | 7176f08fd033c7835a322ac3cc35ccee5c3fdde36d1fdfa3f6ebe2d4dfff93c9 |