Test duration : 8.642s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.100s |
2022-12-26 03:39:42 |
2022-12-26 03:39:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:42 | ------------------------------------ 2022-12-26 03:39:42 | [Mutex] waiting for: [configured:node:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394] 2022-12-26 03:39:42 | [Mutex] received everything. 2022-12-26 03:39:42 | [Mutex] isItemNotified: configured:node:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394 :: true 2022-12-26 03:39:43 | [Mutex] waiting for: [received:nodes:7113db73-6863-47d5-83b3-c1a0d032b7dc:localhost] 2022-12-26 03:39:43 | [Mutex] received everything. 2022-12-26 03:39:43 | [Mutex] isItemNotified: received:node:7113db73-6863-47d5-83b3-c1a0d032b7dc:localhost:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:Node 5ae45014-77e2-4988-8dc3-0b87bfd56165 :: true 2022-12-26 03:39:43 | [Mutex] waiting for: [received:nodes:2522d069-b1e6-499e-b7c6-612b54f3a0e6:localhost] 2022-12-26 03:39:43 | [Mutex] waiting for: [received:nodes:2522d069-b1e6-499e-b7c6-612b54f3a0e6:localhost] 2022-12-26 03:39:43 | [Mutex] waiting for: [received:nodes:2522d069-b1e6-499e-b7c6-612b54f3a0e6:localhost] 2022-12-26 03:39:43 | [Mutex] received everything. 2022-12-26 03:39:43 | [Mutex] isItemNotified: received:node:2522d069-b1e6-499e-b7c6-612b54f3a0e6:localhost:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:Node 5ae45014-77e2-4988-8dc3-0b87bfd56165 :: false |
createNodes | 1.606s |
2022-12-26 03:39:39 |
2022-12-26 03:39:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:39 | ------------------------------------ 2022-12-26 03:39:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "pubsub#title": "Node 5ae45014-77e2-4988-8dc3-0b87bfd56165" } 2022-12-26 03:39:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:39:41 | [Mutex] waiting for: [received:nodes:6877c9b2-db19-451a-9fed-08d32d5a47de:localhost] 2022-12-26 03:39:41 | [Mutex] received everything. 2022-12-26 03:39:41 | [Mutex] isItemNotified: received:node:6877c9b2-db19-451a-9fed-08d32d5a47de:localhost:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:Node 5ae45014-77e2-4988-8dc3-0b87bfd56165 :: true |
createSubnodes | 1.035s |
2022-12-26 03:39:41 |
2022-12-26 03:39:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:41 | ------------------------------------ 2022-12-26 03:39:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394", "pubsub#title": "Node f7218bf5-5d1d-48db-8e5a-6e16b2ac7394" } 2022-12-26 03:39:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:39:42 | [Mutex] waiting for: [received:nodes:3741330e-2a21-4f90-b680-c66a300fd64d:localhost] 2022-12-26 03:39:42 | [Mutex] waiting for: [received:nodes:3741330e-2a21-4f90-b680-c66a300fd64d:localhost] 2022-12-26 03:39:42 | [Mutex] waiting for: [received:nodes:3741330e-2a21-4f90-b680-c66a300fd64d:localhost] 2022-12-26 03:39:42 | [Mutex] waiting for: [received:nodes:3741330e-2a21-4f90-b680-c66a300fd64d:localhost] 2022-12-26 03:39:42 | [Mutex] waiting for: [received:nodes:3741330e-2a21-4f90-b680-c66a300fd64d:localhost] 2022-12-26 03:39:42 | [Mutex] received everything. 2022-12-26 03:39:42 | [Mutex] isItemNotified: received:node:3741330e-2a21-4f90-b680-c66a300fd64d:localhost:node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394:Node f7218bf5-5d1d-48db-8e5a-6e16b2ac7394 :: true |
deleteNodes | 1.027s |
2022-12-26 03:39:46 |
2022-12-26 03:39:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:46 | ------------------------------------ 2022-12-26 03:39:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394" } 2022-12-26 03:39:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:39:47 | [Mutex] waiting for: [received:nodes:26adf478-a3cb-437a-88fb-97eb0f91f912:localhost] 2022-12-26 03:39:47 | [Mutex] waiting for: [received:nodes:26adf478-a3cb-437a-88fb-97eb0f91f912:localhost] 2022-12-26 03:39:47 | [Mutex] waiting for: [received:nodes:26adf478-a3cb-437a-88fb-97eb0f91f912:localhost] 2022-12-26 03:39:47 | [Mutex] received everything. 2022-12-26 03:39:47 | [Mutex] isItemNotified: received:node:26adf478-a3cb-437a-88fb-97eb0f91f912:localhost:node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394:Node f7218bf5-5d1d-48db-8e5a-6e16b2ac7394 :: false |
deleteSubnodes | 1.027s |
2022-12-26 03:39:45 |
2022-12-26 03:39:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:45 | ------------------------------------ 2022-12-26 03:39:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165" } 2022-12-26 03:39:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:39:46 | [Mutex] waiting for: [received:nodes:26e25a24-ef0c-426e-a82d-32708197d96e:localhost] 2022-12-26 03:39:46 | [Mutex] waiting for: [received:nodes:26e25a24-ef0c-426e-a82d-32708197d96e:localhost] 2022-12-26 03:39:46 | [Mutex] waiting for: [received:nodes:26e25a24-ef0c-426e-a82d-32708197d96e:localhost] 2022-12-26 03:39:46 | [Mutex] received everything. 2022-12-26 03:39:46 | [Mutex] isItemNotified: received:node:26e25a24-ef0c-426e-a82d-32708197d96e:localhost:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:Node 5ae45014-77e2-4988-8dc3-0b87bfd56165 :: false 2022-12-26 03:39:46 | [Mutex] waiting for: [received:nodes:565998b9-82c6-47fa-a673-f4bf4b4f11f3:localhost] 2022-12-26 03:39:46 | [Mutex] received everything. 2022-12-26 03:39:46 | [Mutex] isItemNotified: received:node:565998b9-82c6-47fa-a673-f4bf4b4f11f3:localhost:node-5ae45014-77e2-4988-8dc3-0b87bfd56165:Node 5ae45014-77e2-4988-8dc3-0b87bfd56165 :: false |
publishItemsToNodes | 0.049s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "entry": "<test>item-e0fdd5c6-0032-4b0b-a419-db8d9522b526</test>", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526" } 2022-12-26 03:39:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526" } 2022-12-26 03:39:44 | [Mutex] waiting for: [published:item:notifieditem-e0fdd5c6-0032-4b0b-a419-db8d9522b526:admin@test-domain.com] 2022-12-26 03:39:44 | [Mutex] received everything. 2022-12-26 03:39:44 | [Mutex] isItemNotified: published:item:notifieditem-e0fdd5c6-0032-4b0b-a419-db8d9522b526:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526" } 2022-12-26 03:39:44 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526" } 2022-12-26 03:39:44 | [Mutex] received everything. 2022-12-26 03:39:44 | [Mutex] isItemNotified: retracted:item:notifieditem-e0fdd5c6-0032-4b0b-a419-db8d9522b526:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.078s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526" } 2022-12-26 03:39:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "item-id": "item-e0fdd5c6-0032-4b0b-a419-db8d9522b526", "item": [ "<item id=\"item-e0fdd5c6-0032-4b0b-a419-db8d9522b526\"><test>item-e0fdd5c6-0032-4b0b-a419-db8d9522b526</test></item>" ] } 2022-12-26 03:39:44 | [Mutex] notify: [retrieved:item:item-e0fdd5c6-0032-4b0b-a419-db8d9522b526:payload-matches:true:localhost] 2022-12-26 03:39:44 | [Mutex] received everything. 2022-12-26 03:39:44 | [Mutex] isItemNotified: retrieved:item:item-e0fdd5c6-0032-4b0b-a419-db8d9522b526:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-12-26 03:39:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "node-f7218bf5-5d1d-48db-8e5a-6e16b2ac7394" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-5ae45014-77e2-4988-8dc3-0b87bfd56165)" } 2022-12-26 03:39:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2022-12-26 03:39:43 |
2022-12-26 03:39:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:43 | ------------------------------------ 2022-12-26 03:39:43 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "jids": [ "admin@test-domain.com" ] } 2022-12-26 03:39:43 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.074s |
2022-12-26 03:39:44 |
2022-12-26 03:39:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:39:44 | ------------------------------------ 2022-12-26 03:39:44 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-5ae45014-77e2-4988-8dc3-0b87bfd56165", "jids": [ "admin@test-domain.com" ] } 2022-12-26 03:39:44 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |