Test duration : 8.695s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.108s |
2022-06-06 22:38:11 |
2022-06-06 22:38:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:11 | ------------------------------------ 2022-06-06 22:38:11 | [Mutex] waiting for: [configured:node:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3] 2022-06-06 22:38:11 | [Mutex] received everything. 2022-06-06 22:38:11 | [Mutex] isItemNotified: configured:node:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3 :: true 2022-06-06 22:38:12 | [Mutex] waiting for: [received:nodes:f34b83b2-02e9-4850-98b7-a31331970100:localhost] 2022-06-06 22:38:12 | [Mutex] received everything. 2022-06-06 22:38:12 | [Mutex] isItemNotified: received:node:f34b83b2-02e9-4850-98b7-a31331970100:localhost:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:Node 9544f415-e5bd-452b-a261-2170f5cfcdb9 :: true 2022-06-06 22:38:12 | [Mutex] waiting for: [received:nodes:023f33ef-28c1-4e36-a966-d5545b600dab:localhost] 2022-06-06 22:38:12 | [Mutex] received everything. 2022-06-06 22:38:12 | [Mutex] isItemNotified: received:node:023f33ef-28c1-4e36-a966-d5545b600dab:localhost:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:Node 9544f415-e5bd-452b-a261-2170f5cfcdb9 :: false |
createNodes | 1.610s |
2022-06-06 22:38:08 |
2022-06-06 22:38:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:08 | ------------------------------------ 2022-06-06 22:38:09 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "pubsub#title": "Node 9544f415-e5bd-452b-a261-2170f5cfcdb9" } 2022-06-06 22:38:09 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-06 22:38:10 | [Mutex] waiting for: [received:nodes:70f2ed41-edd9-450e-b210-ee554540da25:localhost] 2022-06-06 22:38:10 | [Mutex] received everything. 2022-06-06 22:38:10 | [Mutex] isItemNotified: received:node:70f2ed41-edd9-450e-b210-ee554540da25:localhost:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:Node 9544f415-e5bd-452b-a261-2170f5cfcdb9 :: true |
createSubnodes | 1.028s |
2022-06-06 22:38:10 |
2022-06-06 22:38:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:10 | ------------------------------------ 2022-06-06 22:38:10 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3", "pubsub#title": "Node 7c08e8ea-324d-49ef-b161-ce3e4a1160e3" } 2022-06-06 22:38:10 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-06 22:38:11 | [Mutex] waiting for: [received:nodes:309d335f-5025-4ef1-adef-8dfc8d8a926e:localhost] 2022-06-06 22:38:11 | [Mutex] received everything. 2022-06-06 22:38:11 | [Mutex] isItemNotified: received:node:309d335f-5025-4ef1-adef-8dfc8d8a926e:localhost:node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3:Node 7c08e8ea-324d-49ef-b161-ce3e4a1160e3 :: true |
deleteNodes | 1.021s |
2022-06-06 22:38:16 |
2022-06-06 22:38:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:16 | ------------------------------------ 2022-06-06 22:38:16 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3" } 2022-06-06 22:38:16 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-06 22:38:17 | [Mutex] waiting for: [received:nodes:f605ea67-b35a-4946-b5bf-314af80a547c:localhost] 2022-06-06 22:38:17 | [Mutex] received everything. 2022-06-06 22:38:17 | [Mutex] isItemNotified: received:node:f605ea67-b35a-4946-b5bf-314af80a547c:localhost:node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3:Node 7c08e8ea-324d-49ef-b161-ce3e4a1160e3 :: false |
deleteSubnodes | 1.029s |
2022-06-06 22:38:15 |
2022-06-06 22:38:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:15 | ------------------------------------ 2022-06-06 22:38:15 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9" } 2022-06-06 22:38:15 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-06 22:38:16 | [Mutex] waiting for: [received:nodes:22feb300-c4f9-4e67-91ee-91904ea92195:localhost] 2022-06-06 22:38:16 | [Mutex] waiting for: [received:nodes:22feb300-c4f9-4e67-91ee-91904ea92195:localhost] 2022-06-06 22:38:16 | [Mutex] received everything. 2022-06-06 22:38:16 | [Mutex] isItemNotified: received:node:22feb300-c4f9-4e67-91ee-91904ea92195:localhost:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:Node 9544f415-e5bd-452b-a261-2170f5cfcdb9 :: false 2022-06-06 22:38:16 | [Mutex] waiting for: [received:nodes:735418e0-b5df-4d08-abce-eac0c49fe2e2:localhost] 2022-06-06 22:38:16 | [Mutex] received everything. 2022-06-06 22:38:16 | [Mutex] isItemNotified: received:node:735418e0-b5df-4d08-abce-eac0c49fe2e2:localhost:node-9544f415-e5bd-452b-a261-2170f5cfcdb9:Node 9544f415-e5bd-452b-a261-2170f5cfcdb9 :: false |
publishItemsToNodes | 0.121s |
2022-06-06 22:38:13 |
2022-06-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:13 | ------------------------------------ 2022-06-06 22:38:13 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "entry": "<test>item-e0e804e9-ad97-427d-9e26-7c2103d6af25</test>", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25" } 2022-06-06 22:38:13 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25" } 2022-06-06 22:38:13 | [Mutex] waiting for: [published:item:notifieditem-e0e804e9-ad97-427d-9e26-7c2103d6af25:admin@test-domain.com] 2022-06-06 22:38:13 | [Mutex] received everything. 2022-06-06 22:38:13 | [Mutex] isItemNotified: published:item:notifieditem-e0e804e9-ad97-427d-9e26-7c2103d6af25:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-06-06 22:38:14 |
2022-06-06 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:14 | ------------------------------------ 2022-06-06 22:38:14 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25" } 2022-06-06 22:38:14 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25" } 2022-06-06 22:38:14 | [Mutex] received everything. 2022-06-06 22:38:14 | [Mutex] isItemNotified: retracted:item:notifieditem-e0e804e9-ad97-427d-9e26-7c2103d6af25:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.051s |
2022-06-06 22:38:13 |
2022-06-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:13 | ------------------------------------ 2022-06-06 22:38:13 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25" } 2022-06-06 22:38:13 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "item-id": "item-e0e804e9-ad97-427d-9e26-7c2103d6af25", "item": [ "<item id=\"item-e0e804e9-ad97-427d-9e26-7c2103d6af25\"><test>item-e0e804e9-ad97-427d-9e26-7c2103d6af25</test></item>" ] } 2022-06-06 22:38:13 | [Mutex] notify: [retrieved:item:item-e0e804e9-ad97-427d-9e26-7c2103d6af25:payload-matches:true:localhost] 2022-06-06 22:38:13 | [Mutex] received everything. 2022-06-06 22:38:13 | [Mutex] isItemNotified: retrieved:item:item-e0e804e9-ad97-427d-9e26-7c2103d6af25:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-06 22:38:13 |
2022-06-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:13 | ------------------------------------ 2022-06-06 22:38:13 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-06-06 22:38:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "node-7c08e8ea-324d-49ef-b161-ce3e4a1160e3" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2022-06-06 22:38:13 |
2022-06-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:13 | ------------------------------------ 2022-06-06 22:38:13 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-9544f415-e5bd-452b-a261-2170f5cfcdb9)" } 2022-06-06 22:38:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2022-06-06 22:38:12 |
2022-06-06 22:38:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:12 | ------------------------------------ 2022-06-06 22:38:12 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "jids": [ "admin@test-domain.com" ] } 2022-06-06 22:38:12 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2022-06-06 22:38:14 |
2022-06-06 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-06 22:38:14 | ------------------------------------ 2022-06-06 22:38:14 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-9544f415-e5bd-452b-a261-2170f5cfcdb9", "jids": [ "admin@test-domain.com" ] } 2022-06-06 22:38:14 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |