Known Problems, Limitations and Workarounds
This (Oracle Open Script) section lists known issues and workaround solutions for the components in the Oracle Application Testing Suite.
Oracle Open Script Load Testing
The following are know issues and workaround solutions for Oracle Load Testing.
- If your script fails to playback successfully in Oracle Load Testing due to Windows authentication or other user permissions related issues with your application, this may be due to the login authentication of the Oracle Load Testing Agent Service. The Oracle Load Testing Agent Service which runs all the Virtual Users on a given Agent system will by default be installed to run under the Local System account. This may cause issues for certain applications if they block access to this account. To address this, open the Oracle Load Testing Agent Service in the Services panel and change the login to run under a specific user with appropriate application permissions.
- In order to use the Oracle Load Testing Java Client “User Mode” option, users must first save a Java version of their test script saved in Oracle Functional Testing. There is an option available in Oracle Functional Testing that enables it to compile and save the test script in Java for use by the Java Agent. In the Oracle Functional Testing Advanced Options dialog under JavaAgent, check Create a Java Agent script after saving a script. The next time you save your script, Oracle Functional Testing will save the standard script files plus the Java Agent files. This script can then be run in Oracle Load Testing using the Java Client option.
When using the SNMP data source, new SNMP MIBs that users specify are uploaded to the Oracle Load Testing Server by default and can be accessed only through the Local Oracle Load Testing Data Collector running on that Server. Remote Oracle Load Testing Data Collectors cannot access these MIBs and users need to copy those over manually.
- To use the JMX Data Source, you may need to manually copy the server-specific class files to the <installdir>DataCollectorclasses directory on the Data Collector machine. These class files are required for each J2EE Application supported server. The jar files should be same version as the J2EE Application Server. You should get the class files from your Application Server installation. The list of required jar files is contained in the Oracle Load Testing “agents.properties” file located in <installdir>DataCollectorproperties.
To do JMX Discovery on WebLogic 10.3.1, doing the following:
- Copy <installdir>libwlfullclient.jar to <installdir>DataCollectorclassesweblogic9.1
- Open <installdir>DataCollectorpropertiesagents.properties and modify it so Agents.JMX.Server.weblogic91.ClassPath = classes/weblogic9.1/wlfullclient.jar and save the file.
- Log in to Oracle Load Testing.
- Select Metrics from the ServerStats menu then select New.
- Also select the JMX Data Source then click Discover Counters.
- Select the local system and click Edit.
- Select Oracle WebLogic 9.1 as the server (port 8088), username
oatsand the password (the password specified when installing the Oracle Application Testing Suite product).
- Click OK.
- Click OK and the discovery process begins. After a few moments, you will see a full list of the MBeans on the server.
The ServerStats JMX discovery caches counter information. The side effect is that it also caches error messages. For example, failure to copy the correct jar files to data collector’s classes directory prior to attempting the discovery would result in an error. When the discovery is attempted after copying the jar files, the discovery still may not work because of the cache. The recommended workaround is to re-start the Oracle Load Testing Server and retry the discovery.
Oracle Open Script Test Manager
The following are known issues and workaround solutions for Oracle Test Manager.
- When creating an Oracle Functional Testing type Test Case, the script file must be saved as a package file (.otmpkg) in Oracle Functional Testing in order to attach it to the Oracle Functional Testing Test Case in Oracle Test Manager.
- The icons in the Tree View for Requirements, Tests and Issues are automatically assigned and cannot currently be configured by the Administrator.
- After configuring a new database in the Oracle Test Manager Database Configuration dialog, users must restart the Oracle Application Testing Suite Application Service in order for that database to appear in the Database dropdown list on the Oracle Test Manager login page.
- Troubleshooting OpenScript Script Execution in Oracle Test Manager
The following additional steps are required in order to run the following types of OpenScript scripts from Oracle Test Manager:
- Siebel Functional
- Oracle Forms Functional
- Web Functional scripts that rely on system input events, such as key press or mouse click
It is necessary to run these scripts using an interactive desktop of a named Windows user account that is always logged in.
- For Siebel and Oracle Forms, the named user’s account must have visited the Siebel or Oracle Forms site at least once to ensure that all necessary ActiveX controls and plug-ins are installed in the named user’s browser.
- On the Oracle Test Manager agent machine that will run the scripts, stop the “Oracle Application Testing Suite Agent Service” and configure it to start manually.
- On the Oracle Test Manager agent machine, login as the named Windows user account that will run the scripts. From a command prompt, run the following all as one command. The .conf file is an argument for the .exe.
where C:OracleATS is the OATS installed folder.
- The named user account must remain logged into the system at all times that scripts will be run.
Oracle Open Script Database 10g Express Edition
The following are known issues and workaround solutions for Oracle Database 10g Express Edition.
- In some cases, the Oracle Database 10g Express Edition service does not start completely. If you receive a 404 Not Found error when starting Oracle Load Testing or Oracle Test Manager, restart the Oracle database service and the Oracle Application testing service, as follows:
- Open the Control panel and the Administrative Tools.
- Open Services.
- Select the Oracle Application Testing Suite Application Service and click Stop the service.
- Select the OracleServiceXE service and click Restart the service.
- Wait for the OracleServiceXE service Status to indicate “Started”.
- Select the Oracle Application Testing Suite Application Service and click Start the service.
- Wait for the Oracle Application Testing Suite Application Service Status to indicate “Started”.
- Restart Oracle Load Testing or Oracle Test Manager.