Test duration : 9.002s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.098s |
2020-09-18 10:36:42 |
2020-09-18 10:36:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:42 | ------------------------------------ 2020-09-18 10:36:42 | [Mutex] waiting for: [configured:node:node-f9ca7705-4697-480b-b7b3-411920de038a:node-873b96b7-802b-4410-9cfa-8383d1b794a7] 2020-09-18 10:36:42 | [Mutex] received everything. 2020-09-18 10:36:42 | [Mutex] isItemNotified: configured:node:node-f9ca7705-4697-480b-b7b3-411920de038a:node-873b96b7-802b-4410-9cfa-8383d1b794a7 :: true 2020-09-18 10:36:43 | [Mutex] waiting for: [received:nodes:57ac9ca5-fc74-4a60-a315-bf42d7437153:localhost] 2020-09-18 10:36:43 | [Mutex] received everything. 2020-09-18 10:36:43 | [Mutex] isItemNotified: received:node:57ac9ca5-fc74-4a60-a315-bf42d7437153:localhost:node-f9ca7705-4697-480b-b7b3-411920de038a:Node f9ca7705-4697-480b-b7b3-411920de038a :: true 2020-09-18 10:36:43 | [Mutex] waiting for: [received:nodes:45eceef3-a853-47d3-b365-0ee667d5b655:localhost] 2020-09-18 10:36:43 | [Mutex] waiting for: [received:nodes:45eceef3-a853-47d3-b365-0ee667d5b655:localhost] 2020-09-18 10:36:43 | [Mutex] waiting for: [received:nodes:45eceef3-a853-47d3-b365-0ee667d5b655:localhost] 2020-09-18 10:36:43 | [Mutex] received everything. 2020-09-18 10:36:43 | [Mutex] isItemNotified: received:node:45eceef3-a853-47d3-b365-0ee667d5b655:localhost:node-f9ca7705-4697-480b-b7b3-411920de038a:Node f9ca7705-4697-480b-b7b3-411920de038a :: false |
createNodes | 1.607s |
2020-09-18 10:36:40 |
2020-09-18 10:36:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:40 | ------------------------------------ 2020-09-18 10:36:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "pubsub#title": "Node f9ca7705-4697-480b-b7b3-411920de038a" } 2020-09-18 10:36:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-18 10:36:41 | [Mutex] waiting for: [received:nodes:f85c8f76-9195-4c40-bbfc-4410ee91004e:localhost] 2020-09-18 10:36:41 | [Mutex] received everything. 2020-09-18 10:36:41 | [Mutex] isItemNotified: received:node:f85c8f76-9195-4c40-bbfc-4410ee91004e:localhost:node-f9ca7705-4697-480b-b7b3-411920de038a:Node f9ca7705-4697-480b-b7b3-411920de038a :: true |
createSubnodes | 1.051s |
2020-09-18 10:36:41 |
2020-09-18 10:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:41 | ------------------------------------ 2020-09-18 10:36:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-873b96b7-802b-4410-9cfa-8383d1b794a7", "pubsub#title": "Node 873b96b7-802b-4410-9cfa-8383d1b794a7" } 2020-09-18 10:36:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-18 10:36:42 | [Mutex] waiting for: [received:nodes:65ede64f-6ab9-472f-aa08-681dbac62d27:localhost] 2020-09-18 10:36:42 | [Mutex] waiting for: [received:nodes:65ede64f-6ab9-472f-aa08-681dbac62d27:localhost] 2020-09-18 10:36:42 | [Mutex] received everything. 2020-09-18 10:36:42 | [Mutex] isItemNotified: received:node:65ede64f-6ab9-472f-aa08-681dbac62d27:localhost:node-873b96b7-802b-4410-9cfa-8383d1b794a7:Node 873b96b7-802b-4410-9cfa-8383d1b794a7 :: true |
deleteNodes | 1.024s |
2020-09-18 10:36:47 |
2020-09-18 10:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:47 | ------------------------------------ 2020-09-18 10:36:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-873b96b7-802b-4410-9cfa-8383d1b794a7" } 2020-09-18 10:36:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-18 10:36:48 | [Mutex] waiting for: [received:nodes:1932547f-470b-414d-9c1f-f3add3a98132:localhost] 2020-09-18 10:36:48 | [Mutex] received everything. 2020-09-18 10:36:48 | [Mutex] isItemNotified: received:node:1932547f-470b-414d-9c1f-f3add3a98132:localhost:node-873b96b7-802b-4410-9cfa-8383d1b794a7:Node 873b96b7-802b-4410-9cfa-8383d1b794a7 :: false |
deleteSubnodes | 1.027s |
2020-09-18 10:36:46 |
2020-09-18 10:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:46 | ------------------------------------ 2020-09-18 10:36:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a" } 2020-09-18 10:36:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-18 10:36:47 | [Mutex] waiting for: [received:nodes:332dd21c-4a9e-4762-a075-a9b2c147889d:localhost] 2020-09-18 10:36:47 | [Mutex] received everything. 2020-09-18 10:36:47 | [Mutex] isItemNotified: received:node:332dd21c-4a9e-4762-a075-a9b2c147889d:localhost:node-f9ca7705-4697-480b-b7b3-411920de038a:Node f9ca7705-4697-480b-b7b3-411920de038a :: false 2020-09-18 10:36:47 | [Mutex] waiting for: [received:nodes:a7b69391-f4c0-4b08-9de6-4cd6438a0745:localhost] 2020-09-18 10:36:47 | [Mutex] received everything. 2020-09-18 10:36:47 | [Mutex] isItemNotified: received:node:a7b69391-f4c0-4b08-9de6-4cd6438a0745:localhost:node-f9ca7705-4697-480b-b7b3-411920de038a:Node f9ca7705-4697-480b-b7b3-411920de038a :: false |
publishItemsToNodes | 0.053s |
2020-09-18 10:36:44 |
2020-09-18 10:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:44 | ------------------------------------ 2020-09-18 10:36:44 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "entry": "<test>item-016af0bc-1a1e-4467-afbf-62d789c77c3f</test>", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f" } 2020-09-18 10:36:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f" } 2020-09-18 10:36:44 | [Mutex] waiting for: [published:item:notifieditem-016af0bc-1a1e-4467-afbf-62d789c77c3f:admin@test-domain.com] 2020-09-18 10:36:44 | [Mutex] received everything. 2020-09-18 10:36:44 | [Mutex] isItemNotified: published:item:notifieditem-016af0bc-1a1e-4467-afbf-62d789c77c3f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2020-09-18 10:36:45 |
2020-09-18 10:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:45 | ------------------------------------ 2020-09-18 10:36:45 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f" } 2020-09-18 10:36:45 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f" } 2020-09-18 10:36:45 | [Mutex] received everything. 2020-09-18 10:36:45 | [Mutex] isItemNotified: retracted:item:notifieditem-016af0bc-1a1e-4467-afbf-62d789c77c3f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.068s |
2020-09-18 10:36:44 |
2020-09-18 10:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:44 | ------------------------------------ 2020-09-18 10:36:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f" } 2020-09-18 10:36:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "item-id": "item-016af0bc-1a1e-4467-afbf-62d789c77c3f", "item": [ "<item id=\"item-016af0bc-1a1e-4467-afbf-62d789c77c3f\"><test>item-016af0bc-1a1e-4467-afbf-62d789c77c3f</test></item>" ] } 2020-09-18 10:36:44 | [Mutex] notify: [retrieved:item:item-016af0bc-1a1e-4467-afbf-62d789c77c3f:payload-matches:true:localhost] 2020-09-18 10:36:44 | [Mutex] received everything. 2020-09-18 10:36:44 | [Mutex] isItemNotified: retrieved:item:item-016af0bc-1a1e-4467-afbf-62d789c77c3f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-09-18 10:36:44 |
2020-09-18 10:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:44 | ------------------------------------ 2020-09-18 10:36:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-18 10:36:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-873b96b7-802b-4410-9cfa-8383d1b794a7", "node-f9ca7705-4697-480b-b7b3-411920de038a" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2020-09-18 10:36:45 |
2020-09-18 10:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:45 | ------------------------------------ 2020-09-18 10:36:45 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-f9ca7705-4697-480b-b7b3-411920de038a)" } 2020-09-18 10:36:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2020-09-18 10:36:43 |
2020-09-18 10:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:43 | ------------------------------------ 2020-09-18 10:36:43 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "jids": [ "admin@test-domain.com" ] } 2020-09-18 10:36:43 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2020-09-18 10:36:45 |
2020-09-18 10:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-18 10:36:45 | ------------------------------------ 2020-09-18 10:36:45 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-f9ca7705-4697-480b-b7b3-411920de038a", "jids": [ "admin@test-domain.com" ] } 2020-09-18 10:36:45 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |