Skip to main content
Version: 26.2

RDP with Smart Card Authentication (Windows Only)

Some Eggplant Test products support the use of smart card authentication with RDP connections to Windows systems under test (SUTs).

note

Enabling Smart Card authentication is only available for RDP connections on the Add/Edit Connection panels in the Windows versions of Eggplant Studio and Eggplant Functional (EPF) apps; it is not available in DAI.

However, you can use the name of a saved RDP connection configured for smart card authentication that you created using the panels in a script using a connect command. See Specifying the Smart Card Authentication Option in a SenseTalk Script below for more information.

The table below shows the smart card authentication option names. You must specify these options in addition to the basic and required RDP connection specifications listed in Basic RDP Connections.

For an overview to using RDP connections, please read RDP Connections Overview, RDP Connection Prerequisites, and Create an RDP Connection first. Basic RDP Connections provides an explanation of all the basic connection properties, and examples of how to create them in Eggplant Test apps, with tests run at a command-line interface (CLI), and within a SenseTalk script.

The Smart Card Option Names

Smart Card optionsWhere to specifyDescription
usernameEggplant Test app GUIs, SenseTalk script connect commands, and tests run at command-line interfaces (CLIs)A username associated (enrolled) with the Smart Card.
PIN or PinEggplant Test app GUIs, SenseTalk script connect commands, and tests run at command-line interfaces (CLIs)The PIN number for the Smart Card.
domainEggplant Gateway CLI onlyThe domain for the username specified with smart card enrollment.

Enabling Smart Card Authentication in an Eggplant Test App

You can enable the smart card authentication option in Eggplant Studio and Eggplant Functional (EPF) apps.

note

The smart card option is not available on the DAI Add new connection panel for RDP connections in DAI.

tip

Click the Eggplant Test product name below to see a sample RDP connection panel in that app, and then look for the Enable Smart Card option:

Below is an example Add Connection panel for the RDP connection type in Eggplant Studio. To configure an RDP connection to use smart card authentication, select the Enable Smart Card checkbox, which changes the panel to display the PIN field instead of a Password field.

The Add Connection panel for RDP in Eggplant Studio has an **Enable Smart Card** checkbox

The Add Connection panel for RDP in Eggplant Studio has an Enable Smart Card checkbox

Specifying the Smart Card Authentication Option in a SenseTalk Script

The SenseTalk connect command does not provide options to support smart card authentication for RDP connections.

However, you can still use RDP connections with smart card authentication within your script by specifying the name of a saved RDP connection that uses smart card authentication in a connect command. See Enabling Smart Card Authentication in an Eggplant Test App above for information about how to create and save a named connection within one of these apps:

connect "Windows-Test-RDP"
// where "Windows-Test-RDP" is a saved connection created in Eggplant Functional or Eggplant Studio
// that has the **Enable Smart Card** option enabled

Specifying the Smart Card Authentication Option with a Command-Line Test

The runscript command, which is the command used to run SenseTalk scripts through a command-line interface (CLI), does not support smart card authentication for RDP connections.

RDP connections that use smart card authentication are typically created through the Eggplant Studio or EPF apps as saved connections, and then either also established through the apps' connection lists, or specified with the saved name in a connect command within a SenseTalk script as described in Specifying the Smart Card Authentication Option in a SenseTalk Script above.