Test duration: 8.864s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.100s |
2020-06-19 00:32:17 |
2020-06-19 00:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:17 | ------------------------------------ 2020-06-19 00:32:17 | [Mutex] waiting for: [configured:node:node-165ef976-db1d-4bba-b63b-9add85f00f5f:node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9] 2020-06-19 00:32:17 | [Mutex] received everything. 2020-06-19 00:32:17 | [Mutex] isItemNotified: configured:node:node-165ef976-db1d-4bba-b63b-9add85f00f5f:node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9 :: true 2020-06-19 00:32:18 | [Mutex] waiting for: [received:nodes:77b706f2-ba7d-47f3-8cf2-0e8cfe0f36a0:localhost] 2020-06-19 00:32:18 | [Mutex] received everything. 2020-06-19 00:32:18 | [Mutex] isItemNotified: received:node:77b706f2-ba7d-47f3-8cf2-0e8cfe0f36a0:localhost:node-165ef976-db1d-4bba-b63b-9add85f00f5f:Node 165ef976-db1d-4bba-b63b-9add85f00f5f :: true 2020-06-19 00:32:18 | [Mutex] waiting for: [received:nodes:e5ce2106-5093-4aec-87c0-95df9b3518e7:localhost] 2020-06-19 00:32:18 | [Mutex] received everything. 2020-06-19 00:32:18 | [Mutex] isItemNotified: received:node:e5ce2106-5093-4aec-87c0-95df9b3518e7:localhost:node-165ef976-db1d-4bba-b63b-9add85f00f5f:Node 165ef976-db1d-4bba-b63b-9add85f00f5f :: false |
createNodes | 1.649s |
2020-06-19 00:32:14 |
2020-06-19 00:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:14 | ------------------------------------ 2020-06-19 00:32:15 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "pubsub#title": "Node 165ef976-db1d-4bba-b63b-9add85f00f5f" } 2020-06-19 00:32:15 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-19 00:32:16 | [Mutex] waiting for: [received:nodes:3552ec9a-0bee-431c-a66c-5f676396070f:localhost] 2020-06-19 00:32:16 | [Mutex] received everything. 2020-06-19 00:32:16 | [Mutex] isItemNotified: received:node:3552ec9a-0bee-431c-a66c-5f676396070f:localhost:node-165ef976-db1d-4bba-b63b-9add85f00f5f:Node 165ef976-db1d-4bba-b63b-9add85f00f5f :: true |
createSubnodes | 1.019s |
2020-06-19 00:32:16 |
2020-06-19 00:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:16 | ------------------------------------ 2020-06-19 00:32:16 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9", "pubsub#title": "Node 8fd50a8a-eea7-4f7e-938b-e32151d5abb9" } 2020-06-19 00:32:16 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-19 00:32:17 | [Mutex] waiting for: [received:nodes:f70e44e0-729e-4d9d-a02e-8c39f2f49198:localhost] 2020-06-19 00:32:17 | [Mutex] received everything. 2020-06-19 00:32:17 | [Mutex] isItemNotified: received:node:f70e44e0-729e-4d9d-a02e-8c39f2f49198:localhost:node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9:Node 8fd50a8a-eea7-4f7e-938b-e32151d5abb9 :: true |
deleteNodes | 1.017s |
2020-06-19 00:32:21 |
2020-06-19 00:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:21 | ------------------------------------ 2020-06-19 00:32:21 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9" } 2020-06-19 00:32:21 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-19 00:32:22 | [Mutex] waiting for: [received:nodes:59ad7a98-9afe-4b0f-842a-78241e07d675:localhost] 2020-06-19 00:32:22 | [Mutex] received everything. 2020-06-19 00:32:22 | [Mutex] isItemNotified: received:node:59ad7a98-9afe-4b0f-842a-78241e07d675:localhost:node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9:Node 8fd50a8a-eea7-4f7e-938b-e32151d5abb9 :: false |
deleteSubnodes | 1.028s |
2020-06-19 00:32:20 |
2020-06-19 00:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:20 | ------------------------------------ 2020-06-19 00:32:20 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f" } 2020-06-19 00:32:20 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-19 00:32:21 | [Mutex] waiting for: [received:nodes:0f8b4efd-6fa8-4867-ad8e-67c3edc5f3da:localhost] 2020-06-19 00:32:21 | [Mutex] received everything. 2020-06-19 00:32:21 | [Mutex] isItemNotified: received:node:0f8b4efd-6fa8-4867-ad8e-67c3edc5f3da:localhost:node-165ef976-db1d-4bba-b63b-9add85f00f5f:Node 165ef976-db1d-4bba-b63b-9add85f00f5f :: false 2020-06-19 00:32:21 | [Mutex] waiting for: [received:nodes:58b641f3-868c-456e-8480-2695c0bbde29:localhost] 2020-06-19 00:32:21 | [Mutex] received everything. 2020-06-19 00:32:21 | [Mutex] isItemNotified: received:node:58b641f3-868c-456e-8480-2695c0bbde29:localhost:node-165ef976-db1d-4bba-b63b-9add85f00f5f:Node 165ef976-db1d-4bba-b63b-9add85f00f5f :: false |
publishItemsToNodes | 0.041s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "entry": "<test>item-81ba0893-f957-4feb-b572-3c6d22e00611</test>", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611" } 2020-06-19 00:32:19 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611" } 2020-06-19 00:32:19 | [Mutex] waiting for: [published:item:notifieditem-81ba0893-f957-4feb-b572-3c6d22e00611:admin@localhost] 2020-06-19 00:32:19 | [Mutex] received everything. 2020-06-19 00:32:19 | [Mutex] isItemNotified: published:item:notifieditem-81ba0893-f957-4feb-b572-3c6d22e00611:admin@localhost :: true |
retractItemsFromNodes | 0.071s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611" } 2020-06-19 00:32:19 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611" } 2020-06-19 00:32:19 | [Mutex] received everything. 2020-06-19 00:32:19 | [Mutex] isItemNotified: retracted:item:notifieditem-81ba0893-f957-4feb-b572-3c6d22e00611:admin@localhost :: true |
retrieveItemsFromNodes | 0.052s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611" } 2020-06-19 00:32:19 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "item-id": "item-81ba0893-f957-4feb-b572-3c6d22e00611", "item": [ "<item id=\"item-81ba0893-f957-4feb-b572-3c6d22e00611\"><test>item-81ba0893-f957-4feb-b572-3c6d22e00611</test></item>" ] } 2020-06-19 00:32:19 | [Mutex] notify: [retrieved:item:item-81ba0893-f957-4feb-b572-3c6d22e00611:payload-matches:true:localhost] 2020-06-19 00:32:19 | [Mutex] received everything. 2020-06-19 00:32:19 | [Mutex] isItemNotified: retrieved:item:item-81ba0893-f957-4feb-b572-3c6d22e00611:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-06-19 00:32:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "test", "node-8fd50a8a-eea7-4f7e-938b-e32151d5abb9" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-165ef976-db1d-4bba-b63b-9add85f00f5f)" } 2020-06-19 00:32:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2020-06-19 00:32:18 |
2020-06-19 00:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:18 | ------------------------------------ 2020-06-19 00:32:18 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "jids": [ "admin@localhost" ] } 2020-06-19 00:32:18 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.060s |
2020-06-19 00:32:19 |
2020-06-19 00:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-19 00:32:19 | ------------------------------------ 2020-06-19 00:32:19 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-165ef976-db1d-4bba-b63b-9add85f00f5f", "jids": [ "admin@localhost" ] } 2020-06-19 00:32:19 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |