Presentation is loading. Please wait.

Presentation is loading. Please wait.

Enhanced User Experience For Protocol Test Suites

Similar presentations


Presentation on theme: "Enhanced User Experience For Protocol Test Suites"— Presentation transcript:

1 Enhanced User Experience For Protocol Test Suites
Vivian TIAN Software Engineer

2 Agenda Protocol Test Manager Super Logging with MMA
MMA parser update to Windows protocols Q&A

3 Protocol Test Manager

4 Protocol Test Manager Background Introduction
Partner number increases year by year Partners show interests to run test suite during product development phase Introduction Provide a step-by-step wizard for protocol test suite run. Support environment auto detection, configuration, case run and case run result investigation.

5 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration

6 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection

7 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability

8 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability Configure: GUI Test suite configuration

9 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability Configure: GUI Test suite configuration Run: GUI test case run w/o VS dependency

10 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability Configure: GUI Test suite configuration Run: GUI test case run w/o VS dependency Investigate: Integrated test run logs

11 Protocol Test Manager PTM Capability
Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability Configure: Test suite configuration recommendation Run: GUI test case run w/o VS dependency Investigate: Integrated test run logs Rerun: Rerun and profile supported

12 Protocol Test Manager PTM Capability
ptmcli.exe <-p|-profile profileName> [-s|-selected] [-r|-report reportfile] [-outcome pass,fail,inconclusive,notrun] [-sortby name|outcome] [-separator comma|space] -p | -profile profileName Specifies the file name of profile of the test suite to run. -s | -selected Turn this switch on to run only the test cases selected in the Run Page of PTM. Otherwise, run all the test cases in the profile. -r | -report reportfile Specifies the file name of the plain text report. -outcome Specifies the outcome of the test cases to be included in the plain text report. Saparate using comma without space. Possible values: pass,fail,inconclusive,notrun Default value: pass,fail. -sortby Specifies the way to sort the test cases in the report. Possible values: name outcome. Default value: name -separator Specifies the separator in the plain text report. Possible values: space comma Default value: space Guide: Embedded deployment guide illustration Detect: SUT capability auto detection Filter: Cases filtered by features and SUT capability Configure: Test suite configuration recommendation Run: GUI test case run w/o VS dependency Investigate: Integrated test run logs Rerun: Rerun and profile supported Cmd: Command line supported

13 One STOP Protocol Test Manager PTM Capability
Deploy Guide Guide: Embedded deployment guide illustration Detect SUT Cmd Line Detect: SUT capability auto detection One STOP Filter: Cases filtered by features and SUT capability TS Configure Configure: Test suite configuration recommendation Rerun with Profile Run: GUI test case run w/o VS dependency Investigate: Integrated test run logs Rerun: Rerun and profile supported Filter Cases Investigate Cmd: Command line supported Run Case

14 Protocol Test Manager PTM Infrastructure : PTM Command Line
GUI Main Window Kernel FileServer Plugin RDP Plugin AdFamily Plugin ADOD Plugin Kerberos Plugin

15 Super Logging With MMA

16 Super Logging With MMA Run-time information for test case failure investigation Test case log - by log file Network traffic - by Microsoft Message Analyzer/Netmon/Wireshark Encrypted message – by Visual Studio Debug Tool Super logging Combine all valuable logging information in MMA Network Traffic Test Log Encrypted Message MMA

17 Super Logging With MMA Super Logging With MMA ETW Controller Log Files
Event Tracing Session Events Log Files ETW Provider Events Logged Events ETW Consumer Events Delivery in real-time Protocol Test Suites MMA

18 MMA Parser

19 MMA Parser Freshly released MMA parser aligned with Window Server 2016 TP5 Release with latest MMA 1.4: Parser Updates RSVD Add new messages/operations RSVD_BLOCK_DEVICE_TARGET_SPECIFIER Structure RSVD_BLOCK_DEVICE_TARGET_SPECIFIER_SNAPSHOT Structure SVHDX_APPLY_SNAPSHOT_PARAMS Structure SVHDX_TUNNEL_QUERY_VIRTUAL_DISK_CHANGES_REQUEST Structure SVHDX_TUNNEL_QUERY_VIRTUAL_DISK_CHANGES_REPLY Structure Update decoding logic to parse existing messages correctly. RSVD_TUNNEL_CHANGE_TRACKING_GET_PARAMETERS RSVD_TUNNEL_CHANGE_TRACKING_START RSVD_TUNNEL_CHANGE_TRACKING_STOP SQOS Add fields for new protocol version 1.1 in messages STORAGE_QOS_CONTROL_REQUEST Structure STORAGE_QOS_CONTROL_RESPONSE Structure SMB2 Update field name ”ErrorData” to “ErrorContextData” in below structure: SMB2 ERROR Context Response Add validation check for padding field in structure SMB2_CREATE_APP_INSTANCE_VERSION Update fields definition in structure SMB2 LOCK Request: LockSequence:uint is split into 2 fields: LockSequenceNumber:4bit + LockSequenceIndex:28bit

20 Resources PTM on Github: PTM Plugin on Github
6e7e1d90b329d88ff2fc cfd/ProtocolTestManager PTM Plugin on Github 6e7e1d90b329d88ff2fc cfd/ProtocolTestManager/Plugins

21


Download ppt "Enhanced User Experience For Protocol Test Suites"

Similar presentations


Ads by Google