mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 16:11:34 +03:00
11 lines
737 B
HTML
11 lines
737 B
HTML
<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>
|