This new Proven Practices document entitled - Scripting Basic IBM Cognos 10 Report Execution Using LoadRunner - is intended for individuals using LoadRunner to drive performance, scalability and stability tests for IBM Cognos 10. The topic covered is the action of executing simple reports in IBM Cognos Viewer.
In general, the concepts should be applicable to all IBM Cognos 10 production versions. The code examples will be specific to IBM Cognos 10 BI versions 10.1.1, 10.2 and 10.2.1. All script examples were recorded using LoadRunner v9.5. Minimal testing was done with LoadRunner v11.5.
The code in the document will not necessarily work in every environment for every test case. Cases where there are authored drillthroughs, portlets or dashboards will require specific coding even though they share many of the same concepts described in this document.
As IBM Cognos 10 BI is continuously under development, the code examples and concepts outlined in this document may not apply to versions other than IBM Cognos 10 BI versions 10.1.1, 10.2 and 10.2.1.
It is assumed the consumer of this document has a programming background and is already familiar with developing scripts in LoadRunner.
Description Of The Test Case
For the purposes of the document, the following simple test case has been created and needs to be tested in IBM Cognos 10 BI.
Connect to IBM Cognos 10 BI via a web browser.
Login using simple LDAP authentication.
Navigate to a report in a folder in IBM Cognos Connection.
Click on the desired report which is a simple list. This action will execute the report in IBM Cognos Viewer.
Click on the Return link to exit IBM Cognos Viewer and return to IBM Cognos Connection.