mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 03:21:40 +03:00
Update report
This commit is contained in:
parent
60de1be7a0
commit
6c145e2e9c
File diff suppressed because one or more lines are too long
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,43 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Test body response with line ending LF and CRLF.</span></span><span class="line"><span class="comment"># We receive the text body "line1\nline2\r\nline3\n"</span></span><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># $ printf "line1\nline2\r\nline3\n" | base64</span></span><span class="line"><span class="comment"># bGluZTEKbGluZTINCmxpbmUzCg==</span></span><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-base64</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>base64,bGluZTEKbGluZTINCmxpbmUzCg==;</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Test body response with line ending LF and CRLF.</span>
|
||||
<span class="line"></span><span class="comment"># We receive the text body "line1\nline2\r\nline3\n"</span>
|
||||
<span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"></span><span class="comment"># $ printf "line1\nline2\r\nline3\n" | base64</span>
|
||||
<span class="line"></span><span class="comment"># bGluZTEKbGluZTINCmxpbmUzCg==</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-base64</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">base64,<span class="base64">bGluZTEKbGluZTINCmxpbmUzCg==</span>;</span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,45 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/assert-header</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 class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">cookie1=value1; Path=/</span></span><span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">cookie2=value2; Path=/</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">header</span> <span class="string">"Custom"</span> not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Content-Type"</span> <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Header1"</span> <span class="predicate-type">equals</span> <span class="string">"value1"</span></span><span class="line"><span class="query-type">header</span> <span class="string">"ETag"</span> <span class="predicate-type">equals</span> <span class="string">""33a64df551425fcc55e4d42a148795d9f25f89d4""</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="predicate-type">includes</span> <span class="string">"cookie1=value1; Path=/"</span></span><span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> not <span class="predicate-type">includes</span> <span class="string">"cookie4=value4; Path=/"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-header</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">cookie1=value1; Path=/</span></span>
|
||||
<span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">cookie2=value2; Path=/</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Custom"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Content-Type"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Header1"</span> <span class="predicate-type">equals</span> <span class="string">"value1"</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"ETag"</span> <span class="predicate-type">equals</span> <span class="string">"\"33a64df551425fcc55e4d42a148795d9f25f89d4\""</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="predicate-type">includes</span> <span class="string">"cookie1=value1; Path=/"</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"Set-Cookie"</span> <span class="not">not</span> <span class="predicate-type">includes</span> <span class="string">"cookie4=value4; Path=/"</span></span></span></span></code></pre>
|
||||
</body></html>
|
File diff suppressed because one or more lines are too long
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,39 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/assert-match</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date1"</span> <span class="predicate-type">matches</span> <span class="string">"\d{4}-\d{2}-\d{2}"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date2"</span> <span class="predicate-type">matches</span> <span class="string">"\d{4}-\d{2}-\d{2}"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date1"</span> <span class="predicate-type">matches</span> <span class="string">"^\d{4}-\d{2}-\d{2}$"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date2"</span> not <span class="predicate-type">matches</span> <span class="string">"^\d{4}-\d{2}-\d{2}$"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-match</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date1"</span> <span class="predicate-type">matches</span> <span class="string">"\\d{4}-\\d{2}-\\d{2}"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date2"</span> <span class="predicate-type">matches</span> <span class="string">"\\d{4}-\\d{2}-\\d{2}"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date1"</span> <span class="predicate-type">matches</span> <span class="string">"^\\d{4}-\\d{2}-\\d{2}$"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.date2"</span> <span class="not">not</span> <span class="predicate-type">matches</span> <span class="string">"^\\d{4}-\\d{2}-\\d{2}$"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,38 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/assert-regex</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">regex</span> <span class="string">"Hello ([0-9]+)!"</span> not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">regex</span> <span class="string">"Hello ([a-zA-Z]+)!"</span> <span class="predicate-type">equals</span> <span class="string">"World"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-regex</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">regex</span> <span class="string">"Hello ([0-9]+)!"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">regex</span> <span class="string">"Hello ([a-zA-Z]+)!"</span> <span class="predicate-type">equals</span> <span class="string">"World"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,48 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/assert-status-code</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">201</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="comment"># simply check that the status code is not 200</span></span><span class="line"><span class="comment"># do not run implicit assert of http response version and code</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-status-code</span></span></div><div class="response"><span class="line"><span class="version">HTTP/*</span> <span class="status">*</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> not <span class="predicate-type">equals</span> <span class="number">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="comment"># simply check that the status code is OK</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-status-code</span></span></div><div class="response"><span class="line"><span class="version">HTTP/*</span> <span class="status">*</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">greaterThanOrEquals</span> <span class="number">200</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">lessThan</span> <span class="number">300</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-status-code</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">201</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># simply check that the status code is not 200</span>
|
||||
<span class="line"></span><span class="comment"># do not run implicit assert of http response version and code</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-status-code</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">*</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">status</span> <span class="not">not</span> <span class="predicate-type">equals</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># simply check that the status code is OK</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-status-code</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">*</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">status</span> <span class="predicate-type">greaterThanOrEquals</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="query-type">status</span> <span class="predicate-type">lessThan</span> <span class="number">300</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,41 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/assert-xpath</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span><span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span><span class="line"><span class="query-type">xpath</span> <span class="string">"//toto"</span> not <span class="predicate-type">exists</span></span><span class="line"></span><span class="line">&lt;data&gt;café&lt;/data&gt;</span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-xpath</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"caf\u{00e9}"</span></span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"//toto"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="xml"><span class="line"><data>café</data></span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/basic-authentication</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">```You are authenticated```</span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/basic-authentication</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```You are authenticated```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/utf8_bom</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line">```Hello World!```</span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/utf8_bom</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,44 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/bytes</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 class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> <span class="hex">hex,010203;</span></span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> <span>base64,AQID;</span></span><span class="line"><span class="query-type">bytes</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">startsWith</span> <span class="hex">hex,01;</span></span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">endsWith</span> <span class="hex">hex,03;</span></span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">contains</span> <span class="hex">hex,02;</span></span><span class="line"><span class="query-type">sha256</span> <span class="predicate-type">equals</span> <span class="hex">hex,039058c6f2c0cb492c533b0a4d14ef77cc0f78abccced5287d84a1a2011cfb81;</span></span><span class="line"><span class="query-type">md5</span> <span class="predicate-type">equals</span> <span class="hex">hex,5289df737df57326fcdd22597afb1fac;</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/bytes</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> hex,<span class="hex">010203</span>;</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> base64,<span class="base64">AQID</span>;</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">startsWith</span> hex,<span class="hex">01</span>;</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">endsWith</span> hex,<span class="hex">03</span>;</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">contains</span> hex,<span class="hex">02</span>;</span>
|
||||
<span class="line"><span class="query-type">sha256</span> <span class="predicate-type">equals</span> hex,<span class="hex">039058c6f2c0cb492c533b0a4d14ef77cc0f78abccced5287d84a1a2011cfb81</span>;</span>
|
||||
<span class="line"><span class="query-type">md5</span> <span class="predicate-type">equals</span> hex,<span class="hex">5289df737df57326fcdd22597afb1fac</span>;</span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,40 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/capture-and-assert</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 class="line">content_type<span>:</span> <span class="query-type">header</span> <span class="string">"content-type"</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"{{content_type}}"</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/capture-and-assert</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">content_type</span><span>:</span> <span class="query-type">header</span> <span class="string">"content-type"</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"{{content_type}}"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,72 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/captures</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line section-header">[Captures]</span><span class="line">param1<span>:</span> <span class="query-type">header</span> <span class="string">"header1"</span></span><span class="line">param2<span>:</span> <span class="query-type">header</span> <span class="string">"header2"</span> <span class="query-type">regex</span> <span class="string">"Hello (.*)!"</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">variable</span> <span class="string">"param1"</span> <span class="predicate-type">equals</span> <span class="string">"value1"</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"param2"</span> <span class="predicate-type">equals</span> <span class="string">"Bob"</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/captures-check</span></span></div><span class="line section-header">[QueryStringParams]</span><span class="line"><span class="string">param1</span><span>:</span> <span class="string">{{param1}}</span></span><span class="line"><span class="string">param2</span><span>:</span> <span class="string">{{param2}}</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/captures-json</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 class="line">an_object<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['an_object']"</span></span><span class="line">a_list<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_list']"</span></span><span class="line">a_null<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_null']"</span></span><span class="line">an_integer<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['an_integer']"</span></span><span class="line">a_float<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_float']"</span></span><span class="line">a_bool<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_bool']"</span></span><span class="line">a_string<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_string']"</span></span><span class="line">all<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$"</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"undefined"</span> not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_null}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"an_integer"</span> <span class="predicate-type">equals</span> <span class="expr">{{an_integer}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_float"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_float}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_bool"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_bool}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_string"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_string}}</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_list"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_list}}</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/captures</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">param1</span><span>:</span> <span class="query-type">header</span> <span class="string">"header1"</span></span>
|
||||
<span class="line"><span class="name">param2</span><span>:</span> <span class="query-type">header</span> <span class="string">"header2"</span> <span class="subquery-type">regex</span> <span class="string">"Hello (.*)!"</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"param1"</span> <span class="predicate-type">equals</span> <span class="string">"value1"</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"param2"</span> <span class="predicate-type">equals</span> <span class="string">"Bob"</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/captures-check</span></span>
|
||||
<span class="line section-header">[QueryStringParams]</span>
|
||||
<span class="line"><span class="string">param1</span><span>:</span> <span class="string">{{param1}}</span></span>
|
||||
<span class="line"><span class="string">param2</span><span>:</span> <span class="string">{{param2}}</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/captures-json</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">an_object</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['an_object']"</span></span>
|
||||
<span class="line"><span class="name">a_list</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_list']"</span></span>
|
||||
<span class="line"><span class="name">a_null</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_null']"</span></span>
|
||||
<span class="line"><span class="name">an_integer</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['an_integer']"</span></span>
|
||||
<span class="line"><span class="name">a_float</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_float']"</span></span>
|
||||
<span class="line"><span class="name">a_bool</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_bool']"</span></span>
|
||||
<span class="line"><span class="name">a_string</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$['a_string']"</span></span>
|
||||
<span class="line"><span class="name">all</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$"</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"undefined"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_null}}</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"an_integer"</span> <span class="predicate-type">equals</span> <span class="expr">{{an_integer}}</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_float"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_float}}</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_bool"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_bool}}</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_string"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_string}}</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_list"</span> <span class="predicate-type">equals</span> <span class="expr">{{a_list}}</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,32 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,65 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># -- COMPRESSED HAS NO EFFECT ON NON-COMPRESSED</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/none</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 class="string">Content-Length</span><span>:</span> <span class="string">12</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/gzip</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 class="string">Content-Length</span><span>:</span> <span class="string">32</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">gzip</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/zlib</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 class="string">Content-Length</span><span>:</span> <span class="string">20</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">deflate</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli</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 class="string">Content-Length</span><span>:</span> <span class="string">17</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli_identity</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 class="string">Content-Length</span><span>:</span> <span class="string">17</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br, identity</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># -- COMPRESSED HAS NO EFFECT ON NON-COMPRESSED</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/none</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">12</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/gzip</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">32</span></span>
|
||||
<span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">gzip</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/zlib</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">20</span></span>
|
||||
<span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">deflate</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">17</span></span>
|
||||
<span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli_identity</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">17</span></span>
|
||||
<span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br, identity</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/cookie_file</span></span></div><div class="response"><span class="line"><span class="version">HTTP/*</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie_file</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,46 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># experimental feature</span></span><span class="line"><span class="comment"># manage cookie store</span></span><span class="line"><span class="comment">#</span></span><span class="line"></span><span class="line"><span class="comment"># @cookie_storage_set: localhost FALSE / FALSE 0 cookie1 valueA</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="comment"># @cookie_storage_clear</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"></span><span class="comment"># experimental feature</span>
|
||||
<span class="line"></span><span class="comment"># manage cookie store</span>
|
||||
<span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># @cookie_storage_set: localhost FALSE / FALSE 0 cookie1 valueA</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># @cookie_storage_clear</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
File diff suppressed because one or more lines are too long
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">DELETE</span> <span class="url">http://localhost:8000/delete</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">DELETE</span> <span class="url">http://localhost:8000/delete</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,32 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,46 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/encoding/utf8</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 class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/encoding/latin1</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 class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=ISO-8859-1</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/encoding/utf8</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">equals</span> <span class="string">"caf\u{e9}"</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/encoding/latin1</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=ISO-8859-1</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">equals</span> <span class="string">"caf\u{e9}"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,45 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Test body response with line ending LF and CRLF.</span></span><span class="line"><span class="comment"># We receive the text body "line1\nline2\r\nline3\n"</span></span><span class="line"><span class="comment"># and not "line1\nline2\nline3\n"</span></span><span class="line"></span><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># $ printf "line1\nline2\nline3\n" | base64</span></span><span class="line"><span class="comment"># bGluZTEKbGluZTIKbGluZTMK</span></span><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-base64</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>base64,bGluZTEKbGluZTIKbGluZTMK;</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Test body response with line ending LF and CRLF.</span>
|
||||
<span class="line"></span><span class="comment"># We receive the text body "line1\nline2\r\nline3\n"</span>
|
||||
<span class="line"></span><span class="comment"># and not "line1\nline2\nline3\n"</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"></span><span class="comment"># $ printf "line1\nline2\nline3\n" | base64</span>
|
||||
<span class="line"></span><span class="comment"># bGluZTEKbGluZTIKbGluZTMK</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-base64</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">base64,<span class="base64">bGluZTEKbGluZTIKbGluZTMK</span>;</span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-bytearray</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">[Asserts]</span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> <span class="hex">hex,00;</span></span><span class="line"><span class="query-type">sha256</span> <span class="predicate-type">equals</span> <span class="hex">hex,a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88;</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-bytearray</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">equals</span> hex,<span class="hex">00</span>;</span>
|
||||
<span class="line"><span class="query-type">sha256</span> <span class="predicate-type">equals</span> hex,<span class="hex">a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88</span>;</span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Return an unsupported content encoding</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error/content-encoding</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">```Hello World!```</span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Return an unsupported content encoding</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error/content-encoding</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-decompress</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">```Hello World!```</span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-decompress</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,41 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Test body response with file assertion.</span></span><span class="line"><span class="comment"># We receive the body "Hello" and not "Hello World!"</span></span><span class="line"></span><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-file</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>file,data.txt;</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Test body response with file assertion.</span>
|
||||
<span class="line"></span><span class="comment"># We receive the body "Hello" and not "Hello World!"</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-file</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">file,<span class="filename">data.txt</span>;</span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-header-not-found</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 class="string">Custom</span><span>:</span> <span class="string">???</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-header-not-found</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Custom</span><span>:</span> <span class="string">???</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,38 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-header-value</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 class="string">Content-Type</span><span>:</span> <span class="string">???</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-header-value</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 class="string">Content-Type</span><span>:</span> <span class="string">???</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-header-value</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">???</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-header-value</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">???</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/http-version</span></span></div><div class="response"><span class="line"><span class="version">HTTP/2</span> <span class="status">200</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert/http-version</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/2</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-invalid-predicate-type</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">[Asserts]</span><span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-invalid-predicate-type</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/match-utf8</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">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">matches</span> <span class="string">".*"</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert/match-utf8</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">matches</span> <span class="string">".*"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,47 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-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="line section-header">[Asserts]</span><span class="line"></span><span class="line"><span class="query-type">cookie</span> <span class="string">"cookie1[Secure]"</span> not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">"cookie1[Secure]"</span> <span class="predicate-type">equals</span> <span class="boolean">false</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">"cookie1[Secure]"</span> 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[Secure]"</span> <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">"cookie2[Secure]"</span> <span class="predicate-type">equals</span> <span class="boolean">true</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">"cookie2[Secure]"</span> not <span class="predicate-type">equals</span> <span class="boolean">true</span></span></div></div><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-query-cookie</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"cookie1[Secure]"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"cookie1[Secure]"</span> <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[Secure]"</span> <span class="not">not</span> <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[Secure]"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"cookie2[Secure]"</span> <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[Secure]"</span> <span class="not">not</span> <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></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-query-invalid-regex</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">[Asserts]</span><span class="line"><span class="query-type">regex</span> <span class="string">"[x"</span> <span class="predicate-type">exists</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-query-invalid-regex</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">regex</span> <span class="string">"[x"</span> <span class="predicate-type">exists</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/utf8</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">[Asserts]</span><span class="line"><span class="query-type">xpath</span> <span class="string">"//"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/utf8</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"//"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/not_found</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/not_found</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-template-variable-not-found</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">[Asserts]</span><span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"{{content_type}}"</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-template-variable-not-found</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"{{content_type}}"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,42 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-value</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">[Asserts]</span><span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"XXX"</span></span><span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">notEquals</span> <span class="string">"text/html; charset=utf-8"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.id"</span> <span class="predicate-type">equals</span> <span class="string">"000001"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.values"</span> <span class="predicate-type">includes</span> <span class="number">100</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.values"</span> not <span class="predicate-type">contains</span> <span class="string">"Hello"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">greaterThan</span> <span class="number">5</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">isFloat</span></span><span class="line"><span class="query-type">bytes</span> <span class="predicate-type">contains</span> <span class="hex">hex,00;</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-value</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">equals</span> <span class="string">"XXX"</span></span>
|
||||
<span class="line"><span class="query-type">header</span> <span class="string">"content-type"</span> <span class="predicate-type">notEquals</span> <span class="string">"text/html; charset=utf-8"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.id"</span> <span class="predicate-type">equals</span> <span class="string">"000001"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.values"</span> <span class="predicate-type">includes</span> <span class="number">100</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.values"</span> <span class="not">not</span> <span class="predicate-type">contains</span> <span class="string">"Hello"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">greaterThan</span> <span class="number">5</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">isFloat</span></span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="predicate-type">contains</span> hex,<span class="hex">00</span>;</span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,43 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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 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 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>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-variable</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">status</span><span>:</span> <span class="query-type">status</span></span>
|
||||
<span class="line"><span class="name">length</span><span>:</span> <span class="query-type">header</span> <span class="string">"content-length"</span></span>
|
||||
<span class="line"><span class="name">type</span><span>:</span> <span class="query-type">header</span> <span class="string">"content-type"</span></span>
|
||||
<span class="line section-header">[Asserts]</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>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-xpath</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">[Asserts]</span><span class="line"><span class="query-type">xpath</span> <span class="string">"strong(//head/title)"</span> <span class="predicate-type">equals</span> <span class="string">"Welcome to Quiz!"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-assert-xpath</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"strong(//head/title)"</span> <span class="predicate-type">equals</span> <span class="string">"Welcome to Quiz!"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">unused</span></span></div><span class="line">{<span class="line"> "success": {{success}}</span><span class="line">}</span></span></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">unused</span></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "success": {{success}}</span>
|
||||
<span class="line">}</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">http://10.0.0.0</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://10.0.0.0</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/error-file-read-access</span></span></div><span class="line"><span>file,does_not_exist;</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.1</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/error-file-read-access</span></span>
|
||||
<span class="line">file,<span class="filename">does_not_exist</span>;</span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.1</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">http://unknown</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://unknown</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-invalid-jsonpath</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">""</span> <span class="predicate-type">equals</span> <span class="boolean">false</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-invalid-jsonpath</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">""</span> <span class="predicate-type">equals</span> <span class="boolean">false</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">???</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">???</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-invalid-xml</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">[Asserts]</span><span class="line"><span class="query-type">xpath</span> <span class="string">"xx"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-invalid-xml</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"xx"</span> <span class="predicate-type">equals</span> <span class="number">1</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/redirect/7</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/redirect/7</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,40 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/unused</span></span></div><span class="line section-header">[MultipartFormData]</span><span class="line"><span class="string">key1</span><span>:</span> <span class="string">value1</span></span><span class="line"><span class="string"><span class="string">upload1</span></span>: file,<span class="string">unknown</span>;</span></div><span class="line"></span><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/unused</span></span>
|
||||
<span class="line section-header">[MultipartFormData]</span>
|
||||
<span class="line"><span class="string">key1</span><span>:</span> <span class="string">value1</span></span>
|
||||
<span class="line"><span class="string"><span class="string">upload1</span></span>: file,<span class="string"><span class="filename">unknown</span></span>;</span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,48 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/predicate/error/type</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.status"</span> <span class="predicate-type">equals</span> <span class="string">"true"</span></span><span class="line"><span class="comment">#jsonpath "$.count" equals "0"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.empty"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.number"</span> <span class="predicate-type">equals</span> <span class="number">1.1</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">startsWith</span> <span class="string">"hi"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">endsWith</span> <span class="string">"hi"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">contains</span> <span class="string">"hi"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">matches</span> <span class="string">"hi"</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">1</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.toto"</span> <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.list"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/predicate/error/type</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.status"</span> <span class="predicate-type">equals</span> <span class="string">"true"</span></span>
|
||||
<span class="line"></span><span class="comment">#jsonpath "$.count" equals "0"</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.empty"</span> <span class="predicate-type">equals</span> <span class="number">0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.number"</span> <span class="predicate-type">equals</span> <span class="number">1.1</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">startsWith</span> <span class="string">"hi"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">endsWith</span> <span class="string">"hi"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">contains</span> <span class="string">"hi"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="predicate-type">matches</span> <span class="string">"hi"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">1</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.toto"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.message"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.list"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-query-header-not-found</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 class="string">Custom</span><span>:</span> <span class="string">XXX</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-query-header-not-found</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Custom</span><span>:</span> <span class="string">XXX</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-query-invalid-json</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-query-invalid-json</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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-query-invalid-utf8</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/error-query-invalid-utf8</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">{{url}}</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">{{url}}</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,42 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/get-list</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 class="line">list<span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$.values"</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/undefined</span></span></div><span class="line section-header">[QueryStringParams]</span><span class="line"><span class="string">param1</span><span>:</span> <span class="string">{{list}}</span></span><div class="response"><span class="line"><span class="version">HTTP/1.1</span> <span class="status">200</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/get-list</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">list</span><span>:</span> <span class="query-type">jsonpath</span> <span class="string">"$.values"</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/undefined</span></span>
|
||||
<span class="line section-header">[QueryStringParams]</span>
|
||||
<span class="line"><span class="string">param1</span><span>:</span> <span class="string">{{list}}</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.1</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/timeout</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/timeout</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,40 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/expect</span></span></div><span class="line"><span class="string">Expect</span><span>:</span> <span class="string">100-continue</span></span><span class="line">```data```</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/expect</span></span>
|
||||
<span class="line"><span class="string">Expect</span><span>:</span> <span class="string">100-continue</span></span>
|
||||
<span class="raw"><span class="line">```data```</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/follow-redirect</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">```Followed redirect!```</span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/follow-redirect</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Followed redirect!```</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,49 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/form-params</span></span></div><span class="line section-header">[FormParams]</span><span class="line"><span class="string">param1</span><span>:</span> <span class="string">value1</span></span><span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span><span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span><span class="line"><span class="string">param4</span><span>:</span> <span class="string">a%3db</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="comment"># same version as raw</span></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/form-params</span></span></div><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/x-www-form-urlencoded</span></span><span class="line">```param1=value1&param2=&param3=a%3db&param4=a%253db```</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/form-params</span></span>
|
||||
<span class="line section-header">[FormParams]</span>
|
||||
<span class="line"><span class="string">param1</span><span>:</span> <span class="string">value1</span></span>
|
||||
<span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span>
|
||||
<span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span>
|
||||
<span class="line"><span class="string">param4</span><span>:</span> <span class="string">a%3db</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># same version as raw</span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/form-params</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/x-www-form-urlencoded</span></span>
|
||||
<span class="raw"><span class="line">```param1=value1&param2=&param3=a%3db&param4=a%253db```</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,69 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/default-headers</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/default-headers</span></span></div><span class="line"><span class="string">User-Agent</span><span>:</span> <span class="string">hurl/1.0</span></span><span class="line"><span class="string">Host</span><span>:</span> <span class="string">localhost:8000</span> <span class="comment"># comment</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/default-headers</span></span></div><span class="line"><span class="string">User-Agent</span><span>:</span> <span class="string">hurl/1.0</span></span><span class="line"><span class="string">Host</span><span>:</span> <span class="string">localhost:8000</span> <span class="comment"># comment</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers</span></span></div><span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Raspberry</span></span><span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Apple</span></span><span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Banana</span></span><span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Grape</span></span><span class="line"><span class="string">Color</span><span>:</span> <span class="string">Green</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers-utf8</span></span></div><span class="line"><span class="string">Beverage</span><span>:</span> <span class="string">café</span> <span class="comment"># send the utf8 string - expected to be decoded as ascii in the server side</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers-quote</span></span></div><span class="line"><span class="string">Header1</span><span>:</span> <span class="string">'</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/response-headers</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 class="string">Beverage</span><span>:</span> <span class="string">cafe</span> <span class="comment"># TBC send utf8</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/default-headers</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/default-headers</span></span>
|
||||
<span class="line"><span class="string">User-Agent</span><span>:</span> <span class="string">hurl/1.0</span></span>
|
||||
<span class="line"><span class="string">Host</span><span>:</span> <span class="string">localhost:8000</span></span> <span class="comment"># comment</span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/default-headers</span></span>
|
||||
<span class="line"><span class="string">User-Agent</span><span>:</span> <span class="string">hurl/1.0</span></span>
|
||||
<span class="line"><span class="string">Host</span><span>:</span> <span class="string">localhost:8000</span></span> <span class="comment"># comment</span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers</span></span>
|
||||
<span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Raspberry</span></span>
|
||||
<span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Apple</span></span>
|
||||
<span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Banana</span></span>
|
||||
<span class="line"><span class="string">Fruit</span><span>:</span> <span class="string">Grape</span></span>
|
||||
<span class="line"><span class="string">Color</span><span>:</span> <span class="string">Green</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers-utf8</span></span>
|
||||
<span class="line"><span class="string">Beverage</span><span>:</span> <span class="string">café</span></span> <span class="comment"># send the utf8 string - expected to be decoded as ascii in the server side</span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers-value</span></span>
|
||||
<span class="line"><span class="string">Id</span><span>:</span> <span class="string">\#123</span></span> <span class="comment"># send a hash in the value</span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/custom-headers-quote</span></span>
|
||||
<span class="line"><span class="string">Header1</span><span>:</span> <span class="string">'</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/response-headers</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Beverage</span><span>:</span> <span class="string">cafe</span></span> <span class="comment"># TBC send utf8</span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,47 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/hello</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">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</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>file, data.txt;</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</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>hex, 48656c6c6f20576f726c6421;</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</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>base64, SGVsbG8gV29ybGQh;</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">file, <span class="filename">data.txt</span>;</span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">hex, <span class="hex">48656c6c6f20576f726c6421</span>;</span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/hello</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line">base64, <span class="base64">SGVsbG8gV29ybGQh</span>;</span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/include</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line">```Hello```</span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/include</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```Hello```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,43 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/large</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">536870912</span></span><span class="line"></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">duration</span> <span class="predicate-type">lessThanOrEquals</span> <span class="number">10000</span></span></div></div><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/large</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span>
|
||||
<span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">536870912</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">duration</span> <span class="predicate-type">lessThanOrEquals</span> <span class="number">10000</span></span> <span class="comment"># Duration in ms</span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,46 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/multilines</span></span></div><div class="response"><span class="line"><span class="version">HTTP/*</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">==</span> <span class="string">"line1\nline2\nline3\n"</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">==</span> ```line1</span><span class="line">line2</span><span class="line">line3</span><span class="line">```</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">==</span> ```</span><span class="line">line1</span><span class="line">line2</span><span class="line">line3</span><span class="line">```</span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/multilines</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">==</span> <span class="string">"line1\nline2\nline3\n"</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">==</span> <span class="raw"><span class="line">```line1</span>
|
||||
<span class="line">line2</span>
|
||||
<span class="line">line3</span>
|
||||
<span class="line">```</span></span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">==</span> <span class="raw"><span class="line">```</span>
|
||||
<span class="line">line1</span>
|
||||
<span class="line">line2</span>
|
||||
<span class="line">line3</span>
|
||||
<span class="line">```</span></span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,43 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/multipart-form-data</span></span></div><span class="line section-header">[MultipartFormData]</span><span class="line"><span class="string">key1</span><span>:</span> <span class="string">value1</span></span><span class="line"><span class="string"><span class="string">upload1</span></span>: file,<span class="string">data.txt</span>;</span><span class="line"><span class="string"><span class="string">upload2</span></span>: file,<span class="string">data.html</span>;</span><span class="line"><span class="string"><span class="string">upload3</span></span>: file,<span class="string">data.txt</span>; <span class="string">text/html</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/multipart-form-data</span></span>
|
||||
<span class="line section-header">[MultipartFormData]</span>
|
||||
<span class="line"><span class="string">key1</span><span>:</span> <span class="string">value1</span></span>
|
||||
<span class="line"><span class="string"><span class="string">upload1</span></span>: file,<span class="string"><span class="filename">data.txt</span></span>;</span>
|
||||
<span class="line"><span class="string"><span class="string">upload2</span></span>: file,<span class="string"><span class="filename">data.html</span></span>;</span>
|
||||
<span class="line"><span class="string"><span class="string">upload3</span></span>: file,<span class="string"><span class="filename">data.txt</span></span>; <span class="string">text/html</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,34 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><span class="line"><span class="comment"># all the entries</span></span><span class="line"><span class="comment"># have been commented</span></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="line"></span><span class="comment"># all the entries</span>
|
||||
<span class="line"></span><span class="comment"># have been commented</span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,40 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/output/endpoint1</span></span></div><span class="line">{ "user": "bob" }</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/output/endpoint2</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/output/endpoint1</span></span>
|
||||
<span class="json"><span class="line">{ "user": "bob" }</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/output/endpoint2</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,44 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Sample from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH</span></span><span class="line"><span class="method">PATCH</span> <span class="url">http://localhost:8000/patch/file.txt</span></span></div><span class="line"><span class="string">Host</span><span>:</span> <span class="string">www.example.com</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/example</span></span><span class="line"><span class="string">If-Match</span><span>:</span> <span class="string">"e0023aa4e"</span></span><div class="response"><span class="line"></span><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">204</span></span><span class="line"><span class="string">Content-Location</span><span>:</span> <span class="string">/file.txt</span></span><span class="line"><span class="string">ETag</span><span>:</span> <span class="string">"e0023aa4f"</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Sample from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH</span>
|
||||
<span class="line"><span class="method">PATCH</span> <span class="url">http://localhost:8000/patch/file.txt</span></span>
|
||||
<span class="line"><span class="string">Host</span><span>:</span> <span class="string">www.example.com</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/example</span></span>
|
||||
<span class="line"><span class="string">If-Match</span><span>:</span> <span class="string">"e0023aa4e"</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">204</span></span>
|
||||
<span class="line"><span class="string">Content-Location</span><span>:</span> <span class="string">/file.txt</span></span>
|
||||
<span class="line"><span class="string">ETag</span><span>:</span> <span class="string">"e0023aa4f"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,38 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-base64</span></span></div><span class="line"><span>base64, SGVsbG8gV29ybGQh;</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-base64</span></span>
|
||||
<span class="line">base64, <span class="base64">SGVsbG8gV29ybGQh</span>;</span> <span class="comment"># Hello World!</span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-bytes</span></span></div><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span><span class="line"><span>base64, AQID;</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-bytes</span></span>
|
||||
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/octet-stream</span></span>
|
||||
<span class="line">base64, <span class="base64">AQID</span>;</span> <span class="comment"># echo -e -n '\x01\x02\x03' | base64</span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,36 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-file</span></span></div><span class="line"><span>file,data.bin;</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-file</span></span>
|
||||
<span class="line">file,<span class="filename">data.bin</span>;</span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,89 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json</span></span></div><span class="line"></span><span class="line">{<span class="line"> "name": "Bob",</span><span class="line"> "password": "secret",</span><span class="line"> "age": 30,</span><span class="line"> "strict": true</span><span class="line">}</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-array</span></span></div><span class="line">[1,2,3]</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-string</span></span></div><span class="line">"Hello"</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-number</span></span></div><span class="line">100</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-numbers</span></span></div><span class="line">{<span class="line"> "natural": 100,</span><span class="line"> "negative": -1,</span><span class="line"> "float": "3.333333333333333",</span><span class="line"> "exponent": 100e100</span><span class="line">}</span></span><div class="response"><span class="line"></span><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-boolean</span></span></div><span class="line">true</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># Use variable in your input json</span></span><span class="line"><span class="comment">#</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/get-name</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 class="line">name<span>:</span> <span class="query-type">status</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json</span></span></div><span class="line"></span><span class="line">{<span class="line"> "name": "{{name}}",</span><span class="line"> "password": "secret",</span><span class="line"> "age": {{age}},</span><span class="line"> "strict": {{strict}}</span><span class="line">}</span></span></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "name": "Bob",</span>
|
||||
<span class="line"> "password": "&secret<>",</span>
|
||||
<span class="line"> "age": 30,</span>
|
||||
<span class="line"> "strict": true,</span>
|
||||
<span class="line"> "spacing": "\n",</span>
|
||||
<span class="line"> "g_clef": "\uD834\uDD1E"</span>
|
||||
<span class="line">}</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-array</span></span>
|
||||
<span class="json"><span class="line">[1,2,3]</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-string</span></span>
|
||||
<span class="json"><span class="line">"Hello"</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-number</span></span>
|
||||
<span class="json"><span class="line">100</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-numbers</span></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "natural": 100,</span>
|
||||
<span class="line"> "negative": -1,</span>
|
||||
<span class="line"> "float": "3.333333333333333",</span>
|
||||
<span class="line"> "exponent": 100e100</span>
|
||||
<span class="line">}</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-json-boolean</span></span>
|
||||
<span class="json"><span class="line">true</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"></span><span class="comment"># Use variable in your input json</span>
|
||||
<span class="line"></span><span class="comment">#</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/get-name</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">name</span><span>:</span> <span class="query-type">body</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/check_name</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "name": "{{name}}"</span>
|
||||
<span class="line">}</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,55 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-multilines</span></span></div><span class="line">```</span><span class="line">name,age</span><span class="line">bob,10</span><span class="line">bill,22</span><span class="line">```</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/get-bob-age</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 class="line">bob_age<span>:</span> <span class="query-type">status</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-multilines</span></span></div><span class="line">```</span><span class="line">name,age</span><span class="line">bob,{{bob_age}}</span><span class="line">bill,22</span><span class="line">```</span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-multilines</span></span>
|
||||
<span class="raw"><span class="line">```</span>
|
||||
<span class="line">name,age</span>
|
||||
<span class="line">bob,10</span>
|
||||
<span class="line">bill,22</span>
|
||||
<span class="line">```</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/get-bob-age</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Captures]</span>
|
||||
<span class="line"><span class="name">bob_age</span><span>:</span> <span class="query-type">body</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-multilines</span></span>
|
||||
<span class="raw"><span class="line">```</span>
|
||||
<span class="line">name,age</span>
|
||||
<span class="line">bob,{{bob_age}}</span>
|
||||
<span class="line">bill,22</span>
|
||||
<span class="line">```</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,46 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-xml</span></span></div><span class="line">&lt;?xml version="1.0"?&gt;<span class="line">&lt;drink&gt;café&lt;/drink&gt;</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-xml-no-prolog</span></span></div><span class="line">&lt;drink&gt;café&lt;/drink&gt;</span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># POST the following XML</span>
|
||||
<span class="line"></span><span class="comment"># <?xml version="1.0"?></span>
|
||||
<span class="line"></span><span class="comment"># <drink>café</drink></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-xml</span></span>
|
||||
<span class="xml"><span class="line"><?xml version="1.0"?></span>
|
||||
<span class="line"><drink>café</drink></span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-xml-no-prolog</span></span>
|
||||
<span class="xml"><span class="line"><drink>café</drink></span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,54 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/predicates-string</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">"Hello World!"</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">startsWith</span> <span class="string">"Hello"</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">endsWith</span> <span class="string">"!"</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">contains</span> <span class="string">"llo"</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">matches</span> <span class="string">"Hello [a-zA-Z]+!"</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/predicates-string-empty</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">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">""</span></span><span class="line"><span class="query-type">status</span> <span class="predicate-type">exists</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/predicates-string</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">equals</span> <span class="string">"Hello World!"</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">startsWith</span> <span class="string">"Hello"</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">endsWith</span> <span class="string">"!"</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">contains</span> <span class="string">"llo"</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">matches</span> <span class="string">"Hello [a-zA-Z]+!"</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/predicates-string-empty</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">equals</span> <span class="string">""</span></span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">exists</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/predicates-string-unicode</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">body</span> <span class="predicate-type">equals</span> <span class="string">"\u{2708}"</span></span>
|
||||
<span class="line"><span class="query-type">bytes</span> <span class="subquery-type">count</span> <span class="predicate-type">equals</span> <span class="number">3</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,41 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Go through proxy</span></span><span class="line"><span class="comment"># The proxy adds header "From-Proxy:Hello" for both request and response</span></span><span class="line"><span class="comment"># mitmproxy -p 8888 --setheader ":~q:From-Proxy:Hello" --setheader ":~s:From-Proxy:Hello"</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/proxy</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">From-Proxy</span><span>:</span> <span class="string">Hello</span></span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Go through proxy</span>
|
||||
<span class="line"></span><span class="comment"># The proxy adds header "From-Proxy:Hello" for both request and response</span>
|
||||
<span class="line"></span><span class="comment"># mitmproxy -p 8888 --setheader ":~q:From-Proxy:Hello" --setheader ":~s:From-Proxy:Hello"</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/proxy</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">From-Proxy</span><span>:</span> <span class="string">Hello</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,35 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">PUT</span> <span class="url">http://localhost:8000/put</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">PUT</span> <span class="url">http://localhost:8000/put</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,61 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/querystring-params</span></span></div><span class="line section-header">[QueryStringParams]</span><span class="line"><span class="string">param1</span><span>:</span> <span class="string">value1</span></span><span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span><span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span><span class="line"><span class="string">param4</span><span>:</span> <span class="string">1,2,3</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="comment"># same version as raw</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params?param1=value1&param2=&param3=a%3db&param4=1,2,3</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="comment"># combine version</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params?param1=value1</span></span></div><span class="line section-header">[QueryStringParams]</span><span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span><span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span><span class="line"><span class="string">param4</span><span>:</span> <span class="string">1,2,3</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="comment"># encoding slash</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F</span></span></div><span class="line section-header">[QueryStringParams]</span><span class="line"><span class="string">value3</span><span>:</span><span class="string">/</span></span><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params</span></span>
|
||||
<span class="line section-header">[QueryStringParams]</span>
|
||||
<span class="line"><span class="string">param1</span><span>:</span> <span class="string">value1</span></span>
|
||||
<span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span>
|
||||
<span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span>
|
||||
<span class="line"><span class="string">param4</span><span>:</span> <span class="string">1,2,3</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># same version as raw</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params?param1=value1&param2=&param3=a%3db&param4=1,2,3</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># combine version</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params?param1=value1</span></span>
|
||||
<span class="line section-header">[QueryStringParams]</span>
|
||||
<span class="line"><span class="string">param2</span><span>:</span><span class="string"></span></span>
|
||||
<span class="line"><span class="string">param3</span><span>:</span> <span class="string">a=b</span></span>
|
||||
<span class="line"><span class="string">param4</span><span>:</span> <span class="string">1,2,3</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># encoding slash</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/querystring-params-encoded?value1=/&value2=%2F</span></span>
|
||||
<span class="line section-header">[QueryStringParams]</span>
|
||||
<span class="line"><span class="string">value3</span><span>:</span><span class="string">/</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,44 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/redirect</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">302</span></span><span class="line"><span class="string">Location</span><span>:</span> <span class="string">http://localhost:8000/redirected</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/redirected</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span><span class="line"></span><span class="line"></span><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/redirect</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">302</span></span>
|
||||
<span class="line"><span class="string">Location</span><span>:</span> <span class="string">http://localhost:8000/redirected</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/redirected</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,39 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/subquery-count</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">[Asserts]</span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="query-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="query-type">count</span> <span class="predicate-type">></span> <span class="number">1</span></span><span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="query-type">count</span> <span class="predicate-type"><=</span> <span class="number">10</span></span></div></div><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/subquery-count</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">3</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="subquery-type">count</span> <span class="predicate-type">></span> <span class="number">1</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.users"</span> <span class="subquery-type">count</span> <span class="predicate-type"><=</span> <span class="number">10</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,37 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">http://bob:secret@localhost:8000/basic-authentication</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">```You are authenticated```</span></div></div><span class="line"></span><span class="line"></span></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://bob:secret@localhost:8000/basic-authentication</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="raw"><span class="line">```You are authenticated```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,38 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<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/utf8</span></span></div><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span><span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/utf8</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span>
|
||||
<span class="line"><span class="query-type">xpath</span> <span class="string">"normalize-space(//data)"</span> <span class="predicate-type">equals</span> <span class="string">"caf\u{e9}"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -6,7 +6,6 @@ body {
|
||||
}
|
||||
|
||||
span.line {
|
||||
display: block;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ span.line:before {
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.status {
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
@ -44,6 +43,14 @@ span.line:before {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
@ -51,10 +58,56 @@ span.line:before {
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.raw {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
</style></head><body>
|
||||
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/variables</span></span></div><span class="line">{<span class="line"> "name": "{{name}}",</span><span class="line"> "age": {{age}},</span><span class="line"> "height": {{height}},</span><span class="line"> "female": {{female}},</span><span class="line"> "id": "{{id}}",</span><span class="line"> "a_null": {{a_null}}</span><span class="line">}</span></span><div class="response"><span class="line"></span><span class="line"><span class="version">HTTP/*</span> <span class="status">200</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">variable</span> <span class="string">"name"</span> <span class="predicate-type">equals</span> <span class="string">"Jennifer"</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"female"</span> <span class="predicate-type">equals</span> <span class="boolean">true</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"age"</span> <span class="predicate-type">equals</span> <span class="number">30</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"height"</span> <span class="predicate-type">equals</span> <span class="number">1.70</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">equals</span> <span class="null">null</span></span><span class="line"><span class="query-type">variable</span> <span class="string">"id"</span> <span class="predicate-type">equals</span> <span class="string">"123"</span></span></div></div></div>
|
||||
.name {
|
||||
color: darkgreen;
|
||||
}
|
||||
.json {
|
||||
color: darkgreen;
|
||||
}
|
||||
.xml {
|
||||
color: darkgreen;
|
||||
}
|
||||
.base64 {
|
||||
color: darkgreen;
|
||||
}
|
||||
.hex {
|
||||
color: darkgreen;
|
||||
}
|
||||
.filename {
|
||||
color: darkgreen;
|
||||
}
|
||||
.cookie-value {
|
||||
color: darkgreen;
|
||||
}</style></head><body>
|
||||
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/variables</span></span>
|
||||
<span class="line"><span class="string">Name</span><span>:</span> <span class="string">{{name}}</span></span>
|
||||
<span class="line"><span class="string">Age</span><span>:</span> <span class="string">{{age}}</span></span>
|
||||
<span class="line"><span class="string">Height</span><span>:</span> <span class="string">{{height}}</span></span>
|
||||
<span class="line"><span class="string">Female</span><span>:</span> <span class="string">{{female}}</span></span>
|
||||
<span class="line"><span class="string">Id</span><span>:</span> <span class="string">{{my-id}}</span></span>
|
||||
<span class="line"><span class="string">A_Null</span><span>:</span> <span class="string">{{a_null}}</span></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "name": "{{name}}",</span>
|
||||
<span class="line"> "age": {{age}},</span>
|
||||
<span class="line"> "height": {{height}},</span>
|
||||
<span class="line"> "female": {{female}},</span>
|
||||
<span class="line"> "id": "{{my-id}}",</span>
|
||||
<span class="line"> "a_null": {{a_null}}</span>
|
||||
<span class="line">}</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
||||
<span class="line section-header">[Asserts]</span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"name"</span> <span class="predicate-type">equals</span> <span class="string">"Jennifer"</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"female"</span> <span class="predicate-type">equals</span> <span class="boolean">true</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"age"</span> <span class="predicate-type">equals</span> <span class="number">30</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"height"</span> <span class="predicate-type">equals</span> <span class="number">1.70</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"a_null"</span> <span class="predicate-type">equals</span> <span class="null">null</span></span>
|
||||
<span class="line"><span class="query-type">variable</span> <span class="string">"my-id"</span> <span class="predicate-type">equals</span> <span class="string">"123"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user