OPENSTA%20and%20ColdFusion - PowerPoint PPT Presentation

About This Presentation
Title:

OPENSTA%20and%20ColdFusion

Description:

It is actually two tools the Open Sta commander and the Open STA gateway. ... Heap VS. Perm. Monitoring the JVM. Tuning the JVM. Getting to know the JVM. JVM Resources ... – PowerPoint PPT presentation

Number of Views:335
Avg rating:3.0/5.0
Slides: 16
Provided by: robi74
Category:

less

Transcript and Presenter's Notes

Title: OPENSTA%20and%20ColdFusion


1
OPENSTA and ColdFusion
  • Using Open STA for load and functional testing
    ColdFusion based applications

2
What is Open STA
  • Open Source Testing Tool
  • Used to be a product called Cyrano
  • Written in C, currently windows only
  • It is actually two tools the Open Sta commander
    and the Open STA gateway.

3
Why Use a Testing Tool
  • Automate tedious jobs
  • Increase code quality
  • Decrease time debugging
  • Increase predictability
  • Create real benchmarks and metrics for planning

4
Open STA VS. MS WAST
  • Open STA is open source
  • Has richer functionality
  • Less issues with SSL
  • Great support and development community

5
How Open STA works
  • Commander and Gateway
  • Scripts, Collectors, and Tests

6
Creating a Script
  • Create a new script name
  • Setup your browser
  • Record a session

7
Some Comments on Creating Scripts
  • Try to break down your scripts to use cases for
    functional testing. Remember you can combine
    many small tests into on big test.
  • Get with real stakeholders for modeling realistic
    tests.

8
Create a Collector
  • Collectors are just Win NT perfmon counters.
  • You need to have CF counter on in the admin
  • Model your counters in Perfmon
  • Then build a collector, collector can have any
    number of counters

9
Create a Test
  • Create a new test
  • Add your scripts
  • Add your counters
  • Adjust virtual users, monitors, ramp up time etc.
  • Tests can be changed in real time!

10
Analytics
  • Open STA Analytics are virtually nonexistent
  • You need to use some other tool but most of the
    time Excel should be sufficient.

11
Tuning ColdFusion
  • JVM
  • JRUN.XML
  • Testing and tuning for performance

12
Basic JVM Settings
  • Basic Settings for Performance
  • Heap VS. Perm
  • Monitoring the JVM
  • Tuning the JVM
  • Getting to know the JVM

13
JVM Resources
  • More JVM and Java performance references
  • The JVM FAQ http//java.sun.com/docs/hotspot/Perf
    ormanceFAQ.html
  • Sun Java 1.4 Performance and Scalability Guide
    http//java.sun.com/j2se/1.4/performance.guide.htm
    l.
  • Sun JVM Specification http//java.sun.com/docs/boo
    ks/vmspec/2nd-edition/html/VMSpecTOC.doc.html.
  • Resource on Tuning CF http//www.bpurcell.org/blo
    g/index.cfm?modeentryentry967
  • JVM STAT http//developers.sun.com/dev/coolstuff/
    jvmstat/
  • IBM Article on Tuning a BlueDragon CFML Site
    http//www-106.ibm.com/developerworks/java/library
    /j-perf06304/?cadgr-lnxw07BlogFix

14
JRUN.XML
  • Services (Scheduler VS. Proxy)
  • Active Threads
  • Min and Max threads
  • Timeout

15
Summary
  • Testing increases usability
  • Increases predictability
  • Lowers development cost
  • Makes people happy
Write a Comment
User Comments (0)
About PowerShow.com