vjagadeesh 2700063KJN Visits (1414)
vjagadeesh 2700063KJN Visits (1408)
In Rational Performance Tester (RPT) 8.6, new feature has been implemented with respect to datapool substitution in the Page Title. As and when the page title is executed during the run the datapool candidate is replaced with the iteration number.
Soumya Y Shanthimohan 270004GAQS Visits (1369)
A scenario where a web application was recorded using Rational Performance Tester (RPT).
After playback, data correlation errors were noticed in spite of manually creating the references. Upon analyzing the server responses, it was noted that some of the responses were sent in binary format.
Data correlation cannot be done on the response content if the data is in binary. The response should be in readable format to implement data correlation.
The below steps were followed and the script was re-recorded:
Open RPT Workbench -> Select 'Window' -> 'Preferences' -> Select 'Test' -> 'Test Generation' -> Select all the check boxes and record again.
The server responses after the above settings looked fine, however, the correlation errors still remained. Upon further investigation, it was noticed that the users ran into trouble at the "Home - Portal" page.
Instead of getting redirected to http
It was also noticed that the initial URL was rather odd, it had a jsessionid incorporated in it:
Usually the initial URL is rather generic, something like
The concern here is, Incorporating the jessesion (8AF54....) value in the URL for all the virtual users, the playback sessions for the multi-user playback are not fully differentiated by the server.
The issue was resolved by using a different URL without specific information like above.
AcdntlPoet 2700019V2G Visits (1650)
Troubleshoot the error "No successful contact, Check Agents Failed" in RPT 8.5- This video shows you you can troubleshoot this error message in IBM Rational Performance Tester V8.5: "Agent ... not ready, time of last contact: No successful contact. Check Agents Failed"
Soumya Y Shanthimohan 270004GAQS Visits (2287)
Attempts to log-in to the Secured web application while recording in IBM Rational Performance Tester (RPT) may led to the message - 'This Connection is Untrusted'.
The message is seen because, RPT acts as a proxy between the browser and the server application to record the data exchange. When a Secured page is recorded using RPT, the RPT proxy certificate is presented to the browser leading to the above message.
Creating and installing a digital certificate will help you get rid of the above message during RPT recording.
The digital certificates feature enables you to run tests against servers that use Secure Sockets Layer (SSL) for applications that require client-side digital certificates to authenticate users.
A digital certificate is a file that binds a public cryptographic key with an identity (a user or an organization). Trusted certificate authorities issue digital certificates, which are then used to authenticate users and organizations for access to websites, email servers, and other secure systems. A certificate store is an archive file that contains almost any number of digital certificates, possibly certificates that are issued from different certificate authorities.
Creating a Digital certificate store
A digital certificate store can be created using the 'keytool' utility.
You will find the keytool utility file in the RPT_
Navigate to the below directory through the command prompt -
Type the following command and press enter
my_certificate is an alias for your certificate in the key store. You may never use it, but every new certificate in your key store must have its own alias.
The certificate generation process will prompt you to enter some information about you. This information will be saved in the certificate. At the end you will have to confirm the entered information.
Once the information is confirmed, you will be prompted to enter the password. Enter the password given in the above command -
At the end you will find the new key store file my_keystore.pfx in your current directory.
Importing a Digital certificate into RPT
Import the certificate into the RPT project before recording.
Click on 'File' > 'Import' > 'General' > 'File system'. Import the required certificates into the project in RPT.
Imported certificates can now be used during RPT recording and playback -
Once you have the certificates in place, you may start recording a test with digital certificates. The below IBM info center link has details on recording a test with digital certificates:
IBM info center link with details on Playing back a test with Digital certificates: