How to import schema from external folein test section to validate

Is there any way we can store json schema in a seprate file and then use that file in our postman test scripts? don’t want to store schema in variables because we have a lot schemas

You can store it as a string in a CSV file and then use the collection runner with a data file.

You will need to parse the string before using it in the assertion.

If you are using Newman, then you can also send the variable as part of the command line.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.