Test duration : 8,555s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1,110s |
2022-03-02 23:46:21 |
2022-03-02 23:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:21 | ------------------------------------ 2022-03-02 23:46:21 | [Mutex] waiting for: [configured:node:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:node-0070bc9b-f485-4b74-9f09-88bb92701f95] 2022-03-02 23:46:21 | [Mutex] received everything. 2022-03-02 23:46:21 | [Mutex] isItemNotified: configured:node:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:node-0070bc9b-f485-4b74-9f09-88bb92701f95 :: true 2022-03-02 23:46:22 | [Mutex] waiting for: [received:nodes:aa559316-61b7-452b-8b23-e90c36c37f56:localhost] 2022-03-02 23:46:22 | [Mutex] received everything. 2022-03-02 23:46:22 | [Mutex] isItemNotified: received:node:aa559316-61b7-452b-8b23-e90c36c37f56:localhost:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56 :: true 2022-03-02 23:46:22 | [Mutex] waiting for: [received:nodes:ceb6e0c8-ff0a-4a0b-8d99-48c324c3dcc3:localhost] 2022-03-02 23:46:22 | [Mutex] waiting for: [received:nodes:ceb6e0c8-ff0a-4a0b-8d99-48c324c3dcc3:localhost] 2022-03-02 23:46:22 | [Mutex] waiting for: [received:nodes:ceb6e0c8-ff0a-4a0b-8d99-48c324c3dcc3:localhost] 2022-03-02 23:46:22 | [Mutex] received everything. 2022-03-02 23:46:22 | [Mutex] isItemNotified: received:node:ceb6e0c8-ff0a-4a0b-8d99-48c324c3dcc3:localhost:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56 :: false |
createNodes | 1,568s |
2022-03-02 23:46:18 |
2022-03-02 23:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:18 | ------------------------------------ 2022-03-02 23:46:18 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "pubsub#title": "Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56" } 2022-03-02 23:46:19 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-02 23:46:20 | [Mutex] waiting for: [received:nodes:e02a4542-9cba-4c34-81bb-4554062aa43c:localhost] 2022-03-02 23:46:20 | [Mutex] received everything. 2022-03-02 23:46:20 | [Mutex] isItemNotified: received:node:e02a4542-9cba-4c34-81bb-4554062aa43c:localhost:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56 :: true |
createSubnodes | 1,067s |
2022-03-02 23:46:20 |
2022-03-02 23:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:20 | ------------------------------------ 2022-03-02 23:46:20 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0070bc9b-f485-4b74-9f09-88bb92701f95", "pubsub#title": "Node 0070bc9b-f485-4b74-9f09-88bb92701f95" } 2022-03-02 23:46:20 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-02 23:46:21 | [Mutex] waiting for: [received:nodes:272c71d6-98d8-4148-8f5c-83d63a04bb93:localhost] 2022-03-02 23:46:21 | [Mutex] waiting for: [received:nodes:272c71d6-98d8-4148-8f5c-83d63a04bb93:localhost] 2022-03-02 23:46:21 | [Mutex] received everything. 2022-03-02 23:46:21 | [Mutex] isItemNotified: received:node:272c71d6-98d8-4148-8f5c-83d63a04bb93:localhost:node-0070bc9b-f485-4b74-9f09-88bb92701f95:Node 0070bc9b-f485-4b74-9f09-88bb92701f95 :: true |
deleteNodes | 1,068s |
2022-03-02 23:46:25 |
2022-03-02 23:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:25 | ------------------------------------ 2022-03-02 23:46:25 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0070bc9b-f485-4b74-9f09-88bb92701f95" } 2022-03-02 23:46:25 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-02 23:46:26 | [Mutex] waiting for: [received:nodes:32a2a232-7025-4511-abc4-4d120ee703e6:localhost] 2022-03-02 23:46:26 | [Mutex] waiting for: [received:nodes:32a2a232-7025-4511-abc4-4d120ee703e6:localhost] 2022-03-02 23:46:26 | [Mutex] received everything. 2022-03-02 23:46:26 | [Mutex] isItemNotified: received:node:32a2a232-7025-4511-abc4-4d120ee703e6:localhost:node-0070bc9b-f485-4b74-9f09-88bb92701f95:Node 0070bc9b-f485-4b74-9f09-88bb92701f95 :: false |
deleteSubnodes | 1,069s |
2022-03-02 23:46:24 |
2022-03-02 23:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:24 | ------------------------------------ 2022-03-02 23:46:24 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56" } 2022-03-02 23:46:24 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-02 23:46:25 | [Mutex] waiting for: [received:nodes:40e7ab0a-26cd-4d64-8bbb-0a4d263b46f1:localhost] 2022-03-02 23:46:25 | [Mutex] waiting for: [received:nodes:40e7ab0a-26cd-4d64-8bbb-0a4d263b46f1:localhost] 2022-03-02 23:46:25 | [Mutex] received everything. 2022-03-02 23:46:25 | [Mutex] isItemNotified: received:node:40e7ab0a-26cd-4d64-8bbb-0a4d263b46f1:localhost:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56 :: false 2022-03-02 23:46:25 | [Mutex] waiting for: [received:nodes:681158d8-1120-4b91-b731-eab5c3e675c1:localhost] 2022-03-02 23:46:25 | [Mutex] received everything. 2022-03-02 23:46:25 | [Mutex] isItemNotified: received:node:681158d8-1120-4b91-b731-eab5c3e675c1:localhost:node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56:Node d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56 :: false |
publishItemsToNodes | 0,052s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "entry": "<test>item-d617484c-cc92-4900-a1a6-029ee045d16b</test>", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b" } 2022-03-02 23:46:23 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b" } 2022-03-02 23:46:23 | [Mutex] received everything. 2022-03-02 23:46:23 | [Mutex] isItemNotified: published:item:notifieditem-d617484c-cc92-4900-a1a6-029ee045d16b:admin@test-domain.com :: true |
retractItemsFromNodes | 0,058s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b" } 2022-03-02 23:46:23 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b" } 2022-03-02 23:46:23 | [Mutex] waiting for: [retracted:item:notifieditem-d617484c-cc92-4900-a1a6-029ee045d16b:admin@test-domain.com] 2022-03-02 23:46:23 | [Mutex] received everything. 2022-03-02 23:46:23 | [Mutex] isItemNotified: retracted:item:notifieditem-d617484c-cc92-4900-a1a6-029ee045d16b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0,050s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b" } 2022-03-02 23:46:23 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "item-id": "item-d617484c-cc92-4900-a1a6-029ee045d16b", "item": [ "<item id=\"item-d617484c-cc92-4900-a1a6-029ee045d16b\"><test>item-d617484c-cc92-4900-a1a6-029ee045d16b</test></item>" ] } 2022-03-02 23:46:23 | [Mutex] notify: [retrieved:item:item-d617484c-cc92-4900-a1a6-029ee045d16b:payload-matches:true:localhost] 2022-03-02 23:46:23 | [Mutex] received everything. 2022-03-02 23:46:23 | [Mutex] isItemNotified: retrieved:item:item-d617484c-cc92-4900-a1a6-029ee045d16b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0,015s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-03-02 23:46:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-0070bc9b-f485-4b74-9f09-88bb92701f95", "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56" ] } |
retrieveUserSubscriptionsWithRegex | 0,011s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56)" } 2022-03-02 23:46:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1,035s |
2022-03-02 23:46:22 |
2022-03-02 23:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:22 | ------------------------------------ 2022-03-02 23:46:22 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "jids": [ "admin@test-domain.com" ] } 2022-03-02 23:46:22 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1,052s |
2022-03-02 23:46:23 |
2022-03-02 23:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-02 23:46:23 | ------------------------------------ 2022-03-02 23:46:23 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d4262096-75d9-4b0e-a9c7-ebcf8c3a2c56", "jids": [ "admin@test-domain.com" ] } 2022-03-02 23:46:23 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |