DEPLOYMENT OF MODEL-BASED AUTOMATED TESTING INFRASTRUCTURE IN A CLOUD

Slides:



Advertisements
Similar presentations
TTCN-3 Users Conference
Advertisements

Andrea Maurino Web Service Design Methodology Batini, De Paoli, Maurino, Grega, Comerio WP2-WP3 Roma 24/11/2005.
INTERVAL Next Previous 13/02/ Timed extensions to SDL Analysis requirements –Assumptions on moments and duration Semantics with controllable time.
Karl-Heinz Kühnlein Conquest 2009: Experiences with model centric Testing in Standard-based Medical IT Environments Test Management Aspects.
MBT Working Meeting Report Stephan Schulz MTS#56, Göttingen
Comparing TTCN-3 and TTCN-2 TTCN-3 User Conference May 3 rd -May 5 th,2004 Sophia Antipolis.
GFT The Graphical Format of TTCN-3
Software Quality Assurance Plan
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER On ES v1.2.1 Stephan Schulz MBT Working Meeting/MTS#56, Göttingen.
July 11 th, 2005 Software Engineering with Reusable Components RiSE’s Seminars Sametinger’s book :: Chapters 16, 17 and 18 Fred Durão.
Administrivia Lifecycle Architecture (LCA) group assignment will go out later today. Informal feedback meetings with LCO groups EasyShare: Mon, 2:45pm-3:15pm,
APPLICATION DEVELOPMENT BY SYED ADNAN ALI.
10th TTCN-3 User Conference, 7-9 June 2011, Bled, Slovenia AUTOSAR Conformance Tests - Feedback on their development and utilization Alain Feudjio-Vouffo,
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
Understand Application Lifecycle Management
Verification and Test Automation of UML Projects Nikita Voinov, Vsevolod Kotlyarov (Saint-Petersburg State Polytechnic University) The Third Spring Young.
2nd TTCN-3 User Conference, June The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,
Software Engineering Management Lecture 1 The Software Process.
1. Validating Wireless Protocol Conformance Test Cases Amresh Nandan Paresh Jain June 2004.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
CLARIN work packages. Conference Place yyyy-mm-dd
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
Summary Report Project Name: Infoway Testing Environment Brief Project Description: Develop testing harness to allow for conformance testing of the applications.
TTCN-3 Language Maintenance and Evolution TTCN-3 User Conference 2011, Bled Gyorgy Rethy STF 430 Leader
TTCN-3 Testing and Test Control Notation Version 3.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Software test automation with UML2.0 TestingProfile & TTCN-3 Maili Markvardt.
Work Item “Patterns in Test Development (PTD)” Re-start Meeting 17 March, Berlin Helmut Neukirchen Institute for.
XML-based Representation of Test Cases for Distributed Systems Alexander Kraas 7. October 2008.
ERM/MTS STF proposal on formal Phy measurement framework Friedbert Berens Vice Chair ERM TGUWB Presentation to ERM, July 2010.
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER MBT Working Meeting Report Stephan Schulz MTS#56, Göttingen.
STF 454 “DESIGN OF TDL” Proposed TDL features © ETSI All rights reserved.
Software Engineering Management
Chapter 1: Introduction to Systems Analysis and Design
Systems Analysis and Design
Evolution of UML.
Use Cases Discuss the what and how of use cases: Basics Benefits
TDL Standardization and Development – Building a Community
The Development Process of Web Applications
Unified Modeling Language
TTCN CONFORMANCE TEST SUITE TTCN-3 Part 1 & Part 9 STF 487 MILESTONE 2
STF 454 TDL – Overview Last change:
Extension Package: Behaviour Types
SKILL ASSESSMENT OF SOFTWARE TESTERS Case Study
Applied Software Implementation & Testing
Security in MTS 14th May2013 SIG Report
Chapter 2 Software Processes
TDL: The ETSI Test Description Language
Analysis models and design models
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
TDL: The ETSI Test Description Language
ETSI TC MTS TDL SC meeting Reports
Typical Workflow - today
e-Invoicing – e-Ordering 20/11/2008
Implementing the Standardised Mapping of TDL to TTCN-3
Overview of the ETSI Test Description Language
Overview of the ETSI Test Description Language
Execute your Processes
ETSI TC MTS TDL SC meeting Reports
Milan Zoric Centre for Testing and Interoperability ETSI
Develop a Reliability Test in TTCN-3
Automation of Control System Configuration TAC 18
ETSI TC MTS TDL SC meeting Reports
TDL: The ETSI Test Description Language
Software Testing Lifecycle Practice
STF 454 TDL – Overview Last change:
SOA initiatives at Istat
ETSI MTS#76 Meeting 23-Jan-2019
Chapter 1: Introduction to Systems Analysis and Design
Introduction to TDL and TOP
Presentation transcript:

DEPLOYMENT OF MODEL-BASED AUTOMATED TESTING INFRASTRUCTURE IN A CLOUD ETSI MTS WI Proposal Roman Kužnar, SINTESIO Andreas Hoffmann, Fraunhofer FOCUS Martin Schneider, Fraunhofer FOCUS Marc-Florian Wendland, Fraunhofer FOCUS Nicola Tonellotto, CNR Alberto De Francesco, CNR Guiseppe Ottaviano, CNR

Motivation & Scope Producing technical report (ETSI TR) which will deliver case study based on practical experience: for the deployment of MBT automated testing infrastructure as TPaaS (Test Platform as a Service); for the deployment of (3rd-party) test methods for automated test suite generation, scheduling, execution, and test arbitration within TPaaS; for the definition and use of Domain Specific Language (DSL) for developing SUT models and Test models that are compliant with the test methods used within TPaaS.

Outline of the TR Introductory sections (IPR, Foreword, …) Scope, References, Definitions and Abbreviations Overview of use cases Use case #1: Test Execution Use Case #2: Manual Test Design Use Case #3: Automated Test Design Modelling and Test Suite generation process Overview of Modelling and Generation process Description of DSL (Domain Specific Language) Mapping of the DSL to TTCN-3 Specification of TPaaS Platform Components Test Scheduling, Test Execution and Arbitration Integration of 3rd party test methods and tools

Outline of the TR – Con´t Model-based automated testing cloud infrastructure Overview of the Testing as a Service Platform (TPaaS) Admin and End-user Platform Services Platform Use Case Sequence Diagrams TPaaS deployment on a Public Cloud Infrastructure Implementation of the Use cases as TaaS Appendix A: Experiences & Results from the e-health pilot Experiences & Results from the Supply Chain Management pilot

Use Cases Considered within MIDAS project

Test Execution Use Case Inputs from Pilots MIDAS Models MIDAS DSL Input validation Design & Behaviour Infos Import Generation Combination of UBT & Fuzzing Import WSDL Generation Data & Behavioural Fuzzing Usage Profiles Generation Generation Generated Test Scripts Planning & Scheduling Models TTCN-3 : TMScheduler testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } Generation MIDAS DSL Generation Execution Environment Java TTCN-3 Executable CoDec Running External Functions Usage SOA System Adapter

Manual Test Design Use Case Test (Case) Specification MIDAS Models MIDAS DSL Input validation Combination of UBT & Fuzzing Data & Behavioural Fuzzing Generation Generation Generated Test Scripts Planning & Scheduling Models TTCN-3 : TMScheduler testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } Generation MIDAS DSL Generation Execution Environment Java TTCN-3 Executable CoDec Running External Functions Usage SOA System Adapter

Automated Test Design Use Case Inputs from SUT MIDAS Models MIDAS DSL Input validation Design & Behaviour Infos Import Generation Combination of UBT & Fuzzing Import WSDL Generation Data & Behavioural Fuzzing Usage Profiles Generation Generation Generated Test Scripts Planning & Scheduling Models TTCN-3 : TMScheduler testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } Generation MIDAS DSL Generation Execution Environment Java TTCN-3 Executable CoDec Running External Functions Usage SOA System Adapter

Overview on the overall Modelling & Generation Process Inputs from Pilots Design & Behaviour Infos WSDL Usage Profiles MIDAS Models MIDAS DSL Input validation Generation Import Combination of UBT & Fuzzing Data & Behavioural Fuzzing Planning & Scheduling Models Generation : TMScheduler MIDAS DSL Generated Test Scripts TTCN-3 testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } Generation Generation Execution Environment Java TTCN-3 Executable SOA System Adapter CoDec External Functions Generation Usage Running

Overview on the Generation Process Manual Test (Case) Specification Behaviour Models Automated Test (Case) Generation (Complex) Behaviour Description MIDAS DSL Test Case Generation Test Model Generation Complex Test Scenarios MIDAS DSL Test Case Generation Generated Test Cases Simple Test Scenarios MIDAS DSL Test Script Generation Generated Test Scripts TTCN-3 testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } Test Scripts Automated Test Script Generation

Description of the MIDAS DSL Describes the UML-based MIDAS DSL (to be standardised as UTP2) Specifies constraints for MIDAS DSL compliant models UML Testing Profile v2 (UTP2) Still in OMG‘s standardization process (now also planned for ISO) Initial submission of UML testing profile V2 (UTP2) Standardising the core and the conceptual model of the MIDAS DSL Presented at OMG‘s Boston technical meeting in June Feedback from OMG’s ADTF (Analysis & Design Task Force): Very good technical work UTP2 is considered to be the currently most important and visible activity of ADTF! Presentation of the pre-final UTP2 version in December 2014 Final presentation planned for March 2015 OMG meeting

Description of the MIDAS DSL

Description of the MIDAS DSL

Description of the MIDAS DSL (Example 1) Example 1: Definition of the concept TestCase

Description of the MIDAS DSL

Description of the MIDAS DSL (Example 2) Example 2: Test Data Concept

Mapping of the MIDAS DSL to TTCN-3 MIDAS DSL Concept TTCN-3 Concept TestContext Module TestContext’s Propety Module Parameters, Constants TestComponent Component (assuming the role of a tester in a test configuration) SUT Component (assuming the role of the System Interface component in TTCN-3) TestCase Operation Test Case TestConfiguration Test Configuration TestCase Operation Parameter Test Case Parameter Test Case Method Functions that runs on Components assuming the role of a Test Component Primitive Type Basic Type and facets thereof Data Type record Enumeration Enumerated Signal InstanceSpecification Template MIDAS DSL Concept TTCN-3 Concept LiteralSpecification Primitive Type Literal DataPartition - Interface Component Port Type Port Component Port Connector Map/Connect Interval Range/Length SetExpression List of templates Property Field (of a record) Test Configuration Part Instance of a Component in a Test Configuration Message Asynchronous Signal Non-blocking send-/receive-Message Message SynchCall call/getcall Call Message Reply Reply-/getreply Call Message AsyncCall Non-Blocking call DetermAlt Altstep Loop do … while, for, while … do Optional CombinedFragment If () then Alternative CombinedFragment If .. else if … else DurationConstraint timer start (duration), timer stop, timer timeout InteractionUse Function call

Specification of Platform Components MIDAS Model Validator Implements the constraints for MIDAS models to conform to the MIDAS DSL Input models shall be validated by the MIDAS Model Validator before test generation is started TTCN-3 Generator Implemented as a service of the MIDAS platform Supports functional, UBT and security test generation & scheduling (see later) Provides log file with error messages in case of errors MIDAS DSL Input Validation MIDAS DSL Generation testcase tc_2() … { var TC tc_Property; connect( (..); tc_Property.start(…); tc_Property.done; … } TTCN-3

Integration of Test Methods - UBT & Fuzzing Combination of test methods Idea: security testing could benefit from usage-based testing (UBT) UBT aims at testing functionality that is mostly used rarely used functionality is less tested Attacker‘s can exploit this fact an inverted usage-profile could be used for security testing Adaption of UBT simply inverse probabilities in usage-profile functional test cases generated from inverted usage profile serve as input for security testing Usage-based testing aims at testing functionality that is mostly used Therefore, rarely used functionality is less tested and might contain more bugs, including security-relevant weaknesses. Attacker‘s can make use of this and focus attacks on functionality that is rarely used. Security testing can use an inverted usage-profile to fuzz functional test cases for rarely used functionality

End User and Core Services deployed on Cloud Infrastructure

Usage Model for MBT automated testing cloud infrastructure

End user main use cases

End user ancillary use cases

Tenancy Admin and TaaS Admin use cases

Implementation of Test Execution Use Case as TaaS

Implementation of Manual Test Design use case as TaaS

Implementation of Automated test design use case as TaaS

MIDAS TaaS deployment strategy: the DevEnv (in local) and the ProdEnv (on the Cloud)

MIDAS TaaS Deployment on a Public Cloud Infrastructure (M24)

Towards the end of the project Forthcoming Activities Supporting Tools for Pilots: WSDL Importer Further Integration with Pilots & evaluation and evolution of the MIDAS DSL and of the MIDAS Constraints along the two pilots Integration of Test Methods – Usage-based Testing & Fuzzing Adding some missing features Based on the experiences with the pilots in the 3rd year, the following changes are expected Fixing of bugs in the implementations Updating/adding constraints of the input validation If concepts are missing, they need to be integrated into the MIDAS DSL and implemented accordingly Adaptations to the test generation strategies

Timeline and Milestones Milestone name Target date TB adoption of WI 2015/01/28 Early Draft 2015/04/30 Stable Draft 2015/07/30 Draft for approval 2015/08/31 WG approval (delete if no WG)   TB approval 2015/xx/xx To be published as version: V x.x.x

Supporting Organizations Regular ETSI members SINTESIO, FOUNDATION Fraunhofer Institute for Open Communication Systems FOKUS Institut für Informatik, Universität Göttingen Iskratel Testing Technologies

Thank you www.midas-project.eu info@midas-project.eu @EUMIDASProject