13
Performance Testing in SOA and Enterprise Middleware By Charitha Kankanamge

PerfTest in SOA

Embed Size (px)

DESCRIPTION

Presentation done at the inauguration of the Colombo PerfTest Meetup

Citation preview

Page 1: PerfTest in SOA

Performance Testing in SOA and Enterprise Middleware

ByCharitha Kankanamge

Page 2: PerfTest in SOA

Heading….

• SOA and Enterprise Middleware – Overview

• Typical Server Performance patterns

• Performance Test Environment

• Open Source Performance Testing tools – Apache Jmeter

• Open Source Performance Testing tools – soapUI

• Monitoring tools

Agenda

Page 3: PerfTest in SOA

Heading….SOA and Enterprise Middleware

A Service Oriented Architecture is a set of components which can be invoked and whose interface descriptions can be published and discovered

Page 4: PerfTest in SOA

Heading….

• Higher level of integrations

• Reusable components

• Heterogeneous platforms

• Cloud complexities (auto-scaling etc..)

Importance of Performance Testing in SOA

Page 5: PerfTest in SOA

Heading….

• Latency – End-to-End processing time

• Throughput – The amount of messages server processes during specific time interval

Reference - http://srinathsview.blogspot.com/2012/05/how-to-measure-performance-of-server.html

Server Performance

Page 6: PerfTest in SOA

Heading….

• Clusetered setup identical to production environment

• Warm-up servers

• Initial Tuning

• Isolated Network

• Disable unnecessary server features – e.g:- DEBUG logs

Performance Testing Environment

Page 7: PerfTest in SOA

Heading….

• Allocate enough memory for testing tool

• Tune open file limit in Linux

• Run clients from separate machines

• Avoid VMs (IO issues)

• Run testing tools in non-GUI mode

• Validate the stats given by tools by manual inspections

Performance Testing Environment

Page 8: PerfTest in SOA

Heading….

• Java clone of AB (Apache Bench)

• Simple Performance comparison tool

• Lightweight tool without GUI

Java Bench

Page 9: PerfTest in SOA

Heading….

• Not a browser, no HTML rendering

• SOAP/XML-RPC and Webservice samplers for SOA performance testing

• Data driven testing

Apache Jmeter

Page 10: PerfTest in SOA

Heading….

• Easy-to-Use, open source web services testing tool

• Functional to Performance conversion in no-time

• WS-* support

• Pre-defined load test strategies

soapUI

Page 11: PerfTest in SOA

Heading….

• Tools provided by OS (e.g:- top)

• Profiling Tools (e.g:- Jprofiler)

• Monitoring tools (e.g:- Jconsole with plugins)

Performance Analysis and Monitoring

Page 12: PerfTest in SOA

Heading….Q & A

Page 13: PerfTest in SOA

Heading….

Thank You!

Charitha [email protected]://charithaka.blogspot.com