hurl/integration/tests/error_assert_query_cookie.html

2 lines
1.8 KiB
HTML
Raw Normal View History

2020-11-08 19:52:33 +03:00
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="string">http://localhost:8000/error-assert-query-cookie</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"></span><span class="section-header">[Asserts]</span></span><span class="line"></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure <span class="predicate-type">equals</span> <span class="boolean">false</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure not <span class="predicate-type">equals</span> <span class="boolean">true</span></span><span class="line"></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure <span class="predicate-type">equals</span> <span class="boolean">true</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure not <span class="predicate-type">equals</span> <span class="boolean">true</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span></div></div></div>