Metadata-Version: 2.0
Name: robotframework-apachetomcat
Version: 1.0.0
Summary: A Robot Framework Apache Tomcat Manager Library
Home-page: https://github.com/peterservice-rnd/robotframework-apachetomcat
Author: JSC PETER-SERVICE
Author-email: drse_aist_all@billing.ru
License: Apache License, Version 2.0
Description-Content-Type: UNKNOWN
Keywords: testing robotframework apache tomcat
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Framework :: Robot Framework :: Library
Requires-Dist: requests
Requires-Dist: robotframework

# Robot Framework Apache Tomcat Manager

Robot Framework library to manage Apache Tomcat server

[![Build Status](https://travis-ci.org/peterservice-rnd/robotframework-apachetomcat.svg?branch=master)](https://travis-ci.org/peterservice-rnd/robotframework-apachetomcat)

## Short Description

[Robot Framework](http://www.robotframework.org) library for managing Apache Tomcat Server.

This library is Implemented on the basis of:
- [Manager App HOW-TO](http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html)
- [tomcat-manager](https://github.com/kotfu/tomcat-manager)

## Installation

Install the library from PyPI using pip:

```
pip install robotframework-apachetomcat
```

## Settings for Apache Tomcat Server

To use this library you need to add a user with the following roles to `tomcat-users.xml` file on Apache Tomcat server:
- manager-gui
- manager-script
- manager-jmx
- manager-status.

```
<tomcat-users>
    <user username="tomcat" password="tomcat" roles="manager-jmx,manager-status,manager-script,admin,manager-gui,admin-gui,manager-script,admin"/>
</tomcat-users>
```

## Example

An example of using ApacheTomcatManager library in Robot Framework test case:

```robot
*** Settings ***
Library    ApacheTomcatManager
Library    Collections

*** Test Cases ***
Simple Test
    Connect To Tomcat    my_host_name    8080    tomcat    tomcat    alias=tmc
    ${info}=    Serverinfo
    Log Dictionary    ${info}
    Close All Tomcat Connections
```

## License

Apache License 2.0


