Test duration : 8.690s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.119s |
2022-08-13 22:33:13 |
2022-08-13 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:13 | ------------------------------------ 2022-08-13 22:33:13 | [Mutex] waiting for: [configured:node:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:node-0f889d71-a39d-4f7f-99c9-f57599b54588] 2022-08-13 22:33:13 | [Mutex] received everything. 2022-08-13 22:33:13 | [Mutex] isItemNotified: configured:node:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:node-0f889d71-a39d-4f7f-99c9-f57599b54588 :: true 2022-08-13 22:33:14 | [Mutex] waiting for: [received:nodes:ae5dc0a7-9a20-481c-9a2a-9f6f8c2a6254:localhost] 2022-08-13 22:33:14 | [Mutex] received everything. 2022-08-13 22:33:14 | [Mutex] isItemNotified: received:node:ae5dc0a7-9a20-481c-9a2a-9f6f8c2a6254:localhost:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7 :: true 2022-08-13 22:33:14 | [Mutex] waiting for: [received:nodes:ca530624-3c19-47b3-87db-945c21e95a3b:localhost] 2022-08-13 22:33:14 | [Mutex] received everything. 2022-08-13 22:33:14 | [Mutex] isItemNotified: received:node:ca530624-3c19-47b3-87db-945c21e95a3b:localhost:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7 :: false |
createNodes | 1.591s |
2022-08-13 22:33:11 |
2022-08-13 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:11 | ------------------------------------ 2022-08-13 22:33:11 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "pubsub#title": "Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7" } 2022-08-13 22:33:11 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-13 22:33:12 | [Mutex] waiting for: [received:nodes:adc889a6-07ef-4ff6-a955-2460db568b31:localhost] 2022-08-13 22:33:12 | [Mutex] received everything. 2022-08-13 22:33:12 | [Mutex] isItemNotified: received:node:adc889a6-07ef-4ff6-a955-2460db568b31:localhost:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7 :: true |
createSubnodes | 1.030s |
2022-08-13 22:33:12 |
2022-08-13 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:12 | ------------------------------------ 2022-08-13 22:33:12 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0f889d71-a39d-4f7f-99c9-f57599b54588", "pubsub#title": "Node 0f889d71-a39d-4f7f-99c9-f57599b54588" } 2022-08-13 22:33:12 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-13 22:33:13 | [Mutex] waiting for: [received:nodes:f4025af8-b019-480c-b8fe-57f8d19c58bf:localhost] 2022-08-13 22:33:13 | [Mutex] received everything. 2022-08-13 22:33:13 | [Mutex] isItemNotified: received:node:f4025af8-b019-480c-b8fe-57f8d19c58bf:localhost:node-0f889d71-a39d-4f7f-99c9-f57599b54588:Node 0f889d71-a39d-4f7f-99c9-f57599b54588 :: true |
deleteNodes | 1.028s |
2022-08-13 22:33:18 |
2022-08-13 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:18 | ------------------------------------ 2022-08-13 22:33:18 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0f889d71-a39d-4f7f-99c9-f57599b54588" } 2022-08-13 22:33:18 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-13 22:33:19 | [Mutex] waiting for: [received:nodes:12987d26-2ea9-4a6d-860e-871dce3f2288:localhost] 2022-08-13 22:33:19 | [Mutex] received everything. 2022-08-13 22:33:19 | [Mutex] isItemNotified: received:node:12987d26-2ea9-4a6d-860e-871dce3f2288:localhost:node-0f889d71-a39d-4f7f-99c9-f57599b54588:Node 0f889d71-a39d-4f7f-99c9-f57599b54588 :: false |
deleteSubnodes | 1.024s |
2022-08-13 22:33:17 |
2022-08-13 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:17 | ------------------------------------ 2022-08-13 22:33:17 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7" } 2022-08-13 22:33:17 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:587cb35d-31f6-4878-978a-3dbb2bf291b2:localhost] 2022-08-13 22:33:18 | [Mutex] received everything. 2022-08-13 22:33:18 | [Mutex] isItemNotified: received:node:587cb35d-31f6-4878-978a-3dbb2bf291b2:localhost:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7 :: false 2022-08-13 22:33:18 | [Mutex] waiting for: [received:nodes:2bf2c1d8-8464-4f83-bfab-232401e00cf3:localhost] 2022-08-13 22:33:18 | [Mutex] received everything. 2022-08-13 22:33:18 | [Mutex] isItemNotified: received:node:2bf2c1d8-8464-4f83-bfab-232401e00cf3:localhost:node-82ec5751-59b9-415c-aa64-c5c2effe9ed7:Node 82ec5751-59b9-415c-aa64-c5c2effe9ed7 :: false |
publishItemsToNodes | 0.061s |
2022-08-13 22:33:15 |
2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:15 | ------------------------------------ 2022-08-13 22:33:15 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "entry": "<test>item-3979efa1-ffd2-4a95-a041-2545277bcfa2</test>", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2" } 2022-08-13 22:33:15 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2" } 2022-08-13 22:33:15 | [Mutex] waiting for: [published:item:notifieditem-3979efa1-ffd2-4a95-a041-2545277bcfa2:admin@test-domain.com] 2022-08-13 22:33:15 | [Mutex] received everything. 2022-08-13 22:33:15 | [Mutex] isItemNotified: published:item:notifieditem-3979efa1-ffd2-4a95-a041-2545277bcfa2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.052s |
2022-08-13 22:33:15 |
2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:15 | ------------------------------------ 2022-08-13 22:33:15 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2" } 2022-08-13 22:33:16 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2" } 2022-08-13 22:33:16 | [Mutex] received everything. 2022-08-13 22:33:16 | [Mutex] isItemNotified: retracted:item:notifieditem-3979efa1-ffd2-4a95-a041-2545277bcfa2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.029s |
2022-08-13 22:33:15 |
2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:15 | ------------------------------------ 2022-08-13 22:33:15 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2" } 2022-08-13 22:33:15 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "item-id": "item-3979efa1-ffd2-4a95-a041-2545277bcfa2", "item": [ "<item id=\"item-3979efa1-ffd2-4a95-a041-2545277bcfa2\"><test>item-3979efa1-ffd2-4a95-a041-2545277bcfa2</test></item>" ] } 2022-08-13 22:33:15 | [Mutex] notify: [retrieved:item:item-3979efa1-ffd2-4a95-a041-2545277bcfa2:payload-matches:true:localhost] 2022-08-13 22:33:15 | [Mutex] received everything. 2022-08-13 22:33:15 | [Mutex] isItemNotified: retrieved:item:item-3979efa1-ffd2-4a95-a041-2545277bcfa2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.061s |
2022-08-13 22:33:15 |
2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:15 | ------------------------------------ 2022-08-13 22:33:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-13 22:33:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "node-0f889d71-a39d-4f7f-99c9-f57599b54588" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-08-13 22:33:15 |
2022-08-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:15 | ------------------------------------ 2022-08-13 22:33:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-82ec5751-59b9-415c-aa64-c5c2effe9ed7)" } 2022-08-13 22:33:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2022-08-13 22:33:14 |
2022-08-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:14 | ------------------------------------ 2022-08-13 22:33:14 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "jids": [ "admin@test-domain.com" ] } 2022-08-13 22:33:14 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.060s |
2022-08-13 22:33:16 |
2022-08-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-13 22:33:16 | ------------------------------------ 2022-08-13 22:33:16 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-82ec5751-59b9-415c-aa64-c5c2effe9ed7", "jids": [ "admin@test-domain.com" ] } 2022-08-13 22:33:16 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |