Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Robotframework RADIUS library

Project Description

Introduction

RadiusLibrary is a test library providing keywords for handling the RADIUS protocol. This library uses pyrad for RADIUS protocol handling. The library supports the creation of RADIUS clients and servers, and supports authentication, accounting and change of authorization requests.

Usage

*** Settings ***
Library     RadiusLibrary

*** Test Cases ***
Should Receive Access Accept
    Create Client    auth    %{RADIUS_SERVER}    %{RADIUS_AUTH_PORT}    %{RADIUS_SECRET}    %{RADIUS_DICTIONARY}
    Create Access Request
    Add Request attribute    User-Name    user
    Add Request attribute    User-Password    x
    Add Request attribute    Acct-Session-Id  1234
    Add Request attribute    NAS-IP-Address  127.0.1.1
    Send Request
    Receive Access Accept
    Response Should Contain Attribute    Framed-IP-Address    10.0.0.100
    Response Should Contain Attribute    Class    premium

Wrong Password Should Receive Access Reject
    Create Client    auth    %{RADIUS_SERVER}    %{RADIUS_AUTH_PORT}    %{RADIUS_SECRET}    %{RADIUS_DICTIONARY}
    Create Access Request
    Add Request attribute    User-Name    user
    Add Request attribute    User-Password    wrong
    Add Request attribute    Acct-Session-Id  126
    Send Request
    Receive Access Reject
    Response Should Contain Attribute    Reply-Message    authentication failed

For more information see https://rawgit.com/deviousops/robotframework-radius/master/doc/RadiusLibrary.html.

Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.2b1

History Node

0.2.2b0

History Node

0.2.2a0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting