Test duration: 9.057s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2020-06-01 23:03:28 |
2020-06-01 23:03:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:28 | ------------------------------------ 2020-06-01 23:03:28 | [Mutex] waiting for: [configured:node:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:node-ca607609-b991-42b9-99ef-5934b5c122a8] 2020-06-01 23:03:28 | [Mutex] received everything. 2020-06-01 23:03:28 | [Mutex] isItemNotified: configured:node:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:node-ca607609-b991-42b9-99ef-5934b5c122a8 :: true 2020-06-01 23:03:29 | [Mutex] waiting for: [received:nodes:0d88f688-7c8d-4162-9d4d-3fa326519274:localhost] 2020-06-01 23:03:29 | [Mutex] received everything. 2020-06-01 23:03:29 | [Mutex] isItemNotified: received:node:0d88f688-7c8d-4162-9d4d-3fa326519274:localhost:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0 :: true 2020-06-01 23:03:29 | [Mutex] waiting for: [received:nodes:860fdc14-3f57-4f60-b47e-a0e08ee40084:localhost] 2020-06-01 23:03:29 | [Mutex] received everything. 2020-06-01 23:03:29 | [Mutex] isItemNotified: received:node:860fdc14-3f57-4f60-b47e-a0e08ee40084:localhost:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0 :: false |
createNodes | 1.599s |
2020-06-01 23:03:25 |
2020-06-01 23:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:25 | ------------------------------------ 2020-06-01 23:03:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "pubsub#title": "Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0" } 2020-06-01 23:03:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-01 23:03:27 | [Mutex] waiting for: [received:nodes:e55b6b64-b0af-41a9-af9f-587b1494c6b6:localhost] 2020-06-01 23:03:27 | [Mutex] received everything. 2020-06-01 23:03:27 | [Mutex] isItemNotified: received:node:e55b6b64-b0af-41a9-af9f-587b1494c6b6:localhost:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0 :: true |
createSubnodes | 1.022s |
2020-06-01 23:03:27 |
2020-06-01 23:03:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:27 | ------------------------------------ 2020-06-01 23:03:27 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-ca607609-b991-42b9-99ef-5934b5c122a8", "pubsub#title": "Node ca607609-b991-42b9-99ef-5934b5c122a8" } 2020-06-01 23:03:27 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-01 23:03:28 | [Mutex] waiting for: [received:nodes:f12cc12a-05e5-4ed5-b8f7-70f4766e3062:localhost] 2020-06-01 23:03:28 | [Mutex] waiting for: [received:nodes:f12cc12a-05e5-4ed5-b8f7-70f4766e3062:localhost] 2020-06-01 23:03:28 | [Mutex] received everything. 2020-06-01 23:03:28 | [Mutex] isItemNotified: received:node:f12cc12a-05e5-4ed5-b8f7-70f4766e3062:localhost:node-ca607609-b991-42b9-99ef-5934b5c122a8:Node ca607609-b991-42b9-99ef-5934b5c122a8 :: true |
deleteNodes | 1.017s |
2020-06-01 23:03:33 |
2020-06-01 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:33 | ------------------------------------ 2020-06-01 23:03:33 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ca607609-b991-42b9-99ef-5934b5c122a8" } 2020-06-01 23:03:33 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-01 23:03:34 | [Mutex] waiting for: [received:nodes:35e14cb5-4454-45b0-9588-fc0aa6021c11:localhost] 2020-06-01 23:03:34 | [Mutex] received everything. 2020-06-01 23:03:34 | [Mutex] isItemNotified: received:node:35e14cb5-4454-45b0-9588-fc0aa6021c11:localhost:node-ca607609-b991-42b9-99ef-5934b5c122a8:Node ca607609-b991-42b9-99ef-5934b5c122a8 :: false |
deleteSubnodes | 1.023s |
2020-06-01 23:03:32 |
2020-06-01 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:32 | ------------------------------------ 2020-06-01 23:03:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0" } 2020-06-01 23:03:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-01 23:03:33 | [Mutex] waiting for: [received:nodes:f84f522b-cc8b-4f06-aed3-58d898638a52:localhost] 2020-06-01 23:03:33 | [Mutex] received everything. 2020-06-01 23:03:33 | [Mutex] isItemNotified: received:node:f84f522b-cc8b-4f06-aed3-58d898638a52:localhost:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0 :: false 2020-06-01 23:03:33 | [Mutex] waiting for: [received:nodes:10ef7447-2e22-4c8e-ba49-e1449b399851:localhost] 2020-06-01 23:03:33 | [Mutex] received everything. 2020-06-01 23:03:33 | [Mutex] isItemNotified: received:node:10ef7447-2e22-4c8e-ba49-e1449b399851:localhost:node-2a30e2b4-b524-491e-bb02-50f8a9f55af0:Node 2a30e2b4-b524-491e-bb02-50f8a9f55af0 :: false |
publishItemsToNodes | 0.064s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "entry": "<test>item-61a10753-50d3-4009-af43-c3b8e2c4500a</test>", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a" } 2020-06-01 23:03:30 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a" } 2020-06-01 23:03:30 | [Mutex] waiting for: [published:item:notifieditem-61a10753-50d3-4009-af43-c3b8e2c4500a:admin@localhost] 2020-06-01 23:03:30 | [Mutex] received everything. 2020-06-01 23:03:30 | [Mutex] isItemNotified: published:item:notifieditem-61a10753-50d3-4009-af43-c3b8e2c4500a:admin@localhost :: true |
retractItemsFromNodes | 0.061s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a" } 2020-06-01 23:03:30 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a" } 2020-06-01 23:03:30 | [Mutex] received everything. 2020-06-01 23:03:30 | [Mutex] isItemNotified: retracted:item:notifieditem-61a10753-50d3-4009-af43-c3b8e2c4500a:admin@localhost :: true |
retrieveItemsFromNodes | 0.019s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a" } 2020-06-01 23:03:30 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "item-id": "item-61a10753-50d3-4009-af43-c3b8e2c4500a", "item": [ "<item id=\"item-61a10753-50d3-4009-af43-c3b8e2c4500a\"><test>item-61a10753-50d3-4009-af43-c3b8e2c4500a</test></item>" ] } 2020-06-01 23:03:30 | [Mutex] notify: [retrieved:item:item-61a10753-50d3-4009-af43-c3b8e2c4500a:payload-matches:true:localhost] 2020-06-01 23:03:30 | [Mutex] received everything. 2020-06-01 23:03:30 | [Mutex] isItemNotified: retrieved:item:item-61a10753-50d3-4009-af43-c3b8e2c4500a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-06-01 23:03:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "node-ca607609-b991-42b9-99ef-5934b5c122a8" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-2a30e2b4-b524-491e-bb02-50f8a9f55af0)" } 2020-06-01 23:03:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2020-06-01 23:03:29 |
2020-06-01 23:03:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:29 | ------------------------------------ 2020-06-01 23:03:29 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "jids": [ "admin@localhost" ] } 2020-06-01 23:03:29 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.066s |
2020-06-01 23:03:30 |
2020-06-01 23:03:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-01 23:03:30 | ------------------------------------ 2020-06-01 23:03:30 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-2a30e2b4-b524-491e-bb02-50f8a9f55af0", "jids": [ "admin@localhost" ] } 2020-06-01 23:03:31 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |