modeland& &inference&& driven&&& automatedtesng&of&& … ·...

12
Steffen Herbold Model and Inference Driven Automated tes5ng of Services architectures

Upload: others

Post on 10-May-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

Steffen Herbold

Model  and      Inference    Driven      Automated  tes5ng  of    Services  architectures  

Page 2: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

!   Mo5va5on  

!   Overview  of  MIDAS  

!   MIDAS  Test  Genera5on      

!   Conclusion  

Outline

Page 3: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

Consor5um  

Page 4: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

!   SoPware  and  soPware  architectures  evolved  

!   More  and  more  industrial  soPware  is  based  on  SOA  

!   OPen  available  on  the  cloud  

§  So#ware  as  a  Service  (SaaS)  

!   Tes5ng  did  not  evolve!  

Mo5va5on  

Page 5: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

Overview  of  MIDAS  

Page 6: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

Overview  of  MIDAS  

MIDAS Test

Generation •  Functional Testing •  Security Testing •  Usage-based Testing

Page 7: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

MIDAS  DSL  for  Modeling  Tests  

SUT Structure as UML Object Diagram

Test Cases as UML Sequence Diagrams

Page 8: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

!   Security  tes5ng    

§  Fuzzes  UML  Sequence  diagrams  

o  Data  fuzzing  

o  Behavioral  fuzzing  

o  Combina5on  of  both  (combined  fuzzing)  

Security  Tes5ng  with  Data  and  Behavioral  Fuzzing  

GET /infotext.html HTTP/1.1 Host: www.example.net

GET /infotext.html HTTP/1.1 Host: www.example.net Host: www.example.net

GET /infotext.html HTTP/1.1 Host: www.example.net%s%s%s Traditional Data Fuzzing

Behavioral Fuzzing

Page 9: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

Usage-­‐based  Tes5ng  

Usage Journal Service Orchestration Usage Profile

Test Sequences SUT Test Model Test Cases

Page 10: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

Web-­‐based  Dashboard  as  User  Interface  

Page 11: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

UCAAT  2014,  Sep.  17th  2014  •  MIDAS  Project  •  www.midas-­‐project.eu  •  Project  Number  318786    

!   Func5onal  Tes5ng  

!   Intelligent  test  scheduling  

!   Manual  design  of  tests  with  UML  Sequence  diagram  

!   Genera5on  of  TTCN-­‐3  code  from  UML  Sequence  diagrams  

!   Direct  execu5on  of  TTCN-­‐3  code  

!   MIDAS  DSL  as  a  test  modeling  language  for  SOAs  

§  Uses  the  UML  Tes=ng  Profile  

!   Only  touched  the  surface  of  our  features  

§  Many  more!  

More  tes5ng  features  

Page 12: Modeland& &Inference&& Driven&&& Automatedtesng&of&& … · 2014. 9. 18. · UCAAT&2014,&Sep.&17th&2014&•MIDAS&Project&•&•Project&Number&318786& & Mo5va5on& Overview&of&MIDAS&

Thank  you  for  your  a[en5on!  

www.midas-project.eu [email protected] @EUMIDASProject

[email protected]­‐goe]ngen.de