FreeRDP connection
You can use the Eggplant Gateway to perform Remote Desktop Connection to Windows and Linux machine to execute test using Eggplant Functional and Eggplant DAI tests.
Support for Eggplant Gateway Remote Desktop Connection is currenly tested on Windows and Linux. For Linux based client machine, it is required to install FreeRDP first before perform connection via Eggplant Gateway RDP connection.
Getting started
Creating a connection
To create an Eggplant Gateway for remote desktop connection, run the following command:
./epgw add rdp \
--name <name> \
--serverHostname <RDP server hostname> \
--username <RDP server username> \
--password <password> \
--serverPort <RDP server port> \
--domain <RDP server domain> \
--resolution <screenResolution>
Key | Description |
---|---|
name | The name of the connection you want to create. You can freely choose this name. |
serverHostname | The RDP server hostname that you want to remote to. Example: "ServerHostname" or "Server_IP_address". |
username | The name of the RDP server login user. |
password | The password for RDP server login user. |
serverPort | The RDP server port number to connect to remote session. Default:3389. (Integer) |
domain | The domain for the RDP server login account. |
resolution | The resolution of at which to initialize the remote desktop. |
For example, to create a connection which will launch remote desktop session to the System Under Test:
./epgw add rdp --name test_rdp --serverHostname "Rpd_Server_Hostname" --username "RdpUser" --password "RdpUser123" --serverPort 3389 --domain "domain" --resolution "1600x900"
Connecting to Eggplant Functional
Follow these steps to log in to your remote desktop and establish a connection to Eggplant Functional:
- Start Eggplant Functional
- Run
epgw connect <name>
, where name is the name of your Gateway connection. For example,epgw connect test_rdp
The Eggplant Gateway will now log in to your the server remote desktip, establish a connection and connect to Eggplant Functional.
Setting up a VNC server for your remote desktop connection
Alternatively, you can set up a VNC server for your remote desktop connection. To do so:
- Run
epgw vnc <name>
, where name is the name of your Gateway connection. For example,epgw vnc test_rdp
The Eggplant Gateway will now log in to your remote desktop server, establish a connection and start a VNC server at port 5900.
You'll need to manually add your device to the connection list in Eggplant Functional.