Test duration: 8.908s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.123s |
2020-08-03 00:03:02 |
2020-08-03 00:03:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:02 | ------------------------------------ 2020-08-03 00:03:02 | [Mutex] waiting for: [configured:node:node-488fc570-e6a2-4c67-8383-f2edf649e04f:node-93286e1d-f706-4d8e-93f4-8954b6f82604] 2020-08-03 00:03:02 | [Mutex] received everything. 2020-08-03 00:03:02 | [Mutex] isItemNotified: configured:node:node-488fc570-e6a2-4c67-8383-f2edf649e04f:node-93286e1d-f706-4d8e-93f4-8954b6f82604 :: true 2020-08-03 00:03:03 | [Mutex] waiting for: [received:nodes:939012db-55bb-41cd-89b2-9d25c3f3cdd2:localhost] 2020-08-03 00:03:03 | [Mutex] received everything. 2020-08-03 00:03:03 | [Mutex] isItemNotified: received:node:939012db-55bb-41cd-89b2-9d25c3f3cdd2:localhost:node-488fc570-e6a2-4c67-8383-f2edf649e04f:Node 488fc570-e6a2-4c67-8383-f2edf649e04f :: true 2020-08-03 00:03:03 | [Mutex] waiting for: [received:nodes:c10d03da-7104-4dcb-8c1f-1a5fa75ca9d1:localhost] 2020-08-03 00:03:03 | [Mutex] waiting for: [received:nodes:c10d03da-7104-4dcb-8c1f-1a5fa75ca9d1:localhost] 2020-08-03 00:03:03 | [Mutex] received everything. 2020-08-03 00:03:03 | [Mutex] isItemNotified: received:node:c10d03da-7104-4dcb-8c1f-1a5fa75ca9d1:localhost:node-488fc570-e6a2-4c67-8383-f2edf649e04f:Node 488fc570-e6a2-4c67-8383-f2edf649e04f :: false |
createNodes | 1.655s |
2020-08-03 00:02:59 |
2020-08-03 00:02:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:02:59 | ------------------------------------ 2020-08-03 00:03:00 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "pubsub#title": "Node 488fc570-e6a2-4c67-8383-f2edf649e04f" } 2020-08-03 00:03:00 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-08-03 00:03:01 | [Mutex] waiting for: [received:nodes:1c37269d-2a64-4408-a6fa-f491227d9baa:localhost] 2020-08-03 00:03:01 | [Mutex] received everything. 2020-08-03 00:03:01 | [Mutex] isItemNotified: received:node:1c37269d-2a64-4408-a6fa-f491227d9baa:localhost:node-488fc570-e6a2-4c67-8383-f2edf649e04f:Node 488fc570-e6a2-4c67-8383-f2edf649e04f :: true |
createSubnodes | 1.022s |
2020-08-03 00:03:01 |
2020-08-03 00:03:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:01 | ------------------------------------ 2020-08-03 00:03:01 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-93286e1d-f706-4d8e-93f4-8954b6f82604", "pubsub#title": "Node 93286e1d-f706-4d8e-93f4-8954b6f82604" } 2020-08-03 00:03:01 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-08-03 00:03:02 | [Mutex] waiting for: [received:nodes:b5f08a65-13dd-42db-9ad8-ec5fa6da9fc0:localhost] 2020-08-03 00:03:02 | [Mutex] received everything. 2020-08-03 00:03:02 | [Mutex] isItemNotified: received:node:b5f08a65-13dd-42db-9ad8-ec5fa6da9fc0:localhost:node-93286e1d-f706-4d8e-93f4-8954b6f82604:Node 93286e1d-f706-4d8e-93f4-8954b6f82604 :: true |
deleteNodes | 1.017s |
2020-08-03 00:03:07 |
2020-08-03 00:03:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:07 | ------------------------------------ 2020-08-03 00:03:07 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-93286e1d-f706-4d8e-93f4-8954b6f82604" } 2020-08-03 00:03:07 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-08-03 00:03:08 | [Mutex] waiting for: [received:nodes:82610f6c-9dc1-49ea-9677-50d8a0a04e96:localhost] 2020-08-03 00:03:08 | [Mutex] waiting for: [received:nodes:82610f6c-9dc1-49ea-9677-50d8a0a04e96:localhost] 2020-08-03 00:03:08 | [Mutex] received everything. 2020-08-03 00:03:08 | [Mutex] isItemNotified: received:node:82610f6c-9dc1-49ea-9677-50d8a0a04e96:localhost:node-93286e1d-f706-4d8e-93f4-8954b6f82604:Node 93286e1d-f706-4d8e-93f4-8954b6f82604 :: false |
deleteSubnodes | 1.029s |
2020-08-03 00:03:06 |
2020-08-03 00:03:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:06 | ------------------------------------ 2020-08-03 00:03:06 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f" } 2020-08-03 00:03:06 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-08-03 00:03:07 | [Mutex] waiting for: [received:nodes:a9336025-8636-4489-9a62-02406b6c3803:localhost] 2020-08-03 00:03:07 | [Mutex] received everything. 2020-08-03 00:03:07 | [Mutex] isItemNotified: received:node:a9336025-8636-4489-9a62-02406b6c3803:localhost:node-488fc570-e6a2-4c67-8383-f2edf649e04f:Node 488fc570-e6a2-4c67-8383-f2edf649e04f :: false 2020-08-03 00:03:07 | [Mutex] waiting for: [received:nodes:9d4f3c86-d3f2-4d7a-aae5-a2a7b135c4a1:localhost] 2020-08-03 00:03:07 | [Mutex] received everything. 2020-08-03 00:03:07 | [Mutex] isItemNotified: received:node:9d4f3c86-d3f2-4d7a-aae5-a2a7b135c4a1:localhost:node-488fc570-e6a2-4c67-8383-f2edf649e04f:Node 488fc570-e6a2-4c67-8383-f2edf649e04f :: false |
publishItemsToNodes | 0.053s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "entry": "<test>item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f</test>", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f" } 2020-08-03 00:03:04 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f" } 2020-08-03 00:03:04 | [Mutex] waiting for: [published:item:notifieditem-65c2be97-e910-4109-92a9-4ffa0ad4fd4f:admin@test-domain.com] 2020-08-03 00:03:04 | [Mutex] received everything. 2020-08-03 00:03:04 | [Mutex] isItemNotified: published:item:notifieditem-65c2be97-e910-4109-92a9-4ffa0ad4fd4f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.068s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f" } 2020-08-03 00:03:04 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f" } 2020-08-03 00:03:04 | [Mutex] received everything. 2020-08-03 00:03:04 | [Mutex] isItemNotified: retracted:item:notifieditem-65c2be97-e910-4109-92a9-4ffa0ad4fd4f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.064s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f" } 2020-08-03 00:03:04 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "item-id": "item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f", "item": [ "<item id=\"item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f\"><test>item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f</test></item>" ] } 2020-08-03 00:03:04 | [Mutex] notify: [retrieved:item:item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f:payload-matches:true:localhost] 2020-08-03 00:03:04 | [Mutex] received everything. 2020-08-03 00:03:04 | [Mutex] isItemNotified: retrieved:item:item-65c2be97-e910-4109-92a9-4ffa0ad4fd4f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-08-03 00:03:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-071deba7-ce78-4d09-a9ed-0fcc10984efe", "test", "node-93286e1d-f706-4d8e-93f4-8954b6f82604", "node-488fc570-e6a2-4c67-8383-f2edf649e04f" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-488fc570-e6a2-4c67-8383-f2edf649e04f)" } 2020-08-03 00:03:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2020-08-03 00:03:03 |
2020-08-03 00:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:03 | ------------------------------------ 2020-08-03 00:03:03 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "jids": [ "admin@test-domain.com" ] } 2020-08-03 00:03:03 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2020-08-03 00:03:04 |
2020-08-03 00:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-08-03 00:03:04 | ------------------------------------ 2020-08-03 00:03:04 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-488fc570-e6a2-4c67-8383-f2edf649e04f", "jids": [ "admin@test-domain.com" ] } 2020-08-03 00:03:05 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |