Viewing the HCL Launch logs
After completion of the generation of test data, you can view the details of the process in the HCL Launch console log.
You can click the Output Log icon from the console log of the HCL Launch dashboard to view the output log.
The following sample shows the logs of the generated test data when you select FILE as the data storage type:
================================================================================ plugin: HCL OneTest Data Launch Plugin, id: com.hcllaunch.air.plugin.otd, version: 2 plugin command: 'cmd' '/C' '""D:\HCL Launch\LaunchAgent\opt\groovy-2.4.15\bin\groovy.bat" -cp "D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\classes;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\commons-codec-1.10.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\commons-logging-1.2.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\groovy-all-1.8.4.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\groovy-plugin-utils-1.2.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\gson-2.8.6.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\hamcrest-core-1.1.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\httpclient-4.5.6.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\httpcore-4.4.10.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\json-simple-1.1.1.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\jsoup-1.11.3.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\lib\junit-4.10.jar" "D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1\OneTestDataGenerationHCLLaunch.groovy" "D:\HCL Launch\LaunchAgent\var\temp\logs-89c29385-395a-4c98-b695-de7eb9dbdee5\input.props" "D:\HCL Launch\LaunchAgent\var\temp\logs-89c29385-395a-4c98-b695-de7eb9dbdee5\output.props""' working directory: D:\HCL Launch\LaunchAgent\var\work\OTDComponent1 properties: PLUGIN_INPUT_PROPS=D:\HCL Launch\LaunchAgent\var\temp\logs-89c29385-395a-4c98-b695-de7eb9dbdee5\input.props PLUGIN_OUTPUT_PROPS=D:\HCL Launch\LaunchAgent\var\temp\logs-89c29385-395a-4c98-b695-de7eb9dbdee5\output.props connectionName= dataFileLocation=C:\Users\user1\Downloads dataStorage=FILE offlineToken=**** outputFormat=CSV project=otdproject records=10 rootElement=Root:NewType1 schema=otdschema seedValue=10 serverUrl=https://otd-fvt2.nonprod.hclpnp.com/ environment: AGENT_HOME=D:\HCL Launch\LaunchAgent AH_AUTH_TOKEN=**** AH_WEB_URL=https://LP1-AP-51837142.PROD.HCLPNP.COM:8443 AUTH_TOKEN=**** DS_AUTH_TOKEN=**** DS_SYSTEM_ENCODING=Cp1252 JAVA_OPTS=-Dfile.encoding=Cp1252 -Dconsole.encoding=Cp1252 PLUGIN_HOME=D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_ebae55c6a5da97650f3890760d077785e4fa877523edeadf3cfda916b293b4a1 UD_DIALOGUE_ID=89c29385-395a-4c98-b695-de7eb9dbdee5 WE_ACTIVITY_ID=17443a96-551a-d05a-6041-0d9b77073106 ================================================================================ Data Generation information: Server URL: https://otd-fvt2.nonprod.hclpnp.com/ Project: otdproject schema: otdschema Root Element: Root:NewType1 Output Format: CSV Data Location: C:\Users\user1\Downloads Seed Value: 10 Data Storage: FILE Connection Name: Include Header: true No Of Records 10 Validating: server URL, offlineToken Successfully validated server URL and offlineToken Status: Test Data Generation Started... Data Generation Response is [code:200, databaseName:null, project_id:3200, schema_id:5f48ad2b1491d2009db126fd, connectionURL:null, dbSchemaName:null, message:Data generation succeeded., data_location:5f48ad1c1491d2009db126fb_077ae85b-5527-4aba-a64f-5b58d15df899_6dH9eZZfoq_1, timestamp:2020-08-31T08:36:56.526Z, tableName:null, collectionName:null] Status: Test data generation completed successfully Status: Downloading the Generated Test Data File saved to C:\Users\user1\Downloads\5f48ad1c1491d2009db126fb_077ae85b-5527-4aba-a64f-5b58d15df899_6dH9eZZfoq_1.csv location Status: Completed the download of Generated Test Data
The following sample shows the logs of the generated test data when you select MONGODB as the data storage type:
================================================================================
plugin: HCL OneTest Data Launch Plugin, id: com.hcllaunch.air.plugin.otd, version: 2
plugin command: 'cmd' '/C' '""D:\HCL Launch\LaunchAgent\opt\groovy-2.4.15\bin\groovy.bat" -cp "D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\classes;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\commons-codec-1.10.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\commons-logging-1.2.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\groovy-all-1.8.4.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\groovy-plugin-utils-1.2.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\gson-2.8.6.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\hamcrest-core-1.1.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\httpclient-4.5.6.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\httpcore-4.4.10.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\json-simple-1.1.1.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\jsoup-1.11.3.jar;D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\lib\junit-4.10.jar" "D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0\OneTestDataGenerationHCLLaunch.groovy" "D:\HCL Launch\LaunchAgent\var\temp\logs-49ec0c81-7f25-4494-accd-4bf9bd384d93\input.props" "D:\HCL Launch\LaunchAgent\var\temp\logs-49ec0c81-7f25-4494-accd-4bf9bd384d93\output.props""'
working directory: D:\HCL Launch\LaunchAgent\var\work\OTDComponent1
properties:
PLUGIN_INPUT_PROPS=D:\HCL Launch\LaunchAgent\var\temp\logs-49ec0c81-7f25-4494-accd-4bf9bd384d93\input.props
PLUGIN_OUTPUT_PROPS=D:\HCL Launch\LaunchAgent\var\temp\logs-49ec0c81-7f25-4494-accd-4bf9bd384d93\output.props
connectionName=MongoConnection
dataFileLocation=
dataStorage=MONGODB
offlineToken=****
outputFormat=JSON
project=otdproject
records=1
rootElement=Root:NewType1
schema=otdschema
seedValue=
serverUrl=https://otd-fvt1.nonprod.hclpnp.com/
environment:
AGENT_HOME=D:\HCL Launch\LaunchAgent
AH_AUTH_TOKEN=****
AH_WEB_URL=https://LP1-AP-51837142.PROD.HCLPNP.COM:8443
AUTH_TOKEN=****
DS_AUTH_TOKEN=****
DS_SYSTEM_ENCODING=Cp1252
JAVA_OPTS=-Dfile.encoding=Cp1252 -Dconsole.encoding=Cp1252
PLUGIN_HOME=D:\HCL Launch\LaunchAgent\var\plugins\com.hcllaunch.air.plugin.otd_2_fcffff6fc25d3aad57596e97b05f621f6a850ad06d6b0495e2954cbf5e1be0e0
UD_DIALOGUE_ID=49ec0c81-7f25-4494-accd-4bf9bd384d93
WE_ACTIVITY_ID=174d8e29-f157-0a93-07a4-5a90df84fb41
================================================================================
Data Generation information:
Server URL: https://otd-fvt1.nonprod.hclpnp.com/
Project: otdproject
schema: otdschema
Root Element: Root:NewType1
Output Format: JSON
Data Location:
Seed Value:
Data Storage: MONGODB
Connection Name: MongoConnection
Include Header: false
No Of Records 1
Validating: server URL , offlineToken
Successfully validated server URL and offlineToken
Status: Test Data Generation Started...
Data Generation Response is [code:200, databaseName:mdb, project_id:1150, schema_id:5f72c22171ff1a00a009ae50, connectionURL:{my-ots}-mongodb:27017, message:Data generation succeeded., timestamp:2020-09-29T08:02:59.141Z, collectionName:users]
Status: Test data generation completed successfully
Data is written into Mongo database
Connection URL: {my-ots}-mongodb:27017
Database Name: mdb
Collection name: users
