testing service oriented architectures using stateful
play

Testing Service Oriented Architectures Using Stateful Service - PowerPoint PPT Presentation

Testing Service Oriented Architectures Using Stateful Service Virtualization Via Machine Learning Hasan Ferit Eni ser, Alper Sen { hasan.eniser,alper.sen } @boun.edu.tr depend.cmpe.boun.edu.tr Department of Computer Engineering Bo gazi


  1. Testing Service Oriented Architectures Using Stateful Service Virtualization Via Machine Learning Hasan Ferit Eni¸ ser, Alper Sen { hasan.eniser,alper.sen } @boun.edu.tr depend.cmpe.boun.edu.tr Department of Computer Engineering Bo˘ gazi¸ ci University AST 2018 Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 1 / 39

  2. Table of Contents Introduction 1 Related Work 2 Method 3 Evaluation 4 Conclusions 5 Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 2 / 39

  3. Table of Contents Introduction 1 Related Work 2 Method 3 Evaluation 4 Conclusions 5 Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 3 / 39

  4. Motivation In enterprise software systems, Service Oriented Architectures (SOA) help companies to achieve flexibility and scalability for business requirements. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 4 / 39

  5. Motivation In enterprise software systems, Service Oriented Architectures (SOA) help companies to achieve flexibility and scalability for business requirements. As a result of such architectures, today’s enterprise software systems have higher number of interconnected services, interdependent teams and heterogeneous technologies. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 4 / 39

  6. Motivation In such complex software systems, testers and developers suffer from the conditions below: Still evolving or uncompleted services. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 5 / 39

  7. Motivation In such complex software systems, testers and developers suffer from the conditions below: Still evolving or uncompleted services. Limited capacity or availability of services at inconvenient times. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 5 / 39

  8. Motivation In such complex software systems, testers and developers suffer from the conditions below: Still evolving or uncompleted services. Limited capacity or availability of services at inconvenient times. Services that are controlled by a third-party that grants restricted or costly access. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 5 / 39

  9. Motivation In such complex software systems, testers and developers suffer from the conditions below: Still evolving or uncompleted services. Limited capacity or availability of services at inconvenient times. Services that are controlled by a third-party that grants restricted or costly access. Services that are needed simultaneously by different test teams with various set up and requirements. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 5 / 39

  10. Motivation In such complex software systems, testers and developers suffer from the conditions below: Still evolving or uncompleted services. Limited capacity or availability of services at inconvenient times. Services that are controlled by a third-party that grants restricted or costly access. Services that are needed simultaneously by different test teams with various set up and requirements. Service virtualization can address some of these conditions. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 5 / 39

  11. Service Virtualization Service Virtualization is a practice to create a virtual copy of a dependent component. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 6 / 39

  12. Service Virtualization Service Virtualization is a practice to create a virtual copy of a dependent component. Service virtualization: is suitable for sharing within a team and across teams. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 6 / 39

  13. Service Virtualization Service Virtualization is a practice to create a virtual copy of a dependent component. Service virtualization: is suitable for sharing within a team and across teams. is suitable for complex and very large (legacy) software that has many dependencies. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 6 / 39

  14. Service Virtualization Service Virtualization is a practice to create a virtual copy of a dependent component. Service virtualization: is suitable for sharing within a team and across teams. is suitable for complex and very large (legacy) software that has many dependencies. can simulate performance and data characteristics of the real component. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 6 / 39

  15. Service Virtualization Service Virtualization is a practice to create a virtual copy of a dependent component. Service virtualization: is suitable for sharing within a team and across teams. is suitable for complex and very large (legacy) software that has many dependencies. can simulate performance and data characteristics of the real component. is useful for test data management . Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 6 / 39

  16. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  17. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . Request Application Under Service Test Response Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  18. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . Request Application Recorder Under Service Test Response Interaction Repository Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  19. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 1.Capture Request Application Recorder Under Service Test Response Interaction Repository Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  20. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 1.Capture Request Application Recorder Under Service Test Response Learn Interaction Repository Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  21. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 1.Capture Request Application Recorder Under Service Test Response 2.Model Learn Interaction Repository Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  22. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 1.Capture Request Application Recorder Under Service Test Response 2.Model Learn Interaction Repository Virtual Service Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  23. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 1.Capture Request Application Recorder Under Service Test Response Synthetic Request Response 2.Model Learn Interaction Repository Virtual Service Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  24. Service Virtualization The fundamental process of service virtualization practice can be abstracted into three phases; capture , model and simulate . 3.Simulate 1.Capture Request Application Recorder Under Service Test Response Synthetic Request Response 2.Model Learn Interaction Repository Virtual Service Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 7 / 39

  25. Service Virtualization Services can be examined in two groups: Stateless services and Stateful services. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 8 / 39

  26. Service Virtualization Services can be examined in two groups: Stateless services and Stateful services. Stateful services require to keep state history to predict the response of a request. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 8 / 39

  27. Service Virtualization Services can be examined in two groups: Stateless services and Stateful services. Stateful services require to keep state history to predict the response of a request. An example stateful service can be a shopping cart service where a user must login first to get cart information.Actions like logging in, adding or removing items from the cart bring the service to a new state. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 8 / 39

  28. Service Virtualization Services can be examined in two groups: Stateless services and Stateful services. Stateful services require to keep state history to predict the response of a request. An example stateful service can be a shopping cart service where a user must login first to get cart information.Actions like logging in, adding or removing items from the cart bring the service to a new state. Another example can be calender service where a user can create, delete or get events with a specific label. The user also can update event information. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 8 / 39

  29. Stateful Services Figure: A sample interaction (request-response pair) trace. Hasan Ferit Eni¸ ser, Alper Sen AST 2018 28 May 2018 9 / 39

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend