Offline uploading of Test Results

The KWDResultUpload.jar is a utility provided as part of DISA to upload test results to the database in case the database was down during a test run.

The KWDResultUpload.jar is located at: C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\Framework\

Run this utility when a test run fails to upload results to the database, such as due to a database outage. Run the utility to upload reports, create test passes, and upload test step results automatically.

Running the utility:

  1. Open Command Prompt as Administrator.
  2. Run the following command (ensure directory paths and values are updated accordingly):

Command Line Arguments

Arguments Descriptions
/j <User id> Siebel User ID used for REST/SOAP operations.
/g <password> Password for the Siebel User ID.
/r <Siebel Web Server URI>

URI of the EAI-enabled Siebel Server for REST/SOAP operations.

Format:https://servername:port/<Application Context>

Example:https://servername.com:16690/siebel

/ c <EAI Component>

(Optional) Ability to provide Custom EAI component.

default-> /app/eai/enu/, Custom -> /app/my_eai/deu here my_eai is user defined EAI Component.

/i <Run id> Run Id for which results need to be uploaded.
/n <DISA machine name> (optional) Hostname of the machine where DISA is installed.
/l <Reports Location> Directory path for the parent folder of Run ID folder containing report files.

The Report Location can be any valid directory path to the parent folder, where the folder with Run Id as the name is placed. The following locations are examples for Reports Location parameter:

  • "C:\STEReportsLogs"
  • "C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\TestExecutions"
  • "C:\MyReports"
Note:
  • Ensure to provide the parent directory of the report location.
  • Run the utility on the same machine where result reports are available.

Examples

  1. Report Location C:\STEReportsLogs ( alternative command)
  2. Report Location C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\TestExecutions
    • java -jar C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\Framework\KWDResultUpload.jar /j SADMIN /g ldap /r 
      https://my_vm.my_domain.com:16690/siebel 
      /i 88-3EQNA3 /l "C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\TestExecutions"
  3. Report Location C:\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\TestExecutions (with additional options)