Feeds

Testing web transactions

Old tool gets new lease of life

  • alert
  • submit to reddit

Security and trust: The backbone of doing business over the internet

Generating comprehensive test data sets is always a pain - especially with transaction-based applications. Today's web-based applications are subject to widely-varied live transaction volumes where server traffic can go from one transaction an hour to 1,000 a second in the blink of an eye. So if you want to test them properly you really need to throw shed loads of data at them.

Ross Systems International (RSI), a UK-based software services company, says it has the answer with Pira, its script-based testing tool. Pira, from the Greek "to test", is an intelligent generator tool which can create flexible test-sets for complex applications. It comes as a simple scripting language and Piralib, a set of C libraries.

"The language goes through a two part process during executions, very similar to Java. It is first converted to a meta-language, which is held in a tree structure in the interpreter and then this is executed to produce the test records and actions," explains Rupert Stanley, RSI founder and director.

RSI has a lengthy background in resilient computing in the finance and telecommunications industries and developed Pira originally to test applications in the HP (formerly Tandem) "NonStop" computing environment.

Though the first version of Pira was built for the NonStop platform RSI recognised the growth of high-resilience applications on the back of the web and is now working to make the tool available to a wider community.

"One of the problems with testing communications programs is there is a lot of variability and it is difficult to build comprehensive test sets. With Pira you can set up tests for every possible combination of data," he goes on.

Users can tailor Pira to their own specifications through a set of user hooks which come as a part of Piralib. The result is an economical method of creating variable test data with only a few lines of script.

Here is an example of simple Pira script to generate a small test data set:

<SET COUNT>
<PAUSE 50>
<BEGIN>
<DO 500>
<BEGIN>
<PAUSE>
["Hi 200 = " <COUNT> " PLUS 1 = " <COUNT> ];
<PAUSE>
["Hi 400 = " <COUNT> " PLUS 1 = " <COUNT> ];
<END>
<LOOP>
<END>
<PAUSE 2000>
["Finish, total count = " <COUNT> ];

Pira can generate both sequential and random test sets and vary the speed of test runs according to pre-defined conditions. If, for example, you are running a destruction test on a transaction processing engine, you can slow the test down as errors start to appear to make it easier to detect points of failure.

"Most test generators are mechanistic so they can only generate relatively simple test scenarios. What we have done with Pira is to introduce a probabilistic element to test set generation, which is more realistic," explains Stanley.

Pira produces results and statistics in standard formats so they can be fed into a test analysis program for further examination.

Pira is currently available as part of RSI's suite of test programs. It is licensed on a monthly basis at £160 per CPU although there are discounts for multiple CPUs and for resellers. RSI will make Pira available for other platforms later this year. ®

Security and trust: The backbone of doing business over the internet

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.