sogeti tmap day 2015 · testing in track to excellence sogeti tmap day 2015 leon aarts erik sekeris...

29
Sogeti Tmap Day 2015

Upload: ngokhuong

Post on 18-May-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

SogetiTmap Day2015

|

Testing in

Track to ExcellenceSogeti Tmap Day 2015

Leon AartsErik Sekeris

Bussum, september 29, 2015

2Sogeti 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

|

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

|

Cloud first strategy

Sogeti Tmap Day 2015 – Testing in Track to Excellence 5

|

Track to Excellence - Databases in the Cloud

Sogeti Tmap Day 2015 – Testing in Track to Excellence 6

|

Test automation

Sogeti Tmap Day 2015 – Testing in Track to Excellence 7

Test management

Test environment

Test Design Test execution

|

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

|

Oracle Database Replay

� Real Applicaton Testing(Oracle Testing Suite)

� Application Replay

� Database Replay

Sogeti Tmap Day 2015 – Testing in Track to Excellence 9

|

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

|

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

|

Capture

� GUI or Commandline

� GUI through Enterprise Manager Cloud Control (EMCC)

� Commandline enables scripting

Sogeti Tmap Day 2015 – Testing in Track to Excellence 12

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 13

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 14

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 15

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 16

|

Capture

Sogeti Tmap Day 2015 – Testing in Track to Excellence 17

|

Preprocessing

� Set up the test database

� Preprocess mappings

� Start Replay clients

Sogeti Tmap Day 2015 – Testing in Track to Excellence 18

|

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

|

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

|

Replay Options

� Connect Time Scale

� Think Time Scale

� Think Time Correction

Sogeti Tmap Day 2015 – Testing in Track to Excellence 21

|

Replay Clients

Sogeti Tmap Day 2015 – Testing in Track to Excellence 22

|

Reporting and Analysis

� Compare results and divergence

� Between capture and replay

� Between different replays

Sogeti Tmap Day 2015 – Testing in Track to Excellence 23

|

Replay Results - Overviews

Sogeti Tmap Day 2015 – Testing in Track to Excellence 24

|

Replay Results - Comparison Reports

Sogeti Tmap Day 2015 – Testing in Track to Excellence 25

|

Replay Results - Replay Scale

Sogeti Tmap Day 2015 – Testing in Track to Excellence 26

|

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

|

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

|

Questions?

29Sogeti Tmap Day 2015 – Testing in Track to Excellence