-
Hello! :) I'm currently facing an issue when trying to validate a content on an specific request (using variations). I added following contentTests on responseBody
This is converted into the pm assertion below:
The problem is when jsonData.supplier.externalId is = null this condition is not met and the validation is skipped. for example:
Based on how the API works the field is nullable, therefore I can't force as not nullable by schema and I want specific request to have this field filled. Did anyone had similar issues? Is there a way to do this? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We created an item to improve Portman #416. The PR for this enhancement is merged and the next version of Portman will support the handling of |
Beta Was this translation helpful? Give feedback.
-
The improved null support is added for contentTests & assignVariables. It is included in the Portman 1.19 release. |
Beta Was this translation helpful? Give feedback.
The improved null support is added for contentTests & assignVariables. It is included in the Portman 1.19 release.