I have resources that I don't want them to be included in the project. I want to be able to store them at a shared location and use them from there. Is there any way to do this in karate? Can I specify absolute paths within read function?
None of the below methods work:
* def result = read('C:/Utils/backup.json')
Error: Caused by: java.io.FileNotFoundException: D:\Automation\project\myproject\src\test\java\api\component\mycomp\Utils\backup.json (The system cannot find the path specified)
* def result = read('classpath:C:/Utils/backup.json')
Caused by: com.intuit.karate.exception.KarateFileNotFoundException: file not found: C:/Utils_TP/backup.json, classpath: true