entaxy-public/platform/runtime/modules/uniform-service/tests/uniform-exchange/uniform-exchange-connector ...

2172 lines
104 KiB
JSON
Raw Normal View History

2021-09-06 14:46:59 +00:00
{
"info": {
"_postman_id": "29562910-e6d9-40a2-ac59-960344ce0b74",
"name": "uniform-exchange-connector test",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "uniform-exchange-passive test",
"item": [
{
"name": "settings esb",
"item": [
{
"name": "Create profile system1",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createProfileRequest>\n <sys:profileName>{{system1_id}}</sys:profileName>\n <sys:uuid>{{system1_id}}</sys:uuid>\n <!--Optional:-->\n <sys:description>description1</sys:description>\n </sys:createProfileRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Create profile system2",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createProfileRequest>\n <sys:profileName>{{system2_id}}</sys:profileName>\n <sys:uuid>{{system2_id}}</sys:uuid>\n <!--Optional:-->\n <sys:description>description2</sys:description>\n </sys:createProfileRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Add Account system1",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:bas=\"http://www.entaxy.ru/basic-auth-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <bas:accountList>\n <!--1 or more repetitions:-->\n <bas:account>\n <bas:login>{{system1_id}}</bas:login>\n <bas:password>{{system1_id}}</bas:password>\n <!--Optional:-->\n <bas:systemUUID>{{system1_id}}</bas:systemUUID>\n <!--Optional:-->\n <bas:systemName>{{system1_id}}</bas:systemName>\n </bas:account>\n </bas:accountList>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/basic-auth-management",
"host": [
"{{base_url}}"
],
"path": [
"basic-auth-management"
]
}
},
"response": []
},
{
"name": "Add Account system2",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:bas=\"http://www.entaxy.ru/basic-auth-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <bas:accountList>\n <!--1 or more repetitions:-->\n <bas:account>\n <bas:login>{{system2_id}}</bas:login>\n <bas:password>{{system2_id}}</bas:password>\n <!--Optional:-->\n <bas:systemUUID>{{system2_id}}</bas:systemUUID>\n <!--Optional:-->\n <bas:systemName>{{system2_id}}</bas:systemName>\n </bas:account>\n </bas:accountList>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/basic-auth-management",
"host": [
"{{base_url}}"
],
"path": [
"basic-auth-management"
]
}
},
"response": []
},
{
"name": "Create uniform-service-in-connector",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createConnectorRequest>\n <sys:templateName>uniform-service-in-connector</sys:templateName>\n <sys:profileUuid>{{system1_id}}</sys:profileUuid>\n <sys:paramList>\n <!--Zero or more repetitions:-->\n </sys:paramList>\n </sys:createConnectorRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Create uniform-service-out-connector",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/xml"
},
{
"key": "X-ForwardedUser",
"type": "text",
"value": "{{adminLogin}}"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createConnectorRequest>\n <sys:templateName>uniform-service-out-connector</sys:templateName>\n <sys:profileUuid>{{system2_id}}</sys:profileUuid>\n <sys:paramList>\n <!--Zero or more repetitions:-->\n </sys:paramList>\n </sys:createConnectorRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Create uniform-service-in-connector",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/xml"
},
{
"key": "X-ForwardedUser",
"type": "text",
"value": "{{adminLogin}}"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createConnectorRequest>\n <sys:templateName>uniform-service-in-connector</sys:templateName>\n <sys:profileUuid>{{system2_id}}</sys:profileUuid>\n <sys:paramList>\n <!--Zero or more repetitions:-->\n </sys:paramList>\n </sys:createConnectorRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Create permission",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});",
"",
"setTimeout(function(){}, 5000);",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:createPermissionRequest>\n <sys:objectUuid>{{system1_id}}</sys:objectUuid>\n <sys:subjectUuid>{{system2_id}}</sys:subjectUuid>\n </sys:createPermissionRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
}
]
},
{
"name": "uniform-exchange-connector",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\n <soapenv:Header/>\n <soapenv:Body>\n <ns:packets>\n <ns:packet>\n \t<ns:header>\n \t\t<ns:destination>\n \t<ns:id>{{system2_id}}</ns:id>\n \t</ns:destination>\n \t</ns:header>\n <ns:message>\n <ns:messageUUID>b7e6aab7-8f02-443c-8f67-e2d638dd4da0</ns:messageUUID>\n <ns:source>\n <ns:id>{{system1_id}}</ns:id>\n </ns:source>\n <ns:customHeader>\n <ns:id>RequestNumber</ns:id>\n <ns:value>111</ns:value>\n </ns:customHeader>\n <ns:customHeader>\n <ns:id>test1</ns:id>\n <ns:type>test1</ns:type>\n <ns:value>val</ns:value>\n </ns:customHeader>\n <ns:content>\n\t \t\t<test>\n\t \t\t<hello/>\n\t \t</test>\n\t </ns:content>\n </ns:message>\n </ns:packet>\n </ns:packets>\n </soapenv:Body>\n</soapenv:Envelope>\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"Content is OK\", function () {",
" pm.expect(packet['message']['content']).to.be.an('object');",
" });",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/xml; charset=UTF-8"
},
{
"key": "X-ForwardedUser",
"type": "text",
"value": "{{system2_id}}"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/xml; charset=UTF-8"
},
{
"key": "X-ForwardedUser",
"type": "text",
"value": "{{system2_id}}"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "uniform-exchange-connector empty content",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <packets xmlns=\"http://www.entaxy.ru/ExchangeTypes/1.0\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <packet>\n <header>\n <transportUUID>10000000-0000-0000-0000-000000000000</transportUUID>\n <destination>\n <id>{{system2_id}}</id>\n </destination>\n </header>\n <message>\n <messageUUID>10000000-0000-0000-0000-000000000000</messageUUID>\n <messageType>ВыгрузкаДанных</messageType>\n \n </message>\n </packet>\n </packets>\n </soap:Body>\n</soap:Envelope>\n\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
]
},
{
"name": "uniform-exchange-connector escape",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <packets xmlns=\"http://www.entaxy.ru/ExchangeTypes/1.0\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <packet>\n <header>\n <transportUUID>2b5df363-410e-4917-8209-d2fd580a44e1</transportUUID>\n <destination>\n <id>{{system2_id}}</id>\n </destination>\n </header>\n <message>\n <messageUUID>2b5df363-410e-4917-8209-d2fd580a44e1</messageUUID>\n <messageType>ВыгрузкаДанных</messageType>\n <customHeader>\n <id>object_id</id>\n <value>3a4623e2-8b12-11ea-a250-000c297cfa2a</value>\n </customHeader>\n <customHeader>\n <id>object_date</id>\n <value>63724982760122</value>\n </customHeader>\n <content xsi:type=\"xs:string\">\n\t\t\t\t\t\t&lt;Data xmlns:cc=&quot;http://v8.entaxy.ru/8.1/data/enterprise/current-config&quot;\n\t\t\t\t\t\txmlns:dmp=&quot;http://www.entaxy.ru/entaxyFresh/Data/Dump/1.0.2.1&quot;\n\t\t\t\t\t\txmlns:ns=&quot;http://v8.entaxy.ru/8.1/data/enterprise&quot;\n\t\t\t\t\t\txmlns:v8=&quot;http://v8.entaxy.ru/8.1/data/core&quot;\n\t\t\t\t\t\txmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;\n\t\t\t\t\t\txmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;\n\t\t\t\t\t\t&lt;cc:CatalogObject.кшдПериодическиеВыгрузки xsi:type=&quot;cc:CatalogObject.кшдПериодическиеВыгрузки&quot;&gt;\n\t\t\t\t\t\t&lt;cc:IsFolder&gt;false&lt;/cc:IsFolder&gt;\n\t\t\t\t\t\t&lt;cc:Ref&gt;3a4623e2-8b12-11ea-a250-000c297cfa2a&lt;/cc:Ref&gt;\n\t\t\t\t\t\t&lt;cc:DeletionMark&gt;false&lt;/cc:DeletionMark&gt;\n\t\t\t\t\t\t&lt;cc:Owner xsi:type=&quot;cc:CatalogRef.кшдИнтеграционныеШины&quot;&gt;5205e857-c7ba-11e9-a23f-000c297cfa2a&lt;/cc:Owner&gt;\n\t\t\t\t\t\t&lt;cc:Parent&gt;00000000-0000-0000-0000-000000000000&lt;/cc:Parent&gt;\n\t\t\t\t\t\t&lt;cc:Description&gt;Тест&lt;/cc:Description&gt;\n\t\t\t\t\t\t&lt;cc:НаименованиеПКО&gt;ПерВыгКО_Отправка&lt;/cc:НаименованиеПКО&gt;\n\t\t\t\t\t\t&lt;cc:ТипЗадания&gt;f75b1344-4081-46b0-bc1e-79f9dd3c0f22&lt;/cc:ТипЗадания&gt;\n\t\t\t\t\t\t&lt;cc:Приоритет&gt;0&lt;/cc:Приоритет&gt;\n\t\t\t\t\t\t&lt;cc:Комментарий/&gt;\n\t\t\t\t\t\t&lt;cc:РегламентноеЗадание&gt;dff80fe7-2e66-4b9c-bdcc-f8e8d29c8ea5&lt;/cc:РегламентноеЗадание&gt;\n\t\t\t\t\t\t&lt;cc:Получатели&gt;\n\t\t\t\t\t\t&lt;cc:Получатель&gt;5ce4815e-7f4b-11ea-a24e-000c297cfa2a&lt;/cc:Получатель&gt;\n\t\t\t\t\t\t&lt;/cc:Получатели&gt;\n\t\t\t\t\t\t&lt;/cc:CatalogObject.кшдПериодическиеВыгрузки&gt;\n\t\t\t\t\t\t&lt;/Data&gt;\n </content>\n </message>\n </packet>\n </packets>\n </soap:Body>\n</soap:Envelope>"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"Content is OK\", function () {",
" pm.expect(packet['message']['content']).to.be.an('object');",
" });",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
]
},
{
"name": "uniform-exchange-connector hello",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <packets xmlns=\"http://www.entaxy.ru/ExchangeTypes/1.0\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <packet>\n <header>\n <transportUUID>2b5df363-410e-4917-8209-d2fd580a44e1</transportUUID>\n <destination>\n <id>{{system2_id}}</id>\n </destination>\n </header>\n <message>\n <messageUUID>2b5df363-410e-4917-8209-d2fd580a44e1</messageUUID>\n <messageType>ВыгрузкаДанных</messageType>\n <customHeader>\n <id>object_id</id>\n <value>3a4623e2-8b12-11ea-a250-000c297cfa2a</value>\n </customHeader>\n <customHeader>\n <id>object_date</id>\n <value>63724982760122</value>\n </customHeader>\n <content>\n\t\t\t\t\t\tпривет!\n </content>\n </message>\n </packet>\n </packets>\n </soap:Body>\n</soap:Envelope>\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"Content is OK\", function () {",
" pm.expect(packet['message']['content']).to.be.an('string');",
" });",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
]
},
{
"name": "uniform-exchange-connector file",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <packets xmlns=\"http://www.entaxy.ru/ExchangeTypes/1.0\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <packet>\n <header>\n <transportUUID>2b5df363-410e-4917-8209-d2fd580a44e1</transportUUID>\n <destination>\n <id>{{system2_id}}</id>\n </destination>\n </header>\n <message>\n <messageUUID>2b5df363-410e-4917-8209-d2fd580a44e1</messageUUID>\n <messageType>ВыгрузкаДанных</messageType>\n <customHeader>\n <id>object_id</id>\n <value>3a4623e2-8b12-11ea-a250-000c297cfa2a</value>\n </customHeader>\n <customHeader>\n <id>object_date</id>\n <value>63724982760122</value>\n </customHeader>\n <content xsi:type=\"xs:string\">\n\t\t\t\t\t\tUEsDBBQAAggIANyzr1BGZDbMGcYSAECPNgAoAAAANmM2NDIzNmUtOTMxNS00ZmQ5\n\t\t\t\t\tLTlmOWItMDRlZTkwZTJmN2Y2Lm1zZ+S9W48bW5Ym9uwB+j8M+vXgVEYESaWy0FMA\n\t\t\t\t\tk0FSQXFvipnBZEa8NKSkREYEI3VGyUyS8dQXY2xjDIxhDGBjYLs9vjwaKDRcmHL3\n\t\t\t\t\t9Mxf0Pkl/gtel73jxuA166hS5QJOScokd1z22uv6rW/9v//4n//Cfr94/89X8fz+\n\t\t\t\t\t4dd3d//iz2eLxU+/Pjt7ev0r8+5XXx7P4M+zCXzk7OP94uOXn74EDx/P7h6/fIF/\n\t\t\t\t\t/nj3+f5TMP1z9e1J/FP69eVyqb5v3nW+fHyYneFlzuzH+Kcz81fGr6xfmfpr9w8H\n\t\t\t\t\tXVR//On1jo/fff6SfnD1ULibZe1Xn79MzyzDMM9uRf/6bvYxfp99Ntj/4R+D+4fF\n\t\t\t\t\t+/u7j3/+mz/7Z//FX9zd/boF15x/ng4+hB/vFr/6y6//9uvvvv7Hr//p6/8M//1H\n\t\t\t\t\t+Ps/ff2Hr//49bc//83Pf/vzX3397de/g////c9/Db/93df/++vv4ff4mX/6+V/D\n\t\t\t\t\tn/8H/P7/+fqPP//rfw438+vF+qeP/+LPf6lL0APQE1x9/PSbD7X3d58+vH//42vj\n\t\t\t\t\t46sfTfPj+x/fW/WPPxqGcWddnN99em+9/4sz9WH9Rfvj/OMi+Hwv3n+JfvPp/fzh\n\t\t\t\t\tI32k8OPssw93X4Kf8Oe/AZG5hyf5/OUvFx8fFn8ZzCP1vewj+mtf/7uvf//z33z9\n\t\t\t\t\tTz//VeUrgbv51de/gwf9x5//26//Af78e3wN8Jj/+PX3f/6bj+cfrdefGvBQk/OP\n\t\t\t\t\t8FCTjz++Nz+8h4dqGI1Xd/Bsxmu6cnaV7ML/Pb5SeH241u9+/lf6xX397W8+mB8n\n\t\t\t\t\td1b91Y8f31s1Xvb1q1odljUnrwxjcvF+YvGy29dIL/Nv6YZ/+/V/gpuHvfr5v4T9\n\t\t\t\t\t+gf42b+CP3//9X+Hffs9PNTvfv4r2M/f0mP+E/z23/zGMsyLH03jR8N0jcav669+\n\t\t\t\t\tbaprnrrgxh39e1jgP8ASv8Wv0BUtuFz9R/PctWq/Nuq/btSLVyx/IV3xf4AP/Nd4\n\t\t\t\t\tKyCXtEVf/yknLpW/Tr/7P8KSLOO///qPJ8iAof73Y8X/6f/xbRSulL+Bf6Id/Ad4\n\t\t\t\t\tX/8OVv4rWPv3dOR+/5ta+tXtn0kX+l++/mc6lfR6vv7uLPvN39FWZb/9v77+Xf79\n\t\t\t\t\tVP06+y6c+b+BB/936cn+29zK/yv8jJ4KJPv1q4tavW7ymvlf5D/981/TVvyVeg+/\n\t\t\t\t\t+w3oxvQbG7/MffN3tPH/gA8Oj/+3sPDf/KK7VXnF7Ib+PUokKcS/po39ezqB/xXf\n\t\t\t\t\t+c//5uv/xruFn/pN+QN8gWNWSC+b/fD/JE1MsgQf/2/gZTWHneDD5esm/W/ww/lT\n\t\t\t\t\t7SEYrZ0HJ54ZkzfNV/31RW1Su3ucJOLxQ61330+cpbDbT+O2KUaW/Pxnf/bP/LE5\n\t\t\t\t\t64/nj3e1q9mHWM4d2boy+uHwYdI6xz+fFt2W0b8dPi5aS+Ptm6sp/tmvDRcS/vTs\n\t\t\t\t\tK1gCfnRheE9Xs0nrk9E/h191L+GrV9MJf/VJtkbqzx8cW84Gtoxk4tX77qjuu3cL\n\t\t\t\t\tWEJ2ZSTWZiC6YtV32ys/bK6ke4P/TsT1ZeyNV4mf/tmEh1D/tQz6E5bou/SjRf7H\n\t\t\t\t\tuf+mRu/N8FG2Vkb/Cf/8wfD6w8Wk9cro28PPcKewBP71adIy4M+rqcSbr10FF92O\n\t\t\t\t\t0TuD9wA/93AJeDj+6muj5/Kf/TotD0vsusIhy9MS266g/34Oy9BnYBnchQ98OdgV\n\t\t\t\t\tWB7fheG9nhr9L7gq7IyLv04M713u4913TssJtr0TehfwyrzN/U43+xoe5gKv6sJG\n\t\t\t\t\tt+rqs6bRXwZOsJzSXdi4Gj4viE+3izIRrpvrfiimIqgn/XD0KF1nKtyoTjt2Df/d\n\t\t\t\t\tDGG3PtN/sIRowau7aJ3hUg+ytYYbvQov8CoJPpwJrw4fqo4PAP+2SMzwbvqjqT8e\n\t\t\t\t\tNXAJS868RIBc+PHg2gQRElZ/PFoLGwXVD7zES6QtLOHerZyuP/vwBg6B/rMtZ7DE\n\t\t\t\t\tpNt5+GBNrv2x92j0dr3WVv0kAd8U6LI044OUBfrtJ5ZGfPbAHv50QbswfIRdgVN8\n\t\t\t\t\tz0cQT3GdPqtFq+rj5eeG5f2483BnjQp/whL4V5GMlgO3ufZcZyGTO2NwbaylPar1\n\t\t\t\t\tx1czf4yv+s6Q45Eh4ZX6YdTILw9L6Dd76mulw85v9tTXql9nlZ4gJddt4jFDpQev\n\t\t\t\t\tcqaO2g94ph5amb4AqYSbfkVnZe/XNrUYLLHx5tMdiFbSvopBMht9txN6obcQXSfx\n\t\t\t\t\tW8Zq4E7C/vhmDltQIwHvRF4yrHtB+QqXtncLWr17cT+Kb+L+ovVe6Y42afiLro1P\n\t\t\t\t\tAEs8SDqdw8dWM/HcaeLbd9agZZiDLmyqexX6tlh44WUIJ3Qlxt5SuCOT/p20p0r
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"Content is OK\", function () {",
" pm.expect(packet['message']['content']).to.be.an('object');",
" });",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "uniform-exchange-connector xml in context",
"item": [
{
"name": "uniform-exchange-connector SEND",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is OK\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system1_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <packets xmlns=\"http://www.entaxy.ru/ExchangeTypes/1.0\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <packet>\n <header>\n <transportUUID>2b5df363-410e-4917-8209-d2fd580a44e1</transportUUID>\n <destination>\n <id>{{system2_id}}</id>\n </destination>\n </header>\n <message>\n <messageUUID>2b5df363-410e-4917-8209-d2fd580a44e1</messageUUID>\n <messageType>ВыгрузкаДанных</messageType>\n <customHeader>\n <id>object_id</id>\n <value>3a4623e2-8b12-11ea-a250-000c297cfa2a</value>\n </customHeader>\n <customHeader>\n <id>object_date</id>\n <value>63724982760122</value>\n </customHeader>\n <content xsi:type=\"xs:string\">\n\t\t\t\t\t\t<Data xmlns:cc=\"http://v8.entaxy.ru/8.1/data/enterprise/current-config\"\n\t\t\t\t\t\txmlns:dmp=\"http://www.entaxy.ru/entaxyFresh/Data/Dump/1.0.2.1\"\n\t\t\t\t\t\txmlns:ns=\"http://v8.entaxy.ru/8.1/data/enterprise\"\n\t\t\t\t\t\txmlns:v8=\"http://v8.entaxy.ru/8.1/data/core\"\n\t\t\t\t\t\txmlns:xs=\"http://www.w3.org/2001/XMLSchema\"\n\t\t\t\t\t\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n\t\t\t\t\t\t<cc:CatalogObject.кшдПериодическиеВыгрузки xsi:type=\"cc:CatalogObject.кшдПериодическиеВыгрузки\">\n\t\t\t\t\t\t<cc:IsFolder>false</cc:IsFolder>\n\t\t\t\t\t\t<cc:Ref>3a4623e2-8b12-11ea-a250-000c297cfa2a</cc:Ref>\n\t\t\t\t\t\t<cc:DeletionMark>false</cc:DeletionMark>\n\t\t\t\t\t\t<cc:Owner xsi:type=\"cc:CatalogRef.кшдИнтеграционныеШины\">5205e857-c7ba-11e9-a23f-000c297cfa2a</cc:Owner>\n\t\t\t\t\t\t<cc:Parent>00000000-0000-0000-0000-000000000000</cc:Parent>\n\t\t\t\t\t\t<cc:Description>Тест</cc:Description>\n\t\t\t\t\t\t<cc:НаименованиеПКО>ПерВыгКО_Отправка</cc:НаименованиеПКО>\n\t\t\t\t\t\t<cc:ТипЗадания>f75b1344-4081-46b0-bc1e-79f9dd3c0f22</cc:ТипЗадания>\n\t\t\t\t\t\t<cc:Приоритет>0</cc:Приоритет>\n\t\t\t\t\t\t<cc:Комментарий/>\n\t\t\t\t\t\t<cc:РегламентноеЗадание>dff80fe7-2e66-4b9c-bdcc-f8e8d29c8ea5</cc:РегламентноеЗадание>\n\t\t\t\t\t\t<cc:Получатели>\n\t\t\t\t\t\t<cc:Получатель>5ce4815e-7f4b-11ea-a24e-000c297cfa2a</cc:Получатель>\n\t\t\t\t\t\t</cc:Получатели>\n\t\t\t\t\t\t</cc:CatalogObject.кшдПериодическиеВыгрузки>\n\t\t\t\t\t\t</Data>\n </content>\n </message>\n </packet>\n </packets>\n </soap:Body>\n</soap:Envelope>\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector GET",
"event": [
{
"listen": "test",
"script": {
"exec": [
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var response = getSoapBody();",
"",
"pm.test(\"Has service response\", function () {",
" pm.expect(response).to.have.property('response');",
"});",
"",
"if (response.hasOwnProperty('response')) {",
" var packet = response['response']['packets']['packet'];",
"",
" var header = packet['header'];",
" ",
" var message_id = header['transportUUID'];",
" ",
" console.log(packet['message']['content']);",
" console.log(message_id);",
" ",
" pm.globals.set('message_uuid', message_id);",
" ",
" pm.test(\"Content is OK\", function () {",
" pm.expect(packet['message']['content']).to.be.an('object');",
" });",
" ",
" pm.test(\"message_id is OK\", function () {",
" pm.expect(message_id).to.have.lengthOf(36);",
" });",
"}"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:getPacketsRequest>\r\n <ns:destination>\r\n <ns:id>{{system2_id}}</ns:id>\r\n <ns:type>system.name</ns:type>\r\n </ns:destination>\r\n <ns:limitCount>1</ns:limitCount>\r\n <ns:limitSize>0</ns:limitSize>\r\n </ns:getPacketsRequest>\r\n </soapenv:Body>\r\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
},
{
"name": "uniform-exchange-connector ACK",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is 200\", function () {",
" var response = getSoapBody();",
" pm.expect(response['response']['status']).to.eql('200');",
"});",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml; charset=UTF-8",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{system2_id}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.entaxy.ru/ExchangeTypes/1.0\">\r\n <soapenv:Header/>\r\n <soapenv:Body>\r\n <ns:uuids>\r\n <ns:uuid>{{message_uuid}}</ns:uuid>\r\n </ns:uuids>\r\n </soapenv:Body>\r\n</soapenv:Envelope>\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/uniform-exchange",
"host": [
"{{base_url}}"
],
"path": [
"uniform-exchange"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "clean esb",
"item": [
{
"name": "Remove profile system1",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:removeProfileRequest>\n <sys:uuid>{{system1_id}}</sys:uuid>\n </sys:removeProfileRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Remove profile system2",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var jsonObject = xml2Json(responseBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sys=\"http://www.entaxy.ru/system-management-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <sys:removeProfileRequest>\n <sys:uuid>{{system2_id}}</sys:uuid>\n </sys:removeProfileRequest>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/system-management",
"host": [
"{{base_url}}"
],
"path": [
"system-management"
]
}
},
"response": []
},
{
"name": "Remove Account system1",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:bas=\"http://www.entaxy.ru/basic-auth-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <bas:loginList>\n <!--1 or more repetitions:-->\n <bas:login>{{system1_id}}</bas:login>\n </bas:loginList>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/basic-auth-management",
"host": [
"{{base_url}}"
],
"path": [
"basic-auth-management"
]
}
},
"response": []
},
{
"name": "Remove Account system2",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"pm.test(\"Body matches true\", function () {",
" pm.expect(pm.response.text()).to.include(\"true\");",
"});",
"",
"function getSoapBody() {",
" var soapBody = responseBody.match(/<soap:Envelope[\\s\\S]*soap:Envelope>/g);",
" var jsonObject = xml2Json(soapBody);",
" return jsonObject['soap:Envelope']['soap:Body'];",
"}",
"",
"pm.test(\"Response is true\", function () {",
" var response = getSoapBody();",
" pm.expect(response.response._).to.eql('true');",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/xml",
"type": "text"
},
{
"key": "X-ForwardedUser",
"value": "{{adminLogin}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:bas=\"http://www.entaxy.ru/basic-auth-service/\">\n <soapenv:Header/>\n <soapenv:Body>\n <bas:loginList>\n <!--1 or more repetitions:-->\n <bas:login>{{system2_id}}</bas:login>\n </bas:loginList>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{base_url}}/basic-auth-management",
"host": [
"{{base_url}}"
],
"path": [
"basic-auth-management"
]
}
},
"response": []
}
]
}
],
"description": "для тестирования нужно добавть в environment: system1_id, system2_id",
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
]
}