Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Robotframework RADIUS library

Project Description


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


Using the PIP installer

$ pip install robotframework-radius

Or after cloning this repository

$ python install


*** Settings ***
Library           RadiusLibrary

*** Test Cases ***
Should Receive Access Accept
    Create Client    auth    %{SERVER}    %{AUTHPORT}    %{SECRET}    %{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
    Send Request
    Receive Access Accept
    Response Should Contain Attribute    Framed-IP-Address
    Response Should Contain Attribute    Class    premium

Wrong Password Should Receive Access Reject
    Create Client    auth    %{SERVER}    %{AUTHPORT}    %{SECRET}    %{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 info, have a look at the keyword documentation:


Save the example above to auth.robot, execute the following commands.

$ export SERVER=
$ export AUTHPORT=1812
$ export SECRET=secret
$ export DICTIONARY=/usr/share/freeradius/dictionary.rfc2865
$ robot auth.robot
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
robotframework-radius-0.3.1.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Jan 13, 2017

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