Sdílet prostřednictvím


Print Driver Stress Test

This automated test stresses the driver in several ways. You do not have to examine the output from this test.

Note

   You must run this test separately from the other printer tests.

 

Test details

   
Specifications
  • Device.Imaging.Printer.Base.applicationVerifier
  • Device.Imaging.3DPrinter.Base.DriverStability
  • Device.Imaging.3DPrinter.Base.ApplicationVerifier
  • Device.Imaging.Printer.Base.driverStability
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 150
Category Scenario
Timeout (in minutes) 9000
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

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

Note

   This test does not require a printer to be physically attached to the test computer. You can run this test by using a null port. However, you must run this test in the Appverifier environment. You must enable the NT system debugger (NTSD).

 

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting Device.Imaging Testing.

This test fails if any of the following problems occur:

  • The test does not produce output.

  • The debugger breaks in.

  • The test produces incorrect output.

  • The log file indicates a failure.

The following are the log files for this test:

  • Printdrvstress.xml

  • PrintDrvStress_DeviceLogger.xml

More information

This test can generate lots of output. You can ignore and discard this output.

This test exercises several driver code paths on multiple threads. This test exercises both the rendering and configuration portion of the driver. This exercise creates a stress environment for the printer drivers. The tool often reveals bugs.

Typically, this test prints to a NULL port printer to avoid large quantities of physical output.

To run this test manually, run the following command at a command prompt:

PrintDrvStress.exe /printer="<printername>" /timetorun=120

This test uses the "Add NullPortMonitor and switch port" and "Restore port and delete NullPortMonitor" test jobs in the Windows HLK library to automatically run PrintDrvStress by using a null port and then to restore the printer port.

Parameters

Parameter name Parameter description
LLU_NetAccessOnly Logical Local User: Network Access only.
LLU_LAU Logical Local User.
TestExecutable Name Test Executable name.
WDKPrinterName Printer name.
3MFFile_Path Path to 3MF file.