chore: rebuild directory structure

This commit is contained in:
js0ny 2025-11-28 07:53:04 +00:00
parent d3ce236672
commit dbf71443c7
91 changed files with 6683 additions and 1 deletions

View file

@ -0,0 +1,53 @@
meta {
name: GT LT EQ
type: http
seq: 4
}
post {
url: {{API_BASE}}/query
body: json
auth: inherit
}
body:json {
[
{
"attribute": "capacity",
"operator": ">",
"value": "8"
},
{
"attribute": "maxMoves",
"operator": "<",
"value": "2000"
},
{
"attribute": "cooling",
"operator": "=",
"value": "true"
}
]
}
assert {
res.status: eq 200
res.body: length 1
}
tests {
test("Response body is a JSON array", function() {
expect(res.getBody()).to.be.an('array');
});
test("Array is not empty and contains Strings", function() {
const data = res.getBody();
expect(data[0]).to.be.a('string'); // data should be in string
});
}
settings {
encodeUrl: true
timeout: 0
}