Files
bruno/tests/runner/collection-run-report/collection/api/v1/users.bru
Abhishek S Lal 60b437ef9d fix: update test URLs having httpbin. Add redirect chain endpoint to test server (#5989)
* fix: update test URLs from httpbin to echo.usebruno.com across multiple test files

* fix: standardize URL formatting in insomnia test files

* chore: standardize URL formatting in insomnia test files
2025-11-05 20:16:07 +05:30

59 lines
1.1 KiB
Plaintext

meta {
name: Get User Info
type: http
seq: 1
}
post {
url: https://echo.usebruno.com
body: json
auth: none
}
body:json {
{
"slideshow": {
"author": "Yours Truly",
"date": "date of publication",
"slides": [
{
"title": "Wake up to WonderWidgets!",
"type": "all"
},
{
"items": [
"Why <em>WonderWidgets</em> are great",
"Who <em>buys</em> WonderWidgets"
],
"title": "Overview",
"type": "all"
}
],
"title": "Sample Slide Show"
}
}
}
headers {
Accept: application/json
}
tests {
test("Status code is 200", function() {
expect(res.getStatus()).to.equal(200);
});
test("Response is an object", function() {
expect(res.getBody()).to.be.an('object');
});
test("Response has slideshow property", function() {
expect(res.getBody()).to.have.property('slideshow');
});
test("Slideshow has title", function() {
const body = res.getBody();
expect(body.slideshow).to.have.property('title');
});
}