A Sample Replay Session

Describes how to run the replay command using multiple HAR files.

This section assumes the following:

  • You created the following HAR files. Each HAR file may contain the same set of activities. See Creating HAR Files for detailed information.

    • C:\Oracle\EPM Automate\forecast_vision_plan1.har
    • C:\Oracle\EPM Automate\forecast_vision_plan2.har
    • C:\Oracle\EPM Automate\forecast_plan2.har
  • You created a replay file C:/Oracle/EPM Automate/vision_forecast_replay.csv with the following content (see Creating Replay Files for details):

    Note:

    Use slash (/) as directory separator in file paths in the replay file; do not use back slashes (\).

    john.doe@example.com,examplePwd,C:/Oracle/EPM Automate/forecast_vision_plan1.har
    john.doe@example.com,examplePwd,C:/Oracle/EPM Automate/forecast_vision_plan2.har
    john.doe@example.com,examplePwd,C:/Oracle/EPM Automate/forecast_plan2.har

To run the replay command:

  1. In a Command Prompt window, navigate to the directory; for example, C:\Oracle\EPM Automate\bin, where EPM Automate is installed.
  2. Sign in to an environment as a Service Administrator and then execute the replay command:

    epmautomate login john.doe@example.com examplePassword https://test-cloud-pln.pbcs.us1.oraclecloud.com myIdentityDomain

    epmautomate replay "c:/Oracle/EPM Automate/vision_forecast_replay.csv" duration=12 lagTime=5.5 trace=true

    EPM Automate displays replay information in the console and ends processing after the specified duration (12 minutes in the preceding example). It also creates trace folders and files because the preceding command includes the trace=true parameter.

    Because the command was executed from C:\Oracle\EPM Automate\bin, EPM Automate stored the trace files in the following folders. Note that these folders are named based on the HAR file names.

    • C:\Oracle\EPM Automate\bin\2017_01_08-12_52_37-forecast_plan2-jdoe@example.com
    • C:\Oracle\EPM Automate\bin\2017_01_08-12_52_37-forecast_vision_plan1-jdoe@example.com
    • C:\Oracle\EPM Automate\bin\2017_01_08-12_52_37-forecast_vision_plan2-jdoe@example.com
  3. Sign out of the environment:
    epmautomate logout