News

Stress Test Tips

This time we share, step by step, how to create a script in Get and Post to make a Stress Test: a preliminary and important action to simulate possible use scenarios before running the application in production.

Objective:
How to create Stress Test scripts for testing Web applications generated with GeneXus.

In this case, we have used Apache Jmeter Stress Test Tool, a complete documentation.

Generally, it is necessary to perform an analysis and assessment of the application patterns to select the part that is worth including in the tests. Reports (called “listeners” in the Jmeter tool context) need to be included to track the results; nevertheless, parameters and adjustments, such as the “think time” or time between requests, will be included to make simulation more real. All this information is available online at the Apache Jmeter documentation.

Once this analysis has been performed, you need to build the test automation scripts for the Web panels and Web transactions, and this is what the article is about.

We will follow a simple technique to obtain and recognize the way in which parameters travel to the Server (in the body of the request, in the case of performing a POST), to be further included in the scripts.

Ruby Generator stress test scripts
Java/NET stress test scripts