Using Optional Attributes


When you define a test case, the mandatory RADIUS or Diameter attributes that are included in the various messages are defined in the test case parameters. The optional attributes required by the vendor, Diameter application, or network configuration are defined in the Vendor Specific Attribute Configuration or AVP Configuration on the NAS, DCCA, or AAA tab of the test case. Alternatively, you can provision RADIUS VSAs using a Test Data File.

Mandatory RADIUS Attributes

Some of the mandatory RADIUS attributes are provisioned by the test system based on the message type or information received in another message. The user-configurable mandatory attributes are defined by the following parameters:

When CoA support is enabled in the AAA Server Node test case, the following attributes are included in CoA Requests. You can provision up to 30 VSAs for CoA Requests triggered by an Access Request and up to 6 VSAs for CoA Requests triggered by an Accounting Request.

Mandatory Diameter Attributes

Some of the mandatory Diameter attributes — Session-Id, Accounting-Record-Number, CHAP-Challenge and command and record types, for example — are provisioned by the test system. The user-configurable mandatory attributes are defined by the following parameters.

Base

NASREQ

Credit Control

Optional Attributes

You can configure a list of optional attributes that will be used in the test, either by creating new attributes or by creating attributes from the templates in the library. You can also extend the Template Library by adding new attribute templates.


Before you start:

Before you configure the attribute list, you should be familiar with:

^Back to Top


To open the  VSA/AVP Configuration window:

NOTE: When in filtered mode, you cannot delete or move any AVPs/VSAs, but you can still Add, Edit, and Save them as Templates.

^Back to Top


To add an attribute:

If you select New, the editing window opens where you can define the attribute.

If you select From Template, the Saved Templates window opens and displays the templates in the selected library. Use the Vendor and Library drop-down lists to navigate to a library section, select the attribute template, and click OK. The attribute is added to the list, and its default definition is displayed in the grid.

TIP: You can also use the Saved Templates window to manage your library. When you select a template, you can delete it with the Delete button if your account has sufficient permissions. Use the Vendors... button to manage the vendor list.

Once an attribute has been added to the list, you can edit the attribute and change the value that is used for this test or remove the attribute. When you are finished adding attributes, save the configuration.

NOTE: Attributes in the list that were added from library templates do not retain any relationship with the templates in the library they were created from the templates. Any changes that you make to an attribute do not affect the original template unless you save the definition to a template and overwrite the original. Likewise, a change to a template does not affect any attributes created from that template. You can delete a template from the library, and the attributes created from it will remain valid attributes in their respective test case configurations.

^Back to Top


To edit an attribute:

You can use any of these methods to open an attribute definition for editing. The definition is displayed in the editing window.

^Back to Top


To define an attribute template:

Use the Edit VSA window or Edit AVP window to define a new attribute template or modify the definition of an existing template.

  1. Select the associated Vendor... from the drop-down list. You can add a new vendor with the Vendor... button.

  2. Define the parameters that provision the message fields:

  1. Select the messages... that will include the attribute.

  2. When you are finished, you can click OK to accept the definition and return to the configuration window or click Save Template to save the definition to the library as a template. You can also Cancel the changes or the new attribute.

    NOTES:

    • You can also save an attribute definition as a template from the configuration window.

    • The attributes displayed in the configuration window are saved with the test case.

If you are adding a new attribute, it is now displayed in the list.

^Back to Top


To remove an attribute:

^Back to Top


To save a template:

When you have defined a new attribute, you can save it and create a new template in the library. The template can then be used to create attributes in other test cases. You can also update an existing template in the Global library by overwriting it.

  1. You can save a template from either the editing or configuration window.

  1. A dialog box opens and prompts for the template's file Name. When you add a new attribute, the attribute's Name is provisioned by default, and you can edit the file name as needed. You can only save templates in the Global section of the library.

  2. Click OK, and the template is saved to the library and associated with the selected Vendor. If a template of the same name exists, you will be asked whether you want to overwrite the existing template.

^Back to Top


To save an attribute configuration:

The definitions for all of the attributes displayed in the configuration window are embedded in and saved with the test case. The attributes are treated like the test case parameter settings in that you can change a local test case's attribute configuration when you use it in a test session and save those changes with the session without affecting the original test case saved in the library.

When you have finished defining the test case, you can:

— or —

^Back to Top