Wednesday, July 2, 2014

OATS: How to Export and Import Scripts from Windows to Linux

This article is one of the Oracle Application Test Suite (OATS)[1] series published on Xml and More, which includes the following:
In this article, we will show how to create scripts in OpenScript (running on Windows only) and use it in OLT[2] running on Linux.

Export Scripts

In [3], we have shown how to create load testing scripts using OpenScript.  However, our Oracle Load Testing (OLT) will be run from Linux systems. So, we need to export script, copy it to Linux, and import it to OLT.

To export the script, you select File tab and Export Scripts... 

All the exported files are essentially zip files and can be opened with any unzip tool.  For example, here is the script named we have exported.  Within folder FUSE_Saleopty_july_1_wrk.All, there is a subfolder named databanks which hold input data that can be automatically fed into your Web application during Load Testing.[4] Besides folders, the script also holds other script assets.[6]

Import Scripts

After copying the load testing script to your Linux system, you can import it to OLT.  To import scripts, select Tools tab and Import... .

A file-upload wizard allows you to select the script (i.e., zip file) to OLT. Note that we have copied the script to our home directory. You should NOT copy it to the Default repository (i.e. /OFT) which will be the final destination of import.

When the script is imported into OLT (by default, the destination of import is the Default repository), it renames the file as FUSE_Saleopty_july01_wrk.openScriptZip.  It then unzips the imported script.

For example, a new folder named FUSE_Saleopty_july01_wrk.All was created in the Default repository:
In the next OATS article, we will show how to create a scenario from the imported load testing script.


  1. Oracle Application Testing Suite (OATS)
  2. Oracle Load Testing (OLT)
  3. How to Create Load Testing Scripts Using OpenScript
  4. How to Configure Scripts to use Databanks in OATS 
  5. Oracle Application Testing Suite (OATS): Few Tips & Tricks
  6. Best approaches to script assets
    • Do not use Absolute Paths when referring to assets or saving assets. Oracle Load Testing does not support absolute paths.
    • OpenScript, Oracle Test Manager, Oracle Load Testing, and all command-line agents should all use the same shared repository names and paths.
    • Do not refer to an asset in another repository by a relative path.
  7. OATS: Tie All Processes Together — from OpenScript to Scenario (Xml and More)


    Blogger said...

    eToro is the #1 forex broker for beginning and professional traders.

    Blogger said...


    Get professional trading signals sent to your cell phone every day.

    Follow our trades today and gain up to 270% a day.