[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring the Test Environment for Dynamic Service Activator Services

Configuring the settings for your test environment is optional. You can choose to enter the settings each time you test the Web client or to configure the test settings. If you choose the latter option, you can avoid repeatedly providing the same information each time you use the client.

- Configuring Settings for Dynamic Service Activator Services (SRC CLI)
- Configuring the Subscriber URI for Dynamic Service Activator Services (SRC CLI)
- Verifying Settings for Dynamic Service Activator Services (SRC CLI)
- Deleting Settings for Dynamic Service Activator Services (SRC CLI)

## Configuring Settings for Dynamic Service Activator Services (SRC CLI)

Use the following command to configure the testing environment for the Dynamic Service Activator Web service interface:

`

test dsa dsa-service environment set <client-id client-id> <client-password client-password> <subscriber-id subscriber-id> <subscriber-password subscriber-password>

`

To configure the settings for the test environment:

1. Issue the test dsa dsa-service environment set command.
2. (Optional) To specify the username that Dynamic Service Activator uses to authenticate this client, use the client-id option.
3. (Optional) To specify the password that Dynamic Service Activator uses to authenticate this client, use the client-password option.
4. (Optional) To specify the username that the SAE uses to authenticate this subscriber, use the subscriber-id option.
5. (Optional) To specify the password that the SAE uses to authenticate this subscriber, use the subscriber-password option.

## Configuring the Subscriber URI for Dynamic Service Activator Services (SRC CLI)

Use the following command to configure the subscriber Uniform Resource Identifier (URI) in the testing environment for the Dynamic Service Activator Web service interface:

`

test dsa dsa-service environment set subscriber-uri <subscriber-uri> <subscriber-type subscriber-type> <subscriber-address subscriber-address> <login-name login-name> <dn dn> <virtual-router virtual-router> <interface-name interface-name> <interface-index interface-index> <primary-user-name primary-user-name> <session-handle session-handle> <subscriber-constraints subscriber-constraints>

`

To configure the settings for the test environment:

1. Issue the test dsa dsa-service environment set subscriber-uri command.
2. (Optional) To specify the subscriber URI value in the same format as the syntax for the subURI argument, use subscriber-uri. See Format of the Subscriber’s URI.

   For example: test dsa dsa-service environment set subscriber-uri ip:ipAddress=1.2.3.4

3. (Optional) To specify the name of the configured subscriber type used to construct the subscriber URI, use the subscriber-type option.
4. (Optional) To specify the IP address of the subscriber, use the subscriber-address option. This value is mandatory when the subscriber ID type is address or address-interface-name.
5. (Optional) To specify the name with which the subscriber logs in, use the login-name option. This value is mandatory when the subscriber ID type is login-name.
6. (Optional) To specify the DN of the subscriber profile, use the dn option. This value is mandatory when the subscriber ID type is dn.
7. (Optional) To specify the name of the virtual router associated with the subscriber, use the virtual-router option. This value is mandatory when the subscriber ID type is interface-name or interface-index, optional when the subscriber ID type is address-interface-name.
8. (Optional) To specify the name of the interface on which the subscriber logs in, use the interface-name option. This value is mandatory when the subscriber ID type is interface-name and is optional when the subscriber ID type is address-interface-name.
9. (Optional) To specify the SNMP index of the interface on which the subscriber logs in, use the interface-index option. This value is mandatory when the subscriber ID type is interface-index.
10. (Optional) To specify the primary username, use the primary-user-name option. This value is mandatory when the subscriber ID type is primary-user-name.
11. (Optional) To specify the subscriber session handle, use the session-handle option. This value is mandatory when the subscriber ID type is session-handle.
12. (Optional) To specify the constraints for the NIC key, use the subscriber-constraints option.

## Verifying Settings for Dynamic Service Activator Services (SRC CLI)

Use the following command to verify the settings for the Dynamic Service Activator Web service interface:

`

test dsa dsa-service environment show

`

Use the following commands to verify specific settings:

`

test dsa dsa-service environment show client-id
test dsa dsa-service environment show client-password
test dsa dsa-service environment show subscriber-id
test dsa dsa-service environment show subscriber-password
test dsa dsa-service environment show subscriber-uri

`

## Deleting Settings for Dynamic Service Activator Services (SRC CLI)

Use the following command to delete the settings for the Dynamic Service Activator Web service interface:

`

test dsa dsa-service environment clear

`

Use the following commands to delete specific settings:

`

test dsa dsa-service environment clear client-id
test dsa dsa-service environment clear client-password
test dsa dsa-service environment clear subscriber-id
test dsa dsa-service environment clear subscriber-password
test dsa dsa-service environment clear subscriber-uri

`

#### Related Topics

- Testing the Web Application Gateway Client
- Sample Data for Dynamic Service Activator
- Running Methods and Scripts for Dynamic Service Activator Services (SRC CLI)
- Configuring the Test Environment for PCMM Services
- Running Methods for PCMM Services (SRC CLI)

[Contents] [Prev] [Next] [Index] [Report an Error]