PureApplication for testers

28
PureApplication & Testing With a devops twist 24 th November 2014

Transcript of PureApplication for testers

PureApplication & Testing

With a devops twist

24th November 2014

224th Nov 2014 PureApplication & Testing

It’s a testers world?

Development & Test

Route to Live

Pattern Components

1

2

3

4

IT’S A TESTERS WORLD?

Section 1

24th Nov 2014 PureApplication & Testing 3

4

524th Nov 2014 PureApplication & Testing

Stakeholder information

History of software testing ?

24th Nov 2014 6PureApplication & Testing

724th Nov 2014 PureApplication & Testing

Use-Case

Stagnant systems

Lack of cookie-cutter means systems are prized and go unused

Complexity of environments

Aged test environments

4x over-commit on one test environment

Dev Test Prod differences

Route-To-Live not clear due to lack of ability to grow systems

SIT turn-around times

Days to clean-up used test environments

Test data loading times

8

Pain points addressed by Pure Patterns

PureApplication & Testing24th Nov 2014

DEVELOPMENT & TEST

Automation using PureApp

24th Nov 2014 PureApplication & Testing 9

Are we talking about Devops?

Well ……

hmm……

Yes .……

Hmm…...

And no….

24th Nov 2014 10PureApplication & Testing

24th Nov 2014 11PureApplication & Testing

12PureApplication & Testing24th Nov 2014

PureApp Development

13PureApplication & Testing

Componentisation gives developers easy way to get environments

Whether they be simple or more complex

Reduced skills

Speedier time-to-value

But….Ties them to the network !

Unit Test

Remains on desktop and/or integrated into build as build verification

Large canned Project Management suites (Rational suite)

24th Nov 2014

Software Components

PureApp v2 has good component building blocks

Software components

Halfway between scripts and plugins

Everything to do with installing and configuring a single product (we recommend a single product)

Including: HA abilities, configuration of applications

System patterns

Composed of Scripts + VM’s

& now Software components

Pattern components

Definitive topology of Application patterns

Halfway between VSYS and VAP

24th Nov 2014 14PureApplication & Testing

The Pattern Pyramid

24th Nov 2014 15PureApplication & Testing

PureApp & Build

16PureApplication & Testing

Artifact repositories on PureApp

Build engines can be on PureApp

Scaled Build-engines for peak-loads

24th Nov 2014

PureApp & Test automation

17PureApplication & Testing

Automated deployments to PureApp hosted environments

Urbancode has PureApp integration

24th Nov 2014

Pull the plug

HA is “free” across nodes in a box

Pattern will attempt to place HA logical nodes across physical nodes

Can now (v2) be cross-box with semi-auto/manual placement

Txs are moved across – in one box

But you still have to do normal compensation

Still have to test physical concepts like this !

Hybrid cloud issues like data back-up

24th Nov 2014 18PureApplication & Testing

ROUTE-TO-LIVE

PureApplication and route-to-live

1924th Nov 2014 PureApplication & Testing

A Definition

Ensuring consistent systems

Development->Test->Production

Production systems are often seen as definitive. But if applications haven’t been developed and tested on same configuration then errors can creep in and it’s wasted effort

True-story: Bug in a system took 6 months to surface and took down complete production environment.

Cause: different environments from test->Prod

24th Nov 2014 20PureApplication & Testing

Tomcat Developer Pattern

24th Nov 2014 21PureApplication & Testing

Environment Cleansing

Today testers clean environments

Reset data

Remove caches

Uninstall software

Often done by another party

Time-lag

PureApp enables fresh environments every-time

No well-known way to enable data loading

In-house methods required

24th Nov 2014 22PureApplication & Testing

Test clients Pattern

24th Nov 2014 23PureApplication & Testing

Testers can write their own nodes

Capturing best-practice

Clarifying what is running and where

All the other nodes remain the same

Clear route from dev->test

A Tester’s Tail (Another true story)

24th Nov 2014 24PureApplication & Testing

Once upon a time…..A Developer threw some code over the wall to a tester (Obviously this would never actually happen !!!)

The tester couldn’t figure out why it didn’t work on their system

After hours of looking through logs, re-running tests, checking their own code; they realised it was because the developer had never considered a clustered appserver model

Performance testing

Simply add a policy

Everything else is guaranteed identical

Developers can have their own test environments

When they get through the defect backlog

No test skills required

“devops” Stylee

They feel the pain not just the tester !

Testers can move on to other tests

24th Nov 2014 25PureApplication & Testing

Production Environments

24th Nov 2014 26PureApplication & Testing

Where’s the Client !?

No requirement to connect backwards

Could represent for completeness

Scaling problem

Potentially code to configure load balancers etc. using deployment values

DB is connect forwards

Needs potentially scripting in Tomcat

!?

LB

Software Patterns

24th Nov 2014 27PureApplication & Testing

Pre-define the environments

Take control of the route-to-live !

End of Presentation

PureApplication and Testing

Thank you

24th Nov 2014 PureApplication & Testing 28