Skip to main content

A Robot Framework Apache Tomcat Manager Library

Project description

Robot Framework library to manage Apache Tomcat server

Build Status

Short Description

Robot Framework library for managing Apache Tomcat Server.

This library is Implemented on the basis of: - Manager App HOW-TO - 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>

Documentation

See keyword documentation for ApacheTomcatManager library on GitHub.

Example

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

*** 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

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

Built Distribution

robotframework_apachetomcat-1.0.1.dev0-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page