Thanks for getting back to me.
How are the JSON files used? How are they structured? Could you provide an example, please?
JSON files, in a specific format, can only be used within the application. The main one being an exported Postman Collection, which can be imported to create a new Collection in your Postman instance.
JSON files could also be used in the Collection Runner, this would contain different sets of data that can be picked up by the individual Requests, when the {{testVar}}
or pm.iterationData.get('testVar')
syntax is used in specific parts of the request builder.
The structure of this would be something like:
[
{
"testVar": "TestValue1"
},
{
"testVar": "TestValue2"
}
]
There are a couple of other ways that JSON files could be used but these would also be in a very specific format. The application wouldn’t import a JSON file if the format is not valid or is not one that can be used in the different parts of the app.