Test duration: 8.992s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.098s |
2020-05-27 11:04:36 |
2020-05-27 11:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:36 | ------------------------------------ 2020-05-27 11:04:36 | [Mutex] waiting for: [configured:node:node-29628937-3436-454e-b4e1-8827f8975497:node-a5a3b8a2-6af0-4e48-886f-dc581f45b338] 2020-05-27 11:04:36 | [Mutex] received everything. 2020-05-27 11:04:36 | [Mutex] isItemNotified: configured:node:node-29628937-3436-454e-b4e1-8827f8975497:node-a5a3b8a2-6af0-4e48-886f-dc581f45b338 :: true 2020-05-27 11:04:37 | [Mutex] waiting for: [received:nodes:161d11ed-83aa-4afb-ad07-8acef43cbde6:localhost] 2020-05-27 11:04:37 | [Mutex] received everything. 2020-05-27 11:04:37 | [Mutex] isItemNotified: received:node:161d11ed-83aa-4afb-ad07-8acef43cbde6:localhost:node-29628937-3436-454e-b4e1-8827f8975497:Node 29628937-3436-454e-b4e1-8827f8975497 :: true 2020-05-27 11:04:37 | [Mutex] waiting for: [received:nodes:05441f52-06c9-4b7b-b1c1-09b88677f1fc:localhost] 2020-05-27 11:04:37 | [Mutex] received everything. 2020-05-27 11:04:37 | [Mutex] isItemNotified: received:node:05441f52-06c9-4b7b-b1c1-09b88677f1fc:localhost:node-29628937-3436-454e-b4e1-8827f8975497:Node 29628937-3436-454e-b4e1-8827f8975497 :: false |
createNodes | 1.674s |
2020-05-27 11:04:34 |
2020-05-27 11:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:34 | ------------------------------------ 2020-05-27 11:04:34 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-29628937-3436-454e-b4e1-8827f8975497", "pubsub#title": "Node 29628937-3436-454e-b4e1-8827f8975497" } 2020-05-27 11:04:34 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 11:04:35 | [Mutex] waiting for: [received:nodes:a7df3c4e-7973-4163-900a-7e42dbaa6dc7:localhost] 2020-05-27 11:04:35 | [Mutex] received everything. 2020-05-27 11:04:35 | [Mutex] isItemNotified: received:node:a7df3c4e-7973-4163-900a-7e42dbaa6dc7:localhost:node-29628937-3436-454e-b4e1-8827f8975497:Node 29628937-3436-454e-b4e1-8827f8975497 :: true |
createSubnodes | 1.020s |
2020-05-27 11:04:35 |
2020-05-27 11:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:35 | ------------------------------------ 2020-05-27 11:04:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-a5a3b8a2-6af0-4e48-886f-dc581f45b338", "pubsub#title": "Node a5a3b8a2-6af0-4e48-886f-dc581f45b338" } 2020-05-27 11:04:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 11:04:36 | [Mutex] waiting for: [received:nodes:75864562-41ce-4842-8d3d-de97e534789e:localhost] 2020-05-27 11:04:36 | [Mutex] received everything. 2020-05-27 11:04:36 | [Mutex] isItemNotified: received:node:75864562-41ce-4842-8d3d-de97e534789e:localhost:node-a5a3b8a2-6af0-4e48-886f-dc581f45b338:Node a5a3b8a2-6af0-4e48-886f-dc581f45b338 :: true |
deleteNodes | 1.016s |
2020-05-27 11:04:41 |
2020-05-27 11:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:41 | ------------------------------------ 2020-05-27 11:04:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-a5a3b8a2-6af0-4e48-886f-dc581f45b338" } 2020-05-27 11:04:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 11:04:42 | [Mutex] waiting for: [received:nodes:0b1b72ea-cab7-46aa-bc94-595577c4245c:localhost] 2020-05-27 11:04:42 | [Mutex] received everything. 2020-05-27 11:04:42 | [Mutex] isItemNotified: received:node:0b1b72ea-cab7-46aa-bc94-595577c4245c:localhost:node-a5a3b8a2-6af0-4e48-886f-dc581f45b338:Node a5a3b8a2-6af0-4e48-886f-dc581f45b338 :: false |
deleteSubnodes | 1.029s |
2020-05-27 11:04:40 |
2020-05-27 11:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:40 | ------------------------------------ 2020-05-27 11:04:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497" } 2020-05-27 11:04:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 11:04:41 | [Mutex] waiting for: [received:nodes:e2d2e9f7-86b3-4296-90fc-c0fc93919547:localhost] 2020-05-27 11:04:41 | [Mutex] received everything. 2020-05-27 11:04:41 | [Mutex] isItemNotified: received:node:e2d2e9f7-86b3-4296-90fc-c0fc93919547:localhost:node-29628937-3436-454e-b4e1-8827f8975497:Node 29628937-3436-454e-b4e1-8827f8975497 :: false 2020-05-27 11:04:41 | [Mutex] waiting for: [received:nodes:307ec936-e7a6-4fe0-86f8-23d7e1445a36:localhost] 2020-05-27 11:04:41 | [Mutex] received everything. 2020-05-27 11:04:41 | [Mutex] isItemNotified: received:node:307ec936-e7a6-4fe0-86f8-23d7e1445a36:localhost:node-29628937-3436-454e-b4e1-8827f8975497:Node 29628937-3436-454e-b4e1-8827f8975497 :: false |
publishItemsToNodes | 0.035s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497", "entry": "<test>item-13bd1884-88c6-4feb-91a3-92cf75a55471</test>", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471" } 2020-05-27 11:04:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471" } 2020-05-27 11:04:39 | [Mutex] waiting for: [published:item:notifieditem-13bd1884-88c6-4feb-91a3-92cf75a55471:admin@localhost] 2020-05-27 11:04:39 | [Mutex] received everything. 2020-05-27 11:04:39 | [Mutex] isItemNotified: published:item:notifieditem-13bd1884-88c6-4feb-91a3-92cf75a55471:admin@localhost :: true |
retractItemsFromNodes | 0.079s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471" } 2020-05-27 11:04:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471" } 2020-05-27 11:04:39 | [Mutex] waiting for: [retracted:item:notifieditem-13bd1884-88c6-4feb-91a3-92cf75a55471:admin@localhost] 2020-05-27 11:04:39 | [Mutex] received everything. 2020-05-27 11:04:39 | [Mutex] isItemNotified: retracted:item:notifieditem-13bd1884-88c6-4feb-91a3-92cf75a55471:admin@localhost :: true |
retrieveItemsFromNodes | 0.063s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471" } 2020-05-27 11:04:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-29628937-3436-454e-b4e1-8827f8975497", "item-id": "item-13bd1884-88c6-4feb-91a3-92cf75a55471", "item": [ "<item id=\"item-13bd1884-88c6-4feb-91a3-92cf75a55471\"><test>item-13bd1884-88c6-4feb-91a3-92cf75a55471</test></item>" ] } 2020-05-27 11:04:39 | [Mutex] notify: [retrieved:item:item-13bd1884-88c6-4feb-91a3-92cf75a55471:payload-matches:true:localhost] 2020-05-27 11:04:39 | [Mutex] received everything. 2020-05-27 11:04:39 | [Mutex] isItemNotified: retrieved:item:item-13bd1884-88c6-4feb-91a3-92cf75a55471:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-05-27 11:04:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-a5a3b8a2-6af0-4e48-886f-dc581f45b338", "node-29628937-3436-454e-b4e1-8827f8975497" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-29628937-3436-454e-b4e1-8827f8975497)" } 2020-05-27 11:04:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2020-05-27 11:04:37 |
2020-05-27 11:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:37 | ------------------------------------ 2020-05-27 11:04:37 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497", "jids": [ "admin@localhost" ] } 2020-05-27 11:04:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.069s |
2020-05-27 11:04:39 |
2020-05-27 11:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 11:04:39 | ------------------------------------ 2020-05-27 11:04:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-29628937-3436-454e-b4e1-8827f8975497", "jids": [ "admin@localhost" ] } 2020-05-27 11:04:39 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |