mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-20 09:31:39 +03:00
2 lines
1.5 KiB
HTML
2 lines
1.5 KiB
HTML
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-variable</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 section-header">[Captures]</span></span><span class="line">status<span>:</span> <span class="query-type">status</span></span><span class="line">length<span>:</span> <span class="query-type">header</span> <span class="string">"content-length"</span></span><span class="line">type<span>:</span> <span class="query-type">header</span> <span class="string">"content-type"</span></span><span class="line section-header">[Asserts]</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"toto"</span> <span class="predicate-type">equals</span> <span class="string">"tata"</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"status"</span> <span class="predicate-type">equals</span> <span class="expr">{{unknown}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"status"</span> <span class="predicate-type">equals</span> <span class="expr">{{type}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"status"</span> <span class="predicate-type">equals</span> <span class="expr">{{length}}</span></span></div></div></div>
|