FitNesse fixture for RADIUS protocol communication -
- Download release file: fitnesse-radius-fixture-1.0.1.jar
- Put
fitnesse-radius-fixture-1.0.1.jar
in theplugins
directory (or add it to the classpath) - Run FitNesse and navigate PlugIns suite to get fitnesse-radius-fixture UserGuide and Examples
Note: As shown in QuickStart documentation session, the plugin mode installation can be executed just placing the fitnesse-radius-fixture.jar in the FitNesse plugin directory or by making the jar file available in the FitNesse web server classpath. When the archive is available in classpath, documentation files and dependency libraries are automatically extracted and tuned. To know more about other installation methods, go to Installation documentation page
Documentation is automatically extracted in plugin mode or via auto-extraction tool. Is also available online here.
Check documentation to know more about:
RadiusFixture can be installed as a plugin or just provided during test executions. The suggested installation mode is the plugin mode. More details on installation modes are available here
Once installed in your FitNesse distribution, start creating your first test. Tests can be developed in decision table and script table mode as shown in test creation documentation page. The following is a simple test example in script mode.
|import |
|com.github.gun88.fitnesse.fixture.radius|
|script |radius client fixture |
|set host |${RADIUS_HOST} |
|set acct port |${RADIUS_ACCT_PORT} |
|set shared secret |${RADIUS_SHARED_SECRET} |
|set request attribute|Acct-Status-Type |with value|Start |
|check |send accounting |Accounting-Response|
|show |request |
|show |response |
Note: variables RADIUS_HOST, RADIUS_ACCT_PORT, RADIUS_SHARED_SECRET should be defined by the user.
Note: if RadiusFixture is not installed as a plugin, remember to set or replace properties: tinyRadius.jar.path, radiusFixture.jar.path; with actual paths
The fitnesse-radius-fixture build can be executed via Maven.
Produced build will be a jar named fitnesse-radius-fixture-x.y.z.jar
, available under target
directory.
Note: build version number instead of x.y.z
Execute mvn clean package
(or mvn clean verify
to execute integration tests
or mvn clean install
to make fitnesse-radius-fixture-x.y.z.jar
available in your
local repository)
WARNING: to build fitnesse-radius-fixture a dependency not available in maven repository is needed: tinyradius-1.1.0-MOD
Two methods are available for this installation
- clone the project from here and run
mvn install
. - install as a third party jar the tinyradius-mod-1.0.0.jar available in releases page