I am trying to validate the “Value” of a cookie and running into the below error, I am wondering if someone can point me in the right direction?
Thanks…
Error:
Value is returned | AssertionError: expected undefined to deeply equal ‘ekd41gmo3vnn11yiskpotstk’
Code:
pm.test(“Value is returned”, function () {
pm.expect(pm.cookies.get(‘ASP.NET_SessionId’).Value).to.eql(‘ekd41gmo3vnn11yiskpotstk’)
pm.expect(pm.response.responseTime).to.be.below(70);
});