Test Kerberos application
Testing a Kerberos application involves validating round trips using both SP or IDP tests.
Topics
- Configure application debug - Configure the application for either header simulation testing.
- Configure Access Gateway for debug and monitoring - Optionally, configure Access Gateway for debug display and monitoring of generated debug statements.
- Test - Perform normal application testing using production URLs.
- Disable Debug - Disable debug after testing.
Configure application debug
To enable debug for application testing:
- Navigate to the Access Gateway Admin UI console
- From the Topology tab or the Applications tab, open the application.
- Select the Settings pane.
- Expand the Advanced sub-tab.
- Set the Debug toggle to Enable.
- Click Done.

Tip
When debugging applications: Consider testing attributes with static known good values. For example, change dynamic IDP based fields to static with known good values.
When debugging policy based applications: Test with no policy or open policy first.
Configure Access Gateway for debug and monitoring
The Access Gateway Management console can be used to provide a running display of all system log messages. In this optional section we enable debug and monitor Access Gateway using this functionality.
- Open a terminal and using SSH connect to the Access Gateway Management console for example.
ssh oag-mgmt@gw-admin.<domain.tld>
or
ssh oag-mgmt@gw-admin.mysite.myco.com - Navigate to the log monitoring page:
- Enter 4 - Monitoring.
- Enter 2 - Enable Debug.
- Enter 1 - Monitor logs.
The a running display of all log messages will begin to display. Return to the Access Gateway Admin UI console console and exercise the application being examined.
See command line Access Gateway Management console/monitoring for a complete list of all monitoring and related commands. - Enter [ctrl][c] to exit the log display.

Important
The debug logging level rapidly generates log message. Be sure to always disable debug logging when you have finished examining logging.
Failure to disable debug logging could result in rapid log file growth and out of disk errors.
Test
Completed application testing as required.
- The Applications tab, on the row containing the application, click Goto application > SP Initiated.
- Repeat testing using Goto application > IDP Initiated.
- Repeat testing using each specialized policy URI.
- If required, disable debugging.
Disable debug
If displaying debug statements at the command line:
- Return to the Access Gateway Management console.
- Enter [ctrl][c] to exit the log display.
- Enter 3 - Disable debug.
- Exit the command line console
If application debug is enabled:
- Return to the Access Gateway Admin UI console
- Navigate to the application being tested
- Expand the Setting sub tab.
- Expand the Essentials sub tab.
- Return the Protected Web Resource field back to its original value.
- Expand the Advanced sub tab.
- Set the Debug toggle to Disable.
- Save your changes.