Test duration : 8.780s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.109s |
2021-04-07 12:00:48 |
2021-04-07 12:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:48 | ------------------------------------ 2021-04-07 12:00:48 | [Mutex] waiting for: [configured:node:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:node-5f33de6d-0dd8-49e9-9667-952c75d40c46] 2021-04-07 12:00:48 | [Mutex] received everything. 2021-04-07 12:00:48 | [Mutex] isItemNotified: configured:node:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:node-5f33de6d-0dd8-49e9-9667-952c75d40c46 :: true 2021-04-07 12:00:49 | [Mutex] waiting for: [received:nodes:e337362f-78b8-4391-bb97-43139c0742be:localhost] 2021-04-07 12:00:49 | [Mutex] received everything. 2021-04-07 12:00:49 | [Mutex] isItemNotified: received:node:e337362f-78b8-4391-bb97-43139c0742be:localhost:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:Node fe6210ea-4744-4f2d-8dbb-0c98b0413206 :: true 2021-04-07 12:00:49 | [Mutex] waiting for: [received:nodes:fd349c54-22dd-458e-b95a-4278df5cd990:localhost] 2021-04-07 12:00:49 | [Mutex] received everything. 2021-04-07 12:00:49 | [Mutex] isItemNotified: received:node:fd349c54-22dd-458e-b95a-4278df5cd990:localhost:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:Node fe6210ea-4744-4f2d-8dbb-0c98b0413206 :: false |
createNodes | 1.570s |
2021-04-07 12:00:45 |
2021-04-07 12:00:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:45 | ------------------------------------ 2021-04-07 12:00:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "pubsub#title": "Node fe6210ea-4744-4f2d-8dbb-0c98b0413206" } 2021-04-07 12:00:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-07 12:00:46 | [Mutex] waiting for: [received:nodes:0d0336f0-7eea-4882-a767-f43dfade6d8b:localhost] 2021-04-07 12:00:47 | [Mutex] received everything. 2021-04-07 12:00:47 | [Mutex] isItemNotified: received:node:0d0336f0-7eea-4882-a767-f43dfade6d8b:localhost:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:Node fe6210ea-4744-4f2d-8dbb-0c98b0413206 :: true |
createSubnodes | 1.037s |
2021-04-07 12:00:47 |
2021-04-07 12:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:47 | ------------------------------------ 2021-04-07 12:00:47 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-5f33de6d-0dd8-49e9-9667-952c75d40c46", "pubsub#title": "Node 5f33de6d-0dd8-49e9-9667-952c75d40c46" } 2021-04-07 12:00:47 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-07 12:00:48 | [Mutex] waiting for: [received:nodes:72d1d72f-5f86-4012-a89f-e4ceddc05378:localhost] 2021-04-07 12:00:48 | [Mutex] received everything. 2021-04-07 12:00:48 | [Mutex] isItemNotified: received:node:72d1d72f-5f86-4012-a89f-e4ceddc05378:localhost:node-5f33de6d-0dd8-49e9-9667-952c75d40c46:Node 5f33de6d-0dd8-49e9-9667-952c75d40c46 :: true |
deleteNodes | 1.022s |
2021-04-07 12:00:52 |
2021-04-07 12:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:52 | ------------------------------------ 2021-04-07 12:00:52 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-5f33de6d-0dd8-49e9-9667-952c75d40c46" } 2021-04-07 12:00:52 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-07 12:00:53 | [Mutex] waiting for: [received:nodes:c160c8e8-18d6-4075-bb98-702a75404eda:localhost] 2021-04-07 12:00:53 | [Mutex] received everything. 2021-04-07 12:00:53 | [Mutex] isItemNotified: received:node:c160c8e8-18d6-4075-bb98-702a75404eda:localhost:node-5f33de6d-0dd8-49e9-9667-952c75d40c46:Node 5f33de6d-0dd8-49e9-9667-952c75d40c46 :: false |
deleteSubnodes | 1.029s |
2021-04-07 12:00:51 |
2021-04-07 12:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:51 | ------------------------------------ 2021-04-07 12:00:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206" } 2021-04-07 12:00:51 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-07 12:00:52 | [Mutex] waiting for: [received:nodes:a8b17ce9-a056-47b1-84c9-9ceece1dd07b:localhost] 2021-04-07 12:00:52 | [Mutex] received everything. 2021-04-07 12:00:52 | [Mutex] isItemNotified: received:node:a8b17ce9-a056-47b1-84c9-9ceece1dd07b:localhost:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:Node fe6210ea-4744-4f2d-8dbb-0c98b0413206 :: false 2021-04-07 12:00:52 | [Mutex] waiting for: [received:nodes:37b1ca7b-d146-43ab-8b7e-dd6612d0f9ac:localhost] 2021-04-07 12:00:52 | [Mutex] received everything. 2021-04-07 12:00:52 | [Mutex] isItemNotified: received:node:37b1ca7b-d146-43ab-8b7e-dd6612d0f9ac:localhost:node-fe6210ea-4744-4f2d-8dbb-0c98b0413206:Node fe6210ea-4744-4f2d-8dbb-0c98b0413206 :: false |
publishItemsToNodes | 0.020s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "entry": "<test>item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376</test>", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376" } 2021-04-07 12:00:50 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376" } 2021-04-07 12:00:50 | [Mutex] waiting for: [published:item:notifieditem-827cfdf7-e9a7-4d52-b079-3ddd1ace9376:admin@test-domain.com] 2021-04-07 12:00:50 | [Mutex] received everything. 2021-04-07 12:00:50 | [Mutex] isItemNotified: published:item:notifieditem-827cfdf7-e9a7-4d52-b079-3ddd1ace9376:admin@test-domain.com :: true |
retractItemsFromNodes | 0.104s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376" } 2021-04-07 12:00:50 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376" } 2021-04-07 12:00:50 | [Mutex] received everything. 2021-04-07 12:00:50 | [Mutex] isItemNotified: retracted:item:notifieditem-827cfdf7-e9a7-4d52-b079-3ddd1ace9376:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.089s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376" } 2021-04-07 12:00:50 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "item-id": "item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376", "item": [ "<item id=\"item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376\"><test>item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376</test></item>" ] } 2021-04-07 12:00:50 | [Mutex] notify: [retrieved:item:item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376:payload-matches:true:localhost] 2021-04-07 12:00:50 | [Mutex] received everything. 2021-04-07 12:00:50 | [Mutex] isItemNotified: retrieved:item:item-827cfdf7-e9a7-4d52-b079-3ddd1ace9376:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-07 12:00:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "test", "node-5f33de6d-0dd8-49e9-9667-952c75d40c46" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-fe6210ea-4744-4f2d-8dbb-0c98b0413206)" } 2021-04-07 12:00:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2021-04-07 12:00:49 |
2021-04-07 12:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:49 | ------------------------------------ 2021-04-07 12:00:49 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "jids": [ "admin@test-domain.com" ] } 2021-04-07 12:00:49 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.076s |
2021-04-07 12:00:50 |
2021-04-07 12:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-07 12:00:50 | ------------------------------------ 2021-04-07 12:00:50 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-fe6210ea-4744-4f2d-8dbb-0c98b0413206", "jids": [ "admin@test-domain.com" ] } 2021-04-07 12:00:50 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |