Viewing the UrbanCode™ Deploy logs
After completion of the generation of test data, you can view the details of the process in the UrbanCode™ Deploy console log.
You can click the Output Log icon from the console log of the UrbanCode Deploy 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 UCD Plugin, id: com.urbancode.air.plugin.otd, version: 1 plugin command: 'cmd' '/C' '"D:\UCD_Agent\opt\groovy-1.8.8\bin\groovy.bat -cp "D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\classes;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\commons-codec-1.10.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\commons-logging-1.2.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\groovy-all-1.8.4.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\groovy-plugin-utils-1.2.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\gson-2.8.6.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\hamcrest-core-1.1.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\httpclient-4.5.6.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\httpcore-4.4.10.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\json-simple-1.1.1.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\jsoup-1.11.3.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\lib\junit-4.10.jar" D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0\OneTestDataGenerationUCD.groovy D:\UCD_Agent\var\temp\logs-63ec6300-a796-49c2-b3ad-794d0e28b1be\input.props D:\UCD_Agent\var\temp\logs-63ec6300-a796-49c2-b3ad-794d0e28b1be\output.props"' working directory: D:\UCD_Agent\var\work\UCDComponent properties: PLUGIN_INPUT_PROPS=D:\UCD_Agent\var\temp\logs-63ec6300-a796-49c2-b3ad-794d0e28b1be\input.props PLUGIN_OUTPUT_PROPS=D:\UCD_Agent\var\temp\logs-63ec6300-a796-49c2-b3ad-794d0e28b1be\output.props connectionName= dataFileLocation=C:\Users\user\Downloads dataStorage=FILE offlineToken=**** outputFormat=CSV project=testing records=10 rootElement=Root:NewType1 schema=schema seedValue=10 serverUrl=https://otd-build.nonprod.hclpnp.com/ environment: AGENT_HOME=D:\UCD_Agent 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:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_200b8a9ae7959125d32be1cde7aa20472d2b47c4de3754dbd7627bd6778d33d0 UD_DIALOGUE_ID=63ec6300-a796-49c2-b3ad-794d0e28b1be WE_ACTIVITY_ID=172134c9-a5ec-22cd-3c8f-4d3d9789c96d ================================================================================ Data Generation information: Server URL: https://otd-build.nonprod.hclpnp.com/ Project: testing schema: schema Root Element: Root:NewType1 Output Format: CSV Data Location: C:\Users\user\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, project_id:4400, schema_id:5ebd2915612cae00fe8e48dd, connectionURL:null, dbSchemaName:null, message:Data generation succeeded., data_location:5ebd2906612cae00fe8e48db_4876c2b6-1424-442f-a1f1-5c3cad77576e_biWSum9yW8_1, timestamp:2020-05-14T13:08:15.840Z, tableName:null] Status: Test data generation completed successfully Status: Downloading the Generated Test Data File saved to C:\Users\user\Downloads\5ebd2906612cae00fe8e48db_4876c2b6-1424-442f-a1f1-5c3cad77576e_biWSum9yW8_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 UCD Plugin, id: com.urbancode.air.plugin.otd, version: 1 plugin command: 'cmd' '/C' '"D:\UCD_Agent\opt\groovy-1.8.8\bin\groovy.bat -cp "D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\classes;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\commons-codec-1.10.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\commons-logging-1.2.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\groovy-all-1.8.4.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\groovy-plugin-utils-1.2.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\gson-2.8.6.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\hamcrest-core-1.1.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\httpclient-4.5.6.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\httpcore-4.4.10.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\json-simple-1.1.1.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\jsoup-1.11.3.jar;D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\lib\junit-4.10.jar" D:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a\OneTestDataGenerationUCD.groovy D:\UCD_Agent\var\temp\logs-48a47aee-3889-4a3b-ba91-298cbc33a99e\input.props D:\UCD_Agent\var\temp\logs-48a47aee-3889-4a3b-ba91-298cbc33a99e\output.props"' working directory: D:\UCD_Agent\var\work\OTDComponent properties: PLUGIN_INPUT_PROPS=D:\UCD_Agent\var\temp\logs-48a47aee-3889-4a3b-ba91-298cbc33a99e\input.props PLUGIN_OUTPUT_PROPS=D:\UCD_Agent\var\temp\logs-48a47aee-3889-4a3b-ba91-298cbc33a99e\output.props connectionName=TestMongo dataFileLocation= dataStorage=MONGODB offlineToken=**** outputFormat=JSON project=testproject records=1 rootElement=Root:Employee schema=EmployeeDetails seedValue=1 serverUrl=https://otd-fvt1.nonprod.hclpnp.com/ environment: AGENT_HOME=D:\UCD_Agent 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:\UCD_Agent\var\plugins\com.urbancode.air.plugin.otd_1_73a2c474971db8d52bfdb80c0335e047f8f6cc656e1784133370b8d253310f6a UD_DIALOGUE_ID=48a47aee-3889-4a3b-ba91-298cbc33a99e WE_ACTIVITY_ID=1731397b-b82e-1d8a-dc50-153fd3010ce0 ================================================================================ Data Generation information: Server URL: https://otd-fvt1.nonprod.hclpnp.com/ Project: testproject schema: EmployeeDetails Root Element: Root:Employee Output Format: JSON Data Location: Seed Value: 1 Data Storage: MONGODB Connection Name: TestMongo 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:oneTestDataDB, project_id:2850, schema_id:5efedcb33d358500a1662993, connectionURL:{my-ots}-mongodb:27017, dbSchemaName:null, message:Data generation succeeded., data_location:null, timestamp:2020-07-03T07:33:11.497Z, tableName:null, collectionName:employee] Status: Test data generation completed successfully Data is written into Mongo database Connection URL: {my-ots}-mongodb:27017 Database Name: oneTestDataDB Collection name: employee