220 likes | 336 Views
TEST. DIST. Testing distributed Systems. Architecture of distributed Systems The Client/Server System Test Consequences of distributed Processing Distributed Testing Tasks Sample of a Client/Server System Testing System Interfaces Testing XML Interfaces Testing CORBA Interfaces
E N D
TEST DIST Testing distributed Systems Architecture of distributed Systems The Client/Server System Test Consequences of distributed Processing Distributed Testing Tasks Sample of a Client/Server System Testing System Interfaces Testing XML Interfaces Testing CORBA Interfaces External CORBA Test Built-in CORBA Test Verifying Messages Setting up a distributed Test Environment A distributed Test Process A Test Monitor for distributed Systems The GUI Test A Sample Test Environment Test Metrics for a Distributed Test Test Cost Drivers Client/Server Testing Tools Distributed Test Organisation 1 11 2 12 3 13 4 14 5 15 6 16 7 17 8 18 9 19 10 20
TEST DIST-1 Architecture of distributed Systems local Data local Data global Data Work Stations Client System Client System Client System Workflow Control Server System Server System Data Access Shell
TEST DIST-2 The Client/Server System Test Graphical User Interfaces Clients Event drivenProgram Logic Outputs Server Middleware Server Outputs distributedComponents Heterogeneous Environment distributedData Bases
TEST DIST-3 Consequences of Distributed Processing Client Component Request Server Component Server Component Server Component Potential Servers Every potential Server Component, which can fulfill a Request, has to be tested.
TEST DIST-4 Distributed System Testing Tasks GUI Test API Test Database Test XML IDL Programme Interface Test Interface Test JAVA COBOL SQL Requests,Responses,Formating, Transformation rules Helps,Data Entry,Error Messages,Displays C = Create,R = Retrieve,U = Update,D = Delete
TEST DIST-5 Sample of a Client/Server System CORBA/XMLInterface C l i e n t S e r v e r Amount 4711 Jones 10 000,- Menu 100 400 200 800 AccountBalance Message 4711 Money output Cardinput Card AccountNr PINType Accounts Keyboard Account Database
TEST DIST-6 Testing System Interfaces Client Client Client Server Server Interfaces DB Server Databases
TEST DIST-7 Testing XML Interfaces HTML HTML HTML Web Server <OrderNr>0100</OrderNr><CustomerNr>7777</CustomerNr><ArticleNr>4711</ArticleNr><Amount>99</Amount> XML Document DTD-Content XML Parser Parameter Application Server
TEST DIST-8 Testing CORBA Interfaces Client Component Func (Data) Server Component Func (Data) ORB Stub Proxy IDL Message Functions &Parameters
TEST DIST-9 External CORBA Test Database CORBA Diagnosis by an Independent Test Driver as a Server-Proxy Test Driver Generated Test Messages Application client Server Proxy Analysis Module Application server Request Request Reply Reply
TEST DIST-10 Built in CORBA Test Database CORBA Diagnosis by an integrated Analysis Module Analysis Tool Test Messages Test Messages Commands Commands Application client Application server Test Stub Test Stub Request Reply
TEST DIST-11 Verifiying the Messages Alarm OK Alarm-Display PatientMeasurementSystem Networkentry UnsafeRange Alarm ValidMessage or Check measure- ment SafeRange Confirm- safe or Receive Message Store Message System-Display and Store Measurementdevice Report Measure- ment Error InvalidMessage Error-Display
TEST DIST-12 Architecture of a distributed Test Environment Instrumentation System Support System Instrumentation Control Monitoring Channels Communication Network Experimentation Node Experimentation Node Experimentation Subsystem
TEST DIST-13 Data Flow in a distributed Test Environment SW to HW HW to TESTBED Hardware Software Behavior ArchitectureDescriptionDatabase TESTBED P P M P x x M M ExperimentReplay/Summary ResourceUtilization ExperimentExecution Data Architecture Descriptionand Static Analysis Architecture Construction Architecture operating System Generation and Binding Download Experiment Executionof Architecture Experiment Controland Monitoring Post-Execution Analysis
TEST DIST-14 A Test Monitor for distributed Systems External Effects Action Distributed Computing System Process (Software and Hardware Objects) On-Line BehaviorVariables/ServiceRequest Actions Monitor System Record Data Control Post Processor
TEST DIST-15 A Standalone GUI Test WinRunner - C:\DOX\TESTAPPS\SAMPLE2 edit checks Buy WinRunner Verificationpointer with checklist of edit field attributes Tested Application
TEST DIST-16 A Sample Test System Process Management Planning & Design Reporting & Analysis Defect Management Client Testing Server Testing GUI/Object Functional Configuration Load/Stress Performance Multi-User Client/Server Test Repository Generate test requirements and test procedurenames from PowerBuilder Libraries (.PBLs)Full import/export of test requirements Email-enabled, customizable defect tracking New Object Properties ComparatorLink to test script from Test Log ViewerColor-coded test coverage reportsEmail-enabled distribution of graphs and reports SQA BasicTM - new integrated scripting environment100% compatible with Visual BasicIntegrated editor and debuggerUses SQA Basic or Visual Basic as compile/runtime engineProvides Object TestingTM technology for testing object propertiesTimers for improved performance measurementImproved user interfaceFaster test compilation with SQA BasicImproved integration with PowerBuilderImproved integration with Visual BasicView and edit scripts while recording
TEST DIST-17 Test Metrics for a Distributed System Fan-In R E Q U E S T S R E S P O N S E S Paths thru the Network Fan-Out 1) Number Inputs, Outputs Entries, Exits 2) Number calling Modules called Modules 3) Number Statements and Data Declarations 4) Number Branches (Corners of Graph) 5) Number internal Procedures and Nodes and Edges of Control Graph 6) Number Objects and their References
TEST DIST-18 Test Cost Drivers Available Test Tools Number of Data Requests & Responses Number of Attributes & Data Views Testaufwand Number of Files & Databases Number of System Interfaces Number of Client/Server Interactions Number of User Interfaces Number of Components under Test System Size and Complexity determine the number of Test Cases. The number of Test Cases and the degree of Test Automation determine the Test Effort. Test Effort determines Test Cost.
TEST DIST-19.1 Client/Server Test Tools ATF Prevue Supports the whole Soft-ware Life Cycle Unterstützung des Soft-ware-Life-Cycles Tests User Interfaces Benutzerschnittstelle Presents Test Results Ergebnisse & Präsentation Configuration Management Configuration Management Allows Adjustment ofQuality Standards Berücksichtigung vonQualitätsstandards Client-Server Client-Server Static Analysis Not covered Statisches Testen entfällt Dynamic Analysis Dynamisches Testen 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
TEST DIST-19.2 QA Partner Software Testworks Supports the whole Soft-ware Life Cycle Unterstützung des Soft-ware-Life-Cycles Tests User Interfaces Benutzerschnittstelle Presents Test Results Ergebnisse & Präsentation Configuration Management Configuration Management Allows Adjustment ofQuality Standards Berücksichtigung vonQualitätsstandards Client-Server Client-Server Static Analysis Not covered Statisches Testen Dynamic Analysis Dynamisches Testen 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
TEST DIST-20 Distributed Test Organisation FrontendDevelopers CommunicationDevelopers BackendDevelopers Datenbase Administrators GUI Designer System Testers