1 / 16

SimCo – Hybrid Simulator for Testing of Component Based Applications

SimCo – Hybrid Simulator for Testing of Component Based Applications. Richard Lipka, Tomáš Potužák , Přemek Brada, Pavel Herout Department of Computer Science and Engineering Faculty of Applied Sciences University of West Bohemia, Pilsen , Czech Republic. Agenda. Motivation and goals

melody
Download Presentation

SimCo – Hybrid Simulator for Testing of Component Based Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SimCo – Hybrid Simulator forTestingofComponentBasedApplications Richard Lipka, Tomáš Potužák, Přemek Brada, Pavel Herout Department of Computer Science and Engineering Faculty of Applied Sciences University of West Bohemia, Pilsen, Czech Republic

  2. Agenda • Motivationandgoals • Principlesofsimulationtesting • SimCo structure • Experimentsand case study • Futurework

  3. Motivationandgoals • Components as standard units • Stored in repository, used to buildanapplication • Described by • Function • Extra-functionalproperties • Testingofcomplexcomponent-basedapplication • Testsofunfinishedapplications • Replacementofhumantesters in somecases • Speed upofthetestingprocess by testingonly part ofapplication

  4. Simulationtesting – generalprinciple • Simulationoftheusersactions • Interactionwith user interface • Welldefined set ofactions – use case scenario • Simulationoftheenvironment • Othersystemsused by application • Skippingofsomecomputation • Why to performcompressionwhen I want to test GUI

  5. Hybrid simulation • Real components are testedtogetherwithsimulatedones • There are no alterations in realcomponents • Simulationcomponentsserves as • Simulationofthesurroundingenvironment • Placingofmeasurementprobes • „Oracle“ whenrealcomponentistooslow / unavailable

  6. SimCocomponents • Corecomponents • Funcionalityoftestingtool – callendar, resultsmeasurements • Testedcomponents • Real, unchangedcomponentsoftestedapplication • Simulatedcomponents • Componentstubs, simplifiedfunctinality, oracles, simulatedfunctionality • Proxy componentsbetweenrealones

  7. SimCocomponents – design problems

  8. Scenarios • Descriptionofmandatoryevents • XML file, whenandwhathappens • Regular / Casual / Rare • Settingsofsimulatedcomponents • XML file, depends on simulatedcomponent • Pre-calculatedresults • Settingsofintermediatecomponents • Propertiesofcommunication • Compositionofthetestedapplication • Whichrealandsimulatedcomponentsshouldbeused

  9. Experiments – testingtechnologies • Java, OSGi, SpringDM • Testingapplication – filemanager

  10. Experiments - overhead • Comparisonofthetimeconsumed by testedapplicationandtimemeasured by SimCo

  11. Experiments - performance • Testingof performance ofdifferentimplementationsofonecomponent • Displayingfile in definedformat • Constantandlinearcomplexity

  12. Experiments - performance

  13. Experiments - communication • Measurementsof data sentover a network device • Totalammountoftransferred data • Countofmessagessentandreceived • Analysisof transport and network layerheaders • Allmessagescorrectlyobservedanddelivered

  14. Case study - Openmatics • Testingof car onboardsoftware • Applications – „Boxlets“ as components, availablefromrepository • Measurementsof network communication • Speedingupoftesting by replacementoforiginalscheduler by itssimulation

  15. Futurework • Solvingproblemswithcallsof Java API • Support forautomatedpreparationofscenarios • Generatingof basic simulatedcomponents • Based on analysisof use case specification • Comparisonwith static codeanalysis • Determiningwhat type oferrorscanbediscovered by simulationtesting

  16. Thank youforyourattention

More Related