the art of testing trading platforms from applabs

19
AppLabs confidential and restricted circulation 1

Upload: vijay-bhaskar-varma-yarakaraju

Post on 24-May-2015

3.227 views

Category:

Technology


7 download

TRANSCRIPT

Page 1: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 1

Page 2: The Art Of Testing Trading Platforms From AppLabs

The Art of Testing Trading Platforms

23rd July 2008

Ravi Gurrapadi

Page 3: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 3

Agenda

» Exchange/Trading Platform Overview» Key Challenges/Risks» Acceptance Criteria» Test Governance/Management» Functional Testing/Complex scenarios» Integration Testing» Performance Testing» Failover/Recovery Testing» Summary» Questions

Page 4: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 4

Typical Stock Exchange/ Trading Platform Overview

Page 5: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 5

Key Challenges/Risks» Business Challenges

» Developing complex trading scenarios & test cases

» To reflect real time trading

» Integrating different modules (Front, Middle and Back office functions)

» Compliance to evolving regulations like RegNMS, MiFID

» Building & maintaining the domain competence

» Technical Challenges

» Interaction of multiple systems through several interfaces and gateways

» Automation of the complex scenarios & interface gateways

» Performance testing to ensure acceptable levels of latency as per the SLAs

» Risks

» Business – changes in business model, rules & regulatory requirements, introduction of new products, down time (revenue lost), time to market

» Technology – risk of failure, new technology integration, legacy applications, migration to a new application, 3rd party application issues affecting your own system

Page 6: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 6

Acceptance Criteria

» Testing for core functionalities as specified in the functional requirements» User Management» Instrument Management» Quote/Order Management» Session Management» Trade Management» Risk Management» Compliance to Regulations

» Testing for agreed specifications as per SLAs» Performance» Security» Network» Reliability

Page 7: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 7

Governance Structure

Page 8: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 8

Test Governance/Management

» Major stakeholders» Client organization, development organization

» Management » Domain » Technical » Client's clients/vendors

» Adherence to agreements with all the stakeholders» Test Plans

» Deliverables» Schedule» Change management

» SLAs» Metrics» Escalation procedures

» Sub contracts

Page 9: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 9

Test Planning & Design

Page 10: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 10

Level 1 Business Process Flows

LIMIT

STOP LIMIT

DAYGTD / GTC

IsBUY / SELL

Is Price >= BO

BUY

Traded

ORDER BOOK

NO

Is Price<= BB

SELL

NO

YES

Is BUY / SELL

Is STOP Price > LTP

BO

Is Order Qty fully

filledYES

YES

Order traded partially routed to Order Book

NO

BUY RejectedNO

Is STOP Price < LTP

SELL

Order Book (Order in Passive)

Is STOP Price > LTP

Order elected

YES

BUYNOIs

STOP Price < LTPSELL

NO

NO

YES

YES

BB

YES

Page 11: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 11

Level 2 Test Scenarios

LIMIT

STOP LIMIT

DAYGTD / GTC

IsBUY / SELL

Is Price >= BO

BUY

Traded

ORDER BOOK

NO

Is Price<= BB

SELL

NO

YES

Is BUY / SELL

Is STOP Price > LTP

BO

Is Order Qty fully

filledYES

YES

Order traded partially routed to Order Book

NO

BUY RejectedNO

Is STOP Price < LTP

SELL

Order Book (Order in Passive)

Is STOP Price > LTP

Order elected

YES

BUYNOIs

STOP Price < LTPSELL

NO

NO

YES

YES

BB

YES

Test Scenario

Page 12: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 12

Level 2 Test Scenarios

Page 13: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 13

Level 3 Test Cases

Test Case

Page 14: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 14

Integration Testing/Interface Testing

Page 15: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 15

Performance Testing

» Response times are critical

» New generation systems have minimal latency

» Time is literally money

» Highly complex

» Multiple API’s and connections to external systems

» Need to performance test sub-systems

» Variety of scenarios

» Examples: day in life of, daily peaks, fast markets

» Soak tests for memory leaks, etc.

» Performance test data

» Huge volumes of test data required

» Needs to be generated and managed efficiently

Page 16: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 16

Failover/Recovery Testing

» Test system resilience to failure and the ability to continue to provide service during failure & recovery

» Test standard operating procedures to ensure they are robust and comprehensive

» Ensure recovery is with acceptable time scales and performance criteria

» Areas to cover:» Software (operating system, process and application)

» Hardware 

» Power Failure

» Network 

Page 17: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 17

Summary

» Stock Exchanges have inherent complexity in terms of business flow and business rules – testing is a critical element in ensuring business delivery

» Key areas of interest for stock exchanges:

» Increased volumes

» Speedy execution

» Effective surveillance to safeguard investor and market interest

» These go in as requirements to a trading application and the testing process to ensure the implementation is a business success

» Having a well tested application that doesn't fail in real time gives an edge over the competition – areas of failure in this area become public news

Page 18: The Art Of Testing Trading Platforms From AppLabs

AppLabs confidential and restricted circulation 18

Questions?

» For any questions following the presentation, then please e-mail [email protected]

Page 19: The Art Of Testing Trading Platforms From AppLabs