From 7f27903eb890c2e98568b227f846434572b0ebdf Mon Sep 17 00:00:00 2001 From: "iamalin@outlook.com" <174322686@qq.com> Date: Fri, 12 Aug 2016 19:45:36 +0800 Subject: [PATCH] from lin --- ...IAddressManagement.json.postman_collection | 158 +++ postman/APIAddressManagementCTKResult.html | 4 + postman/APIAddressManagementCTKResult.json | 686 +++++++++++++ ...essManagementAdmin.json.postman_collection | 118 +++ postman/AddressManagementAdminCTKResult.html | 1 + postman/AddressManagementAdminCTKResult.json | 656 +++++++++++++ postman/TMForumLocal.postman_environment | 283 ++++++ .../addressManagement.json.postman_collection | 224 +++++ postman/addressManagementCTKResult.html | 1 + postman/addressManagementCTKResult.json | 906 ++++++++++++++++++ 10 files changed, 3037 insertions(+) create mode 100644 postman/APIAddressManagement.json.postman_collection create mode 100644 postman/APIAddressManagementCTKResult.html create mode 100644 postman/APIAddressManagementCTKResult.json create mode 100644 postman/AddressManagementAdmin.json.postman_collection create mode 100644 postman/AddressManagementAdminCTKResult.html create mode 100644 postman/AddressManagementAdminCTKResult.json create mode 100644 postman/TMForumLocal.postman_environment create mode 100644 postman/addressManagement.json.postman_collection create mode 100644 postman/addressManagementCTKResult.html create mode 100644 postman/addressManagementCTKResult.json diff --git a/postman/APIAddressManagement.json.postman_collection b/postman/APIAddressManagement.json.postman_collection new file mode 100644 index 0000000..e239afe --- /dev/null +++ b/postman/APIAddressManagement.json.postman_collection @@ -0,0 +1,158 @@ +{ + "id": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "name": "API AddressManagement", + "description": "", + "order": [], + "folders": [ + { + "id": "cde8c245-3f4c-7de3-17e7-9f82a02d582a", + "name": "address", + "description": "Folder for address", + "order": [ + "50f3d9eb-ce0b-6b6b-b84b-70f9ae41b1d0", + "7ae19f43-7aca-594c-1211-f3e2ece22d39", + "59766fc6-3387-b638-e16a-0c0a242b5e2d" + ], + "owner": 0 + }, + { + "id": "3efee5b2-fd0d-1bcb-d228-3113c33b913d", + "name": "area", + "description": "Folder for area", + "order": [ + "9706bdf9-da99-dbeb-1236-68fcb6b64e9e" + ], + "owner": 0 + }, + { + "id": "e6f115b7-2929-fc2a-f1e9-8bf5fb7d0bb2", + "name": "street", + "description": "Folder for street", + "order": [ + "dc046527-01c3-5bd2-3e3e-e2a6d0241851", + "a075eca3-c91c-799c-9047-aabb154944a1" + ], + "owner": 0 + } + ], + "timestamp": 1413302258635, + "owner": 0, + "hasRequests": true, + "requests": [ + { + "id": "50f3d9eb-ce0b-6b6b-b84b-70f9ae41b1d0", + "headers": "", + "url": "http://api.orange.com/address?.fullText={{.fullText}}&.fuzzy={{.fuzzy}}&fields={{fields}}&streetNr={{streetNr}}&streetNrSuffix={{streetNrSuffix}}&streetNrLast={{streetNrLast}}&streetNrLastSuffix={{streetNrLastSuffix}}&streetName={{streetName}}&streetType={{streetType}}&streetSuffix={{streetSuffix}}&postcode={{postcode}}&locality={{locality}}&city={{city}}&country={{country}}&geoCode.latitude={{geoCode.latitude}}&geoCode.longitude={{geoCode.longitude}}&geoCode.geographicDatum={{geoCode.geographicDatum}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723061645, + "name": "find", + "description": "This operation is used to retrieve an address corresponding to search criteria.", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "59766fc6-3387-b638-e16a-0c0a242b5e2d", + "headers": "", + "url": "http://api.orange.com/address/validate", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723054175, + "name": "validate", + "description": "", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [], + "rawModeData": "Address data to validate" + }, + { + "id": "7ae19f43-7aca-594c-1211-f3e2ece22d39", + "headers": "", + "url": "http://api.orange.com/address/{{addressId}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723057057, + "name": "findById", + "description": "Retrieves an address using its unique ID. This ID should be retrieve either using the address completion process (cf. completion), or in another API of the ecosystem (party, appointment, etc.)", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "9706bdf9-da99-dbeb-1236-68fcb6b64e9e", + "headers": "", + "url": "http://api.orange.com/area?fields={{fields}}&.fuzzy={{.fuzzy}}&name={{name}}&type={{type}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723050392, + "name": "find", + "description": "This operation is the first step of an address completion process, allowing to retrieve geographic areas\nStep 1: I look for a geographic area (city, locality, district, etc.) using its name", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "a075eca3-c91c-799c-9047-aabb154944a1", + "headers": "", + "url": "http://api.orange.com/street/{{streetId}}/streetSegment", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723077753, + "name": "find", + "description": "This operation is the last step of an address completion process, allowing to retrieve numbers in a street\nStep 3: I get all the street segments (numbers) existing in the street", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "dc046527-01c3-5bd2-3e3e-e2a6d0241851", + "headers": "", + "url": "http://api.orange.com/street?area.id={{area.id}}&.fuzzy={{.fuzzy}}&fields={{fields}}&name={{name}}&type={{type}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723046677, + "name": "find", + "description": "This operation is the second step of an address completion process, allowing to retrieve streets\nStep 2: I look for the streets inside this geographic area", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + } + ] +} \ No newline at end of file diff --git a/postman/APIAddressManagementCTKResult.html b/postman/APIAddressManagementCTKResult.html new file mode 100644 index 0000000..d0dcf47 --- /dev/null +++ b/postman/APIAddressManagementCTKResult.html @@ -0,0 +1,4 @@ +

Newman test report

Collection:
API AddressManagement

Iterations:
1

Description:

Requests:


Description:
This operation is used to retrieve an address corresponding to search criteria.

Mean time per request:
8064 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
Description:
Retrieves an address using its unique ID. This ID should be retrieve either using the address completion process (cf. completion), or in another API of the ecosystem (party, appointment, etc.)

Mean time per request:
2757 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
Description:

Mean time per request:
5849 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
Description:
This operation is the first step of an address completion process, allowing to retrieve geographic areas +Step 1: I look for a geographic area (city, locality, district, etc.) using its name

Mean time per request:
2570 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
Description:
This operation is the second step of an address completion process, allowing to retrieve streets +Step 2: I look for the streets inside this geographic area

Mean time per request:
3096 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
Description:
This operation is the last step of an address completion process, allowing to retrieve numbers in a street +Step 3: I get all the street segments (numbers) existing in the street

Mean time per request:
1487 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present text/html; charset=UTF-8 1 0
Status code is 200 1 0
\ No newline at end of file diff --git a/postman/APIAddressManagementCTKResult.json b/postman/APIAddressManagementCTKResult.json new file mode 100644 index 0000000..39d01a4 --- /dev/null +++ b/postman/APIAddressManagementCTKResult.json @@ -0,0 +1,686 @@ +{ + "id": "", + "name": "Default", + "timestamp": 1470725122055, + "collection_id": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "folder_id": 0, + "target_type": "collection", + "environment_id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "count": 1, + "collection": { + "id": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "name": "API AddressManagement", + "description": "", + "order": [], + "folders": [ + { + "id": "cde8c245-3f4c-7de3-17e7-9f82a02d582a", + "name": "address", + "description": "Folder for address", + "order": [ + "50f3d9eb-ce0b-6b6b-b84b-70f9ae41b1d0", + "7ae19f43-7aca-594c-1211-f3e2ece22d39", + "59766fc6-3387-b638-e16a-0c0a242b5e2d" + ], + "owner": 0 + }, + { + "id": "3efee5b2-fd0d-1bcb-d228-3113c33b913d", + "name": "area", + "description": "Folder for area", + "order": [ + "9706bdf9-da99-dbeb-1236-68fcb6b64e9e" + ], + "owner": 0 + }, + { + "id": "e6f115b7-2929-fc2a-f1e9-8bf5fb7d0bb2", + "name": "street", + "description": "Folder for street", + "order": [ + "dc046527-01c3-5bd2-3e3e-e2a6d0241851", + "a075eca3-c91c-799c-9047-aabb154944a1" + ], + "owner": 0 + } + ], + "timestamp": 1413302258635, + "owner": 0, + "hasRequests": true, + "requests": [ + { + "id": "50f3d9eb-ce0b-6b6b-b84b-70f9ae41b1d0", + "headers": "", + "url": "http://api.orange.com/address?.fullText={{.fullText}}&.fuzzy={{.fuzzy}}&fields={{fields}}&streetNr={{streetNr}}&streetNrSuffix={{streetNrSuffix}}&streetNrLast={{streetNrLast}}&streetNrLastSuffix={{streetNrLastSuffix}}&streetName={{streetName}}&streetType={{streetType}}&streetSuffix={{streetSuffix}}&postcode={{postcode}}&locality={{locality}}&city={{city}}&country={{country}}&geoCode.latitude={{geoCode.latitude}}&geoCode.longitude={{geoCode.longitude}}&geoCode.geographicDatum={{geoCode.geographicDatum}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723061645, + "name": "find", + "description": "This operation is used to retrieve an address corresponding to search criteria.", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "59766fc6-3387-b638-e16a-0c0a242b5e2d", + "headers": "", + "url": "http://api.orange.com/address/validate", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723054175, + "name": "validate", + "description": "", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [], + "rawModeData": "Address data to validate" + }, + { + "id": "7ae19f43-7aca-594c-1211-f3e2ece22d39", + "headers": "", + "url": "http://api.orange.com/address/{{addressId}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723057057, + "name": "findById", + "description": "Retrieves an address using its unique ID. This ID should be retrieve either using the address completion process (cf. completion), or in another API of the ecosystem (party, appointment, etc.)", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "9706bdf9-da99-dbeb-1236-68fcb6b64e9e", + "headers": "", + "url": "http://api.orange.com/area?fields={{fields}}&.fuzzy={{.fuzzy}}&name={{name}}&type={{type}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723050392, + "name": "find", + "description": "This operation is the first step of an address completion process, allowing to retrieve geographic areas\nStep 1: I look for a geographic area (city, locality, district, etc.) using its name", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "a075eca3-c91c-799c-9047-aabb154944a1", + "headers": "", + "url": "http://api.orange.com/street/{{streetId}}/streetSegment", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723077753, + "name": "find", + "description": "This operation is the last step of an address completion process, allowing to retrieve numbers in a street\nStep 3: I get all the street segments (numbers) existing in the street", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + }, + { + "id": "dc046527-01c3-5bd2-3e3e-e2a6d0241851", + "headers": "", + "url": "http://api.orange.com/street?area.id={{area.id}}&.fuzzy={{.fuzzy}}&fields={{fields}}&name={{name}}&type={{type}}", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "tests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470723046677, + "name": "find", + "description": "This operation is the second step of an address completion process, allowing to retrieve streets\nStep 2: I look for the streets inside this geographic area", + "collectionId": "d477673c-8e34-9dde-c2bd-c9bf10e2f03f", + "responses": [] + } + ] + }, + "folder": null, + "globals": { + "values": [] + }, + "results": [ + { + "id": "50f3d9eb-ce0b-6b6b-b84b-70f9ae41b1d0", + "name": "find", + "url": "http://api.orange.com/address?.fullText={{.fullText}}&.fuzzy={{.fuzzy}}&fields={{fields}}&streetNr={{streetNr}}&streetNrSuffix={{streetNrSuffix}}&streetNrLast={{streetNrLast}}&streetNrLastSuffix={{streetNrLastSuffix}}&streetName={{streetName}}&streetType={{streetType}}&streetSuffix={{streetSuffix}}&postcode={{postcode}}&locality={{locality}}&city={{city}}&country={{country}}&geoCode.latitude={{geoCode.latitude}}&geoCode.longitude={{geoCode.longitude}}&geoCode.geographicDatum={{geoCode.geographicDatum}}", + "totalTime": 8064, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 8064, + "meanResponseTime": 8064 + }, + { + "id": "7ae19f43-7aca-594c-1211-f3e2ece22d39", + "name": "findById", + "url": "http://api.orange.com/address/{{addressId}}", + "totalTime": 2757, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 2757, + "meanResponseTime": 2757 + }, + { + "id": "59766fc6-3387-b638-e16a-0c0a242b5e2d", + "name": "validate", + "url": "http://api.orange.com/address/validate", + "totalTime": 5849, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 5849, + "meanResponseTime": 5849 + }, + { + "id": "9706bdf9-da99-dbeb-1236-68fcb6b64e9e", + "name": "find", + "url": "http://api.orange.com/area?fields={{fields}}&.fuzzy={{.fuzzy}}&name={{name}}&type={{type}}", + "totalTime": 2570, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 2570, + "meanResponseTime": 2570 + }, + { + "id": "dc046527-01c3-5bd2-3e3e-e2a6d0241851", + "name": "find", + "url": "http://api.orange.com/street?area.id={{area.id}}&.fuzzy={{.fuzzy}}&fields={{fields}}&name={{name}}&type={{type}}", + "totalTime": 3096, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 3096, + "meanResponseTime": 3096 + }, + { + "id": "a075eca3-c91c-799c-9047-aabb154944a1", + "name": "find", + "url": "http://api.orange.com/street/{{streetId}}/streetSegment", + "totalTime": 1487, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present text/html; charset=UTF-8": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present text/html; charset=UTF-8": "text/html; charset=UTF-8", + "Status code is 200": true + } + ], + "time": 1487, + "meanResponseTime": 1487 + } + ], + "environment": { + "id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "name": "TMForum Local", + "values": [ + { + "key": "Host", + "value": "http://localhost:8080", + "type": "text", + "name": "Host", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementApi", + "value": "{{Host}}/DSBillingManagement/api/billingManagement/v2", + "type": "text", + "name": "billingManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementAdminApi", + "value": "{{Host}}/DSBillingManagement/api/admin", + "type": "text", + "name": "billingManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementSubscriberApi", + "value": "{{Host}}/DSBillingManagement/subscriber/api", + "type": "text", + "name": "billingManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementApi", + "value": "{{Host}}/DSPartyManagement/api/partyManagement/v2", + "type": "text", + "name": "partyManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementAdminApi", + "value": "{{Host}}/DSPartyManagement/api/admin", + "type": "text", + "name": "partyManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementSubscriberApi", + "value": "{{Host}}/DSPartyManagement/subscriber/api", + "type": "text", + "name": "partyManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementApi", + "value": "{{Host}}/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "customerManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementAdminApi", + "value": "{{Host}}/DSCustomerManagement/api/admin", + "type": "text", + "name": "customerManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementSubscriberApi", + "value": "{{Host}}/DSCustomerManagement/subscriber/api", + "type": "text", + "name": "customerManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingApi", + "value": "{{Host}}/DSProductOrdering/api/productOrdering/v2", + "type": "text", + "name": "productOrderingApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingAdminApi", + "value": "{{Host}}/DSProductOrdering/api/admin", + "type": "text", + "name": "productOrderingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingSubscriberApi", + "value": "{{Host}}/DSProductOrdering/subscriber/api", + "type": "text", + "name": "productOrderingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingApi", + "value": "{{Host}}/DSTroubleTicket/api/troubleTicketManagement/v2", + "type": "text", + "name": "troubleTicketingApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingAdminApi", + "value": "{{Host}}/DSTroubleTicket/api/admin/troubleTicket", + "type": "text", + "name": "troubleTicketingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingSubscriberApi", + "value": "{{Host}}/DSTroubleTicket/subscriber/api", + "type": "text", + "name": "troubleTicketingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryApi", + "value": "{{Host}}/DSProductInventory/api/productInventory/v2", + "type": "text", + "name": "productInventoryApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryAdminApi", + "value": "{{Host}}/DSProductInventory/api/admin", + "type": "text", + "name": "productInventoryAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventorySubscriberApi", + "value": "{{Host}}/DSProductInventory/subscriber/api", + "type": "text", + "name": "productInventorySubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementApi", + "value": "{{Host}}/DSProductCatalog/api/catalogManagement/v2", + "type": "text", + "name": "catalogManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementAdminApi", + "value": "{{Host}}/DSProductCatalog/api/admin", + "type": "text", + "name": "catalogManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementSubscriberApi", + "value": "{{Host}}/DSProductCatalog/subscriber/eventApi", + "type": "text", + "name": "catalogManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementApi", + "value": "{{Host}}/DSLAManagement/api/slaManagement/v2", + "type": "text", + "name": "slaManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementSubscriberApi", + "value": "{{Host}}/DSLAManagement/subscriber/api", + "type": "text", + "name": "slaManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementAdminApi", + "value": "{{Host}}/DSLAManagement/api/admin", + "type": "text", + "name": "slaManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementApi", + "value": "{{Host}}/DSUsageManagement/api/usageManagement/v2", + "type": "text", + "name": "usageManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementSubscriberApi", + "value": "{{Host}}/DSUsageManagement/subscriber/api", + "type": "text", + "name": "usageManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementAdminApi", + "value": "{{Host}}/DSUsageManagement/api/admin/usage", + "type": "text", + "name": "usageManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "testName", + "value": "tmf-product-offering-qualification-001", + "type": "text", + "name": "testName", + "enabled": true, + "hovered": false + }, + { + "key": "url1", + "value": "http://env-0693795.jelastic.servint.net/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "url1", + "enabled": true, + "hovered": false + }, + { + "key": "appointmentManagementApi", + "value": "{{Host}}/DSAppointmentManagement/api/appointment/v1", + "type": "text", + "name": "appointmentManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementApi", + "value": "{{Host}}/DSAddressManagement/api/addressManagement/v1", + "type": "text", + "name": "addressManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementAdminApi", + "value": "{{Host}}/DSAddressManagement/api/admin", + "type": "text", + "name": "addressManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "quoteManagementApi", + "value": "{{Host}}/DSQuoteManagement/api/quoteManagement/v1", + "type": "text", + "name": "quoteManagementApi", + "enabled": true, + "hovered": false + } + ], + "team": null, + "timestamp": 1469155606077, + "synced": false, + "syncedFilename": "", + "isDeleted": false + }, + "delay": 0 +} \ No newline at end of file diff --git a/postman/AddressManagementAdmin.json.postman_collection b/postman/AddressManagementAdmin.json.postman_collection new file mode 100644 index 0000000..640bac1 --- /dev/null +++ b/postman/AddressManagementAdmin.json.postman_collection @@ -0,0 +1,118 @@ +{ + "id": "305dd379-713b-9c00-38fc-51bc639724e6", + "name": "AddressManagementAdmin", + "description": "", + "order": [ + "d70bd567-8fc5-7342-420a-cf5982749c9b", + "f6355efc-4ca6-a027-71c1-6a76644c64f8", + "641bfe72-6b44-02cb-f5e8-54dda23713f1", + "1e9514ec-c664-159b-c0ea-62617b2a624d", + "5225cabf-7003-e982-b9d1-9203dc6bc6c3" + ], + "folders": [], + "timestamp": 1452258957730, + "owner": 0, + "remoteLink": "", + "public": false, + "requests": [ + { + "id": "1e9514ec-c664-159b-c0ea-62617b2a624d", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/street", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Street are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724379156, + "name": "create a list of Street", + "description": "create a list of street", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\r\n{\r\n\"id\":\"street2\",\r\n\"type\":\"Road\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area2\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area2\"\r\n } \r\n\r\n},\r\n{\r\n\"id\":\"street3\",\r\n\"type\":\"Place\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area3\"\r\n } \r\n\r\n},\r\n{\r\n\"id\":\"street4\",\r\n\"type\":\"Mews\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area4\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area4\"\r\n } \r\n\r\n}\r\n]" + }, + { + "id": "5225cabf-7003-e982-b9d1-9203dc6bc6c3", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/streetSegment", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"StreetSegment are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724381940, + "name": "create a list of StreetSegment", + "description": "create a list of streetSegment", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\r\n{\r\n\"id\":\"segment20\",\r\n\"number\":\"2\",\r\n\"street\":{\r\n \"id\":\"street2\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street2\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment31\",\r\n\"number\":\"1\",\r\n\"address\":{\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/7660828\",\r\n \"id\":\"7660828\"\r\n },\r\n\"street\":{\r\n \"id\":\"street3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street3\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment32\",\r\n\"number\":\"2\",\r\n\"street\":{\r\n \"id\":\"street3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street3\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment4\",\r\n\"number\":\"4\",\r\n\"address\":{\r\n \"href\":\"addresses/217332342\",\r\n \"id\":\"217332342\"\r\n },\r\n\"street\":{\r\n \"id\":\"street4\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street4\"\r\n } \r\n}\r\n]" + }, + { + "id": "641bfe72-6b44-02cb-f5e8-54dda23713f1", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/area", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Area are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724376368, + "name": "create a list of Area", + "description": "create a list of Area", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\n{\n\"id\": \"area1\",\n\"name\": \"Royal Borough of Kensington and Chelsea\",\n\"type\": \"borough\"\n},\n{\n\"id\": \"area2\",\n\"name\": \"North Kensington\",\n\"type\": \"district\"\n},\n{\n\"id\": \"area3\",\n\"name\": \"South Kensington\",\n\"type\": \"district\"\n},\n{\n\"id\": \"area4\",\n\"name\": \"Kensington\",\n\"type\": \"district\"\n}\n]\n" + }, + { + "id": "d70bd567-8fc5-7342-420a-cf5982749c9b", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Address are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724372036, + "name": "createa list of addressses", + "description": "create adresses", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\n{\n\"id\": \"address1\",\n\"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1\",\n\"streetNr\": \"225\",\n\"streetNrSuffix\": \"B\",\n\"streetNrLast\": \"\",\n\"streetNrLastSuffix\": \"\",\n\"streetName\": \"Strathmore\",\n\"streetType\": \"Terrace\",\n\"streetSuffix\": \"\",\n\"postcode\": \"5004\",\n\"locality\": \"Brighton\",\n\"city\": \"Brighton\",\n\"stateOrProvince\": \"SA\",\n\"country\": \"Australia\",\n\"geoCode\": {\n\"latitude\": \"1.430937\",\n\"longitude\": \"43.597208\",\n\"geographicDatum\": \"WGS84\"\n},\n\"subAddress\": [\n {\n \"id\": \"subAddress11\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress11\"\n },\n {\n \"id\": \"subAddress12\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress12\"\n },\n {\n \"id\": \"subAddress13\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress13\"\n }\n ]\n},\n{\n\"id\": \"address2\",\n\"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address2\",\n\"streetNr\": \"250\",\n\"streetNrSuffix\": \"C\",\n\"streetNrLast\": \"\",\n\"streetNrLastSuffix\": \"\",\n\"streetName\": \"Strathless\",\n\"streetType\": \"Avenue\",\n\"streetSuffix\": \"\",\n\"postcode\": \"5004\",\n\"locality\": \"Brighton\",\n\"city\": \"Brighton\",\n\"stateOrProvince\": \"SA\",\n\"country\": \"Australia\",\n\"geoCode\": {\n\"latitude\": \"1.430937\",\n\"longitude\": \"43.597208\",\n\"geographicDatum\": \"WGS84\"\n},\n\"subAddress\": [\n {\n \"id\": \"subAddress21\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress21\"\n },\n {\n \"id\": \"subAddress22\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress22\"\n }\n ]\n}\n]\n" + }, + { + "id": "f6355efc-4ca6-a027-71c1-6a76644c64f8", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470721873710, + "name": "find all addresses", + "description": "find all resources", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [] + } + ] +} \ No newline at end of file diff --git a/postman/AddressManagementAdminCTKResult.html b/postman/AddressManagementAdminCTKResult.html new file mode 100644 index 0000000..553309c --- /dev/null +++ b/postman/AddressManagementAdminCTKResult.html @@ -0,0 +1 @@ +

Newman test report

Collection:
AddressManagementAdmin

Iterations:
1

Description:

Requests:


Description:
create adresses

Mean time per request:
420 ms

Total tests that passed:
3

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 201 1 0
Address are successed to post 1 0
Description:
find all resources

Mean time per request:
48 ms

Total tests that passed:
6

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Response contains ID address1 1 0
Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1 1 0
Response contains ID address2 1 0
Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2 1 0
Description:
create a list of Area

Mean time per request:
89 ms

Total tests that passed:
3

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 201 1 0
Area are successed to post 1 0
Description:
create a list of street

Mean time per request:
121 ms

Total tests that passed:
3

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 201 1 0
Street are successed to post 1 0
Description:
create a list of streetSegment

Mean time per request:
174 ms

Total tests that passed:
3

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 201 1 0
StreetSegment are successed to post 1 0
\ No newline at end of file diff --git a/postman/AddressManagementAdminCTKResult.json b/postman/AddressManagementAdminCTKResult.json new file mode 100644 index 0000000..309da26 --- /dev/null +++ b/postman/AddressManagementAdminCTKResult.json @@ -0,0 +1,656 @@ +{ + "id": "", + "name": "Default", + "timestamp": 1470724952688, + "collection_id": "305dd379-713b-9c00-38fc-51bc639724e6", + "folder_id": 0, + "target_type": "collection", + "environment_id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "count": 1, + "collection": { + "id": "305dd379-713b-9c00-38fc-51bc639724e6", + "name": "AddressManagementAdmin", + "description": "", + "order": [ + "d70bd567-8fc5-7342-420a-cf5982749c9b", + "f6355efc-4ca6-a027-71c1-6a76644c64f8", + "641bfe72-6b44-02cb-f5e8-54dda23713f1", + "1e9514ec-c664-159b-c0ea-62617b2a624d", + "5225cabf-7003-e982-b9d1-9203dc6bc6c3" + ], + "folders": [], + "timestamp": 1452258957730, + "owner": 0, + "remoteLink": "", + "public": false, + "requests": [ + { + "id": "1e9514ec-c664-159b-c0ea-62617b2a624d", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/street", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Street are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724379156, + "name": "create a list of Street", + "description": "create a list of street", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\r\n{\r\n\"id\":\"street2\",\r\n\"type\":\"Road\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area2\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area2\"\r\n } \r\n\r\n},\r\n{\r\n\"id\":\"street3\",\r\n\"type\":\"Place\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area3\"\r\n } \r\n\r\n},\r\n{\r\n\"id\":\"street4\",\r\n\"type\":\"Mews\",\r\n\"name\":\"Cromwell\",\r\n\"area\":{\r\n \"id\":\"area4\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/area4\"\r\n } \r\n\r\n}\r\n]" + }, + { + "id": "5225cabf-7003-e982-b9d1-9203dc6bc6c3", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/streetSegment", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"StreetSegment are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724381940, + "name": "create a list of StreetSegment", + "description": "create a list of streetSegment", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\r\n{\r\n\"id\":\"segment20\",\r\n\"number\":\"2\",\r\n\"street\":{\r\n \"id\":\"street2\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street2\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment31\",\r\n\"number\":\"1\",\r\n\"address\":{\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/7660828\",\r\n \"id\":\"7660828\"\r\n },\r\n\"street\":{\r\n \"id\":\"street3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street3\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment32\",\r\n\"number\":\"2\",\r\n\"street\":{\r\n \"id\":\"street3\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street3\"\r\n } \r\n},\r\n{\r\n\"id\":\"segment4\",\r\n\"number\":\"4\",\r\n\"address\":{\r\n \"href\":\"addresses/217332342\",\r\n \"id\":\"217332342\"\r\n },\r\n\"street\":{\r\n \"id\":\"street4\",\r\n \"href\":\"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/area/street4\"\r\n } \r\n}\r\n]" + }, + { + "id": "641bfe72-6b44-02cb-f5e8-54dda23713f1", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/area", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Area are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724376368, + "name": "create a list of Area", + "description": "create a list of Area", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\n{\n\"id\": \"area1\",\n\"name\": \"Royal Borough of Kensington and Chelsea\",\n\"type\": \"borough\"\n},\n{\n\"id\": \"area2\",\n\"name\": \"North Kensington\",\n\"type\": \"district\"\n},\n{\n\"id\": \"area3\",\n\"name\": \"South Kensington\",\n\"type\": \"district\"\n},\n{\n\"id\": \"area4\",\n\"name\": \"Kensington\",\n\"type\": \"district\"\n}\n]\n" + }, + { + "id": "d70bd567-8fc5-7342-420a-cf5982749c9b", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Address are successed to post \" ] = parseInt(dataOut.previousRows.toString())+parseInt(dataOut.affectedRows.toString())===parseInt(dataOut.currentRows.toString());\n\n", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470724372036, + "name": "createa list of addressses", + "description": "create adresses", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [], + "rawModeData": "[\n{\n\"id\": \"address1\",\n\"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1\",\n\"streetNr\": \"225\",\n\"streetNrSuffix\": \"B\",\n\"streetNrLast\": \"\",\n\"streetNrLastSuffix\": \"\",\n\"streetName\": \"Strathmore\",\n\"streetType\": \"Terrace\",\n\"streetSuffix\": \"\",\n\"postcode\": \"5004\",\n\"locality\": \"Brighton\",\n\"city\": \"Brighton\",\n\"stateOrProvince\": \"SA\",\n\"country\": \"Australia\",\n\"geoCode\": {\n\"latitude\": \"1.430937\",\n\"longitude\": \"43.597208\",\n\"geographicDatum\": \"WGS84\"\n},\n\"subAddress\": [\n {\n \"id\": \"subAddress11\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress11\"\n },\n {\n \"id\": \"subAddress12\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress12\"\n },\n {\n \"id\": \"subAddress13\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress13\"\n }\n ]\n},\n{\n\"id\": \"address2\",\n\"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address2\",\n\"streetNr\": \"250\",\n\"streetNrSuffix\": \"C\",\n\"streetNrLast\": \"\",\n\"streetNrLastSuffix\": \"\",\n\"streetName\": \"Strathless\",\n\"streetType\": \"Avenue\",\n\"streetSuffix\": \"\",\n\"postcode\": \"5004\",\n\"locality\": \"Brighton\",\n\"city\": \"Brighton\",\n\"stateOrProvince\": \"SA\",\n\"country\": \"Australia\",\n\"geoCode\": {\n\"latitude\": \"1.430937\",\n\"longitude\": \"43.597208\",\n\"geographicDatum\": \"WGS84\"\n},\n\"subAddress\": [\n {\n \"id\": \"subAddress21\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress21\"\n },\n {\n \"id\": \"subAddress22\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress22\"\n }\n ]\n}\n]\n" + }, + { + "id": "f6355efc-4ca6-a027-71c1-6a76644c64f8", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementAdminApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470721873710, + "name": "find all addresses", + "description": "find all resources", + "collectionId": "305dd379-713b-9c00-38fc-51bc639724e6", + "responses": [] + } + ] + }, + "folder": null, + "globals": { + "values": [] + }, + "results": [ + { + "id": "d70bd567-8fc5-7342-420a-cf5982749c9b", + "name": "createa list of addressses", + "url": "{{addressManagementAdminApi}}/address", + "totalTime": 420, + "responseCode": { + "code": 201, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Address are successed to post ": true + }, + "totalPassFailCounts": { + "pass": 3, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 201": { + "pass": 1, + "fail": 0 + }, + "Address are successed to post ": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Address are successed to post ": true + } + ], + "time": 420, + "meanResponseTime": 420 + }, + { + "id": "f6355efc-4ca6-a027-71c1-6a76644c64f8", + "name": "find all addresses", + "url": "{{addressManagementAdminApi}}/address", + "totalTime": 48, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": true, + "Response contains ID address2": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": true + }, + "totalPassFailCounts": { + "pass": 6, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + }, + "Response contains ID address1": { + "pass": 1, + "fail": 0 + }, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": { + "pass": 1, + "fail": 0 + }, + "Response contains ID address2": { + "pass": 1, + "fail": 0 + }, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": true, + "Response contains ID address2": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": true + } + ], + "time": 48, + "meanResponseTime": 48 + }, + { + "id": "641bfe72-6b44-02cb-f5e8-54dda23713f1", + "name": "create a list of Area", + "url": "{{addressManagementAdminApi}}/area", + "totalTime": 89, + "responseCode": { + "code": 201, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Area are successed to post ": true + }, + "totalPassFailCounts": { + "pass": 3, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 201": { + "pass": 1, + "fail": 0 + }, + "Area are successed to post ": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Area are successed to post ": true + } + ], + "time": 89, + "meanResponseTime": 89 + }, + { + "id": "1e9514ec-c664-159b-c0ea-62617b2a624d", + "name": "create a list of Street", + "url": "{{addressManagementAdminApi}}/street", + "totalTime": 121, + "responseCode": { + "code": 201, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Street are successed to post ": true + }, + "totalPassFailCounts": { + "pass": 3, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 201": { + "pass": 1, + "fail": 0 + }, + "Street are successed to post ": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Street are successed to post ": true + } + ], + "time": 121, + "meanResponseTime": 121 + }, + { + "id": "5225cabf-7003-e982-b9d1-9203dc6bc6c3", + "name": "create a list of StreetSegment", + "url": "{{addressManagementAdminApi}}/streetSegment", + "totalTime": 174, + "responseCode": { + "code": 201, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "StreetSegment are successed to post ": true + }, + "totalPassFailCounts": { + "pass": 3, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 201": { + "pass": 1, + "fail": 0 + }, + "StreetSegment are successed to post ": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "StreetSegment are successed to post ": true + } + ], + "time": 174, + "meanResponseTime": 174 + } + ], + "environment": { + "id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "name": "TMForum Local", + "values": [ + { + "key": "Host", + "value": "http://localhost:8080", + "type": "text", + "name": "Host", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementApi", + "value": "{{Host}}/DSBillingManagement/api/billingManagement/v2", + "type": "text", + "name": "billingManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementAdminApi", + "value": "{{Host}}/DSBillingManagement/api/admin", + "type": "text", + "name": "billingManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementSubscriberApi", + "value": "{{Host}}/DSBillingManagement/subscriber/api", + "type": "text", + "name": "billingManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementApi", + "value": "{{Host}}/DSPartyManagement/api/partyManagement/v2", + "type": "text", + "name": "partyManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementAdminApi", + "value": "{{Host}}/DSPartyManagement/api/admin", + "type": "text", + "name": "partyManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementSubscriberApi", + "value": "{{Host}}/DSPartyManagement/subscriber/api", + "type": "text", + "name": "partyManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementApi", + "value": "{{Host}}/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "customerManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementAdminApi", + "value": "{{Host}}/DSCustomerManagement/api/admin", + "type": "text", + "name": "customerManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementSubscriberApi", + "value": "{{Host}}/DSCustomerManagement/subscriber/api", + "type": "text", + "name": "customerManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingApi", + "value": "{{Host}}/DSProductOrdering/api/productOrdering/v2", + "type": "text", + "name": "productOrderingApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingAdminApi", + "value": "{{Host}}/DSProductOrdering/api/admin", + "type": "text", + "name": "productOrderingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingSubscriberApi", + "value": "{{Host}}/DSProductOrdering/subscriber/api", + "type": "text", + "name": "productOrderingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingApi", + "value": "{{Host}}/DSTroubleTicket/api/troubleTicketManagement/v2", + "type": "text", + "name": "troubleTicketingApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingAdminApi", + "value": "{{Host}}/DSTroubleTicket/api/admin/troubleTicket", + "type": "text", + "name": "troubleTicketingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingSubscriberApi", + "value": "{{Host}}/DSTroubleTicket/subscriber/api", + "type": "text", + "name": "troubleTicketingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryApi", + "value": "{{Host}}/DSProductInventory/api/productInventory/v2", + "type": "text", + "name": "productInventoryApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryAdminApi", + "value": "{{Host}}/DSProductInventory/api/admin", + "type": "text", + "name": "productInventoryAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventorySubscriberApi", + "value": "{{Host}}/DSProductInventory/subscriber/api", + "type": "text", + "name": "productInventorySubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementApi", + "value": "{{Host}}/DSProductCatalog/api/catalogManagement/v2", + "type": "text", + "name": "catalogManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementAdminApi", + "value": "{{Host}}/DSProductCatalog/api/admin", + "type": "text", + "name": "catalogManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementSubscriberApi", + "value": "{{Host}}/DSProductCatalog/subscriber/eventApi", + "type": "text", + "name": "catalogManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementApi", + "value": "{{Host}}/DSLAManagement/api/slaManagement/v2", + "type": "text", + "name": "slaManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementSubscriberApi", + "value": "{{Host}}/DSLAManagement/subscriber/api", + "type": "text", + "name": "slaManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementAdminApi", + "value": "{{Host}}/DSLAManagement/api/admin", + "type": "text", + "name": "slaManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementApi", + "value": "{{Host}}/DSUsageManagement/api/usageManagement/v2", + "type": "text", + "name": "usageManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementSubscriberApi", + "value": "{{Host}}/DSUsageManagement/subscriber/api", + "type": "text", + "name": "usageManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementAdminApi", + "value": "{{Host}}/DSUsageManagement/api/admin/usage", + "type": "text", + "name": "usageManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "testName", + "value": "tmf-product-offering-qualification-001", + "type": "text", + "name": "testName", + "enabled": true, + "hovered": false + }, + { + "key": "url1", + "value": "http://env-0693795.jelastic.servint.net/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "url1", + "enabled": true, + "hovered": false + }, + { + "key": "appointmentManagementApi", + "value": "{{Host}}/DSAppointmentManagement/api/appointment/v1", + "type": "text", + "name": "appointmentManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementApi", + "value": "{{Host}}/DSAddressManagement/api/addressManagement/v1", + "type": "text", + "name": "addressManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementAdminApi", + "value": "{{Host}}/DSAddressManagement/api/admin", + "type": "text", + "name": "addressManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "quoteManagementApi", + "value": "{{Host}}/DSQuoteManagement/api/quoteManagement/v1", + "type": "text", + "name": "quoteManagementApi", + "enabled": true, + "hovered": false + } + ], + "team": null, + "timestamp": 1469155606077, + "synced": false, + "syncedFilename": "", + "isDeleted": false + }, + "delay": 0 +} \ No newline at end of file diff --git a/postman/TMForumLocal.postman_environment b/postman/TMForumLocal.postman_environment new file mode 100644 index 0000000..8c8ca67 --- /dev/null +++ b/postman/TMForumLocal.postman_environment @@ -0,0 +1,283 @@ +{ + "id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "name": "TMForum Local", + "values": [ + { + "key": "Host", + "value": "http://localhost:8080", + "type": "text", + "name": "Host", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementApi", + "value": "{{Host}}/DSBillingManagement/api/billingManagement/v2", + "type": "text", + "name": "billingManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementAdminApi", + "value": "{{Host}}/DSBillingManagement/api/admin", + "type": "text", + "name": "billingManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementSubscriberApi", + "value": "{{Host}}/DSBillingManagement/subscriber/api", + "type": "text", + "name": "billingManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementApi", + "value": "{{Host}}/DSPartyManagement/api/partyManagement/v2", + "type": "text", + "name": "partyManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementAdminApi", + "value": "{{Host}}/DSPartyManagement/api/admin", + "type": "text", + "name": "partyManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementSubscriberApi", + "value": "{{Host}}/DSPartyManagement/subscriber/api", + "type": "text", + "name": "partyManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementApi", + "value": "{{Host}}/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "customerManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementAdminApi", + "value": "{{Host}}/DSCustomerManagement/api/admin", + "type": "text", + "name": "customerManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementSubscriberApi", + "value": "{{Host}}/DSCustomerManagement/subscriber/api", + "type": "text", + "name": "customerManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingApi", + "value": "{{Host}}/DSProductOrdering/api/productOrdering/v2", + "type": "text", + "name": "productOrderingApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingAdminApi", + "value": "{{Host}}/DSProductOrdering/api/admin", + "type": "text", + "name": "productOrderingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingSubscriberApi", + "value": "{{Host}}/DSProductOrdering/subscriber/api", + "type": "text", + "name": "productOrderingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingApi", + "value": "{{Host}}/DSTroubleTicket/api/troubleTicketManagement/v2", + "type": "text", + "name": "troubleTicketingApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingAdminApi", + "value": "{{Host}}/DSTroubleTicket/api/admin/troubleTicket", + "type": "text", + "name": "troubleTicketingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingSubscriberApi", + "value": "{{Host}}/DSTroubleTicket/subscriber/api", + "type": "text", + "name": "troubleTicketingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryApi", + "value": "{{Host}}/DSProductInventory/api/productInventory/v2", + "type": "text", + "name": "productInventoryApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryAdminApi", + "value": "{{Host}}/DSProductInventory/api/admin", + "type": "text", + "name": "productInventoryAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventorySubscriberApi", + "value": "{{Host}}/DSProductInventory/subscriber/api", + "type": "text", + "name": "productInventorySubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementApi", + "value": "{{Host}}/DSProductCatalog/api/catalogManagement/v2", + "type": "text", + "name": "catalogManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementAdminApi", + "value": "{{Host}}/DSProductCatalog/api/admin", + "type": "text", + "name": "catalogManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementSubscriberApi", + "value": "{{Host}}/DSProductCatalog/subscriber/eventApi", + "type": "text", + "name": "catalogManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementApi", + "value": "{{Host}}/DSLAManagement/api/slaManagement/v2", + "type": "text", + "name": "slaManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementSubscriberApi", + "value": "{{Host}}/DSLAManagement/subscriber/api", + "type": "text", + "name": "slaManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementAdminApi", + "value": "{{Host}}/DSLAManagement/api/admin", + "type": "text", + "name": "slaManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementApi", + "value": "{{Host}}/DSUsageManagement/api/usageManagement/v2", + "type": "text", + "name": "usageManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementSubscriberApi", + "value": "{{Host}}/DSUsageManagement/subscriber/api", + "type": "text", + "name": "usageManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementAdminApi", + "value": "{{Host}}/DSUsageManagement/api/admin/usage", + "type": "text", + "name": "usageManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "testName", + "value": "tmf-product-offering-qualification-001", + "type": "text", + "name": "testName", + "enabled": true, + "hovered": false + }, + { + "key": "url1", + "value": "http://env-0693795.jelastic.servint.net/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "url1", + "enabled": true, + "hovered": false + }, + { + "key": "appointmentManagementApi", + "value": "{{Host}}/DSAppointmentManagement/api/appointment/v1", + "type": "text", + "name": "appointmentManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementApi", + "value": "{{Host}}/DSAddressManagement/api/addressManagement/v1", + "type": "text", + "name": "addressManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementAdminApi", + "value": "{{Host}}/DSAddressManagement/api/admin", + "type": "text", + "name": "addressManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "quoteManagementApi", + "value": "{{Host}}/DSQuoteManagement/api/quoteManagement/v1", + "type": "text", + "name": "quoteManagementApi", + "enabled": true, + "hovered": false + } + ], + "team": null, + "timestamp": 1469155606077, + "synced": false, + "syncedFilename": "", + "isDeleted": false +} \ No newline at end of file diff --git a/postman/addressManagement.json.postman_collection b/postman/addressManagement.json.postman_collection new file mode 100644 index 0000000..09dfb0a --- /dev/null +++ b/postman/addressManagement.json.postman_collection @@ -0,0 +1,224 @@ +{ + "id": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "name": "addressManagement", + "description": "", + "order": [], + "folders": [ + { + "id": "003dbe4d-7084-8348-f2e2-01640fdb87d4", + "name": "Area", + "description": "", + "order": [ + "036d425e-1085-7c97-13ca-7d25d3512267" + ], + "owner": 0 + }, + { + "id": "46f3eb6c-20de-c8f8-a671-3885ce829b4e", + "name": "Street", + "description": "", + "order": [ + "ef28b019-8dc8-8ff6-576a-d8852faa0954" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "4b3b8d60-4a54-543d-5021-e99ea9d09cfb", + "name": "StreetSegment", + "description": "", + "order": [ + "a34d61a1-383b-0fdc-12e5-eff4f675b9d6" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "527c3fa0-27f1-0a37-2579-3d817d1eb6d0", + "name": "address", + "description": "", + "order": [ + "7e3e73a3-e981-36cb-1f9f-22d13815380b", + "d17a5470-4411-4e3d-681c-19013e77ec58", + "2e653672-c36b-0280-fd46-c3517113afb7" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "2fa16229-e591-379c-1fec-6e5dccee8b10", + "name": "subscriber", + "description": "", + "order": [ + "e5d96f37-5e13-9c9f-29a7-b354ebd03a1e", + "34d6255d-2758-8253-9b9b-7de111f436a2" + ], + "owner": 0 + } + ], + "timestamp": 1450963006602, + "owner": 0, + "public": false, + "hasRequests": true, + "requests": [ + { + "id": "036d425e-1085-7c97-13ca-7d25d3512267", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/area", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var area = dataOut[i];\n tests[\"Response contains ID \" + area.id.toString()] = area.id.toString() !== \"\";\n tests[\"Response contains NAME \" + area.name.toString()] = area.name.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722440170, + "name": "find area", + "description": "find area", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "2e653672-c36b-0280-fd46-c3517113afb7", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address/validate", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Response contains ID \" + dataOut.id.toString()] = dataOut.id.toString() !== \"\";\ntests[\"Response contains HREF \" + dataOut.href.toString()] = dataOut.href.toString() !== \"\";", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722775295, + "name": "validate address", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "rawModeData": " {\n \"id\": \"address1\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1\",\n \"streetNr\": \"225\",\n \"streetNrSuffix\": \"B\",\n \"streetNrLast\": \"\",\n \"streetNrLastSuffix\": \"\",\n \"streetName\": \"Strathmore\",\n \"streetType\": \"Terrace\",\n \"streetSuffix\": \"\",\n \"postcode\": \"5004\",\n \"locality\": \"Brighton\",\n \"city\": \"Brighton\",\n \"stateOrProvince\": \"SA\",\n \"country\": \"Australia\",\n \"geoCode\": {\n \"latitude\": \"1.430937\",\n \"longitude\": \"43.597208\",\n \"geographicDatum\": \"WGS84\"\n },\n\"subAddress\": [\n {\n \"id\": \"subAddress11\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress11\"\n },\n {\n \"id\": \"subAddress12\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress12\"\n },\n {\n \"id\": \"subAddress13\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress13\"\n }\n ]\n}" + }, + { + "id": "34d6255d-2758-8253-9b9b-7de111f436a2", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementSubscriberApi}}/history", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1452259920087, + "name": "/history", + "description": "get last event", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "folder": "2fa16229-e591-379c-1fec-6e5dccee8b10" + }, + { + "id": "7e3e73a3-e981-36cb-1f9f-22d13815380b", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722663084, + "name": "find address", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "a34d61a1-383b-0fdc-12e5-eff4f675b9d6", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/street/:streetId/streetSegment", + "preRequestScript": "", + "pathVariables": { + "streetId": "street3" + }, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var streetsegment = dataOut[i];\n tests[\"Response contains ID \" + streetsegment.id.toString()] = streetsegment.id.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722648532, + "name": "get streetSegment with streetId", + "description": "get streetSegment", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "d17a5470-4411-4e3d-681c-19013e77ec58", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address/:addressId", + "preRequestScript": "", + "pathVariables": { + "addressId": "address1" + }, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722669600, + "name": "get address by id", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "e5d96f37-5e13-9c9f-29a7-b354ebd03a1e", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementSubscriberApi}}/current", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1452259908174, + "name": "/current", + "description": "get last event", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "folder": "2fa16229-e591-379c-1fec-6e5dccee8b10" + }, + { + "id": "ef28b019-8dc8-8ff6-576a-d8852faa0954", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/street?area.id=area3&fields=id,type,name", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var street = dataOut[i];\n tests[\"Response contains ID \" + street.id.toString()] = street.id.toString() !== \"\";\n tests[\"Response contains NAME \" + street.name.toString()] = street.name.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722510870, + "name": "find street", + "description": "find street", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + } + ] +} \ No newline at end of file diff --git a/postman/addressManagementCTKResult.html b/postman/addressManagementCTKResult.html new file mode 100644 index 0000000..c843cbc --- /dev/null +++ b/postman/addressManagementCTKResult.html @@ -0,0 +1 @@ +

Newman test report

Collection:
addressManagement

Iterations:
1

Description:

Requests:


Description:
find area

Mean time per request:
240 ms

Total tests that passed:
10

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Response contains ID area1 1 0
Response contains NAME Royal Borough of Kensington and Chelsea 1 0
Response contains ID area2 1 0
Response contains NAME North Kensington 1 0
Response contains ID area3 1 0
Response contains NAME South Kensington 1 0
Response contains ID area4 1 0
Response contains NAME Kensington 1 0
Description:
find street

Mean time per request:
125 ms

Total tests that passed:
4

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Response contains ID street3 1 0
Response contains NAME Cromwell 1 0
Description:
get streetSegment

Mean time per request:
29 ms

Total tests that passed:
4

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Response contains ID segment31 1 0
Response contains ID segment32 1 0
Description:

Mean time per request:
36 ms

Total tests that passed:
6

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Response contains ID address1 1 0
Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1 1 0
Response contains ID address2 1 0
Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2 1 0
Description:

Mean time per request:
102 ms

Total tests that passed:
2

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 200 1 0
Description:

Mean time per request:
34 ms

Total tests that passed:
4

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Content-Type is present application/json 1 0
Status code is 201 1 0
Response contains ID address1 1 0
Response contains HREF http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1 1 0
Description:
get last event

Mean time per request:
0 ms

Total tests that passed:
0

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
Description:
get last event

Mean time per request:
0 ms

Total tests that passed:
0

Total tests that failed:
0

Individual tests:
Test name Pass count Fail count
\ No newline at end of file diff --git a/postman/addressManagementCTKResult.json b/postman/addressManagementCTKResult.json new file mode 100644 index 0000000..8206b57 --- /dev/null +++ b/postman/addressManagementCTKResult.json @@ -0,0 +1,906 @@ +{ + "id": "", + "name": "Default", + "timestamp": 1470725065712, + "collection_id": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "folder_id": 0, + "target_type": "collection", + "environment_id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "count": 1, + "collection": { + "id": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "name": "addressManagement", + "description": "", + "order": [], + "folders": [ + { + "id": "003dbe4d-7084-8348-f2e2-01640fdb87d4", + "name": "Area", + "description": "", + "order": [ + "036d425e-1085-7c97-13ca-7d25d3512267" + ], + "owner": 0 + }, + { + "id": "46f3eb6c-20de-c8f8-a671-3885ce829b4e", + "name": "Street", + "description": "", + "order": [ + "ef28b019-8dc8-8ff6-576a-d8852faa0954" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "4b3b8d60-4a54-543d-5021-e99ea9d09cfb", + "name": "StreetSegment", + "description": "", + "order": [ + "a34d61a1-383b-0fdc-12e5-eff4f675b9d6" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "527c3fa0-27f1-0a37-2579-3d817d1eb6d0", + "name": "address", + "description": "", + "order": [ + "7e3e73a3-e981-36cb-1f9f-22d13815380b", + "d17a5470-4411-4e3d-681c-19013e77ec58", + "2e653672-c36b-0280-fd46-c3517113afb7" + ], + "owner": 0, + "collectionId": "2f2a96a3-55e9-5649-089d-e68c31729a7a" + }, + { + "id": "2fa16229-e591-379c-1fec-6e5dccee8b10", + "name": "subscriber", + "description": "", + "order": [ + "e5d96f37-5e13-9c9f-29a7-b354ebd03a1e", + "34d6255d-2758-8253-9b9b-7de111f436a2" + ], + "owner": 0 + } + ], + "timestamp": 1450963006602, + "owner": 0, + "public": false, + "hasRequests": true, + "requests": [ + { + "id": "036d425e-1085-7c97-13ca-7d25d3512267", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/area", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var area = dataOut[i];\n tests[\"Response contains ID \" + area.id.toString()] = area.id.toString() !== \"\";\n tests[\"Response contains NAME \" + area.name.toString()] = area.name.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722440170, + "name": "find area", + "description": "find area", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "2e653672-c36b-0280-fd46-c3517113afb7", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address/validate", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 201\"] = responseCode.code === 201;\n\ntests[\"Response contains ID \" + dataOut.id.toString()] = dataOut.id.toString() !== \"\";\ntests[\"Response contains HREF \" + dataOut.href.toString()] = dataOut.href.toString() !== \"\";", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722775295, + "name": "validate address", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "rawModeData": " {\n \"id\": \"address1\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1\",\n \"streetNr\": \"225\",\n \"streetNrSuffix\": \"B\",\n \"streetNrLast\": \"\",\n \"streetNrLastSuffix\": \"\",\n \"streetName\": \"Strathmore\",\n \"streetType\": \"Terrace\",\n \"streetSuffix\": \"\",\n \"postcode\": \"5004\",\n \"locality\": \"Brighton\",\n \"city\": \"Brighton\",\n \"stateOrProvince\": \"SA\",\n \"country\": \"Australia\",\n \"geoCode\": {\n \"latitude\": \"1.430937\",\n \"longitude\": \"43.597208\",\n \"geographicDatum\": \"WGS84\"\n },\n\"subAddress\": [\n {\n \"id\": \"subAddress11\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress11\"\n },\n {\n \"id\": \"subAddress12\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress12\"\n },\n {\n \"id\": \"subAddress13\",\n \"type\": \"Unit\",\n \"href\": \"http://localhost:8080/DSAddressManagement/api/addressManagement/v1/subAddress/subAddress13\"\n }\n ]\n}" + }, + { + "id": "34d6255d-2758-8253-9b9b-7de111f436a2", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementSubscriberApi}}/history", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1452259920087, + "name": "/history", + "description": "get last event", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "folder": "2fa16229-e591-379c-1fec-6e5dccee8b10" + }, + { + "id": "7e3e73a3-e981-36cb-1f9f-22d13815380b", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722663084, + "name": "find address", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "a34d61a1-383b-0fdc-12e5-eff4f675b9d6", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/street/:streetId/streetSegment", + "preRequestScript": "", + "pathVariables": { + "streetId": "street3" + }, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var streetsegment = dataOut[i];\n tests[\"Response contains ID \" + streetsegment.id.toString()] = streetsegment.id.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722648532, + "name": "get streetSegment with streetId", + "description": "get streetSegment", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "d17a5470-4411-4e3d-681c-19013e77ec58", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/address/:addressId", + "preRequestScript": "", + "pathVariables": { + "addressId": "address1" + }, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var address = dataOut[i];\n tests[\"Response contains ID \" + address.id.toString()] = address.id.toString() !== \"\";\n tests[\"Response contains HREF \" + address.href.toString()] = address.href.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722669600, + "name": "get address by id", + "description": "", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + }, + { + "id": "e5d96f37-5e13-9c9f-29a7-b354ebd03a1e", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementSubscriberApi}}/current", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1452259908174, + "name": "/current", + "description": "get last event", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [], + "folder": "2fa16229-e591-379c-1fec-6e5dccee8b10" + }, + { + "id": "ef28b019-8dc8-8ff6-576a-d8852faa0954", + "headers": "Content-Type: application/json\nAccept: application/json\n", + "url": "{{addressManagementApi}}/street?area.id=area3&fields=id,type,name", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "var dataOut = JSON.parse(responseBody);\n\ntests[\"Content-Type is present \" + postman.getResponseHeader(\"Content-type\")] = postman.getResponseHeader(\"Content-type\");\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\nfor (var i = 0; i < dataOut.length; i++) {\n var street = dataOut[i];\n tests[\"Response contains ID \" + street.id.toString()] = street.id.toString() !== \"\";\n tests[\"Response contains NAME \" + street.name.toString()] = street.name.toString() !== \"\";\n}", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1470722510870, + "name": "find street", + "description": "find street", + "collectionId": "61a4c3a7-f320-2dd8-d384-70ab314f1f51", + "responses": [] + } + ] + }, + "folder": null, + "globals": { + "values": [] + }, + "results": [ + { + "id": "036d425e-1085-7c97-13ca-7d25d3512267", + "name": "find area", + "url": "{{addressManagementApi}}/area", + "totalTime": 240, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID area1": true, + "Response contains NAME Royal Borough of Kensington and Chelsea": true, + "Response contains ID area2": true, + "Response contains NAME North Kensington": true, + "Response contains ID area3": true, + "Response contains NAME South Kensington": true, + "Response contains ID area4": true, + "Response contains NAME Kensington": true + }, + "totalPassFailCounts": { + "pass": 10, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + }, + "Response contains ID area1": { + "pass": 1, + "fail": 0 + }, + "Response contains NAME Royal Borough of Kensington and Chelsea": { + "pass": 1, + "fail": 0 + }, + "Response contains ID area2": { + "pass": 1, + "fail": 0 + }, + "Response contains NAME North Kensington": { + "pass": 1, + "fail": 0 + }, + "Response contains ID area3": { + "pass": 1, + "fail": 0 + }, + "Response contains NAME South Kensington": { + "pass": 1, + "fail": 0 + }, + "Response contains ID area4": { + "pass": 1, + "fail": 0 + }, + "Response contains NAME Kensington": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID area1": true, + "Response contains NAME Royal Borough of Kensington and Chelsea": true, + "Response contains ID area2": true, + "Response contains NAME North Kensington": true, + "Response contains ID area3": true, + "Response contains NAME South Kensington": true, + "Response contains ID area4": true, + "Response contains NAME Kensington": true + } + ], + "time": 240, + "meanResponseTime": 240 + }, + { + "id": "ef28b019-8dc8-8ff6-576a-d8852faa0954", + "name": "find street", + "url": "{{addressManagementApi}}/street?area.id=area3&fields=id,type,name", + "totalTime": 125, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID street3": true, + "Response contains NAME Cromwell": true + }, + "totalPassFailCounts": { + "pass": 4, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + }, + "Response contains ID street3": { + "pass": 1, + "fail": 0 + }, + "Response contains NAME Cromwell": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID street3": true, + "Response contains NAME Cromwell": true + } + ], + "time": 125, + "meanResponseTime": 125 + }, + { + "id": "a34d61a1-383b-0fdc-12e5-eff4f675b9d6", + "name": "get streetSegment with streetId", + "url": "{{addressManagementApi}}/street/street3/streetSegment", + "totalTime": 29, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID segment31": true, + "Response contains ID segment32": true + }, + "totalPassFailCounts": { + "pass": 4, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + }, + "Response contains ID segment31": { + "pass": 1, + "fail": 0 + }, + "Response contains ID segment32": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID segment31": true, + "Response contains ID segment32": true + } + ], + "time": 29, + "meanResponseTime": 29 + }, + { + "id": "7e3e73a3-e981-36cb-1f9f-22d13815380b", + "name": "find address", + "url": "{{addressManagementApi}}/address", + "totalTime": 36, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": true, + "Response contains ID address2": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": true + }, + "totalPassFailCounts": { + "pass": 6, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + }, + "Response contains ID address1": { + "pass": 1, + "fail": 0 + }, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": { + "pass": 1, + "fail": 0 + }, + "Response contains ID address2": { + "pass": 1, + "fail": 0 + }, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address1": true, + "Response contains ID address2": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/admin/address/address2": true + } + ], + "time": 36, + "meanResponseTime": 36 + }, + { + "id": "d17a5470-4411-4e3d-681c-19013e77ec58", + "name": "get address by id", + "url": "{{addressManagementApi}}/address/address1", + "totalTime": 102, + "responseCode": { + "code": 200, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 200": true + }, + "totalPassFailCounts": { + "pass": 2, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 200": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 200": true + } + ], + "time": 102, + "meanResponseTime": 102 + }, + { + "id": "2e653672-c36b-0280-fd46-c3517113afb7", + "name": "validate address", + "url": "{{addressManagementApi}}/address/validate", + "totalTime": 34, + "responseCode": { + "code": 201, + "name": "", + "detail": "" + }, + "tests": { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1": true + }, + "totalPassFailCounts": { + "pass": 4, + "fail": 0 + }, + "testPassFailCounts": { + "Content-Type is present application/json": { + "pass": 1, + "fail": 0 + }, + "Status code is 201": { + "pass": 1, + "fail": 0 + }, + "Response contains ID address1": { + "pass": 1, + "fail": 0 + }, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1": { + "pass": 1, + "fail": 0 + } + }, + "times": [], + "allTests": [ + { + "Content-Type is present application/json": "application/json", + "Status code is 201": true, + "Response contains ID address1": true, + "Response contains HREF http://localhost:8080/DSAddressManagement/api/addressManagement/v1/address/address1": true + } + ], + "time": 34, + "meanResponseTime": 34 + }, + { + "id": "e5d96f37-5e13-9c9f-29a7-b354ebd03a1e", + "name": "/current", + "url": "{{addressManagementSubscriberApi}}/current", + "totalTime": 0, + "responseCode": { + "code": 0, + "name": "", + "detail": "" + }, + "tests": {}, + "totalPassFailCounts": { + "pass": 0, + "fail": 0 + }, + "testPassFailCounts": {}, + "times": [], + "allTests": [ + {} + ], + "time": 0, + "meanResponseTime": 0 + }, + { + "id": "34d6255d-2758-8253-9b9b-7de111f436a2", + "name": "/history", + "url": "{{addressManagementSubscriberApi}}/history", + "totalTime": 0, + "responseCode": { + "code": 0, + "name": "", + "detail": "" + }, + "tests": {}, + "totalPassFailCounts": { + "pass": 0, + "fail": 0 + }, + "testPassFailCounts": {}, + "times": [], + "allTests": [ + {} + ], + "time": 0, + "meanResponseTime": 0 + } + ], + "environment": { + "id": "e9ff5be6-a134-95a0-3719-abe85cd8241b", + "name": "TMForum Local", + "values": [ + { + "key": "Host", + "value": "http://localhost:8080", + "type": "text", + "name": "Host", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementApi", + "value": "{{Host}}/DSBillingManagement/api/billingManagement/v2", + "type": "text", + "name": "billingManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementAdminApi", + "value": "{{Host}}/DSBillingManagement/api/admin", + "type": "text", + "name": "billingManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "billingManagementSubscriberApi", + "value": "{{Host}}/DSBillingManagement/subscriber/api", + "type": "text", + "name": "billingManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementApi", + "value": "{{Host}}/DSPartyManagement/api/partyManagement/v2", + "type": "text", + "name": "partyManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementAdminApi", + "value": "{{Host}}/DSPartyManagement/api/admin", + "type": "text", + "name": "partyManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "partyManagementSubscriberApi", + "value": "{{Host}}/DSPartyManagement/subscriber/api", + "type": "text", + "name": "partyManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementApi", + "value": "{{Host}}/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "customerManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementAdminApi", + "value": "{{Host}}/DSCustomerManagement/api/admin", + "type": "text", + "name": "customerManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "customerManagementSubscriberApi", + "value": "{{Host}}/DSCustomerManagement/subscriber/api", + "type": "text", + "name": "customerManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingApi", + "value": "{{Host}}/DSProductOrdering/api/productOrdering/v2", + "type": "text", + "name": "productOrderingApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingAdminApi", + "value": "{{Host}}/DSProductOrdering/api/admin", + "type": "text", + "name": "productOrderingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productOrderingSubscriberApi", + "value": "{{Host}}/DSProductOrdering/subscriber/api", + "type": "text", + "name": "productOrderingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingApi", + "value": "{{Host}}/DSTroubleTicket/api/troubleTicketManagement/v2", + "type": "text", + "name": "troubleTicketingApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingAdminApi", + "value": "{{Host}}/DSTroubleTicket/api/admin/troubleTicket", + "type": "text", + "name": "troubleTicketingAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "troubleTicketingSubscriberApi", + "value": "{{Host}}/DSTroubleTicket/subscriber/api", + "type": "text", + "name": "troubleTicketingSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryApi", + "value": "{{Host}}/DSProductInventory/api/productInventory/v2", + "type": "text", + "name": "productInventoryApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventoryAdminApi", + "value": "{{Host}}/DSProductInventory/api/admin", + "type": "text", + "name": "productInventoryAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "productInventorySubscriberApi", + "value": "{{Host}}/DSProductInventory/subscriber/api", + "type": "text", + "name": "productInventorySubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementApi", + "value": "{{Host}}/DSProductCatalog/api/catalogManagement/v2", + "type": "text", + "name": "catalogManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementAdminApi", + "value": "{{Host}}/DSProductCatalog/api/admin", + "type": "text", + "name": "catalogManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "catalogManagementSubscriberApi", + "value": "{{Host}}/DSProductCatalog/subscriber/eventApi", + "type": "text", + "name": "catalogManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementApi", + "value": "{{Host}}/DSLAManagement/api/slaManagement/v2", + "type": "text", + "name": "slaManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementSubscriberApi", + "value": "{{Host}}/DSLAManagement/subscriber/api", + "type": "text", + "name": "slaManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "slaManagementAdminApi", + "value": "{{Host}}/DSLAManagement/api/admin", + "type": "text", + "name": "slaManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementApi", + "value": "{{Host}}/DSUsageManagement/api/usageManagement/v2", + "type": "text", + "name": "usageManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementSubscriberApi", + "value": "{{Host}}/DSUsageManagement/subscriber/api", + "type": "text", + "name": "usageManagementSubscriberApi", + "enabled": true, + "hovered": false + }, + { + "key": "usageManagementAdminApi", + "value": "{{Host}}/DSUsageManagement/api/admin/usage", + "type": "text", + "name": "usageManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "testName", + "value": "tmf-product-offering-qualification-001", + "type": "text", + "name": "testName", + "enabled": true, + "hovered": false + }, + { + "key": "url1", + "value": "http://env-0693795.jelastic.servint.net/DSCustomerManagement/api/customerManagement/v2", + "type": "text", + "name": "url1", + "enabled": true, + "hovered": false + }, + { + "key": "appointmentManagementApi", + "value": "{{Host}}/DSAppointmentManagement/api/appointment/v1", + "type": "text", + "name": "appointmentManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementApi", + "value": "{{Host}}/DSAddressManagement/api/addressManagement/v1", + "type": "text", + "name": "addressManagementApi", + "enabled": true, + "hovered": false + }, + { + "key": "addressManagementAdminApi", + "value": "{{Host}}/DSAddressManagement/api/admin", + "type": "text", + "name": "addressManagementAdminApi", + "enabled": true, + "hovered": false + }, + { + "key": "quoteManagementApi", + "value": "{{Host}}/DSQuoteManagement/api/quoteManagement/v1", + "type": "text", + "name": "quoteManagementApi", + "enabled": true, + "hovered": false + } + ], + "team": null, + "timestamp": 1469155606077, + "synced": false, + "syncedFilename": "", + "isDeleted": false + }, + "delay": 0 +} \ No newline at end of file