DPWS WLK tests
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
Type: Automated
Overview
This test is designed to test basic discoverability and metadata exchange between the Windows operating system and a DPWS based device. This test includes some metadata retrieval and discover stress.
Details
There are 7 tests that are run the details of these tests are
DeviceBootShutdown
Timeout: 120000
Verify shutdown and bootup message sequences. This test verifies device boot up and shutdown sequences. This test expects the device to shutdown and boot back up during testing. The test itself displays a message "Waiting for the device to Send BYE...", it is after this that the device must shutdown appropriately. After this is complete the test will expect a startup sequence, this will be indicated by the message "Waiting for the device to send HELLO..."
DeviceResolve
Timeout: 120000
This test verifies that the DPWS device responds correctly to resolves and metatdata requests.
DeviceProbe
Timeout: 30000
Verifies that the DPWS device responds correctly to Probe and metadata requests
DeviceDirectedProbe
Timeout: 30000
Verifies that the DPWS device responds correctly to directed probe requests
Extensibility
Timeout: 30000
Verifies that the DPWS device responds correctly when there are extensibility sections
DeviceMetadataStress
Timeout: 1000000
Metadata request stress. Here we only hit the device with metadata requests
DeviceMetadataStress
Timeout: 1000000
Metadata request stress, including resolves. Here we only hit the device with the Resolve and Metadata Request pattern
ProbeFault
Timeout: 1000000
Verifies that the DPWS device responds correctly to an incorrect Probe.
MetadataFault
Timeout: 1000000
Verifies that the DPWS device responds correctly to an incorrect metadata request.
- Run Time: 15 minutes
- Log File:dpwswlk.trace.txt
- System Restart Required: No
- Test Category:
- Supported operating systems for Logo or Signature testing:
-
Windows Vista
-
Server 2008
-
Windows 7
Program:dpwswlk.exe
Requirements
-
Software Requirements
The test tool requires the following software:
- Supported operating system (see list above).
-
Hardware Requirements
The test tool requires the following hardware:
- Device to be tested
- Computer that meets the minimum software requirements
- Windows keyboard
- Two-button pointing device
- Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz
- Hard drive with a minimum of 20 GB available on partition C:
-
Processor
The test tool runs on the following processor architectures:
- x86
- x64
- IA64
Running DPWSWLK tests
All test cases return PASS or FAIL. Review the test results in the log file for specific details about failures.
Command Syntax
dpwswlk.exe /cfg dpwswlk.config deviceId=<deviceId>
| Command option | Description |
|---|---|
|
dpwswlk.exe |
This is the executable that is run |
|
/cfg |
This will specify the config file to be used to run, the only one that is supplied is the dpwswlk.config file |
|
/deviceId |
This is the device Id of the device that is being tested. |
Code Tour
File Manifest
| File | Location |
|---|---|
|
dpwswlk.exe.exe |
[testbinroot]\nttest\basetest\ncd\wsd\ |
|
dpwswlk.config |
[testbinroot]\nttest\basetest\ncd\wsd\ |
Build date: 9/14/2012