forked from apiaddicts/openapi2postman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSWAGGER_API_TestSuite_DEV.postman_collection.json
1 lines (1 loc) · 74.6 KB
/
SWAGGER_API_TestSuite_DEV.postman_collection.json
1
{"info":{"_postman_id":"8680b1d9-579c-43d2-8035-991b269c31e0","name":"SWAGGER_API_TestSuite_DEV","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"name":"001.pet","item":[{"name":"001.001.uploads an image","item":[{"name":"TC.001.001.200 uploads an image ","aux":{"status":"200","body":false,"consumes":"multipart/form-data","bodyResponse":{"200":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"type":{"type":"string"},"message":{"type":"string"}}}},"authorization":"oauth2_token","summary":"uploads an image","queryParams":[],"pathParameter":"petId"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/{{pet_post_petId}}/uploadImage","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/{{pet_post_petId}}/uploadImage"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\"},\"type\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"}}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]}],"auxName":"uploads an image","auxOrder":"POST"},{"name":"001.002.Update an existing pet","item":[{"name":"TC.001.002.400 Update an existing pet without.name","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"without.name"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet without.photoUrls","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"without.photoUrls"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.id.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.id.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id_wrong}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.category.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.category.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":\"{{pet_put_category_wrong}}\",\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.category.id.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.category.id.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id_wrong}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.category.name.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.category.name.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name_wrong}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.name.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.name.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name_wrong}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.photoUrls.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.photoUrls.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":\"{{pet_put_photoUrls_wrong}}\",\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.tags.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.tags.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":\"{{pet_put_tags_wrong}}\",\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.tags.id.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.tags.id.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id_wrong}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.tags.name.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.tags.name.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name_wrong}}\"}],\"status\":\"{{pet_put_status}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.001.002.400 Update an existing pet with.status.wrong","aux":{"status":"400","body":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string","properties":{"type":"string"}}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"type":"object"},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}},"consumes":"application/json","bodyResponse":{},"authorization":"oauth2_token","summary":"Update an existing pet","queryParams":[],"pathParameter":false,"suffix":"with.status.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{pet_put_id}}\",\"category\":{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"},\"name\":\"{{pet_put_name}}\",\"photoUrls\":[\"{{pet_put_photoUrls}}\"],\"tags\":[{\"id\":\"{{pet_put_id}}\",\"name\":\"{{pet_put_name}}\"}],\"status\":\"{{pet_put_status_wrong}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]}],"auxName":"Update an existing pet","auxOrder":"PUT"},{"name":"001.003.Finds Pets by status","item":[{"name":"TC.001.003.200 Finds Pets by status ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"array","items":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}}}},"authorization":"oauth2_token","summary":"Finds Pets by status","queryParams":[{"prefix":"pet_get_","name":"status","type":"array","required":true}],"pathParameter":false},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/findByStatus","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/findByStatus?status={{pet_get_status}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"name\",\"photoUrls\"],\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"category\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"name\":{\"type\":\"string\"}},\"xml\":{\"name\":\"Category\"}},\"name\":{\"type\":\"string\",\"example\":\"doggie\"},\"photoUrls\":{\"type\":\"array\",\"xml\":{\"name\":\"photoUrl\",\"wrapped\":true},\"items\":{\"type\":\"string\"}},\"tags\":{\"type\":\"array\",\"xml\":{\"name\":\"tag\",\"wrapped\":true},\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"name\":{\"type\":\"string\"}},\"xml\":{\"name\":\"Tag\"}}},\"status\":{\"type\":\"string\",\"description\":\"pet status in the store\",\"enum\":[{\"0\":\"a\",\"1\":\"v\",\"2\":\"a\",\"3\":\"i\",\"4\":\"l\",\"5\":\"a\",\"6\":\"b\",\"7\":\"l\",\"8\":\"e\"},{\"0\":\"p\",\"1\":\"e\",\"2\":\"n\",\"3\":\"d\",\"4\":\"i\",\"5\":\"n\",\"6\":\"g\"},{\"0\":\"s\",\"1\":\"o\",\"2\":\"l\",\"3\":\"d\"}]}},\"xml\":{\"name\":\"Pet\"}}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.001.003.400 Finds Pets by status .without.status","aux":{"status":"400","body":false,"consumes":false,"bodyResponse":{"200":{"type":"array","items":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}}}},"authorization":"oauth2_token","summary":"Finds Pets by status","queryParams":[{"prefix":"pet_get_","name":"status","type":"array","required":true}],"pathParameter":false,"suffix":".without.status"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/findByStatus","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/findByStatus"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]}],"auxName":"Finds Pets by status","auxOrder":"GET"},{"name":"001.004.Finds Pets by tags","item":[{"name":"TC.001.004.200 Finds Pets by tags ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"array","items":{"type":"string","description":"Circular REF solved swagger2postman"}}},"authorization":"oauth2_token","summary":"Finds Pets by tags","queryParams":[{"prefix":"pet_get_","name":"tags","type":"array","required":true}],"pathParameter":false},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/findByTags","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/findByTags?tags={{pet_get_tags}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"Circular REF solved swagger2postman\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.001.004.400 Finds Pets by tags .without.tags","aux":{"status":"400","body":false,"consumes":false,"bodyResponse":{"200":{"type":"array","items":{"type":"string","description":"Circular REF solved swagger2postman"}}},"authorization":"oauth2_token","summary":"Finds Pets by tags","queryParams":[{"prefix":"pet_get_","name":"tags","type":"array","required":true}],"pathParameter":false,"suffix":".without.tags"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/findByTags","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/findByTags"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]}],"auxName":"Finds Pets by tags","auxOrder":"GET"},{"name":"001.005.Find pet by ID","item":[{"name":"TC.001.005.200 Find pet by ID ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}}},"authorization":"apiKey_token","summary":"Find pet by ID","queryParams":[],"pathParameter":"petId"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/{{pet_get_petId}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/{{pet_get_petId}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"required\":[\"name\",\"photoUrls\"],\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"category\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"name\":{\"type\":\"string\"}},\"xml\":{\"name\":\"Category\"}},\"name\":{\"type\":\"string\",\"example\":\"doggie\"},\"photoUrls\":{\"type\":\"array\",\"xml\":{\"name\":\"photoUrl\",\"wrapped\":true},\"items\":{\"type\":\"string\"}},\"tags\":{\"type\":\"array\",\"xml\":{\"name\":\"tag\",\"wrapped\":true},\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"name\":{\"type\":\"string\"}},\"xml\":{\"name\":\"Tag\"}}},\"status\":{\"type\":\"string\",\"description\":\"pet status in the store\",\"enum\":[{\"0\":\"a\",\"1\":\"v\",\"2\":\"a\",\"3\":\"i\",\"4\":\"l\",\"5\":\"a\",\"6\":\"b\",\"7\":\"l\",\"8\":\"e\"},{\"0\":\"p\",\"1\":\"e\",\"2\":\"n\",\"3\":\"d\",\"4\":\"i\",\"5\":\"n\",\"6\":\"g\"},{\"0\":\"s\",\"1\":\"o\",\"2\":\"l\",\"3\":\"d\"}]}},\"xml\":{\"name\":\"Pet\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.001.005.404 Find pet by ID ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","required":["name","photoUrls"],"properties":{"id":{"type":"integer","format":"int64"},"category":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Category"}},"name":{"type":"string","example":"doggie"},"photoUrls":{"type":"array","xml":{"name":"photoUrl","wrapped":true},"items":{"type":"string"}},"tags":{"type":"array","xml":{"name":"tag","wrapped":true},"items":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"}},"xml":{"name":"Tag"}}},"status":{"type":"string","description":"pet status in the store","enum":[{"0":"a","1":"v","2":"a","3":"i","4":"l","5":"a","6":"b","7":"l","8":"e"},{"0":"p","1":"e","2":"n","3":"d","4":"i","5":"n","6":"g"},{"0":"s","1":"o","2":"l","3":"d"}]}},"xml":{"name":"Pet"}}},"authorization":"apiKey_token","summary":"Find pet by ID","queryParams":[],"pathParameter":"petId"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/{{pet_get_petId_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/{{pet_get_petId_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Find pet by ID","auxOrder":"GET"},{"name":"001.006.Deletes a pet","item":[{"name":"TC.001.006.404 Deletes a pet ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{},"authorization":"oauth2_token","summary":"Deletes a pet","queryParams":[],"pathParameter":"petId"},"response":[],"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/pet/{{pet_delete_petId_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/pet/{{pet_delete_petId_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Deletes a pet","auxOrder":"DELETE"}]},{"name":"002.store","item":[{"name":"002.001.Place an order for a pet","item":[{"name":"TC.002.001.200 Place an order for a pet ","aux":{"status":"200","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"petId\":{\"type\":\"integer\",\"format\":\"int64\"},\"quantity\":{\"type\":\"integer\",\"format\":\"int32\"},\"shipDate\":{\"type\":\"string\",\"format\":\"date-time\"},\"status\":{\"type\":\"string\",\"description\":\"Order Status\",\"enum\":[{\"0\":\"p\",\"1\":\"l\",\"2\":\"a\",\"3\":\"c\",\"4\":\"e\",\"5\":\"d\"},{\"0\":\"a\",\"1\":\"p\",\"2\":\"p\",\"3\":\"r\",\"4\":\"o\",\"5\":\"v\",\"6\":\"e\",\"7\":\"d\"},{\"0\":\"d\",\"1\":\"e\",\"2\":\"l\",\"3\":\"i\",\"4\":\"v\",\"5\":\"e\",\"6\":\"r\",\"7\":\"e\",\"8\":\"d\"}]},\"complete\":{\"type\":\"boolean\",\"default\":false}},\"xml\":{\"name\":\"Order\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.id.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.id.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id_wrong}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.petId.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.petId.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId_wrong}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.quantity.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.quantity.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity_wrong}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.shipDate.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.shipDate.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate_wrong}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.status.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.status.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status_wrong}}\",\"complete\":\"{{store_post_complete}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.002.001.400 Place an order for a pet with.complete.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}},"consumes":"application/json","bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Place an order for a pet","queryParams":[],"pathParameter":false,"suffix":"with.complete.wrong"},"response":[],"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{store_post_id}}\",\"petId\":\"{{store_post_petId}}\",\"quantity\":\"{{store_post_quantity}}\",\"shipDate\":\"{{store_post_shipDate}}\",\"status\":\"{{store_post_status}}\",\"complete\":\"{{store_post_complete_wrong}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]}],"auxName":"Place an order for a pet","auxOrder":"POST"},{"name":"002.002.Returns pet inventories by status","item":[{"name":"TC.002.002.200 Returns pet inventories by status ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}},"authorization":"apiKey_token","summary":"Returns pet inventories by status","queryParams":[],"pathParameter":false},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/inventory","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/inventory"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"additionalProperties\":{\"type\":\"integer\",\"format\":\"int32\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]}],"auxName":"Returns pet inventories by status","auxOrder":"GET"},{"name":"002.003.Find purchase order by ID","item":[{"name":"TC.002.003.200 Find purchase order by ID ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Find purchase order by ID","queryParams":[],"pathParameter":"orderId"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order/{{store_get_orderId}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order/{{store_get_orderId}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"petId\":{\"type\":\"integer\",\"format\":\"int64\"},\"quantity\":{\"type\":\"integer\",\"format\":\"int32\"},\"shipDate\":{\"type\":\"string\",\"format\":\"date-time\"},\"status\":{\"type\":\"string\",\"description\":\"Order Status\",\"enum\":[{\"0\":\"p\",\"1\":\"l\",\"2\":\"a\",\"3\":\"c\",\"4\":\"e\",\"5\":\"d\"},{\"0\":\"a\",\"1\":\"p\",\"2\":\"p\",\"3\":\"r\",\"4\":\"o\",\"5\":\"v\",\"6\":\"e\",\"7\":\"d\"},{\"0\":\"d\",\"1\":\"e\",\"2\":\"l\",\"3\":\"i\",\"4\":\"v\",\"5\":\"e\",\"6\":\"r\",\"7\":\"e\",\"8\":\"d\"}]},\"complete\":{\"type\":\"boolean\",\"default\":false}},\"xml\":{\"name\":\"Order\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.002.003.404 Find purchase order by ID ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"petId":{"type":"integer","format":"int64"},"quantity":{"type":"integer","format":"int32"},"shipDate":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Order Status","enum":[{"0":"p","1":"l","2":"a","3":"c","4":"e","5":"d"},{"0":"a","1":"p","2":"p","3":"r","4":"o","5":"v","6":"e","7":"d"},{"0":"d","1":"e","2":"l","3":"i","4":"v","5":"e","6":"r","7":"e","8":"d"}]},"complete":{"type":"boolean","default":false}},"xml":{"name":"Order"}}},"authorization":false,"summary":"Find purchase order by ID","queryParams":[],"pathParameter":"orderId"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order/{{store_get_orderId_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order/{{store_get_orderId_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Find purchase order by ID","auxOrder":"GET"},{"name":"002.004.Delete purchase order by ID","item":[{"name":"TC.002.004.404 Delete purchase order by ID ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{},"authorization":false,"summary":"Delete purchase order by ID","queryParams":[],"pathParameter":"orderId"},"response":[],"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/store/order/{{store_delete_orderId_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/store/order/{{store_delete_orderId_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Delete purchase order by ID","auxOrder":"DELETE"}]},{"name":"003.user","item":[{"name":"003.001.Updated user","item":[{"name":"TC.003.001.400 Updated user with.id.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.id.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id_wrong}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.username.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.username.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username_wrong}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.firstName.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.firstName.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName_wrong}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.lastName.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.lastName.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName_wrong}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.email.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.email.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email_wrong}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.password.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.password.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password_wrong}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.phone.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.phone.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone_wrong}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.400 Updated user with.userStatus.wrong","aux":{"status":"400","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username","suffix":"with.userStatus.wrong"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus_wrong}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.001.404 Updated user ","aux":{"status":"404","body":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}},"consumes":"application/json","bodyResponse":{},"authorization":false,"summary":"Updated user","queryParams":[],"pathParameter":"username"},"response":[],"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"id\":\"{{user_put_id}}\",\"username\":\"{{user_put_username}}\",\"firstName\":\"{{user_put_firstName}}\",\"lastName\":\"{{user_put_lastName}}\",\"email\":\"{{user_put_email}}\",\"password\":\"{{user_put_password}}\",\"phone\":\"{{user_put_phone}}\",\"userStatus\":\"{{user_put_userStatus}}\"}"},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_put_username_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_put_username_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Updated user","auxOrder":"PUT"},{"name":"003.002.Logs user into the system","item":[{"name":"TC.003.002.200 Logs user into the system ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"string"}},"authorization":false,"summary":"Logs user into the system","queryParams":[{"prefix":"user_get_","name":"username","type":"string","required":true},{"prefix":"user_get_","name":"password","type":"string","required":true}],"pathParameter":false},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/login","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/login?username={{user_get_username}}&password={{user_get_password}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"string\"};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.003.002.400 Logs user into the system .without.username","aux":{"status":"400","body":false,"consumes":false,"bodyResponse":{"200":{"type":"string"}},"authorization":false,"summary":"Logs user into the system","queryParams":[{"prefix":"user_get_","name":"username","type":"string","required":true},{"prefix":"user_get_","name":"password","type":"string","required":true}],"pathParameter":false,"suffix":".without.username"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/login","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/login?password={{user_get_password}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]},{"name":"TC.003.002.400 Logs user into the system .without.password","aux":{"status":"400","body":false,"consumes":false,"bodyResponse":{"200":{"type":"string"}},"authorization":false,"summary":"Logs user into the system","queryParams":[{"prefix":"user_get_","name":"username","type":"string","required":true},{"prefix":"user_get_","name":"password","type":"string","required":true}],"pathParameter":false,"suffix":".without.password"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/login","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/login?username={{user_get_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 400\", function () {"," pm.response.to.have.status(400);","});"]}}]}],"auxName":"Logs user into the system","auxOrder":"GET"},{"name":"003.003.Get user by user name","item":[{"name":"TC.003.003.200 Get user by user name ","aux":{"status":"200","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}}},"authorization":false,"summary":"Get user by user name","queryParams":[],"pathParameter":"username"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_get_username}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_get_username}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 200\", function () {"," pm.response.to.have.status(200);","});","","var json = JSON.parse(responseBody);","","var schema = {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"format\":\"int64\"},\"username\":{\"type\":\"string\"},\"firstName\":{\"type\":\"string\"},\"lastName\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"password\":{\"type\":\"string\"},\"phone\":{\"type\":\"string\"},\"userStatus\":{\"type\":\"integer\",\"format\":\"int32\",\"description\":\"User Status\"}},\"xml\":{\"name\":\"User\"}};","","pm.test('Schema is valid', function() {"," pm.expect(tv4.validate(json, schema)).to.be.true;","});"]}}]},{"name":"TC.003.003.404 Get user by user name ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{"200":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"userStatus":{"type":"integer","format":"int32","description":"User Status"}},"xml":{"name":"User"}}},"authorization":false,"summary":"Get user by user name","queryParams":[],"pathParameter":"username"},"response":[],"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_get_username_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_get_username_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Get user by user name","auxOrder":"GET"},{"name":"003.004.Delete user","item":[{"name":"TC.003.004.404 Delete user ","aux":{"status":"404","body":false,"consumes":false,"bodyResponse":{},"authorization":false,"summary":"Delete user","queryParams":[],"pathParameter":"username"},"response":[],"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}{{port}}{{basePath}}/user/{{user_delete_username_not_found}}","host":["{{host}}{{port}}{{basePath}}"],"path":["/user/{{user_delete_username_not_found}}"]}},"event":[{"listen":"test","script":{"id":"63142ff5-28a4-40b2-8314-dcbeeaa89325","type":"text/javascript","exec":["pm.test(\"Status code is 404\", function () {"," pm.response.to.have.status(404);","});"]}}]}],"auxName":"Delete user","auxOrder":"DELETE"}]}]}