Delen via


iSCSI Target Oneway CHAP Test (LOGO)

This test verifies that the target device (disk, tape, or optical storage device) can use the Challenge Handshake Authentication Protocol (CHAP) authentication mechanism.

Test details

Associated requirements

Device.Storage.Hd.Iscsi.BasicFunction

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 Boot Component Testing Prerequisites.

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 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 always return Pass or Fail. To review test details, review the test log from the Windows HCK Manager.

More information

The test uses multiple variations to verify that a target properly supports one-way CHAP. The first variation performs a logon similar to the user logging in through iSCSI Initiator Control Panel. The rest of the variations perform logon outside of the Microsoft initiator by using the iSCSI protocol. Each variation receives the challenge from the target and responds to the targets with a calculated response. The target is then expected to either continue with the iSCSI logon or return the appropriate status code, depending on the response received.

There are four different variations:

  1. Valid response is returned using hexadecimal encoding

  2. Valid response is returned using base64 encoding

  3. Invalid response is returned using hexadecimal encoding

  4. Invalid response is returned using base64 encoding

To run this test:

  1. Run the test as a Driver Test Manager (DTM) job.

  2. Enter the required data in the configuration dialog box that appears 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 option Description

iscsi_targetchap -oneway –hct –v [LogVerbosity]

Runs the test.

 

Note  

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

 

File list

File Location

iscsi_targetchap.exe

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

 

 

 

Send comments about this topic to Microsoft