Webservice for running Robot Framework tasks
Project description
# Robot Task Webservice
A web service managing Robot Framework tasks.
Status: Prototype
# Goal
This web service shall start Robot Framework tasks and return and cache the according reports.
# Usage Call robot task:
Call robot task with variables:
http://localhost:5003/robotframework/run/mytask?myVariable1=42&anotherVariable=Mustermann
Response contains status and log report.
## Start web service
The web service starts automatically with uvicorn inside. Simply call:
python -m RobotFrameworkService.main
You can check available options with
python -m RobotFrameworkService.main –help
### Example:
python -m RobotFrameworkService.main -p 5003 -t path_to_my_taskfolder
## Custom WSGI server
You can start RobotFrameworkService with bare WSGI servers:
uvicorn RobotFrameworkService.main:app –port 5003
Or start web service with other WSGI server, i.e waitress:
waitress-serve –port 5003 RotbotFrameworkService.main:app
## SwaggerUi Swagger-UI is available under http://localhost:5003/docs
## Demo-Tasks
This project contains some tasks for demonstration. They are located in tasks folder. You may add your own task suites in that directory, if you like.
## Task name with spaces in URL
Tasks may contain spaces, URL must not. Luckily, Robot Framework supports CamelCase as well as snake_case syntax. Meaning: “Another Task” can be trigger in url with parameter AnotherTask or another_task
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 Distribution
Built Distribution
Hashes for robotframework-webservice-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19196cef456d9b3bce3782a3844712092a57f81562666692b21ed294b4e8c0a |
|
MD5 | d26829e0664476aa5659781321a331a3 |
|
BLAKE2b-256 | 0bc0a8129e131cfa6f5158b04c585f70bc24a65b9a0707a50ff8a56968dcd082 |
Hashes for robotframework_webservice-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152293e6074bab7166acf0418c7e5477b957fa31e182abc09bf43c928aa4c451 |
|
MD5 | d87aefac6397aa4046ab64640a645b5e |
|
BLAKE2b-256 | ac35f9b73b21442a0acd0b910d2baf9d7f3f34c7e287b1023c2f6173e4ec0f35 |