Test duration: 8.971s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.086s |
2020-06-30 01:11:19 |
2020-06-30 01:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:19 | ------------------------------------ 2020-06-30 01:11:19 | [Mutex] waiting for: [configured:node:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:node-73681bc3-c3e6-4d1a-a32c-67cc55b86563] 2020-06-30 01:11:19 | [Mutex] received everything. 2020-06-30 01:11:19 | [Mutex] isItemNotified: configured:node:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:node-73681bc3-c3e6-4d1a-a32c-67cc55b86563 :: true 2020-06-30 01:11:20 | [Mutex] waiting for: [received:nodes:7f657722-ed3d-463c-ad45-b1f89df750dc:localhost] 2020-06-30 01:11:20 | [Mutex] received everything. 2020-06-30 01:11:20 | [Mutex] isItemNotified: received:node:7f657722-ed3d-463c-ad45-b1f89df750dc:localhost:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d :: true 2020-06-30 01:11:20 | [Mutex] waiting for: [received:nodes:0f4de801-b059-4465-a442-de92e1b767d4:localhost] 2020-06-30 01:11:20 | [Mutex] received everything. 2020-06-30 01:11:20 | [Mutex] isItemNotified: received:node:0f4de801-b059-4465-a442-de92e1b767d4:localhost:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d :: false |
createNodes | 1.762s |
2020-06-30 01:11:16 |
2020-06-30 01:11:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:16 | ------------------------------------ 2020-06-30 01:11:17 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "pubsub#title": "Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d" } 2020-06-30 01:11:17 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-30 01:11:18 | [Mutex] waiting for: [received:nodes:83a0af60-6895-476b-954f-0597c559299f:localhost] 2020-06-30 01:11:18 | [Mutex] received everything. 2020-06-30 01:11:18 | [Mutex] isItemNotified: received:node:83a0af60-6895-476b-954f-0597c559299f:localhost:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d :: true |
createSubnodes | 1.019s |
2020-06-30 01:11:18 |
2020-06-30 01:11:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:18 | ------------------------------------ 2020-06-30 01:11:18 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-73681bc3-c3e6-4d1a-a32c-67cc55b86563", "pubsub#title": "Node 73681bc3-c3e6-4d1a-a32c-67cc55b86563" } 2020-06-30 01:11:18 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-30 01:11:19 | [Mutex] waiting for: [received:nodes:3d782c44-d9a7-4fc3-b0f4-1233a2c551cf:localhost] 2020-06-30 01:11:19 | [Mutex] received everything. 2020-06-30 01:11:19 | [Mutex] isItemNotified: received:node:3d782c44-d9a7-4fc3-b0f4-1233a2c551cf:localhost:node-73681bc3-c3e6-4d1a-a32c-67cc55b86563:Node 73681bc3-c3e6-4d1a-a32c-67cc55b86563 :: true |
deleteNodes | 1.016s |
2020-06-30 01:11:23 |
2020-06-30 01:11:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:23 | ------------------------------------ 2020-06-30 01:11:23 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-73681bc3-c3e6-4d1a-a32c-67cc55b86563" } 2020-06-30 01:11:23 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-30 01:11:24 | [Mutex] waiting for: [received:nodes:389c33cc-9884-471c-acff-8b644d2605f0:localhost] 2020-06-30 01:11:24 | [Mutex] received everything. 2020-06-30 01:11:24 | [Mutex] isItemNotified: received:node:389c33cc-9884-471c-acff-8b644d2605f0:localhost:node-73681bc3-c3e6-4d1a-a32c-67cc55b86563:Node 73681bc3-c3e6-4d1a-a32c-67cc55b86563 :: false |
deleteSubnodes | 1.023s |
2020-06-30 01:11:22 |
2020-06-30 01:11:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:22 | ------------------------------------ 2020-06-30 01:11:22 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d" } 2020-06-30 01:11:22 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-30 01:11:23 | [Mutex] waiting for: [received:nodes:c3211cf7-ec7b-454e-954b-099860b0f08e:localhost] 2020-06-30 01:11:23 | [Mutex] received everything. 2020-06-30 01:11:23 | [Mutex] isItemNotified: received:node:c3211cf7-ec7b-454e-954b-099860b0f08e:localhost:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d :: false 2020-06-30 01:11:23 | [Mutex] waiting for: [received:nodes:e64017e3-071c-4b74-b88d-fcddebcd6471:localhost] 2020-06-30 01:11:23 | [Mutex] received everything. 2020-06-30 01:11:23 | [Mutex] isItemNotified: received:node:e64017e3-071c-4b74-b88d-fcddebcd6471:localhost:node-3241dbb0-5f79-428c-bb68-9c61bc33a49d:Node 3241dbb0-5f79-428c-bb68-9c61bc33a49d :: false |
publishItemsToNodes | 0.044s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "entry": "<test>item-1db3b325-b97b-46d8-bc18-6b3c8f465407</test>", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407" } 2020-06-30 01:11:21 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407" } 2020-06-30 01:11:21 | [Mutex] waiting for: [published:item:notifieditem-1db3b325-b97b-46d8-bc18-6b3c8f465407:admin@localhost] 2020-06-30 01:11:21 | [Mutex] received everything. 2020-06-30 01:11:21 | [Mutex] isItemNotified: published:item:notifieditem-1db3b325-b97b-46d8-bc18-6b3c8f465407:admin@localhost :: true |
retractItemsFromNodes | 0.063s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407" } 2020-06-30 01:11:21 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407" } 2020-06-30 01:11:21 | [Mutex] waiting for: [retracted:item:notifieditem-1db3b325-b97b-46d8-bc18-6b3c8f465407:admin@localhost] 2020-06-30 01:11:21 | [Mutex] received everything. 2020-06-30 01:11:21 | [Mutex] isItemNotified: retracted:item:notifieditem-1db3b325-b97b-46d8-bc18-6b3c8f465407:admin@localhost :: true |
retrieveItemsFromNodes | 0.054s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407" } 2020-06-30 01:11:21 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "item-id": "item-1db3b325-b97b-46d8-bc18-6b3c8f465407", "item": [ "<item id=\"item-1db3b325-b97b-46d8-bc18-6b3c8f465407\"><test>item-1db3b325-b97b-46d8-bc18-6b3c8f465407</test></item>" ] } 2020-06-30 01:11:21 | [Mutex] notify: [retrieved:item:item-1db3b325-b97b-46d8-bc18-6b3c8f465407:payload-matches:true:localhost] 2020-06-30 01:11:21 | [Mutex] received everything. 2020-06-30 01:11:21 | [Mutex] isItemNotified: retrieved:item:item-1db3b325-b97b-46d8-bc18-6b3c8f465407:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-06-30 01:11:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-73681bc3-c3e6-4d1a-a32c-67cc55b86563", "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-3241dbb0-5f79-428c-bb68-9c61bc33a49d)" } 2020-06-30 01:11:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.018s |
2020-06-30 01:11:20 |
2020-06-30 01:11:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:20 | ------------------------------------ 2020-06-30 01:11:20 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "jids": [ "admin@localhost" ] } 2020-06-30 01:11:20 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.077s |
2020-06-30 01:11:21 |
2020-06-30 01:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-30 01:11:21 | ------------------------------------ 2020-06-30 01:11:21 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-3241dbb0-5f79-428c-bb68-9c61bc33a49d", "jids": [ "admin@localhost" ] } 2020-06-30 01:11:21 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |