Test duration : 8.852s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.092s |
2022-08-04 22:33:52 |
2022-08-04 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:52 | ------------------------------------ 2022-08-04 22:33:52 | [Mutex] waiting for: [configured:node:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:node-c1505852-9702-46f6-aac6-70adcacd54ae] 2022-08-04 22:33:52 | [Mutex] received everything. 2022-08-04 22:33:52 | [Mutex] isItemNotified: configured:node:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:node-c1505852-9702-46f6-aac6-70adcacd54ae :: true 2022-08-04 22:33:53 | [Mutex] waiting for: [received:nodes:9ce34802-2c53-4238-8b4b-23e76580b01a:localhost] 2022-08-04 22:33:53 | [Mutex] received everything. 2022-08-04 22:33:53 | [Mutex] isItemNotified: received:node:9ce34802-2c53-4238-8b4b-23e76580b01a:localhost:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671 :: true 2022-08-04 22:33:53 | [Mutex] waiting for: [received:nodes:38a0a32b-5185-4e42-bf6c-3354387369b7:localhost] 2022-08-04 22:33:53 | [Mutex] waiting for: [received:nodes:38a0a32b-5185-4e42-bf6c-3354387369b7:localhost] 2022-08-04 22:33:53 | [Mutex] received everything. 2022-08-04 22:33:53 | [Mutex] isItemNotified: received:node:38a0a32b-5185-4e42-bf6c-3354387369b7:localhost:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671 :: false |
createNodes | 1.741s |
2022-08-04 22:33:50 |
2022-08-04 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:50 | ------------------------------------ 2022-08-04 22:33:50 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "pubsub#title": "Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671" } 2022-08-04 22:33:50 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-04 22:33:51 | [Mutex] waiting for: [received:nodes:8fcff276-fe77-4573-ba78-fec78c0e797c:localhost] 2022-08-04 22:33:51 | [Mutex] received everything. 2022-08-04 22:33:51 | [Mutex] isItemNotified: received:node:8fcff276-fe77-4573-ba78-fec78c0e797c:localhost:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671 :: true |
createSubnodes | 1.025s |
2022-08-04 22:33:51 |
2022-08-04 22:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:51 | ------------------------------------ 2022-08-04 22:33:51 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c1505852-9702-46f6-aac6-70adcacd54ae", "pubsub#title": "Node c1505852-9702-46f6-aac6-70adcacd54ae" } 2022-08-04 22:33:51 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-04 22:33:52 | [Mutex] waiting for: [received:nodes:68cfa7b5-9bb7-45c5-baa7-dfd370a2da67:localhost] 2022-08-04 22:33:52 | [Mutex] waiting for: [received:nodes:68cfa7b5-9bb7-45c5-baa7-dfd370a2da67:localhost] 2022-08-04 22:33:52 | [Mutex] received everything. 2022-08-04 22:33:52 | [Mutex] isItemNotified: received:node:68cfa7b5-9bb7-45c5-baa7-dfd370a2da67:localhost:node-c1505852-9702-46f6-aac6-70adcacd54ae:Node c1505852-9702-46f6-aac6-70adcacd54ae :: true |
deleteNodes | 1.019s |
2022-08-04 22:33:57 |
2022-08-04 22:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:57 | ------------------------------------ 2022-08-04 22:33:57 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c1505852-9702-46f6-aac6-70adcacd54ae" } 2022-08-04 22:33:57 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-04 22:33:58 | [Mutex] waiting for: [received:nodes:67d7ec17-bb89-4bed-b960-3483759f3bec:localhost] 2022-08-04 22:33:58 | [Mutex] waiting for: [received:nodes:67d7ec17-bb89-4bed-b960-3483759f3bec:localhost] 2022-08-04 22:33:58 | [Mutex] received everything. 2022-08-04 22:33:58 | [Mutex] isItemNotified: received:node:67d7ec17-bb89-4bed-b960-3483759f3bec:localhost:node-c1505852-9702-46f6-aac6-70adcacd54ae:Node c1505852-9702-46f6-aac6-70adcacd54ae :: false |
deleteSubnodes | 1.033s |
2022-08-04 22:33:56 |
2022-08-04 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:56 | ------------------------------------ 2022-08-04 22:33:56 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671" } 2022-08-04 22:33:56 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-04 22:33:57 | [Mutex] waiting for: [received:nodes:28bd3e99-3198-4eb0-a771-355e78196b1c:localhost] 2022-08-04 22:33:57 | [Mutex] waiting for: [received:nodes:28bd3e99-3198-4eb0-a771-355e78196b1c:localhost] 2022-08-04 22:33:57 | [Mutex] received everything. 2022-08-04 22:33:57 | [Mutex] isItemNotified: received:node:28bd3e99-3198-4eb0-a771-355e78196b1c:localhost:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671 :: false 2022-08-04 22:33:57 | [Mutex] waiting for: [received:nodes:0f2ba8e8-d39a-4c8b-a633-cc22c068b31d:localhost] 2022-08-04 22:33:57 | [Mutex] received everything. 2022-08-04 22:33:57 | [Mutex] isItemNotified: received:node:0f2ba8e8-d39a-4c8b-a633-cc22c068b31d:localhost:node-3e1a21f6-41fb-4d9d-954b-30e0bafee671:Node 3e1a21f6-41fb-4d9d-954b-30e0bafee671 :: false |
publishItemsToNodes | 0.033s |
2022-08-04 22:33:54 |
2022-08-04 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:54 | ------------------------------------ 2022-08-04 22:33:54 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "entry": "<test>item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5</test>", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5" } 2022-08-04 22:33:54 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5" } 2022-08-04 22:33:54 | [Mutex] waiting for: [published:item:notifieditem-f7c4ff89-8b4a-448a-9cd6-5860cabecec5:admin@test-domain.com] 2022-08-04 22:33:55 | [Mutex] received everything. 2022-08-04 22:33:55 | [Mutex] isItemNotified: published:item:notifieditem-f7c4ff89-8b4a-448a-9cd6-5860cabecec5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2022-08-04 22:33:55 |
2022-08-04 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:55 | ------------------------------------ 2022-08-04 22:33:55 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5" } 2022-08-04 22:33:55 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5" } 2022-08-04 22:33:55 | [Mutex] received everything. 2022-08-04 22:33:55 | [Mutex] isItemNotified: retracted:item:notifieditem-f7c4ff89-8b4a-448a-9cd6-5860cabecec5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.072s |
2022-08-04 22:33:55 |
2022-08-04 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:55 | ------------------------------------ 2022-08-04 22:33:55 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5" } 2022-08-04 22:33:55 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "item-id": "item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5", "item": [ "<item id=\"item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5\"><test>item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5</test></item>" ] } 2022-08-04 22:33:55 | [Mutex] notify: [retrieved:item:item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5:payload-matches:true:localhost] 2022-08-04 22:33:55 | [Mutex] received everything. 2022-08-04 22:33:55 | [Mutex] isItemNotified: retrieved:item:item-f7c4ff89-8b4a-448a-9cd6-5860cabecec5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.136s |
2022-08-04 22:33:55 |
2022-08-04 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:55 | ------------------------------------ 2022-08-04 22:33:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-04 22:33:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-c1505852-9702-46f6-aac6-70adcacd54ae", "test", "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-08-04 22:33:55 |
2022-08-04 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:55 | ------------------------------------ 2022-08-04 22:33:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-3e1a21f6-41fb-4d9d-954b-30e0bafee671)" } 2022-08-04 22:33:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2022-08-04 22:33:53 |
2022-08-04 22:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:53 | ------------------------------------ 2022-08-04 22:33:53 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "jids": [ "admin@test-domain.com" ] } 2022-08-04 22:33:53 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.060s |
2022-08-04 22:33:55 |
2022-08-04 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-04 22:33:55 | ------------------------------------ 2022-08-04 22:33:55 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-3e1a21f6-41fb-4d9d-954b-30e0bafee671", "jids": [ "admin@test-domain.com" ] } 2022-08-04 22:33:55 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |