json Schema to use cannot be null; executing through ant

1.2k Views Asked by At

I'm doing endpoint-testing using Rest_assured Framework. We are trying to validate json returned through json schema validation, but while executing through Ant I'm getting a json Schema to use cannot be null error.

1

There are 1 best solutions below

0
On

Is the JSON schema located in classpath? The classpath could be different when you're running the tests from ant and from your IDE.