Test duration : 9.169s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.106s |
2021-11-09 21:42:09 |
2021-11-09 21:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:09 | ------------------------------------ 2021-11-09 21:42:09 | [Mutex] waiting for: [configured:node:node-e28add94-dc4a-4834-b996-da991d275bd4:node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91] 2021-11-09 21:42:09 | [Mutex] received everything. 2021-11-09 21:42:09 | [Mutex] isItemNotified: configured:node:node-e28add94-dc4a-4834-b996-da991d275bd4:node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91 :: true 2021-11-09 21:42:10 | [Mutex] waiting for: [received:nodes:6e77b83e-f7e2-4ba6-a26e-f23b0370336b:localhost] 2021-11-09 21:42:10 | [Mutex] received everything. 2021-11-09 21:42:10 | [Mutex] isItemNotified: received:node:6e77b83e-f7e2-4ba6-a26e-f23b0370336b:localhost:node-e28add94-dc4a-4834-b996-da991d275bd4:Node e28add94-dc4a-4834-b996-da991d275bd4 :: true 2021-11-09 21:42:10 | [Mutex] waiting for: [received:nodes:08cb338f-2942-46c1-a87f-957340614f53:localhost] 2021-11-09 21:42:10 | [Mutex] waiting for: [received:nodes:08cb338f-2942-46c1-a87f-957340614f53:localhost] 2021-11-09 21:42:10 | [Mutex] received everything. 2021-11-09 21:42:10 | [Mutex] isItemNotified: received:node:08cb338f-2942-46c1-a87f-957340614f53:localhost:node-e28add94-dc4a-4834-b996-da991d275bd4:Node e28add94-dc4a-4834-b996-da991d275bd4 :: false |
createNodes | 1.734s |
2021-11-09 21:42:06 |
2021-11-09 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:06 | ------------------------------------ 2021-11-09 21:42:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "pubsub#title": "Node e28add94-dc4a-4834-b996-da991d275bd4" } 2021-11-09 21:42:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-09 21:42:08 | [Mutex] waiting for: [received:nodes:2148865e-7e4e-4ea1-b8f5-50750fbcadb7:localhost] 2021-11-09 21:42:08 | [Mutex] received everything. 2021-11-09 21:42:08 | [Mutex] isItemNotified: received:node:2148865e-7e4e-4ea1-b8f5-50750fbcadb7:localhost:node-e28add94-dc4a-4834-b996-da991d275bd4:Node e28add94-dc4a-4834-b996-da991d275bd4 :: true |
createSubnodes | 1.081s |
2021-11-09 21:42:08 |
2021-11-09 21:42:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:08 | ------------------------------------ 2021-11-09 21:42:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91", "pubsub#title": "Node 7e071f9d-b92f-4bd0-92a0-3ffeea49db91" } 2021-11-09 21:42:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-09 21:42:09 | [Mutex] waiting for: [received:nodes:16e72304-1474-4979-8c21-4363471da4fc:localhost] 2021-11-09 21:42:09 | [Mutex] waiting for: [received:nodes:16e72304-1474-4979-8c21-4363471da4fc:localhost] 2021-11-09 21:42:09 | [Mutex] waiting for: [received:nodes:16e72304-1474-4979-8c21-4363471da4fc:localhost] 2021-11-09 21:42:09 | [Mutex] waiting for: [received:nodes:16e72304-1474-4979-8c21-4363471da4fc:localhost] 2021-11-09 21:42:09 | [Mutex] waiting for: [received:nodes:16e72304-1474-4979-8c21-4363471da4fc:localhost] 2021-11-09 21:42:09 | [Mutex] received everything. 2021-11-09 21:42:09 | [Mutex] isItemNotified: received:node:16e72304-1474-4979-8c21-4363471da4fc:localhost:node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91:Node 7e071f9d-b92f-4bd0-92a0-3ffeea49db91 :: true |
deleteNodes | 1.032s |
2021-11-09 21:42:13 |
2021-11-09 21:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:13 | ------------------------------------ 2021-11-09 21:42:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91" } 2021-11-09 21:42:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-09 21:42:14 | [Mutex] waiting for: [received:nodes:7a054afa-fe63-4dad-bebc-963e639172c5:localhost] 2021-11-09 21:42:14 | [Mutex] waiting for: [received:nodes:7a054afa-fe63-4dad-bebc-963e639172c5:localhost] 2021-11-09 21:42:14 | [Mutex] received everything. 2021-11-09 21:42:14 | [Mutex] isItemNotified: received:node:7a054afa-fe63-4dad-bebc-963e639172c5:localhost:node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91:Node 7e071f9d-b92f-4bd0-92a0-3ffeea49db91 :: false |
deleteSubnodes | 1.028s |
2021-11-09 21:42:12 |
2021-11-09 21:42:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:12 | ------------------------------------ 2021-11-09 21:42:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4" } 2021-11-09 21:42:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-11-09 21:42:13 | [Mutex] waiting for: [received:nodes:09cf3bb1-c308-4957-a74d-8c1ad95599e8:localhost] 2021-11-09 21:42:13 | [Mutex] received everything. 2021-11-09 21:42:13 | [Mutex] isItemNotified: received:node:09cf3bb1-c308-4957-a74d-8c1ad95599e8:localhost:node-e28add94-dc4a-4834-b996-da991d275bd4:Node e28add94-dc4a-4834-b996-da991d275bd4 :: false 2021-11-09 21:42:13 | [Mutex] waiting for: [received:nodes:210845b2-8a56-46fc-93c7-fb368f3a0fe4:localhost] 2021-11-09 21:42:13 | [Mutex] received everything. 2021-11-09 21:42:13 | [Mutex] isItemNotified: received:node:210845b2-8a56-46fc-93c7-fb368f3a0fe4:localhost:node-e28add94-dc4a-4834-b996-da991d275bd4:Node e28add94-dc4a-4834-b996-da991d275bd4 :: false |
publishItemsToNodes | 0.030s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "entry": "<test>item-748a47f5-f76d-49fb-b4da-dad51910516e</test>", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e" } 2021-11-09 21:42:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e" } 2021-11-09 21:42:11 | [Mutex] received everything. 2021-11-09 21:42:11 | [Mutex] isItemNotified: published:item:notifieditem-748a47f5-f76d-49fb-b4da-dad51910516e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e" } 2021-11-09 21:42:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e" } 2021-11-09 21:42:11 | [Mutex] received everything. 2021-11-09 21:42:11 | [Mutex] isItemNotified: retracted:item:notifieditem-748a47f5-f76d-49fb-b4da-dad51910516e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.093s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e" } 2021-11-09 21:42:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "item-id": "item-748a47f5-f76d-49fb-b4da-dad51910516e", "item": [ "<item id=\"item-748a47f5-f76d-49fb-b4da-dad51910516e\"><test>item-748a47f5-f76d-49fb-b4da-dad51910516e</test></item>" ] } 2021-11-09 21:42:11 | [Mutex] notify: [retrieved:item:item-748a47f5-f76d-49fb-b4da-dad51910516e:payload-matches:true:localhost] 2021-11-09 21:42:11 | [Mutex] received everything. 2021-11-09 21:42:11 | [Mutex] isItemNotified: retrieved:item:item-748a47f5-f76d-49fb-b4da-dad51910516e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-11-09 21:42:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7e071f9d-b92f-4bd0-92a0-3ffeea49db91", "test", "node-e28add94-dc4a-4834-b996-da991d275bd4" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-e28add94-dc4a-4834-b996-da991d275bd4)" } 2021-11-09 21:42:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.020s |
2021-11-09 21:42:10 |
2021-11-09 21:42:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:10 | ------------------------------------ 2021-11-09 21:42:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "jids": [ "admin@test-domain.com" ] } 2021-11-09 21:42:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2021-11-09 21:42:11 |
2021-11-09 21:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-11-09 21:42:11 | ------------------------------------ 2021-11-09 21:42:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e28add94-dc4a-4834-b996-da991d275bd4", "jids": [ "admin@test-domain.com" ] } 2021-11-09 21:42:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |