1 / 15

OPENSTA and ColdFusion

OPENSTA and ColdFusion. Using Open STA for load and functional testing ColdFusion based applications. What is Open STA. Open Source Testing Tool Used to be a product called Cyrano Written in C++, currently windows only

Download Presentation

OPENSTA and ColdFusion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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/PerformanceFAQ.html • Sun Java 1.4 Performance and Scalability Guide: http://java.sun.com/j2se/1.4/performance.guide.html. • Sun JVM Specification http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html. • Resource on Tuning CF: http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=967 • 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/?ca=dgr-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

More Related