sukanya
7 years agoContributor
How to read JSON file using FileWait
Hi,
I have used the below code to read the Json file using File Wait step in Ready API:
uploaded .json file in File Wait Step
def jsonfile = context.expand( '${File Wait#fileContent}' )
def baselineResp = new JsonSlurper().parseText(jsonfile )
But I am getting "Text must not be null" error.
Please do the needful on this.