Top Banner
Sogeti Tmap Day 2015
29

Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

May 18, 2018

Download

Documents

ngokhuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

SogetiTmap Day2015

Page 2: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Testing in

Track to ExcellenceSogeti Tmap Day 2015

Leon AartsErik Sekeris

Bussum, september 29, 2015

2Sogeti Tmap Day 2015 – Testing in Track to Excellence

Page 3: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Erik SekerisOracle Certified Master DBA

Leon AartsBusiness Development Oracle

Introduction

Sogeti Tmap Day 2015 – Testing in Track to Excellence 3

Page 4: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Agenda

� Introduction� Cloud� Track to Excellence - Testing� Test automation for databases

� Oracle Database replay� Capture - Replay - Analysis

� Wrap up and conclusions

Sogeti Tmap Day 2015 – Testing in Track to Excellence 4

Page 5: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Cloud first strategy

Sogeti Tmap Day 2015 – Testing in Track to Excellence 5

Page 6: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Track to Excellence - Databases in the Cloud

Sogeti Tmap Day 2015 – Testing in Track to Excellence 6

Page 7: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Test automation

Sogeti Tmap Day 2015 – Testing in Track to Excellence 7

Test management

Test environment

Test Design Test execution

Page 8: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Agenda

� Introduction� Cloud� Track to Excellence - Testing� Test automation for databases

� Oracle Database replay� Capture - Replay - Analysis

� Wrap up and conclusions

Sogeti Tmap Day 2015 – Testing in Track to Excellence 8

Page 9: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Oracle Database Replay

� Real Applicaton Testing(Oracle Testing Suite)

� Application Replay

� Database Replay

Sogeti Tmap Day 2015 – Testing in Track to Excellence 9

Page 10: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Oracle Database Replay

� Database Replay� Capture - Process - Replay - Analysis

� Capture once - Replay many times

� Functional and Technical testing

Sogeti Tmap Day 2015 – Testing in Track to Excellence 10

Page 11: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Why Database Replay?

� No testset or scripting available

� Unable to simulate production workload

� Shortage of time to manually create a testset

� Only the database performance/functionality has to be tested

Sogeti Tmap Day 2015 – Testing in Track to Excellence 11

Page 12: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

� GUI or Commandline

� GUI through Enterprise Manager Cloud Control (EMCC)

� Commandline enables scripting

Sogeti Tmap Day 2015 – Testing in Track to Excellence 12

Page 13: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 13

Page 14: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 14

Page 15: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 15

Page 16: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 16

Page 17: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 17

Page 18: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Preprocessing

� Set up the test database

� Preprocess mappings

� Start Replay clients

Sogeti Tmap Day 2015 – Testing in Track to Excellence 18

Page 19: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

System setup

� Make changes to your system

� Add or remove resources

� Modify the datamodel (e.g. indexes)

� Change the DR and/or HA setup

� Change settings and parameters

Sogeti Tmap Day 2015 – Testing in Track to Excellence 19

Page 20: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay(s)

� Reset the database to its initial state

� Replay as many times as needed

Sogeti Tmap Day 2015 – Testing in Track to Excellence 20

Page 21: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay Options

� Connect Time Scale

� Think Time Scale

� Think Time Correction

Sogeti Tmap Day 2015 – Testing in Track to Excellence 21

Page 22: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay Clients

Sogeti Tmap Day 2015 – Testing in Track to Excellence 22

Page 23: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Reporting and Analysis

� Compare results and divergence

� Between capture and replay

� Between different replays

Sogeti Tmap Day 2015 – Testing in Track to Excellence 23

Page 24: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay Results - Overviews

Sogeti Tmap Day 2015 – Testing in Track to Excellence 24

Page 25: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay Results - Comparison Reports

Sogeti Tmap Day 2015 – Testing in Track to Excellence 25

Page 26: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Replay Results - Replay Scale

Sogeti Tmap Day 2015 – Testing in Track to Excellence 26

Page 27: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Agenda

� Introduction� Cloud� Track to Excellence - Testing� Test automation for databases

� Oracle Database replay� Capture - Replay - Analysis

� Wrap up and conclusions

Sogeti Tmap Day 2015 – Testing in Track to Excellence 27

Page 28: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Wrap up and conclusions

Sogeti Tmap Day 2015 – Testing in Track to Excellence 28

� More and more business in the Cloud� Requires different approach to testing - Rapid and Repeatable

� Track to Excellence - Testing Databases in the Cloud� A framework for improving (database) environments to make them

Cloud-ready

� Oracle Database Replay� Benefits

Page 29: Sogeti Tmap Day 2015 · Testing in Track to Excellence Sogeti Tmap Day 2015 Leon Aarts Erik Sekeris Bussum, september 29, 2015 Sogeti Tmap Day 2015 –Testing in Track to Excellence

|

Questions?

29Sogeti Tmap Day 2015 – Testing in Track to Excellence