Im writing tests and have to check that a property at least has some text. I dont care what the text is but that it at least has something in it. It cannot be empty. My json is converted from xml with xml2json component.
pm.expect(responseJson.commentlines.commentline).to.have.property('comment'); pm.expect(responseJson.commentlines.commentline.comment).to.eql('There is at least something here');