Test duration : 9.199s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.096s |
2021-01-18 22:09:33 |
2021-01-18 22:09:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:33 | ------------------------------------ 2021-01-18 22:09:33 | [Mutex] waiting for: [configured:node:node-d4559075-071c-4608-909e-1e87a43f72f1:node-550e5b58-97c1-4e7e-b64c-38987603aa23] 2021-01-18 22:09:33 | [Mutex] received everything. 2021-01-18 22:09:33 | [Mutex] isItemNotified: configured:node:node-d4559075-071c-4608-909e-1e87a43f72f1:node-550e5b58-97c1-4e7e-b64c-38987603aa23 :: true 2021-01-18 22:09:34 | [Mutex] waiting for: [received:nodes:22a7b0a1-ef5d-4fb7-af04-1b8c12180c49:localhost] 2021-01-18 22:09:34 | [Mutex] received everything. 2021-01-18 22:09:34 | [Mutex] isItemNotified: received:node:22a7b0a1-ef5d-4fb7-af04-1b8c12180c49:localhost:node-d4559075-071c-4608-909e-1e87a43f72f1:Node d4559075-071c-4608-909e-1e87a43f72f1 :: true 2021-01-18 22:09:34 | [Mutex] waiting for: [received:nodes:618d7766-9c8f-4bdd-b21b-6c6f14e75183:localhost] 2021-01-18 22:09:34 | [Mutex] received everything. 2021-01-18 22:09:34 | [Mutex] isItemNotified: received:node:618d7766-9c8f-4bdd-b21b-6c6f14e75183:localhost:node-d4559075-071c-4608-909e-1e87a43f72f1:Node d4559075-071c-4608-909e-1e87a43f72f1 :: false |
createNodes | 1.778s |
2021-01-18 22:09:30 |
2021-01-18 22:09:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:30 | ------------------------------------ 2021-01-18 22:09:31 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "pubsub#title": "Node d4559075-071c-4608-909e-1e87a43f72f1" } 2021-01-18 22:09:31 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-18 22:09:32 | [Mutex] waiting for: [received:nodes:3c90c615-438a-4ed5-8f90-3f0adb47739d:localhost] 2021-01-18 22:09:32 | [Mutex] received everything. 2021-01-18 22:09:32 | [Mutex] isItemNotified: received:node:3c90c615-438a-4ed5-8f90-3f0adb47739d:localhost:node-d4559075-071c-4608-909e-1e87a43f72f1:Node d4559075-071c-4608-909e-1e87a43f72f1 :: true |
createSubnodes | 1.028s |
2021-01-18 22:09:32 |
2021-01-18 22:09:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:32 | ------------------------------------ 2021-01-18 22:09:32 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-550e5b58-97c1-4e7e-b64c-38987603aa23", "pubsub#title": "Node 550e5b58-97c1-4e7e-b64c-38987603aa23" } 2021-01-18 22:09:32 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-18 22:09:33 | [Mutex] waiting for: [received:nodes:c448c84c-7d76-4013-aa6d-fcbd4ced8f49:localhost] 2021-01-18 22:09:33 | [Mutex] received everything. 2021-01-18 22:09:33 | [Mutex] isItemNotified: received:node:c448c84c-7d76-4013-aa6d-fcbd4ced8f49:localhost:node-550e5b58-97c1-4e7e-b64c-38987603aa23:Node 550e5b58-97c1-4e7e-b64c-38987603aa23 :: true |
deleteNodes | 1.020s |
2021-01-18 22:09:37 |
2021-01-18 22:09:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:37 | ------------------------------------ 2021-01-18 22:09:37 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-550e5b58-97c1-4e7e-b64c-38987603aa23" } 2021-01-18 22:09:37 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-18 22:09:38 | [Mutex] waiting for: [received:nodes:b96852cb-3e95-4aa7-9926-3315bb085b5e:localhost] 2021-01-18 22:09:38 | [Mutex] received everything. 2021-01-18 22:09:38 | [Mutex] isItemNotified: received:node:b96852cb-3e95-4aa7-9926-3315bb085b5e:localhost:node-550e5b58-97c1-4e7e-b64c-38987603aa23:Node 550e5b58-97c1-4e7e-b64c-38987603aa23 :: false |
deleteSubnodes | 1.029s |
2021-01-18 22:09:36 |
2021-01-18 22:09:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:36 | ------------------------------------ 2021-01-18 22:09:36 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1" } 2021-01-18 22:09:36 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-18 22:09:37 | [Mutex] waiting for: [received:nodes:0c5919ce-67a7-4670-a252-a8d36f4d82b1:localhost] 2021-01-18 22:09:37 | [Mutex] waiting for: [received:nodes:0c5919ce-67a7-4670-a252-a8d36f4d82b1:localhost] 2021-01-18 22:09:37 | [Mutex] received everything. 2021-01-18 22:09:37 | [Mutex] isItemNotified: received:node:0c5919ce-67a7-4670-a252-a8d36f4d82b1:localhost:node-d4559075-071c-4608-909e-1e87a43f72f1:Node d4559075-071c-4608-909e-1e87a43f72f1 :: false 2021-01-18 22:09:37 | [Mutex] waiting for: [received:nodes:17805fe0-0c00-45e1-81c8-74ed9dfdb6ff:localhost] 2021-01-18 22:09:37 | [Mutex] received everything. 2021-01-18 22:09:37 | [Mutex] isItemNotified: received:node:17805fe0-0c00-45e1-81c8-74ed9dfdb6ff:localhost:node-d4559075-071c-4608-909e-1e87a43f72f1:Node d4559075-071c-4608-909e-1e87a43f72f1 :: false |
publishItemsToNodes | 0.064s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "entry": "<test>item-00149941-21c0-4484-ba85-ea3766514a0a</test>", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a" } 2021-01-18 22:09:35 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a" } 2021-01-18 22:09:35 | [Mutex] waiting for: [published:item:notifieditem-00149941-21c0-4484-ba85-ea3766514a0a:admin@test-domain.com] 2021-01-18 22:09:35 | [Mutex] received everything. 2021-01-18 22:09:35 | [Mutex] isItemNotified: published:item:notifieditem-00149941-21c0-4484-ba85-ea3766514a0a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.064s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a" } 2021-01-18 22:09:35 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a" } 2021-01-18 22:09:35 | [Mutex] waiting for: [retracted:item:notifieditem-00149941-21c0-4484-ba85-ea3766514a0a:admin@test-domain.com] 2021-01-18 22:09:35 | [Mutex] received everything. 2021-01-18 22:09:35 | [Mutex] isItemNotified: retracted:item:notifieditem-00149941-21c0-4484-ba85-ea3766514a0a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.038s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a" } 2021-01-18 22:09:35 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "item-id": "item-00149941-21c0-4484-ba85-ea3766514a0a", "item": [ "<item id=\"item-00149941-21c0-4484-ba85-ea3766514a0a\"><test>item-00149941-21c0-4484-ba85-ea3766514a0a</test></item>" ] } 2021-01-18 22:09:35 | [Mutex] notify: [retrieved:item:item-00149941-21c0-4484-ba85-ea3766514a0a:payload-matches:true:localhost] 2021-01-18 22:09:35 | [Mutex] received everything. 2021-01-18 22:09:35 | [Mutex] isItemNotified: retrieved:item:item-00149941-21c0-4484-ba85-ea3766514a0a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.096s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-18 22:09:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-550e5b58-97c1-4e7e-b64c-38987603aa23", "test", "node-d4559075-071c-4608-909e-1e87a43f72f1" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d4559075-071c-4608-909e-1e87a43f72f1)" } 2021-01-18 22:09:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2021-01-18 22:09:34 |
2021-01-18 22:09:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:34 | ------------------------------------ 2021-01-18 22:09:34 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "jids": [ "admin@test-domain.com" ] } 2021-01-18 22:09:34 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2021-01-18 22:09:35 |
2021-01-18 22:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-18 22:09:35 | ------------------------------------ 2021-01-18 22:09:35 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d4559075-071c-4608-909e-1e87a43f72f1", "jids": [ "admin@test-domain.com" ] } 2021-01-18 22:09:35 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |