mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-04 13:08:05 +03:00
Delete unused directory.
This commit is contained in:
parent
c3526284a5
commit
6ea9d90841
File diff suppressed because one or more lines are too long
@ -1,27 +0,0 @@
|
||||
.date {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
thead {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
|
||||
.summary {
|
||||
padding: 10px;
|
||||
}
|
||||
.success, .success a {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.failure, .failure a {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,102 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,155 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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-json</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">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">equals</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">==</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">equals</span> <span class="number">5.0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">notEquals</span> <span class="number">4</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">!=</span> <span class="number">4</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">1</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">1.0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.count"</span> <span class="predicate-type">>=</span> <span class="number">1.0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.success"</span> <span class="predicate-type">equals</span> <span class="boolean">false</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.success"</span> <span class="not">not</span> <span class="predicate-type">equals</span> <span class="null">null</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.success"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.success"</span> <span class="predicate-type">isBoolean</span></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 class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors"</span> <span class="predicate-type">isCollection</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.warnings"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.toto"</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">"$.warnings"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.warnings"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[0]"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[0]"</span> <span class="predicate-type">isCollection</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[0].id"</span> <span class="predicate-type">equals</span> <span class="string">"error1"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[0]['id']"</span> <span class="predicate-type">equals</span> <span class="string">"error1"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[*].id"</span> <span class="predicate-type">includes</span> <span class="string">"error1"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.errors[?(@.id=='error1')].id"</span> <span class="predicate-type">equals</span> <span class="string">"error1"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type">equals</span> <span class="number">1.5</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type">lessThanOrEquals</span> <span class="number">2.0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type"><=</span> <span class="number">2.0</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type">lessThan</span> <span class="number">2</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type"><</span> <span class="number">2</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="predicate-type">isFloat</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.duration"</span> <span class="not">not</span> <span class="predicate-type">isInteger</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.nullable"</span> <span class="predicate-type">equals</span> <span class="null">null</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="json"><span class="line">{</span>
|
||||
<span class="line"> "count": 5,</span>
|
||||
<span class="line"> "success": false,</span>
|
||||
<span class="line"> "errors": [{"id":"error1"},{"id":"error2"}],</span>
|
||||
<span class="line"> "warnings": [],</span>
|
||||
<span class="line"> "duration": 1.5,</span>
|
||||
<span class="line"> "tags": ["test"],</span>
|
||||
<span class="line"> "nullable": null</span>
|
||||
<span class="line">}</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/assert-json/index</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">[Captures]</span>
|
||||
<span class="line"><span class="name">index</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">GET</span> <span class="url">http://localhost:8000/assert-json</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">jsonpath</span> <span class="string">"$.errors[{{index}}].id"</span> <span class="predicate-type">equals</span> <span class="string">"error2"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.tags"</span> <span class="predicate-type">includes</span> <span class="string">"test"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.tags"</span> <span class="not">not</span> <span class="predicate-type">includes</span> <span class="string">"prod"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.tags"</span> <span class="not">not</span> <span class="predicate-type">includes</span> <span class="null">null</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/assert-json/list</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">jsonpath</span> <span class="string">"$"</span> <span class="subquery-type">count</span> <span class="predicate-type">==</span> <span class="number">2</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$.[0].name"</span> <span class="predicate-type">equals</span> <span class="string">"Bob"</span></span>
|
||||
<span class="line"><span class="query-type">jsonpath</span> <span class="string">"$[0].name"</span> <span class="predicate-type">equals</span> <span class="string">"Bob"</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,96 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,95 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,105 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,98 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```You are authenticated```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,101 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,97 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,129 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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</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>
|
@ -1,89 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,122 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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="multiline"><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</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="multiline"><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</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="multiline"><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</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="multiline"><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</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="multiline"><span class="line">```Hello World!```</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,152 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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"># Request Cookie</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookies/set-request-cookie1-valueA</span></span>
|
||||
<span class="line section-header">[Cookies]</span>
|
||||
<span class="line"><span class="name">cookie1</span><span>:</span> <span class="cookie-value">valueA</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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"># The cookie is not added in the cookie storage</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookies/assert-that-cookie1-is-not-in-session</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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/cookies/set-multiple-request-cookies</span></span>
|
||||
<span class="line section-header">[Cookies]</span>
|
||||
<span class="line"><span class="name">user1</span><span>:</span> <span class="cookie-value">Bob</span></span>
|
||||
<span class="line"><span class="name">user2</span><span>:</span> <span class="cookie-value">Bill</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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"># Session Cookie</span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookies/set-session-cookie2-valueA</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">cookie</span> <span class="string">"cookie2"</span> <span class="predicate-type">equals</span> <span class="string">"valueA"</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/cookies/assert-that-cookie2-is-valueA</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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/cookies/assert-that-cookie2-is-valueA-and-valueB</span></span>
|
||||
<span class="line section-header">[Cookies]</span>
|
||||
<span class="line"><span class="name">cookie2</span><span>:</span> <span class="cookie-value">valueB</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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/cookies/delete-cookie2</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">cookie</span> <span class="string">"cookie2"</span> <span class="predicate-type">equals</span> <span class="string">""</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"cookie2[Max-Age]"</span> <span class="predicate-type">equals</span> <span class="number">0</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/cookies/assert-that-cookie2-is-not-in-session</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</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/cookies/set</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
<span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">LSID=DQAAAKEaem_vYg; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/accounts</span></span>
|
||||
<span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">HSID=AYQEVnDKrdst; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; HttpOnly; Path=/</span></span>
|
||||
<span class="line"><span class="string">Set-Cookie</span><span>:</span> <span class="string">SSID=Ap4PGTEq; Domain=.localhost; Expires=Wed, 13 Jan 2021 22:23:01 GMT; Secure; HttpOnly; Path=/</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line section-header">[Asserts]</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">cookie</span> <span class="string">"LSID"</span> <span class="predicate-type">equals</span> <span class="string">"DQAAAKEaem_vYg"</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[Value]"</span> <span class="predicate-type">equals</span> <span class="string">"DQAAAKEaem_vYg"</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[Expires]"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[Expires]"</span> <span class="predicate-type">equals</span> <span class="string">"Wed, 13 Jan 2021 22:23:01 GMT"</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[Max-Age]"</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">"LSID[Domain]"</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">"LSID[Path]"</span> <span class="predicate-type">equals</span> <span class="string">"/accounts"</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[Secure]"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[HttpOnly]"</span> <span class="predicate-type">exists</span></span>
|
||||
<span class="line"><span class="query-type">cookie</span> <span class="string">"LSID[SameSite]"</span> <span class="not">not</span> <span class="predicate-type">exists</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,89 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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>
|
@ -1,102 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Hello World!```</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,98 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,95 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,104 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,99 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,97 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,105 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,99 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,97 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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="multiline"><span class="line">```data```</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></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Followed redirect!```</span></span></span></span></code></pre>
|
||||
</body></html>
|
@ -1,106 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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="multiline"><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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,126 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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</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</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</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</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</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</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>
|
@ -1,104 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><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</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</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</span> <span class="number">200</span></span>
|
||||
<span class="line">base64, <span class="base64">SGVsbG8gV29ybGQh</span>;</span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,96 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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/ignore_asserts</span></span>
|
||||
</span><span class="response"><span class="line"></span>
|
||||
<span class="line"><span class="version">HTTP</span> <span class="number">666</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">"Whatever"</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Hello```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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="multiline"><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="multiline"><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>
|
@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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/non-utf8</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,97 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,101 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,95 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,98 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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-file</span></span>
|
||||
<span class="line">file,<span class="filename">post_file_with\ space</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></span></code></pre>
|
||||
</body></html>
|
@ -1,146 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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</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</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</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</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</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>
|
@ -1,112 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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="multiline"><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</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</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="multiline"><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</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,111 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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</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>
|
@ -1,98 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,92 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,118 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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</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</span> <span class="number">200</span></span>
|
||||
</span></span></code></pre>
|
||||
</body></html>
|
@ -1,101 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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</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>
|
@ -1,96 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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/test-mode</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```Hello World!```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,102 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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/~user</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```user```</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/%7Euser</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```user```</span></span>
|
||||
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
||||
<span class="line"></span><span class="comment"># TODO: add single quote (needs to be escaped in curl command-line)</span>
|
||||
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/!$&()*+,;=:@[]</span></span>
|
||||
</span><span class="response"><span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```weird```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</span> <span class="number">200</span></span>
|
||||
<span class="multiline"><span class="line">```You are authenticated```</span></span>
|
||||
</span></span><span class="line"></span>
|
||||
<span class="line"></span>
|
||||
</code></pre>
|
||||
</body></html>
|
@ -1,95 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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</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>
|
@ -1,113 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><title>Hurl File</title><style>
|
||||
body {
|
||||
counter-reset: line;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
span.line {
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
span.line:before {
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
display: inline-block;
|
||||
border-right: 1px solid #ddd;
|
||||
padding: 0 1em;
|
||||
margin-right: .5em;
|
||||
color: #888;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.method {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.version {
|
||||
color: black;
|
||||
}
|
||||
.number {
|
||||
color: blue;
|
||||
}
|
||||
.section-header {
|
||||
color: darkmagenta;
|
||||
}
|
||||
|
||||
.query-type {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.subquery-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.not {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.predicate-type {
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
.string {
|
||||
color: darkgreen;
|
||||
}
|
||||
.multiline {
|
||||
color: darkgreen;
|
||||
}
|
||||
.comment {
|
||||
color: dimgray;
|
||||
}
|
||||
.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
@ -1,696 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<testsuites>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_base64.hurl" time="0.215"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_header.hurl" time="0.015"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_json.hurl" time="0.026"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_match.hurl" time="0.018"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_regex.hurl" time="0.005"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_status_code.hurl" time="0.010"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/assert_xpath.hurl" time="0.005"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/basic_authentication.hurl" time="0.004"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/bom.hurl" time="0.003"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/bytes.hurl" time="0.007"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/capture_and_assert.hurl" time="0.002"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/captures.hurl" time="0.012"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/color.hurl" time="0.000"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/compressed.hurl" time="0.032"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/cookie_file.hurl" time="0.004"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/cookies.hurl" time="0.034"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/cookie_storage.hurl" time="0.010"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/delete.hurl" time="0.004"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/empty.hurl" time="0.000"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/encoding.hurl" time="0.008"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/env_var.hurl" time="0.008"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_base64.hurl" time="0.006">
|
||||
<failure>Assert Body Value
|
||||
--> tests/error_assert_base64.hurl:12:8
|
||||
|
|
||||
12 | base64,bGluZTEKbGluZTIKbGluZTMK;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ actual value is <hex, 6c696e65310a6c696e65320d0a6c696e65330a;>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_bytearray.hurl" time="0.015">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_bytearray.hurl:4:0
|
||||
|
|
||||
4 | bytes equals hex,00;
|
||||
| actual: byte array <ff>
|
||||
| expected: byte array <00>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_bytearray.hurl:5:0
|
||||
|
|
||||
5 | sha256 equals hex,a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88;
|
||||
| actual: byte array <a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89>
|
||||
| expected: byte array <a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_content_encoding.hurl" time="0.004">
|
||||
<failure>Decompression Error
|
||||
--> tests/error_assert_content_encoding.hurl:4:1
|
||||
|
|
||||
4 | ```Hello World!```
|
||||
| ^ Compression unknown is not supported
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_decompress.hurl" time="0.004">
|
||||
<failure>Decompression Error
|
||||
--> tests/error_assert_decompress.hurl:3:1
|
||||
|
|
||||
3 | ```Hello World!```
|
||||
| ^ Could not uncompress response with gzip
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_file.hurl" time="0.003">
|
||||
<failure>Assert Body Value
|
||||
--> tests/error_assert_file.hurl:8:1
|
||||
|
|
||||
8 | file,data.txt;
|
||||
| ^ actual value is <hex, 48656c6c6f;>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_header_not_found.hurl" time="0.003">
|
||||
<failure>Header not Found
|
||||
--> tests/error_assert_header_not_found.hurl:3:1
|
||||
|
|
||||
3 | Custom: ???
|
||||
| ^^^^^^ This header has not been found in the response
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_header_value.hurl" time="0.009">
|
||||
<failure>Assert Header Value
|
||||
--> tests/error_assert_header_value.hurl:3:15
|
||||
|
|
||||
3 | Content-Type: ???
|
||||
| ^^^ actual value is <text/html; charset=utf-8>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_http_version.hurl" time="0.004">
|
||||
<failure>Assert Http Version
|
||||
--> tests/error_assert_http_version.hurl:2:6
|
||||
|
|
||||
2 | HTTP/2 200
|
||||
| ^ actual value is <1.0>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_invalid_predicate_type.hurl" time="0.004">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_invalid_predicate_type.hurl:4:0
|
||||
|
|
||||
4 | header "content-type" equals 1
|
||||
| actual: string <text/html; charset=utf-8>
|
||||
| expected: int <1>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_match_utf8.hurl" time="0.003">
|
||||
<failure>Invalid Decoding
|
||||
--> tests/error_assert_match_utf8.hurl:4:1
|
||||
|
|
||||
4 | body matches ".*"
|
||||
| ^^^^ The body can not be decoded with charset 'utf-8'
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_newline.hurl" time="0.006">
|
||||
<failure>Assert Body Value
|
||||
--> tests/error_assert_newline.hurl:9:4
|
||||
|
|
||||
9 | ```<p>Hello</p>
|
||||
| ^ actual value is <<p>Hello</p>
|
||||
|
||||
>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_query_cookie.hurl" time="0.009">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_query_cookie.hurl:7:0
|
||||
|
|
||||
7 | cookie "cookie1[Secure]" equals false # This is not valid, Secure attribute exists or not but does have a value
|
||||
| actual: none
|
||||
| expected: bool <false>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_query_cookie.hurl:11:0
|
||||
|
|
||||
11 | cookie "cookie2[Secure]" equals true # This is not valid, Secure attribute exists or not but does have a value
|
||||
| actual: unit
|
||||
| expected: bool <true>
|
||||
| >>> types between actual and expected are not consistent
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_query_cookie.hurl:12:0
|
||||
|
|
||||
12 | cookie "cookie2[Secure]" not equals true # This is not valid, Secure attribute exists or not but does have a value
|
||||
| actual: unit
|
||||
| expected: not bool <true>
|
||||
| >>> types between actual and expected are not consistent
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_query_invalid_regex.hurl" time="0.005">
|
||||
<failure>Invalid regex
|
||||
--> tests/error_assert_query_invalid_regex.hurl:4:7
|
||||
|
|
||||
4 | regex "[x" exists
|
||||
| ^^^^ Regex expression is not valid
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_query_invalid_xpath.hurl" time="0.003">
|
||||
<failure>Invalid xpath expression
|
||||
--> tests/error_assert_query_invalid_xpath.hurl:4:7
|
||||
|
|
||||
4 | xpath "//" equals 1
|
||||
| ^^^^ The xpath expression is not valid
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_status.hurl" time="0.005">
|
||||
<failure>Assert Status
|
||||
--> tests/error_assert_status.hurl:2:10
|
||||
|
|
||||
2 | HTTP/1.0 200
|
||||
| ^^^ actual value is <404>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_template_variable_not_found.hurl" time="0.008">
|
||||
<failure>Undefined Variable
|
||||
--> tests/error_assert_template_variable_not_found.hurl:4:33
|
||||
|
|
||||
4 | header "content-type" equals "{{content_type}}"
|
||||
| ^^^^^^^^^^^^ You must set the variable content_type
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_value_error.hurl" time="0.012">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:4:0
|
||||
|
|
||||
4 | header "content-type" equals "XXX"
|
||||
| actual: string <text/html; charset=utf-8>
|
||||
| expected: string <XXX>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:5:0
|
||||
|
|
||||
5 | header "content-type" notEquals "text/html; charset=utf-8"
|
||||
| actual: string <text/html; charset=utf-8>
|
||||
| expected: string <text/html; charset=utf-8>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:6:0
|
||||
|
|
||||
6 | jsonpath "$.id" equals "000001"
|
||||
| actual: none
|
||||
| expected: string <000001>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:7:0
|
||||
|
|
||||
7 | jsonpath "$.values" includes 100
|
||||
| actual: [int <1>, int <2>, int <3>]
|
||||
| expected: includes int <100>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:8:0
|
||||
|
|
||||
8 | jsonpath "$.values" not contains "Hello"
|
||||
| actual: [int <1>, int <2>, int <3>]
|
||||
| expected: not contains string <Hello>
|
||||
| >>> types between actual and expected are not consistent
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:9:0
|
||||
|
|
||||
9 | jsonpath "$.count" greaterThan 5
|
||||
| actual: int <2>
|
||||
| expected: greater than int <5>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:10:0
|
||||
|
|
||||
10 | jsonpath "$.count" isFloat
|
||||
| actual: int <2>
|
||||
| expected: float
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_value_error.hurl:11:0
|
||||
|
|
||||
11 | bytes contains hex,00;
|
||||
| actual: byte array <7b202276616c756573223a205b312c322c335d2c2022636f756e74223a20327d>
|
||||
| expected: contains byte array <00>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_variable.hurl" time="0.009">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_variable.hurl:8:0
|
||||
|
|
||||
8 | variable "toto" equals "tata"
|
||||
| actual: none
|
||||
| expected: string <tata>
|
||||
|</failure>
|
||||
<failure>Undefined Variable
|
||||
--> tests/error_assert_variable.hurl:9:28
|
||||
|
|
||||
9 | variable "status" equals {{unknown}}
|
||||
| ^^^^^^^ You must set the variable unknown
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_variable.hurl:10:0
|
||||
|
|
||||
10 | variable "status" equals {{type}}
|
||||
| actual: int <200>
|
||||
| expected: string <text/html; charset=utf-8>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_assert_variable.hurl:11:0
|
||||
|
|
||||
11 | variable "status" equals {{length}}
|
||||
| actual: int <200>
|
||||
| expected: string <0>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_assert_xpath.hurl" time="0.010">
|
||||
<failure>Invalid xpath expression
|
||||
--> tests/error_assert_xpath.hurl:4:7
|
||||
|
|
||||
4 | xpath "strong(//head/title)" equals "Welcome to Quiz!"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^ The xpath expression is not valid
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_body_json.hurl" time="0.000">
|
||||
<error>Invalid Json
|
||||
--> tests/error_body_json.hurl:3:18
|
||||
|
|
||||
3 | "success": {{success}}
|
||||
| ^^^^^^^ actual value is <invalid>
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_connect_timeout.hurl" time="1.002">
|
||||
<error>Http Connection
|
||||
--> tests/error_connect_timeout.hurl:1:5
|
||||
|
|
||||
1 | GET http://10.0.0.0
|
||||
| ^^^^^^^^^^^^^^^ (28) Connection timeout after 1001 ms
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_file_read_access.hurl" time="0.000">
|
||||
<error>File ReadAccess
|
||||
--> tests/error_file_read_access.hurl:2:6
|
||||
|
|
||||
2 | file,does_not_exist;
|
||||
| ^^^^^^^^^^^^^^ File tests/does_not_exist can not be read
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_http_connection.hurl" time="0.015">
|
||||
<error>Http Connection
|
||||
--> tests/error_http_connection.hurl:1:5
|
||||
|
|
||||
1 | GET http://unknown
|
||||
| ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_invalid_jsonpath.hurl" time="0.004">
|
||||
<failure>Invalid jsonpath
|
||||
--> tests/error_invalid_jsonpath.hurl:4:10
|
||||
|
|
||||
4 | jsonpath "" equals false
|
||||
| ^^ the jsonpath expression '' is not valid
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_invalid_url.hurl" time="0.000">
|
||||
<error>Http Connection
|
||||
--> tests/error_invalid_url.hurl:1:5
|
||||
|
|
||||
1 | GET ???
|
||||
| ^^^ (3) URL using bad/illegal format or missing URL
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_invalid_xml.hurl" time="0.002">
|
||||
<failure>Invalid XML
|
||||
--> tests/error_invalid_xml.hurl:4:1
|
||||
|
|
||||
4 | xpath "xx" equals 1
|
||||
| ^^^^^^^^^^ The Http response is not a valid XML
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_max_redirect.hurl" time="0.025">
|
||||
<error>Http Connection
|
||||
--> tests/error_max_redirect.hurl:1:5
|
||||
|
|
||||
1 | GET http://localhost:8000/redirect/7
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Too many redirect
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_multipart_form_data.hurl" time="0.000">
|
||||
<error>File ReadAccess
|
||||
--> tests/error_multipart_form_data.hurl:4:15
|
||||
|
|
||||
4 | upload1: file,unknown;
|
||||
| ^^^^^^^ File tests/unknown can not be read
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_output_decompress.hurl" time="0.006"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_predicate.hurl" time="0.016">
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:4:0
|
||||
|
|
||||
4 | jsonpath "$.status" equals "true"
|
||||
| actual: bool <true>
|
||||
| expected: string <true>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:6:0
|
||||
|
|
||||
6 | jsonpath "$.count" equals 0
|
||||
| actual: int <1>
|
||||
| expected: int <0>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:7:0
|
||||
|
|
||||
7 | jsonpath "$.message" equals 0
|
||||
| actual: string <0>
|
||||
| expected: int <0>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:8:0
|
||||
|
|
||||
8 | jsonpath "$.empty" equals 0
|
||||
| actual: string <>
|
||||
| expected: int <0>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:9:0
|
||||
|
|
||||
9 | jsonpath "$.number" equals 1.1
|
||||
| actual: float <1.0>
|
||||
| expected: float <1.1>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:10:0
|
||||
|
|
||||
10 | jsonpath "$.message" startsWith "hi"
|
||||
| actual: string <0>
|
||||
| expected: starts with string <hi>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:11:0
|
||||
|
|
||||
11 | jsonpath "$.message" endsWith "hi"
|
||||
| actual: string <0>
|
||||
| expected: ends with string <hi>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:12:0
|
||||
|
|
||||
12 | jsonpath "$.message" contains "hi"
|
||||
| actual: string <0>
|
||||
| expected: contains string <hi>
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:13:0
|
||||
|
|
||||
13 | jsonpath "$.message" matches "hi"
|
||||
| actual: string <0>
|
||||
| expected: matches regex <hi>
|
||||
|</failure>
|
||||
<failure>Subquery error
|
||||
--> tests/error_predicate.hurl:14:22
|
||||
|
|
||||
14 | jsonpath "$.message" count == 1
|
||||
| ^^^^^ Type from query result and subquery do not match
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:15:0
|
||||
|
|
||||
15 | jsonpath "$.toto" exists
|
||||
| actual: none
|
||||
| expected: something
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:16:0
|
||||
|
|
||||
16 | jsonpath "$.message" not exists
|
||||
| actual: string <0>
|
||||
| expected: not something
|
||||
|</failure>
|
||||
<failure>Assert Failure
|
||||
--> tests/error_predicate.hurl:17:0
|
||||
|
|
||||
17 | jsonpath "$.list" count == 2
|
||||
| actual: int <3>
|
||||
| expected: int <2>
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_query_header_not_found.hurl" time="0.004">
|
||||
<failure>Header not Found
|
||||
--> tests/error_query_header_not_found.hurl:3:1
|
||||
|
|
||||
3 | Custom: XXX
|
||||
| ^^^^^^ This header has not been found in the response
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_query_invalid_json.hurl" time="0.003">
|
||||
<failure>Invalid Json
|
||||
--> tests/error_query_invalid_json.hurl:4:1
|
||||
|
|
||||
4 | jsonpath "$.errors" count == 2
|
||||
| ^^^^^^^^^^^^^^^^^^^ The http response is not a valid json
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_query_invalid_utf8.hurl" time="0.002">
|
||||
<failure>Invalid Decoding
|
||||
--> tests/error_query_invalid_utf8.hurl:4:1
|
||||
|
|
||||
4 | jsonpath "$.errors" count == 2
|
||||
| ^^^^^^^^^^^^^^^^^^^ The body can not be decoded with charset 'utf-8'
|
||||
|</failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_template_variable_not_found.hurl" time="0.000">
|
||||
<error>Undefined Variable
|
||||
--> tests/error_template_variable_not_found.hurl:1:7
|
||||
|
|
||||
1 | GET {{url}}
|
||||
| ^^^ You must set the variable url
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_template_variable_not_renderable.hurl" time="0.003">
|
||||
<error>Unrenderable Variable
|
||||
--> tests/error_template_variable_not_renderable.hurl:8:11
|
||||
|
|
||||
8 | param1: {{list}}
|
||||
| ^^^^ value [1,2,3] can not be rendered
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/error_timeout.hurl" time="1.001">
|
||||
<error>Http Connection
|
||||
--> tests/error_timeout.hurl:1:5
|
||||
|
|
||||
1 | GET http://localhost:8000/timeout
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (28) Operation timed out after 1001 milliseconds with 0 bytes received
|
||||
|</error>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/expect.hurl" time="0.003"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/float.hurl" time="0.014"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/follow_redirect.hurl" time="0.014"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/form_params.hurl" time="0.007"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/headers.hurl" time="0.034"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/hello.hurl" time="0.014"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/ignore_asserts.hurl" time="0.002"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/include.hurl" time="0.002"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/large.hurl" time="8.318"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/multilines.hurl" time="0.068"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/multipart_form_data.hurl" time="0.009"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/no_entry.hurl" time="0.000"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/non_utf8.hurl" time="0.004"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/output.hurl" time="0.007"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/patch.hurl" time="0.007"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_base64.hurl" time="0.004"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_bytes.hurl" time="0.005"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_file.hurl" time="0.023"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_json.hurl" time="0.028"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_multilines.hurl" time="0.014"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/post_xml.hurl" time="0.007"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/predicates-string.hurl" time="0.016"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/proxy.hurl" time="0.040"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/put.hurl" time="0.003"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/querystring_params.hurl" time="0.015"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/redirect.hurl" time="0.015"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/subquery_count.hurl" time="0.008"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/url.hurl" time="0.022"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/user_in_url.hurl" time="0.003"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/utf8.hurl" time="0.003"/>
|
||||
</testsuite>
|
||||
<testsuite>
|
||||
<testcase id="tests/variables.hurl" time="0.018"/>
|
||||
</testsuite>
|
||||
</testsuites>
|
Loading…
Reference in New Issue
Block a user