When Staging Mari file get error: Caused by: java.io.FileNotFoundException: (No such file or directory)


Article ID: 193147


Updated On:


CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization


We are in the process of running some load tests for an upgrade project and as part of that we created new .mari files. unlike the old .mari files, the new ones fail to run. Extended log info doesn't give much detail to troubleshoot the issue.

Caused by: java.io.FileNotFoundException: /opt/app/t1xan1c1/lisatmp_10.6.0/lads/B85055CBA66D11EAA8280050568D5FF9/ATT_DL_APP_BE/Data/datasets/SBN/average_load_dmp_removal_Pri_1.csv (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:761)
    ... 19 more


Need to change variable of where input file was being read from when staging.


Release : 10.6

Component : CA Application Test


1. Double-click "Read Rows from a Delimited Data File" on your Do-Nothing Step.

2. For your file location click ...

3. Navigate to where the file is and choose it.

4. The file location should now reflect:


5. Save test case.

6. Re-Tested and resolved the issue.

Additional Information

Before you had {{LISA_PROJ_ROOT}}, this is the fully qualified path of the project directory.

What you need is {{LISA_RELATIVE_PROJ_ROOT}}, this is the fully qualified path of the project directory of the currently executing test.