diff --git a/src/main/getThingDetails.http b/src/main/getThingDetails.http new file mode 100644 index 0000000..75407e8 --- /dev/null +++ b/src/main/getThingDetails.http @@ -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"); + }); +%}