Test duration: 8.797s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.119s |
2019-11-20 20:34:09 |
2019-11-20 20:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:09 | ------------------------------------ 2019-11-20 20:34:09 | [Mutex] waiting for: [configured:node:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:node-e132da81-7dfc-4246-b640-0d18f5e2e9d0] 2019-11-20 20:34:09 | [Mutex] received everything. 2019-11-20 20:34:09 | [Mutex] isItemNotified: configured:node:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:node-e132da81-7dfc-4246-b640-0d18f5e2e9d0 :: true 2019-11-20 20:34:10 | [Mutex] waiting for: [received:nodes:2bcd198c-f684-47e9-89dd-ea52cdc0c4d5:localhost] 2019-11-20 20:34:10 | [Mutex] received everything. 2019-11-20 20:34:10 | [Mutex] isItemNotified: received:node:2bcd198c-f684-47e9-89dd-ea52cdc0c4d5:localhost:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1 :: true 2019-11-20 20:34:10 | [Mutex] waiting for: [received:nodes:32f03ec1-8fed-41ba-848d-fe43c37309e1:localhost] 2019-11-20 20:34:10 | [Mutex] received everything. 2019-11-20 20:34:10 | [Mutex] isItemNotified: received:node:32f03ec1-8fed-41ba-848d-fe43c37309e1:localhost:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1 :: false |
createNodes | 1.603s |
2019-11-20 20:34:06 |
2019-11-20 20:34:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:06 | ------------------------------------ 2019-11-20 20:34:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "pubsub#title": "Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1" } 2019-11-20 20:34:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-20 20:34:08 | [Mutex] waiting for: [received:nodes:7c6881e8-75af-4ffb-b950-6ea6ef88f812:localhost] 2019-11-20 20:34:08 | [Mutex] received everything. 2019-11-20 20:34:08 | [Mutex] isItemNotified: received:node:7c6881e8-75af-4ffb-b950-6ea6ef88f812:localhost:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1 :: true |
createSubnodes | 1.026s |
2019-11-20 20:34:08 |
2019-11-20 20:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:08 | ------------------------------------ 2019-11-20 20:34:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-e132da81-7dfc-4246-b640-0d18f5e2e9d0", "pubsub#title": "Node e132da81-7dfc-4246-b640-0d18f5e2e9d0" } 2019-11-20 20:34:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-20 20:34:09 | [Mutex] waiting for: [received:nodes:507add9e-7b37-4d90-8344-dffb5994983d:localhost] 2019-11-20 20:34:09 | [Mutex] received everything. 2019-11-20 20:34:09 | [Mutex] isItemNotified: received:node:507add9e-7b37-4d90-8344-dffb5994983d:localhost:node-e132da81-7dfc-4246-b640-0d18f5e2e9d0:Node e132da81-7dfc-4246-b640-0d18f5e2e9d0 :: true |
deleteNodes | 1.022s |
2019-11-20 20:34:13 |
2019-11-20 20:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:13 | ------------------------------------ 2019-11-20 20:34:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e132da81-7dfc-4246-b640-0d18f5e2e9d0" } 2019-11-20 20:34:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-20 20:34:14 | [Mutex] waiting for: [received:nodes:617290f9-afd9-4e64-a3c2-8e6010a77584:localhost] 2019-11-20 20:34:14 | [Mutex] waiting for: [received:nodes:617290f9-afd9-4e64-a3c2-8e6010a77584:localhost] 2019-11-20 20:34:14 | [Mutex] received everything. 2019-11-20 20:34:14 | [Mutex] isItemNotified: received:node:617290f9-afd9-4e64-a3c2-8e6010a77584:localhost:node-e132da81-7dfc-4246-b640-0d18f5e2e9d0:Node e132da81-7dfc-4246-b640-0d18f5e2e9d0 :: false |
deleteSubnodes | 1.036s |
2019-11-20 20:34:12 |
2019-11-20 20:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:12 | ------------------------------------ 2019-11-20 20:34:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1" } 2019-11-20 20:34:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2019-11-20 20:34:13 | [Mutex] waiting for: [received:nodes:03856c39-ccee-4687-b634-b6dcc51ac9ac:localhost] 2019-11-20 20:34:13 | [Mutex] received everything. 2019-11-20 20:34:13 | [Mutex] isItemNotified: received:node:03856c39-ccee-4687-b634-b6dcc51ac9ac:localhost:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1 :: false 2019-11-20 20:34:13 | [Mutex] waiting for: [received:nodes:8b27f1f5-c928-4658-acd2-db19c4766777:localhost] 2019-11-20 20:34:13 | [Mutex] received everything. 2019-11-20 20:34:13 | [Mutex] isItemNotified: received:node:8b27f1f5-c928-4658-acd2-db19c4766777:localhost:node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1:Node f91a7f7b-2564-4a30-8fd5-6cb6108e99f1 :: false |
publishItemsToNodes | 0.039s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "entry": "<test>item-b7c53086-cc38-47db-9974-b3468dca84d0</test>", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0" } 2019-11-20 20:34:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0" } 2019-11-20 20:34:11 | [Mutex] waiting for: [published:item:notifieditem-b7c53086-cc38-47db-9974-b3468dca84d0:admin@localhost] 2019-11-20 20:34:11 | [Mutex] received everything. 2019-11-20 20:34:11 | [Mutex] isItemNotified: published:item:notifieditem-b7c53086-cc38-47db-9974-b3468dca84d0:admin@localhost :: true |
retractItemsFromNodes | 0.051s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0" } 2019-11-20 20:34:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0" } 2019-11-20 20:34:11 | [Mutex] received everything. 2019-11-20 20:34:11 | [Mutex] isItemNotified: retracted:item:notifieditem-b7c53086-cc38-47db-9974-b3468dca84d0:admin@localhost :: true |
retrieveItemsFromNodes | 0.068s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0" } 2019-11-20 20:34:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "item-id": "item-b7c53086-cc38-47db-9974-b3468dca84d0", "item": [ "<item id=\"item-b7c53086-cc38-47db-9974-b3468dca84d0\"><test>item-b7c53086-cc38-47db-9974-b3468dca84d0</test></item>" ] } 2019-11-20 20:34:11 | [Mutex] notify: [retrieved:item:item-b7c53086-cc38-47db-9974-b3468dca84d0:payload-matches:true:localhost] 2019-11-20 20:34:11 | [Mutex] received everything. 2019-11-20 20:34:11 | [Mutex] isItemNotified: retrieved:item:item-b7c53086-cc38-47db-9974-b3468dca84d0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2019-11-20 20:34:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "node-e132da81-7dfc-4246-b640-0d18f5e2e9d0" ] } |
retrieveUserSubscriptionsWithRegex | 0.050s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1)" } 2019-11-20 20:34:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2019-11-20 20:34:10 |
2019-11-20 20:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:10 | ------------------------------------ 2019-11-20 20:34:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "jids": [ "admin@localhost" ] } 2019-11-20 20:34:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2019-11-20 20:34:11 |
2019-11-20 20:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2019-11-20 20:34:11 | ------------------------------------ 2019-11-20 20:34:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-f91a7f7b-2564-4a30-8fd5-6cb6108e99f1", "jids": [ "admin@localhost" ] } 2019-11-20 20:34:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |