Test duration : 8.922s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.084s |
2022-02-16 08:25:18 |
2022-02-16 08:25:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:18 | ------------------------------------ 2022-02-16 08:25:18 | [Mutex] waiting for: [configured:node:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:node-0c8cedb5-4452-46bb-a165-af8566e50057] 2022-02-16 08:25:18 | [Mutex] received everything. 2022-02-16 08:25:18 | [Mutex] isItemNotified: configured:node:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:node-0c8cedb5-4452-46bb-a165-af8566e50057 :: true 2022-02-16 08:25:19 | [Mutex] waiting for: [received:nodes:d3bb5a40-535f-489a-a50f-6f49468e019b:localhost] 2022-02-16 08:25:19 | [Mutex] received everything. 2022-02-16 08:25:19 | [Mutex] isItemNotified: received:node:d3bb5a40-535f-489a-a50f-6f49468e019b:localhost:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:Node 782a92cb-82a7-4a7f-806a-f0eb087a705a :: true 2022-02-16 08:25:19 | [Mutex] waiting for: [received:nodes:8fb7acff-4e8b-41d0-bd0e-8d6ce25de165:localhost] 2022-02-16 08:25:19 | [Mutex] waiting for: [received:nodes:8fb7acff-4e8b-41d0-bd0e-8d6ce25de165:localhost] 2022-02-16 08:25:19 | [Mutex] received everything. 2022-02-16 08:25:19 | [Mutex] isItemNotified: received:node:8fb7acff-4e8b-41d0-bd0e-8d6ce25de165:localhost:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:Node 782a92cb-82a7-4a7f-806a-f0eb087a705a :: false |
createNodes | 1.628s |
2022-02-16 08:25:16 |
2022-02-16 08:25:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:16 | ------------------------------------ 2022-02-16 08:25:16 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "pubsub#title": "Node 782a92cb-82a7-4a7f-806a-f0eb087a705a" } 2022-02-16 08:25:16 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 08:25:17 | [Mutex] waiting for: [received:nodes:98805ecd-ac57-499d-9fe8-a92d8b071213:localhost] 2022-02-16 08:25:17 | [Mutex] received everything. 2022-02-16 08:25:17 | [Mutex] isItemNotified: received:node:98805ecd-ac57-499d-9fe8-a92d8b071213:localhost:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:Node 782a92cb-82a7-4a7f-806a-f0eb087a705a :: true |
createSubnodes | 1.027s |
2022-02-16 08:25:17 |
2022-02-16 08:25:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:17 | ------------------------------------ 2022-02-16 08:25:17 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0c8cedb5-4452-46bb-a165-af8566e50057", "pubsub#title": "Node 0c8cedb5-4452-46bb-a165-af8566e50057" } 2022-02-16 08:25:17 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 08:25:18 | [Mutex] waiting for: [received:nodes:cbda8fa3-d3d0-49cf-bb93-2743be7c6fbe:localhost] 2022-02-16 08:25:18 | [Mutex] received everything. 2022-02-16 08:25:18 | [Mutex] isItemNotified: received:node:cbda8fa3-d3d0-49cf-bb93-2743be7c6fbe:localhost:node-0c8cedb5-4452-46bb-a165-af8566e50057:Node 0c8cedb5-4452-46bb-a165-af8566e50057 :: true |
deleteNodes | 1.025s |
2022-02-16 08:25:23 |
2022-02-16 08:25:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:23 | ------------------------------------ 2022-02-16 08:25:23 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0c8cedb5-4452-46bb-a165-af8566e50057" } 2022-02-16 08:25:23 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 08:25:24 | [Mutex] waiting for: [received:nodes:77559afa-d2ba-469a-a5b1-60e46b33b016:localhost] 2022-02-16 08:25:24 | [Mutex] received everything. 2022-02-16 08:25:24 | [Mutex] isItemNotified: received:node:77559afa-d2ba-469a-a5b1-60e46b33b016:localhost:node-0c8cedb5-4452-46bb-a165-af8566e50057:Node 0c8cedb5-4452-46bb-a165-af8566e50057 :: false |
deleteSubnodes | 1.026s |
2022-02-16 08:25:22 |
2022-02-16 08:25:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:22 | ------------------------------------ 2022-02-16 08:25:22 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a" } 2022-02-16 08:25:22 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 08:25:23 | [Mutex] waiting for: [received:nodes:13e7b031-ea27-4c0d-b25e-6e0050402f4f:localhost] 2022-02-16 08:25:23 | [Mutex] waiting for: [received:nodes:13e7b031-ea27-4c0d-b25e-6e0050402f4f:localhost] 2022-02-16 08:25:23 | [Mutex] waiting for: [received:nodes:13e7b031-ea27-4c0d-b25e-6e0050402f4f:localhost] 2022-02-16 08:25:23 | [Mutex] received everything. 2022-02-16 08:25:23 | [Mutex] isItemNotified: received:node:13e7b031-ea27-4c0d-b25e-6e0050402f4f:localhost:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:Node 782a92cb-82a7-4a7f-806a-f0eb087a705a :: false 2022-02-16 08:25:23 | [Mutex] waiting for: [received:nodes:7f66e7b8-2888-443b-9eb4-3d4c4b282727:localhost] 2022-02-16 08:25:23 | [Mutex] received everything. 2022-02-16 08:25:23 | [Mutex] isItemNotified: received:node:7f66e7b8-2888-443b-9eb4-3d4c4b282727:localhost:node-782a92cb-82a7-4a7f-806a-f0eb087a705a:Node 782a92cb-82a7-4a7f-806a-f0eb087a705a :: false |
publishItemsToNodes | 0.038s |
2022-02-16 08:25:20 |
2022-02-16 08:25:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:20 | ------------------------------------ 2022-02-16 08:25:20 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "entry": "<test>item-37fd6d97-f15a-48b6-8623-55df03b87a39</test>", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39" } 2022-02-16 08:25:20 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39" } 2022-02-16 08:25:20 | [Mutex] received everything. 2022-02-16 08:25:20 | [Mutex] isItemNotified: published:item:notifieditem-37fd6d97-f15a-48b6-8623-55df03b87a39:admin@test-domain.com :: true |
retractItemsFromNodes | 0.071s |
2022-02-16 08:25:21 |
2022-02-16 08:25:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:21 | ------------------------------------ 2022-02-16 08:25:21 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39" } 2022-02-16 08:25:21 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39" } 2022-02-16 08:25:21 | [Mutex] received everything. 2022-02-16 08:25:21 | [Mutex] isItemNotified: retracted:item:notifieditem-37fd6d97-f15a-48b6-8623-55df03b87a39:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2022-02-16 08:25:20 |
2022-02-16 08:25:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:20 | ------------------------------------ 2022-02-16 08:25:20 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39" } 2022-02-16 08:25:20 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "item-id": "item-37fd6d97-f15a-48b6-8623-55df03b87a39", "item": [ "<item id=\"item-37fd6d97-f15a-48b6-8623-55df03b87a39\"><test>item-37fd6d97-f15a-48b6-8623-55df03b87a39</test></item>" ] } 2022-02-16 08:25:20 | [Mutex] notify: [retrieved:item:item-37fd6d97-f15a-48b6-8623-55df03b87a39:payload-matches:true:localhost] 2022-02-16 08:25:20 | [Mutex] received everything. 2022-02-16 08:25:20 | [Mutex] isItemNotified: retrieved:item:item-37fd6d97-f15a-48b6-8623-55df03b87a39:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-02-16 08:25:20 |
2022-02-16 08:25:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:20 | ------------------------------------ 2022-02-16 08:25:20 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-02-16 08:25:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "test", "node-0c8cedb5-4452-46bb-a165-af8566e50057" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-02-16 08:25:21 |
2022-02-16 08:25:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:21 | ------------------------------------ 2022-02-16 08:25:21 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-782a92cb-82a7-4a7f-806a-f0eb087a705a)" } 2022-02-16 08:25:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2022-02-16 08:25:19 |
2022-02-16 08:25:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:19 | ------------------------------------ 2022-02-16 08:25:19 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "jids": [ "admin@test-domain.com" ] } 2022-02-16 08:25:19 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.108s |
2022-02-16 08:25:21 |
2022-02-16 08:25:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 08:25:21 | ------------------------------------ 2022-02-16 08:25:21 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-782a92cb-82a7-4a7f-806a-f0eb087a705a", "jids": [ "admin@test-domain.com" ] } 2022-02-16 08:25:21 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |