From f25ad4e8a7e4bd6505b2144494da81fbcad40b7d Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 19 May 2016 18:13:27 +0800 Subject: add unittests of project & refactor response post body: {'href':''} get body: Pod/Project list body: list of Pod/Project update body: Pod/Project delete: no body JIRA: FUNCTEST-253 Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb Signed-off-by: SerenaFeng --- .../samples/sample.json.postman_collection | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'utils/test/result_collection_api/samples') diff --git a/utils/test/result_collection_api/samples/sample.json.postman_collection b/utils/test/result_collection_api/samples/sample.json.postman_collection index 9ee35d15e..445b2eef3 100644 --- a/utils/test/result_collection_api/samples/sample.json.postman_collection +++ b/utils/test/result_collection_api/samples/sample.json.postman_collection @@ -162,7 +162,7 @@ { "id": "1183979d-1847-0238-4abe-12406c10d3e5", "headers": "", - "url": "http://127.0.0.1:8000/test_projects/yardstick/cases", + "url": "http://127.0.0.1:8000/projects/yardstick/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -257,7 +257,7 @@ { "id": "2ea6a7a9-4d73-e78a-4e9a-21df9d72dc4d", "headers": "", - "url": "http://127.0.0.1:8000/test_projects/project_foo/cases", + "url": "http://127.0.0.1:8000/projects/project_foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -334,7 +334,7 @@ { "id": "3077838a-4ea1-f35e-5c05-2b1aba7d5b91", "headers": "", - "url": "http://213.77.62.197/test_projects/yardstick/cases", + "url": "http://213.77.62.197/projects/yardstick/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -391,7 +391,7 @@ { "id": "46347e52-c68c-bae8-f64f-a35de3b99c6f", "headers": "Content-Type: application/json\n", - "url": "http://127.0.0.1:8000/test_projects/project_foo/cases", + "url": "http://127.0.0.1:8000/projects/project_foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "POST", @@ -412,7 +412,7 @@ { "id": "4c7651ea-4395-de8f-ce09-3b182cff1fd4", "headers": "Content-Type: application/json\n", - "url": "http://127.0.0.1:8000/test_projects/project_foo/cases", + "url": "http://127.0.0.1:8000/projects/project_foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "POST", @@ -433,7 +433,7 @@ { "id": "4cb44e62-8f36-62c4-2f9e-c51019f97535", "headers": "", - "url": "http://213.77.62.197/test_projects/vsperf/cases", + "url": "http://213.77.62.197/projects/vsperf/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -649,7 +649,7 @@ { "id": "7396c965-4732-7ae4-398e-b0d3bc7fe937", "headers": "", - "url": "http://127.0.0.1:8000/test_projects/foo/cases", + "url": "http://127.0.0.1:8000/projects/foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -668,7 +668,7 @@ { "id": "78fc1ca8-6179-ffe0-4d10-c345dad994f6", "headers": "Content-Type: application/json\n", - "url": "http://127.0.0.1:8000/test_projects/project_foo", + "url": "http://127.0.0.1:8000/projects/project_foo", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", @@ -765,7 +765,7 @@ { "id": "8c925a09-4c8a-b811-d25c-be2bb2592c8f", "headers": "", - "url": "http://213.77.62.197/test_projects", + "url": "http://213.77.62.197/projects", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -804,7 +804,7 @@ { "id": "93f87cf3-4b1f-e3b2-9726-94f8fc259ee1", "headers": "", - "url": "http://127.0.0.1:8000/test_projects/project_foo/cases", + "url": "http://127.0.0.1:8000/projects/project_foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -823,7 +823,7 @@ { "id": "99c8fa51-df1c-cae5-09c7-d554a4c8b8a0", "headers": "", - "url": "http://213.77.62.197/test_projects/foo/cases", + "url": "http://213.77.62.197/projects/foo/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -863,7 +863,7 @@ { "id": "acac56bf-af93-bb07-774f-11667ea71a8b", "headers": "", - "url": "http://213.77.62.197/test_projects/functest/cases", + "url": "http://213.77.62.197/projects/functest/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -924,7 +924,7 @@ { "id": "c7f8ccfb-ecdd-6d5a-d9d6-3c097dcce62c", "headers": "", - "url": "http://127.0.0.1:8000/test_projects", + "url": "http://127.0.0.1:8000/projects", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -943,7 +943,7 @@ { "id": "c820f80b-cdc8-602d-d9f3-32df11c861ef", "headers": "", - "url": "http://127.0.0.1:8000/test_projects/vsperf/cases", + "url": "http://127.0.0.1:8000/projects/vsperf/cases", "preRequestScript": "", "pathVariables": {}, "method": "GET", @@ -982,7 +982,7 @@ { "id": "d058c0d9-6c8f-f480-2cdd-f83a91430114", "headers": "Content-Type: application/json\n", - "url": "http://127.0.0.1:8000/test_projects", + "url": "http://127.0.0.1:8000/projects", "preRequestScript": "", "pathVariables": {}, "method": "POST", @@ -1003,7 +1003,7 @@ { "id": "d1c53d34-be0e-8eda-31f5-9c9386e892c3", "headers": "Content-Type: application/json\n", - "url": "http://127.0.0.1:8000/test_projects/project_foo", + "url": "http://127.0.0.1:8000/projects/project_foo", "preRequestScript": "", "pathVariables": {}, "method": "PUT", -- cgit 1.2.3-korg