add test several get things

This commit is contained in:
Rémi Heredero 2023-11-15 11:42:22 +01:00
parent 1708fc117b
commit b162f28315

View File

@ -0,0 +1,44 @@
### GET Thing 1
GET http://localhost:8080/things/thing1
> {%
client.test("Request executed successfully", function() {
client.assert(response.status != 500, "Response status is 500");
});
%}
### GET Thing 2
GET http://localhost:8080/things/thing2
> {%
client.test("Request executed successfully", function() {
client.assert(response.status != 500, "Response status is 500");
});
%}
### GET Thing 3
GET http://localhost:8080/things/thing3
> {%
client.test("Request executed successfully", function() {
client.assert(response.status != 500, "Response status is 500");
});
%}
### GET Thing 4
GET http://localhost:8080/things/thing4
> {%
client.test("Request executed successfully", function() {
client.assert(response.status != 500, "Response status is 500");
});
%}
### GET Thing 5
GET http://localhost:8080/things/toto
> {%
client.test("Request executed successfully", function() {
client.assert(response.status != 500, "Response status is 500");
});
%}