I am getting below error when running a simple test from Test runner using command line . The same test is running successfully from workstation. Error details mentioned below . Please help with the probably cause.
Reading user properties from C:\Program Files\CA\DevTest\bin\/../\lisa.user.properties
Locale: en_US
Setting System.out and System.err to: Cp1252
LISA_HOME set to C:\PROGRA~1\CA\DevTest\
DevTest temporary directory is C:\Users\ghosupr\lisatmp_10.4.0
Configuring logging from 'C:\PROGRA~1\CA\DevTest\logging.properties'
DevTest Solutions, Copyright (c) 2002-2020 CA, All rights reserved.
DevTest Test Runner - Stage and Execute Test Cases
DevTest Solutions Version :: 10.4.0 (10.4.0.366)
Installed patches: none
There is no rules.properties and rules.xml file. No custom rules loaded.
No custom rules loaded from C:\PROGRA~1\CA\DevTest\rules.xml
[DevTest AGENT:C][WARN][26368][1][main][Sep 29, 2020 1:47:37 PM] Could not establish connection to Agent broker at tcp://localhost:2009?daemon=true
[DevTest AGENT:C][WARN][26368][1][main][Sep 29, 2020 1:47:38 PM] Could not establish connection to Agent broker at tcp://azlapsvdevtest1.mfcgd.com:2009?daemon=true
Security is enabled in DevTest
User credentials are valid
Test Running...
Tue Sep 29 13:47:49 EDT 2020 Coordinator556: Test ended. Passed: 0 Failed: 1 Aborted: 0 Errors: 0
Test ended.
Monitoring Tests Details (**hostname may need to be updated**):
http://localhost:1507/devtest/#/main/testMonitorTests/detail//E2A020DC027B11EBBD4A000D3A0C1063//0event:Cycle runtime error,eventId:25,test:TC_025_Member_PKEY_CONSTRAINT_VALIDATION,step:PKEY_CONSTRAINT_VALIDATION,timestamp:Tue Sep 29 13:47:48 EDT 2020
============================================================================
| Exception:
============================================================================
| Message: Error doing random data sets
----------------------------------------------------------------------------
| Trapped Exception: Data file C:/Users/ghosupr/Downloads/DataFile/GB_NOW/LandingToStaging_MCMbrChgNotifnMsgMember_PrimaryKey.xlsx has no datasets
| Trapped Message:
============================================================================
| Exception:
============================================================================
| Message: Data file C:/Users/ghosupr/Downloads/DataFile/GB_NOW/LandingToStaging_MCMbrChgNotifnMsgMember_PrimaryKey.xlsx has no datasets
----------------------------------------------------------------------------
============================================================================
----------------------------------------------------------------------------
STACK TRACE
============================================================================
| Exception:
============================================================================
| Message: Data file C:/Users/ghosupr/Downloads/DataFile/GB_NOW/LandingToStaging_MCMbrChgNotifnMsgMember_PrimaryKey.xlsx has no datasets
----------------------------------------------------------------------------
============================================================================
at com.itko.lisa.test.ExcelDataFile.getNextRecord(ExcelDataFile.java:536)
at com.itko.lisa.test.ExcelDataFile.getRecord(ExcelDataFile.java:506)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.itko.lisa.net.RemoteMethodExec.execute(RemoteMethodExec.java:57)
at com.itko.lisa.net.ServerRequestHandler.processRMIMessage(ServerRequestHandler.java:533)
at com.itko.lisa.net.ServerRequestHandler.access$600(ServerRequestHandler.java:70)
at com.itko.lisa.net.ServerRequestHandler$5.run(ServerRequestHandler.java:451)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
============================================================================
event:Cycle failed,eventId:13,test:TC_025_Member_PKEY_CONSTRAINT_VALIDATION,step:PKEY_CONSTRAINT_VALIDATION,timestamp:Tue Sep 29 13:47:48 EDT 2020
<?xml version="1.0" encoding="UTF-8"?>
<CycleHistory>
<EndedState>0</EndedState>
<ModelUniqueId>C3D31FADC2E211E7BD994C1A20524153</ModelUniqueId>
<CycleUniqueId>E32779CD027B11EBA803000D3A0C1063</CycleUniqueId>
<StagingId>E2A020DC027B11EBBD4A000D3A0C1063</StagingId>
<Run>TC_025_Member_PKEY_CONSTRAINT_VALIDATION [Run1User1Cycle]</Run>
<Sim>tcp://xxx/Simulator</Sim>
<Instance>0</Instance>
<Cycle>0</Cycle>
<WarningCount>0</WarningCount>
<ErrorCount>0</ErrorCount>
<Configuration>/root/lisatmp_10.4.0/lads/E2A020DC027B11EBBD4A000D3A0C1063/GB Now Data Stream_Final/Configs/project.config</Configuration>
<DataSets />
<Companions />
<QuietSteps />
<EventActions />
<Start>1601401668018</Start>
<StartTime>2020-09-29 13:47:48</StartTime>
<End>1601401668040</End>
<EndTime>2020-09-29 13:47:48</EndTime>
<EndedByDSM>false</EndedByDSM>
<Workflow>
<StepExecHistory>
<StepName>PKEY_CONSTRAINT_VALIDATION</StepName>
<StepGUID>C3D31FAEC2E211E7BD994C1A20524153</StepGUID>
<Time>1601401668040</Time>
<TestRunId>E2A020DC027B11EBBD4A000D3A0C1063</TestRunId>
<TypeName>SQL Database Execution (JDBC)</TypeName>
<CycleUniqueId>E32779CD027B11EBA803000D3A0C1063</CycleUniqueId>
<EndedState>0</EndedState>
<RespTime>0</RespTime>
<Bandwidth>0</Bandwidth>
<PropsSet />
<PropsUsed />
<Events />
<Warnings />
<Errors />
</StepExecHistory>
</Workflow>
</CycleHistory>
Exiting with exit code 1 (FAILURE)