샘플 재생 세션

여러 HAR 파일을 사용하여 replay 명령을 실행하는 방법에 대해 설명합니다.

이 섹션에서는 다음과 같이 가정합니다.

  • 다음 HAR 파일을 생성했습니다. 각 HAR 파일에 동일한 작업 세트가 포함될 수 있습니다. 자세한 내용은 HAR 파일 생성을 참조하십시오.

    • C:\Oracle\EPM Automate\forecast_vision_plan1.har
    • C:\Oracle\EPM Automate\forecast_vision_plan2.har
    • C:\Oracle\EPM Automate\forecast_plan2.har
  • 다음 콘텐츠를 사용하여 재생 파일 C:/Oracle/EPM Automate/vision_forecast_replay.csv를 생성했습니다(자세한 내용은 재생 파일 생성 참조).

    주:

    재생 파일에서 파일 경로의 디렉토리 구분 문자로 슬래시(/)를 사용하고, 백슬래시(\)는 사용하지 마십시오.

    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

Replay 명령을 실행하려면 다음을 수행합니다.

  1. 명령 프롬프트 창에서 EPM Automate가 설치되어 있는 디렉토리(예: C:\Oracle\EPM Automate\bin)로 이동합니다.
  2. 서비스 관리자로 환경에 로그인하고 다음과 같이 replay 명령을 실행합니다.

    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는 콘솔에 재생 정보를 표시하고 지정된 기간(앞의 예에서는 12분) 후에 처리를 종료합니다. 또한 앞의 명령에는 trace=true 매개변수가 포함되어 있으므로 추적 폴더 및 파일을 생성합니다.

    C:\Oracle\EPM Automate\bin에서 명령을 실행했기 때문에 EPM Automate는 다음 폴더에 추적 파일을 저장합니다. 이러한 폴더는 HAR 파일 이름을 따서 이름이 지정됩니다.

    • 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. 환경에서 사인아웃합니다.
    epmautomate logout