Presentation is loading. Please wait.

Presentation is loading. Please wait.

RDP Protocol Test Suite

Similar presentations


Presentation on theme: "RDP Protocol Test Suite"— Presentation transcript:

1 RDP Protocol Test Suite
Jessie Liu Software Engineer

2 Agenda Overview of Protocol Test Suite RDP Protocol Test Suite
How to use RDP Protocol Test Suite Demo Q&A

3 Overview of Protocol Test Suite

4 Why We Developed Protocol Test Suites
Ensure quality of Microsoft protocol documentation (Open Specification) Help to Identify your implementation issues Make debugging easier Easier environment Encrypted messages logging Include negative test cases Source code of test suite could be your reference in development phase

5 Test Methodology in Protocol Test Suite

6 RDP Protocol Test Suite

7 RDP Protocol Test Suite
Test Target: RDP Client Synthetic RDP Server Align with Win10 document Source Code (C#) mstsc.exe FreeRDP Thin Client Other RDP Client As a RDP Server during the test 11 common protocols 400+ test cases Positive and Negative cases RemoteFX codec Clearcodec Progressive codec

8 Covered Protocols and Features
MS-RDPBCGR Connection Reactivation Auto-Reconnection Server Redirection Basic Client Input Fast-Path/Slow-Path Static Virtual Channel Network Auto-Detection Connection health monitoring MS-RDPEUDP Reliable/Lossy Connection Retransmit Congestion Control MS-RDPRFX RFX Codec (RLGR1/RLGR3) Image/Video Mode MS-RDPEUSB USB Device Channel Setup I/O MS-RDPEMT Build Secure Channel Network Auto-Detection Exchange DVC data MS-RDPEDYC Create/Close DVC Soft Sync Negotiation Tunneling Static VC Traffic Compression data MS-RDPEI Touch Input & Control MS-RDPEGFX Surface & Cache Progressive Codec Clear Codec RDP 8.0 Compression H264 Codec MS-RDPEDISP Change display config MS-RDPEVOR Video Remoting

9 What’s New Test Suite Windows 10 alignment
Aligned with the latest Windows 10 (Open Specifications) Support Soft-Sync negotiation/Tunneling Static VC Traffic/Compressed DVC data Windows Protocol Test Suites on GitHub One click to install prerequisites of test suite dev environment

10 RDP Protocol Test Suite Architecture
System Under Test (SUT) RDP Synthetic Server (Test Suite) RDP Client SUT Control Adapter Test Case TCP/UDP TCP/UDP

11 SUT Control Adapter Purpose Types:
The interface defines methods for changing or querying SUT status dynamically at runtime. public interface IRdpSutControlAdapter : IAdapter { …….. int RDPConnectWithNegotiationAppoach(); int TriggerClientDisconnect(); int TriggerClientAutoReconnect(); int TriggerInputEvents(); } Types: PowerShell Interactive Protocol-based

12 SUT Control Adapter -- PowerShell
Map interface methods to PowerShell Scripts Run

13 SUT Control Adapter -- Interactive
Control the SUT manually When a method is called: A dialog pops up User controls SUT manually Clicks the “Continue” button

14 SUT Control Adapter -- Protocol-based
A simple self-defined protocol (SUT remote control protocol) used to transfer control commands and results. User needs to implement a simple program as an Agent to control System Under Test (SUT) RDP Protocols Test Cases RDP Client Advantage: Automation on any system No work on test suite Implement in any program language SUT Remote Control Protocol SUT Control Request Message SUT control adapter Agent SUT Control Response Message

15 How to use RDP Protocol Test Suite

16 Deployment of RDP Test Suite
System Under Test (SUT) Machine Role Software/service SUT RDP Client from Microsoft or Partners Test Suite Host Visual Studio 2012 or later Protocol Test Framework RDP Protocol Test Suite Test Suite Host

17 Run Cases -- Using Batch Files

18 Run Cases -- Using Visual Studio

19 Run Cases -- Using Protocol Test Manager

20 Demo

21

22 Resources and More Information
Windows Protocol Test Suites on GitHub Protocol Test Manager Protocol Test Framework on GitHub Open Specifications documentation on MSDN Windows Server 2016 Evaluation Windows 10 Enterprise Evaluation


Download ppt "RDP Protocol Test Suite"

Similar presentations


Ads by Google