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,31 @@
meta {
name: dronesWithCooling -> false
type: http
seq: 1
}
get {
url: {{API_BASE}}/dronesWithCooling/false
body: none
auth: inherit
}
tests {
test("Status code is 200", function() {
expect(res.status).to.equal(200);
});
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
}

View file

@ -0,0 +1,24 @@
meta {
name: dronesWithCooling -> illegal
type: http
seq: 1
}
get {
url: {{API_BASE}}/dronesWithCooling/illegal
body: none
auth: inherit
}
tests {
test("Status code is 400", function() {
expect(res.status).to.equal(400);
});
}
settings {
encodeUrl: true
timeout: 0
}

View file

@ -0,0 +1,31 @@
meta {
name: dronesWithCooling -> true
type: http
seq: 1
}
get {
url: {{API_BASE}}/dronesWithCooling/true
body: none
auth: inherit
}
tests {
test("Status code is 200", function() {
expect(res.status).to.equal(200);
});
test("Response body is a JSON array", function() {
expect(res.getBody()).to.be.an('array');
});
test("Array is not empty and contains String", function() {
const data = res.getBody();
expect(data[0]).to.be.a('string'); // data should be in String
});
}
settings {
encodeUrl: true
timeout: 0
}

View file

@ -0,0 +1,8 @@
meta {
name: [GET] dronesWithCooling
seq: 1
}
auth {
mode: inherit
}

View file

@ -0,0 +1,16 @@
meta {
name: null should return 200
type: http
seq: 4
}
get {
url: {{API_BASE}}/dronesWithCooling/null
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}