Test duration : 9.392s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.132s |
2020-11-01 21:59:06 |
2020-11-01 21:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:06 | ------------------------------------ 2020-11-01 21:59:06 | [Mutex] waiting for: [configured:node:node-21567fc7-3542-454a-9745-c4d2fb1feb36:node-afdc4641-0751-4de6-89f9-43d4f42a92f3] 2020-11-01 21:59:06 | [Mutex] received everything. 2020-11-01 21:59:06 | [Mutex] isItemNotified: configured:node:node-21567fc7-3542-454a-9745-c4d2fb1feb36:node-afdc4641-0751-4de6-89f9-43d4f42a92f3 :: true 2020-11-01 21:59:07 | [Mutex] waiting for: [received:nodes:260cea51-59ad-419a-a686-4772fce8f57e:localhost] 2020-11-01 21:59:07 | [Mutex] received everything. 2020-11-01 21:59:07 | [Mutex] isItemNotified: received:node:260cea51-59ad-419a-a686-4772fce8f57e:localhost:node-21567fc7-3542-454a-9745-c4d2fb1feb36:Node 21567fc7-3542-454a-9745-c4d2fb1feb36 :: true 2020-11-01 21:59:07 | [Mutex] waiting for: [received:nodes:f5394d41-072a-4a8e-8d9c-6d58db41b14c:localhost] 2020-11-01 21:59:07 | [Mutex] waiting for: [received:nodes:f5394d41-072a-4a8e-8d9c-6d58db41b14c:localhost] 2020-11-01 21:59:07 | [Mutex] received everything. 2020-11-01 21:59:07 | [Mutex] isItemNotified: received:node:f5394d41-072a-4a8e-8d9c-6d58db41b14c:localhost:node-21567fc7-3542-454a-9745-c4d2fb1feb36:Node 21567fc7-3542-454a-9745-c4d2fb1feb36 :: false |
createNodes | 1.683s |
2020-11-01 21:59:03 |
2020-11-01 21:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:03 | ------------------------------------ 2020-11-01 21:59:04 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "pubsub#title": "Node 21567fc7-3542-454a-9745-c4d2fb1feb36" } 2020-11-01 21:59:04 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:59:05 | [Mutex] waiting for: [received:nodes:6d58e253-43c7-455c-a0d0-dc2ef5be994c:localhost] 2020-11-01 21:59:05 | [Mutex] received everything. 2020-11-01 21:59:05 | [Mutex] isItemNotified: received:node:6d58e253-43c7-455c-a0d0-dc2ef5be994c:localhost:node-21567fc7-3542-454a-9745-c4d2fb1feb36:Node 21567fc7-3542-454a-9745-c4d2fb1feb36 :: true |
createSubnodes | 1.027s |
2020-11-01 21:59:05 |
2020-11-01 21:59:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:05 | ------------------------------------ 2020-11-01 21:59:05 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-afdc4641-0751-4de6-89f9-43d4f42a92f3", "pubsub#title": "Node afdc4641-0751-4de6-89f9-43d4f42a92f3" } 2020-11-01 21:59:05 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:59:06 | [Mutex] waiting for: [received:nodes:616c51f2-4a7b-4875-858a-1733bdf8db64:localhost] 2020-11-01 21:59:06 | [Mutex] received everything. 2020-11-01 21:59:06 | [Mutex] isItemNotified: received:node:616c51f2-4a7b-4875-858a-1733bdf8db64:localhost:node-afdc4641-0751-4de6-89f9-43d4f42a92f3:Node afdc4641-0751-4de6-89f9-43d4f42a92f3 :: true |
deleteNodes | 1.028s |
2020-11-01 21:59:10 |
2020-11-01 21:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:10 | ------------------------------------ 2020-11-01 21:59:10 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-afdc4641-0751-4de6-89f9-43d4f42a92f3" } 2020-11-01 21:59:10 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:59:11 | [Mutex] waiting for: [received:nodes:bc1bf20b-3123-4893-8b71-0796e7302bb6:localhost] 2020-11-01 21:59:11 | [Mutex] received everything. 2020-11-01 21:59:11 | [Mutex] isItemNotified: received:node:bc1bf20b-3123-4893-8b71-0796e7302bb6:localhost:node-afdc4641-0751-4de6-89f9-43d4f42a92f3:Node afdc4641-0751-4de6-89f9-43d4f42a92f3 :: false |
deleteSubnodes | 1.046s |
2020-11-01 21:59:09 |
2020-11-01 21:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:09 | ------------------------------------ 2020-11-01 21:59:09 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36" } 2020-11-01 21:59:09 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:59:10 | [Mutex] waiting for: [received:nodes:c2cf903e-85c2-4196-99a4-be967f3d384a:localhost] 2020-11-01 21:59:10 | [Mutex] received everything. 2020-11-01 21:59:10 | [Mutex] isItemNotified: received:node:c2cf903e-85c2-4196-99a4-be967f3d384a:localhost:node-21567fc7-3542-454a-9745-c4d2fb1feb36:Node 21567fc7-3542-454a-9745-c4d2fb1feb36 :: false 2020-11-01 21:59:10 | [Mutex] waiting for: [received:nodes:86bcaaad-5798-438b-9c21-978ad253b579:localhost] 2020-11-01 21:59:10 | [Mutex] received everything. 2020-11-01 21:59:10 | [Mutex] isItemNotified: received:node:86bcaaad-5798-438b-9c21-978ad253b579:localhost:node-21567fc7-3542-454a-9745-c4d2fb1feb36:Node 21567fc7-3542-454a-9745-c4d2fb1feb36 :: false |
publishItemsToNodes | 0.065s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "entry": "<test>item-62753f33-c9d8-42d0-89b6-e403de50055d</test>", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d" } 2020-11-01 21:59:08 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d" } 2020-11-01 21:59:08 | [Mutex] waiting for: [published:item:notifieditem-62753f33-c9d8-42d0-89b6-e403de50055d:admin@test-domain.com] 2020-11-01 21:59:08 | [Mutex] received everything. 2020-11-01 21:59:08 | [Mutex] isItemNotified: published:item:notifieditem-62753f33-c9d8-42d0-89b6-e403de50055d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.079s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d" } 2020-11-01 21:59:08 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d" } 2020-11-01 21:59:08 | [Mutex] received everything. 2020-11-01 21:59:08 | [Mutex] isItemNotified: retracted:item:notifieditem-62753f33-c9d8-42d0-89b6-e403de50055d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.119s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d" } 2020-11-01 21:59:08 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "item-id": "item-62753f33-c9d8-42d0-89b6-e403de50055d", "item": [ "<item id=\"item-62753f33-c9d8-42d0-89b6-e403de50055d\"><test>item-62753f33-c9d8-42d0-89b6-e403de50055d</test></item>" ] } 2020-11-01 21:59:08 | [Mutex] notify: [retrieved:item:item-62753f33-c9d8-42d0-89b6-e403de50055d:payload-matches:true:localhost] 2020-11-01 21:59:08 | [Mutex] received everything. 2020-11-01 21:59:08 | [Mutex] isItemNotified: retrieved:item:item-62753f33-c9d8-42d0-89b6-e403de50055d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-11-01 21:59:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "node-afdc4641-0751-4de6-89f9-43d4f42a92f3" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-21567fc7-3542-454a-9745-c4d2fb1feb36)" } 2020-11-01 21:59:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.018s |
2020-11-01 21:59:07 |
2020-11-01 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:07 | ------------------------------------ 2020-11-01 21:59:07 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "jids": [ "admin@test-domain.com" ] } 2020-11-01 21:59:07 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2020-11-01 21:59:08 |
2020-11-01 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:59:08 | ------------------------------------ 2020-11-01 21:59:08 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-21567fc7-3542-454a-9745-c4d2fb1feb36", "jids": [ "admin@test-domain.com" ] } 2020-11-01 21:59:08 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |