Tools for OpenSTA

 Background

As a freelance Consultant, I use OpenSTA for stressing and measuring my Customer's Web Server and "n-tiers" applications.

Some of them also want to monitor the decrease of performances over a long-time period.

The idea is then to prepare specific OpenSTA tests that will be run periodically (on every Sunday night for example).

The analysis of the Test Results can be very tedious as they grow week after week.

So I developped small programs which purpose is to run the Scripts in Batch Mode on a PC and then transfer the Results on a Linux Server where they are compiled into graphs that can be integrated in a monitoring tool such as Big-Brother.

Then each instance of the Test Results gives a graph. Graphs are then gathered by "family" and can be easily compared... (I will explain my concept of "Test Family" with OpenSTA in a further article).

 OpenSTA Batch Tools

ostarepair-1.1 When Running Tests are stopped the produced results may be corrupted.
These results then generate an "insufficient memory" Error Message when you want to display them.

This command line tool can be used to fix corrupted Results: it accepts the name of a *.stat file on the command line, analyses it and fixes it, as well as the matching *.urls file.
The original files are saved by adding a ".bkp" suffix.

You can download the exe (Debug version) and the VC++ 6.0 Project MD5 checksum: 327fb59673361f283bcea7a60e00cb5c
You can download the exe only (Release version) MD5 checksum: b9b8abe5b204e8c47b10b86b3a8e316b

Please do not forget to remove the "HttpStats.cache" file located under the Test directory otherwise OpenSTA won't use the new fixed files.
opensta2txt-1.1 This command line tool converts a binary Test Result (a pair of *.stat and *.url files) into a unique CSV file that can be processed by external tools.

you can download the exe (Debug version) and the VC++ 6.0 Project
MD5 checksum: 40c5f587ad8d5205e0ce138789f586ee

you can download the exe only (Release version)
MD5 checksum: d4c09d9c24dfe67b7f145b5482087fb6
opstabatch-1.1 This command line tool accepts an OpenSTA Test Name as its unique argument, checks no other Test is running, then launches TestInit.exe which in turn launches TestManager.exe.

When the Test ends, it launches opensta2txt.exe to convert the binary data files in text files.

It's then up to you to wrap this program in a batch to process the files, transfer them on a remote server, etc...

Please note that the given OpenSTA Test Name MUST BE A VALID Test Name otherwise TestManager.exe will loop forever !

You can download the exe (Debug version) and the VC++ 6.0 Project MD5 checksum: cd595e4971d5a126d304e3c5f7af7112
You can download the exe only (Release version) MD5 checksum: 191b3740e98248d123ba63f154fa44ee


This site is maintained by jdelamarche@maje.biz