iSCSI HBA Mutual CHAP Test (LOGO)

This test verifies that the iSCSI initiator can use the Challenge Handshake Authentication Protocol (CHAP) authentication mechanism. The test verifies mutual CHAP.

Test details

Associated requirements

Device.Storage.Controller.Iscsi.Interface

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows Server 2008 x64 Windows Server 2008 x86Windows 8.1 x64Windows 8.1 x86Windows Server 2012 R2

Expected run time

~5 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: iSCSI HBA Testing Prerequisites.

In addition, this test requires the following software and hardware:

  • 1 GB network adapter

If this is the first time you are running an iSCSI HBA test, iSCSI Target test, or MPIO test over iSCSI bus type on the HCK client, or if there is no iscsihctconfig.ini under [HCK Path]\JobsWorkingDir\ on the HCK client, you will receive a pop-up dialog box to input iSCSI configuration information and/or HBA information. For more information about this dialog box, see “Running the test” in iSCSI HBA Boot Test (LOGO).

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

In addition:

  1. Look at the job results log file for test failures

  2. Enter the required data in the configuration dialog box that appears when this job is scheduled. For more information, go to iSCSI HBA Boot Test (LOGO).

This test returns Pass or Fail. To review test details, review the test log from the Windows HCK Manager.

More information

The test implements a simple test target and does not require a separate iSCSI target device. The test initiates a login to the test target specifying mutual CHAP. The target verifies that the initiator follows the CHAP protocol specifics detailed in the iSCSI specification. Different test variations will use different encodings (Base16 or Base64) for CHAP responses. In addition, the test returns both valid and invalid responses to the initiator's challenge in order to verify that the HBA properly authenticates the target and returns the appropriate status to the user.

To run this test:

  1. Run the test as an HCK Studio job.

  2. Fill the required data in the configuration UI that pops up when this job is scheduled.

Parameters

Parameter Description

LogVerbosity

The verbosity of logging. There are three levels of output: 0, 1, and 2. 2 is the most verbose.

Default value: 1

 

Command syntax

Command Description

iscsi_initchap.exe -mutual -hct -v [LogVerbosity]

Runs the test. The –v option controls the verbosity of the logging. There are three levels of output: 0, 1, and 2. 2 is the most verbose.

 

Note  

For command-line help for this test binary, type /h.

 

File list

File Location

iscsi_initchap.exe

<[testbinroot]>\nttest\driverstest\storage\wdk\iscsi\

 

 

 

Send comments about this topic to Microsoft