Test duration: 8.971s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.106s |
2019-11-24 20:14:53 |
2019-11-24 20:14:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:53 | ------------------------------------ 2019-11-24 20:14:53 | [Mutex] waiting for: [configured:node:node-23d717aa-440f-4e60-b609-560ce0f58d62:node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9] 2019-11-24 20:14:53 | [Mutex] received everything. 2019-11-24 20:14:53 | [Mutex] isItemNotified: configured:node:node-23d717aa-440f-4e60-b609-560ce0f58d62:node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9 :: true 2019-11-24 20:14:54 | [Mutex] waiting for: [received:nodes:71d0edd4-0c2e-402e-968a-bae403be727b:localhost] 2019-11-24 20:14:54 | [Mutex] received everything. 2019-11-24 20:14:54 | [Mutex] isItemNotified: received:node:71d0edd4-0c2e-402e-968a-bae403be727b:localhost:node-23d717aa-440f-4e60-b609-560ce0f58d62:Node 23d717aa-440f-4e60-b609-560ce0f58d62 :: true 2019-11-24 20:14:54 | [Mutex] waiting for: [received:nodes:78994aec-e2d9-4f56-bb67-3c3db98d7d3a:localhost] 2019-11-24 20:14:54 | [Mutex] received everything. 2019-11-24 20:14:54 | [Mutex] isItemNotified: received:node:78994aec-e2d9-4f56-bb67-3c3db98d7d3a:localhost:node-23d717aa-440f-4e60-b609-560ce0f58d62:Node 23d717aa-440f-4e60-b609-560ce0f58d62 :: false |
createNodes | 1.752s |
2019-11-24 20:14:50 |
2019-11-24 20:14:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:50 | ------------------------------------ 2019-11-24 20:14:51 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "pubsub#title": "Node 23d717aa-440f-4e60-b609-560ce0f58d62" } 2019-11-24 20:14:51 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-24 20:14:52 | [Mutex] waiting for: [received:nodes:97f88786-7768-4170-98a1-3f1382a41ad0:localhost] 2019-11-24 20:14:52 | [Mutex] received everything. 2019-11-24 20:14:52 | [Mutex] isItemNotified: received:node:97f88786-7768-4170-98a1-3f1382a41ad0:localhost:node-23d717aa-440f-4e60-b609-560ce0f58d62:Node 23d717aa-440f-4e60-b609-560ce0f58d62 :: true |
createSubnodes | 1.032s |
2019-11-24 20:14:52 |
2019-11-24 20:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:52 | ------------------------------------ 2019-11-24 20:14:52 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9", "pubsub#title": "Node 2502e524-314b-4cb5-b8ae-79fd5c2a3bb9" } 2019-11-24 20:14:52 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-24 20:14:53 | [Mutex] waiting for: [received:nodes:9b5b9dc8-48c8-4ffe-b352-dfd79b5318d5:localhost] 2019-11-24 20:14:53 | [Mutex] received everything. 2019-11-24 20:14:53 | [Mutex] isItemNotified: received:node:9b5b9dc8-48c8-4ffe-b352-dfd79b5318d5:localhost:node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9:Node 2502e524-314b-4cb5-b8ae-79fd5c2a3bb9 :: true |
deleteNodes | 1.019s |
2019-11-24 20:14:58 |
2019-11-24 20:14:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:58 | ------------------------------------ 2019-11-24 20:14:58 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9" } 2019-11-24 20:14:58 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-24 20:14:59 | [Mutex] waiting for: [received:nodes:db81cc20-6204-495b-ba57-72ad20ba31f8:localhost] 2019-11-24 20:14:59 | [Mutex] received everything. 2019-11-24 20:14:59 | [Mutex] isItemNotified: received:node:db81cc20-6204-495b-ba57-72ad20ba31f8:localhost:node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9:Node 2502e524-314b-4cb5-b8ae-79fd5c2a3bb9 :: false |
deleteSubnodes | 1.034s |
2019-11-24 20:14:57 |
2019-11-24 20:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:57 | ------------------------------------ 2019-11-24 20:14:57 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62" } 2019-11-24 20:14:57 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-24 20:14:58 | [Mutex] waiting for: [received:nodes:250d5612-13ed-4068-b3de-539180914cf0:localhost] 2019-11-24 20:14:58 | [Mutex] received everything. 2019-11-24 20:14:58 | [Mutex] isItemNotified: received:node:250d5612-13ed-4068-b3de-539180914cf0:localhost:node-23d717aa-440f-4e60-b609-560ce0f58d62:Node 23d717aa-440f-4e60-b609-560ce0f58d62 :: false 2019-11-24 20:14:58 | [Mutex] waiting for: [received:nodes:6ca4e08a-6caa-4ece-98b2-503b0da187d6:localhost] 2019-11-24 20:14:58 | [Mutex] received everything. 2019-11-24 20:14:58 | [Mutex] isItemNotified: received:node:6ca4e08a-6caa-4ece-98b2-503b0da187d6:localhost:node-23d717aa-440f-4e60-b609-560ce0f58d62:Node 23d717aa-440f-4e60-b609-560ce0f58d62 :: false |
publishItemsToNodes | 0.057s |
2019-11-24 20:14:55 |
2019-11-24 20:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:55 | ------------------------------------ 2019-11-24 20:14:55 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "entry": "<test>item-a82373bd-d571-4ba3-8398-4cd8f38713fe</test>", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe" } 2019-11-24 20:14:55 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe" } 2019-11-24 20:14:55 | [Mutex] waiting for: [published:item:notifieditem-a82373bd-d571-4ba3-8398-4cd8f38713fe:admin@localhost] 2019-11-24 20:14:55 | [Mutex] received everything. 2019-11-24 20:14:55 | [Mutex] isItemNotified: published:item:notifieditem-a82373bd-d571-4ba3-8398-4cd8f38713fe:admin@localhost :: true |
retractItemsFromNodes | 0.096s |
2019-11-24 20:14:55 |
2019-11-24 20:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:55 | ------------------------------------ 2019-11-24 20:14:55 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe" } 2019-11-24 20:14:55 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe" } 2019-11-24 20:14:55 | [Mutex] waiting for: [retracted:item:notifieditem-a82373bd-d571-4ba3-8398-4cd8f38713fe:admin@localhost] 2019-11-24 20:14:56 | [Mutex] received everything. 2019-11-24 20:14:56 | [Mutex] isItemNotified: retracted:item:notifieditem-a82373bd-d571-4ba3-8398-4cd8f38713fe:admin@localhost :: true |
retrieveItemsFromNodes | 0.015s |
2019-11-24 20:14:55 |
2019-11-24 20:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:55 | ------------------------------------ 2019-11-24 20:14:55 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe" } 2019-11-24 20:14:55 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "item-id": "item-a82373bd-d571-4ba3-8398-4cd8f38713fe", "item": [ "<item id=\"item-a82373bd-d571-4ba3-8398-4cd8f38713fe\"><test>item-a82373bd-d571-4ba3-8398-4cd8f38713fe</test></item>" ] } 2019-11-24 20:14:55 | [Mutex] notify: [retrieved:item:item-a82373bd-d571-4ba3-8398-4cd8f38713fe:payload-matches:true:localhost] 2019-11-24 20:14:55 | [Mutex] received everything. 2019-11-24 20:14:55 | [Mutex] isItemNotified: retrieved:item:item-a82373bd-d571-4ba3-8398-4cd8f38713fe:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2019-11-24 20:14:55 |
2019-11-24 20:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:55 | ------------------------------------ 2019-11-24 20:14:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2019-11-24 20:14:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-23d717aa-440f-4e60-b609-560ce0f58d62", "node-2502e524-314b-4cb5-b8ae-79fd5c2a3bb9" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2019-11-24 20:14:55 |
2019-11-24 20:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:55 | ------------------------------------ 2019-11-24 20:14:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-23d717aa-440f-4e60-b609-560ce0f58d62)" } 2019-11-24 20:14:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.015s |
2019-11-24 20:14:54 |
2019-11-24 20:14:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:54 | ------------------------------------ 2019-11-24 20:14:54 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "jids": [ "admin@localhost" ] } 2019-11-24 20:14:54 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.017s |
2019-11-24 20:14:56 |
2019-11-24 20:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-24 20:14:56 | ------------------------------------ 2019-11-24 20:14:56 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-23d717aa-440f-4e60-b609-560ce0f58d62", "jids": [ "admin@localhost" ] } 2019-11-24 20:14:56 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |