IBM RPT — Part 1 — Starting

Hi folks! This is my first post I hope you all enjoy, please leave your suggestions.

First of all I’ll present to you the Rational Performance Tester. This is an IBM solution that validates the scalability of web and server applications.

With this tool, performance testing professionals can create test scripts, execute testing scenarios and get many kinds of reports to analize the performance of softwares.

Rational Performance Tester identifies the presence and cause of system performance bottlenecks and reduces load testing complexity.

It’s a very huge tool with a lots of functionalities for many distinctive technologies, in this article you will find an overview about this tool and what you need to do in order to start working on it. Hey not how but what!!

As IBM describe in their oficial page the characteritics of RPT are:

  • Code-free testing enables you to create test scripts without programming;
  • Root cause analysis tools find and diagnose the cause of performance problems;
  • Real-time reporting enables immediate recognition of performance problems and renders a browser-like view of test results in web pages;
  • Test data can be generated from scripts, data pools with automated variation, and the insertion of custom Java® code for flexible test customization;
  • Load testing helps ensure applications are able to handle large user loads prior to deployment.

To get the best of the tool I prepared below some steps that I´ll advice you to follow. It’s mandatory follow this? No! It’s my suggestion.

  1. If you are not familiar with performance testing, read more about the basic concepts of this.
  2. Gather information about the application and architecture you need to measure performance. Including actual performance data and technologies.
  3. Plan your performance tests describing the test cases, test scenarios, expected results.
  4. Be sure your licenses and instalation of RPT are good.
  5. RPT is based on eclipse, so It’s the same process, you will create workspaces. Create you workspace to start working.
  6. You need now to create a “Performance Project”, during this process you will see an default structure of folders to separate each information inside the RPT project. You will find something like the image bellow:
Folder Structure

Each folder is created to store specific information:

  • Tests: Your performance scripts will be here;
  • Schedules: Inside this folder you will create your scenarios with the behavior of the tests and select wich test and how will be executed;
  • Datapools: Inside this folder you will create your scenarios with the behavior of the tests and select which test and how will be executed;
  • Locations: This folder will store your injection servers configuration.

7. Now we will start the process of your test creation:

  • Record your tests;
  • Make and check your correlations. Correlations is an action that RPT do automatically amazingly and basicaly is to transform id’s that application uses and always change, in variables, for example a session ID number;
  • Run once to make sure it’s working fine;
  • Then rename things you see that could be more friendly to identify in your reports;
  • Create chackpoints it shall guarantee that all of requests did what are expected for. With this feature you can create an “find” to the virtual user, it’s like “Hey I have the text Login on this page?”, if virtual user find it the test will be fine otherwise the user will return an error meaning “You are in the wrong place”;
  • After that let’s try to execute again, It’s always nice check if the test still fine;
  • Now let’s add an datapool and associate each field that will substitute fixed data we used, for example, if i need to login with 10 different users;
  • Let’s run it again and see if the results are ok;
  • At this point we finished our test, let’s create a new Schedule, configure it with our rump-up, time of the test, settle time, group of users, loopings and other information of the test;
  • Now to finish let’s run our schedule and analyze the results!!

For more information see the official website click here!

Use the free book Using Rational Performance Tester Version 7 to have more about RPT.

And don’t forget to leave your oppinion and share this post with your friends!!

Next post: IBM RPT — Part 2 — Creating My First Test (ongoing)