Hello,
I need little help. I created JSON schema which I want to validate, and I want to reuse that schema in other requests. I tried to set up as an environment variable and then to call it from other test, but when I checked value in env variable it was storred as Object [object]
Hi. There’s no problem if the schema is stored in environment as object, when you retrieve it to validate using pm.environment.get(“schema_var”) postman will read the data normally.
Do you have any problem during schema validation?
Hey @rmlira thanks a lot, yap it helped.
I just called function environment.name_of_variable and I got proper reusable schema.
Thanks once again