Also, I need the json file path to be provided from root folder of the project for following code:
Feature: sample karate test script
Background:
* url 'http://somesample.com'
Scenario: Testing Karate
Given path '/json_verify'
And request read ('a_confirm1.json')
And header Accept = 'application/json'
When method post
Then status 200
I have filenames like a_confirm1, a_confirm2 and so on.