SOATEST - How to assert on blank values
I am using SOATest (9.9) and in my JSON response I am asserting on an element (status) which can have a value or null value. I am trying to assert this against my datasource column 'status'.
I added the below assertions in this case and did the below:
1) Added a Value Assertion for the element 'status' and parameterized it to refer to the data source spreadsheet column.
2) Added another Fixed Value Assertion for the element 'status' and added value as blank and saved it.
3)Added a Conditional assertion and added the Assertion #2 to my "If Assertion" section and then Assertion #1 to "Then Assertion" section and saved it.
When I run the test its ignoring this above assertion and passing my test everytime no matter what I give in the status column in my datacolumn spreadsheet.
Am I doing something wrong here ?