Test duration : 8.586s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.103s |
2023-07-07 22:30:50 |
2023-07-07 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:50 | ------------------------------------ 2023-07-07 22:30:50 | [Mutex] waiting for: [configured:node:node-65f1b396-07e6-465c-a2d1-59529d37b386:node-0f1ea7c8-f735-4674-b18f-fb2a451944ff] 2023-07-07 22:30:50 | [Mutex] received everything. 2023-07-07 22:30:50 | [Mutex] isItemNotified: configured:node:node-65f1b396-07e6-465c-a2d1-59529d37b386:node-0f1ea7c8-f735-4674-b18f-fb2a451944ff :: true 2023-07-07 22:30:51 | [Mutex] waiting for: [received:nodes:1a5e9948-4762-4fb2-bfa6-5945ff02dfa0:localhost] 2023-07-07 22:30:51 | [Mutex] received everything. 2023-07-07 22:30:51 | [Mutex] isItemNotified: received:node:1a5e9948-4762-4fb2-bfa6-5945ff02dfa0:localhost:node-65f1b396-07e6-465c-a2d1-59529d37b386:Node 65f1b396-07e6-465c-a2d1-59529d37b386 :: true 2023-07-07 22:30:51 | [Mutex] waiting for: [received:nodes:2e555869-e091-465f-b825-94b7ab283e82:localhost] 2023-07-07 22:30:51 | [Mutex] waiting for: [received:nodes:2e555869-e091-465f-b825-94b7ab283e82:localhost] 2023-07-07 22:30:51 | [Mutex] waiting for: [received:nodes:2e555869-e091-465f-b825-94b7ab283e82:localhost] 2023-07-07 22:30:51 | [Mutex] waiting for: [received:nodes:2e555869-e091-465f-b825-94b7ab283e82:localhost] 2023-07-07 22:30:51 | [Mutex] received everything. 2023-07-07 22:30:51 | [Mutex] isItemNotified: received:node:2e555869-e091-465f-b825-94b7ab283e82:localhost:node-65f1b396-07e6-465c-a2d1-59529d37b386:Node 65f1b396-07e6-465c-a2d1-59529d37b386 :: false |
createNodes | 1.578s |
2023-07-07 22:30:48 |
2023-07-07 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:48 | ------------------------------------ 2023-07-07 22:30:48 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "pubsub#title": "Node 65f1b396-07e6-465c-a2d1-59529d37b386" } 2023-07-07 22:30:48 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-07 22:30:49 | [Mutex] waiting for: [received:nodes:71d7509d-6ccb-495a-abd2-4354fcab62be:localhost] 2023-07-07 22:30:49 | [Mutex] received everything. 2023-07-07 22:30:49 | [Mutex] isItemNotified: received:node:71d7509d-6ccb-495a-abd2-4354fcab62be:localhost:node-65f1b396-07e6-465c-a2d1-59529d37b386:Node 65f1b396-07e6-465c-a2d1-59529d37b386 :: true |
createSubnodes | 1.023s |
2023-07-07 22:30:49 |
2023-07-07 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:49 | ------------------------------------ 2023-07-07 22:30:49 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0f1ea7c8-f735-4674-b18f-fb2a451944ff", "pubsub#title": "Node 0f1ea7c8-f735-4674-b18f-fb2a451944ff" } 2023-07-07 22:30:49 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-07 22:30:50 | [Mutex] waiting for: [received:nodes:3736e570-de86-4b9b-b00c-dd9fd0d92a17:localhost] 2023-07-07 22:30:50 | [Mutex] received everything. 2023-07-07 22:30:50 | [Mutex] isItemNotified: received:node:3736e570-de86-4b9b-b00c-dd9fd0d92a17:localhost:node-0f1ea7c8-f735-4674-b18f-fb2a451944ff:Node 0f1ea7c8-f735-4674-b18f-fb2a451944ff :: true |
deleteNodes | 1.016s |
2023-07-07 22:30:55 |
2023-07-07 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:55 | ------------------------------------ 2023-07-07 22:30:55 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0f1ea7c8-f735-4674-b18f-fb2a451944ff" } 2023-07-07 22:30:55 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-07 22:30:56 | [Mutex] waiting for: [received:nodes:0822da6b-1f59-4100-aba6-0fc4a233853d:localhost] 2023-07-07 22:30:56 | [Mutex] waiting for: [received:nodes:0822da6b-1f59-4100-aba6-0fc4a233853d:localhost] 2023-07-07 22:30:56 | [Mutex] received everything. 2023-07-07 22:30:56 | [Mutex] isItemNotified: received:node:0822da6b-1f59-4100-aba6-0fc4a233853d:localhost:node-0f1ea7c8-f735-4674-b18f-fb2a451944ff:Node 0f1ea7c8-f735-4674-b18f-fb2a451944ff :: false |
deleteSubnodes | 1.027s |
2023-07-07 22:30:54 |
2023-07-07 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:54 | ------------------------------------ 2023-07-07 22:30:54 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386" } 2023-07-07 22:30:54 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-07 22:30:55 | [Mutex] waiting for: [received:nodes:f01c5ba7-90cb-4f22-919e-ec7a35efbb3a:localhost] 2023-07-07 22:30:55 | [Mutex] waiting for: [received:nodes:f01c5ba7-90cb-4f22-919e-ec7a35efbb3a:localhost] 2023-07-07 22:30:55 | [Mutex] waiting for: [received:nodes:f01c5ba7-90cb-4f22-919e-ec7a35efbb3a:localhost] 2023-07-07 22:30:55 | [Mutex] waiting for: [received:nodes:f01c5ba7-90cb-4f22-919e-ec7a35efbb3a:localhost] 2023-07-07 22:30:55 | [Mutex] received everything. 2023-07-07 22:30:55 | [Mutex] isItemNotified: received:node:f01c5ba7-90cb-4f22-919e-ec7a35efbb3a:localhost:node-65f1b396-07e6-465c-a2d1-59529d37b386:Node 65f1b396-07e6-465c-a2d1-59529d37b386 :: false 2023-07-07 22:30:55 | [Mutex] waiting for: [received:nodes:7bbd64fe-95ac-448f-8219-0a2ab45d3ecc:localhost] 2023-07-07 22:30:55 | [Mutex] received everything. 2023-07-07 22:30:55 | [Mutex] isItemNotified: received:node:7bbd64fe-95ac-448f-8219-0a2ab45d3ecc:localhost:node-65f1b396-07e6-465c-a2d1-59529d37b386:Node 65f1b396-07e6-465c-a2d1-59529d37b386 :: false |
publishItemsToNodes | 0.048s |
2023-07-07 22:30:52 |
2023-07-07 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:52 | ------------------------------------ 2023-07-07 22:30:52 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "entry": "<test>item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5</test>", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5" } 2023-07-07 22:30:52 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5" } 2023-07-07 22:30:52 | [Mutex] waiting for: [published:item:notifieditem-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5:admin@test-domain.com] 2023-07-07 22:30:52 | [Mutex] received everything. 2023-07-07 22:30:52 | [Mutex] isItemNotified: published:item:notifieditem-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2023-07-07 22:30:53 |
2023-07-07 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:53 | ------------------------------------ 2023-07-07 22:30:53 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5" } 2023-07-07 22:30:53 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5" } 2023-07-07 22:30:53 | [Mutex] received everything. 2023-07-07 22:30:53 | [Mutex] isItemNotified: retracted:item:notifieditem-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2023-07-07 22:30:52 |
2023-07-07 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:52 | ------------------------------------ 2023-07-07 22:30:52 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5" } 2023-07-07 22:30:53 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "item-id": "item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5", "item": [ "<item id=\"item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5\"><test>item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5</test></item>" ] } 2023-07-07 22:30:53 | [Mutex] notify: [retrieved:item:item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5:payload-matches:true:localhost] 2023-07-07 22:30:53 | [Mutex] received everything. 2023-07-07 22:30:53 | [Mutex] isItemNotified: retrieved:item:item-ac8bceca-0daf-4ecb-9a8b-e7d71ad3c4e5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-07-07 22:30:53 |
2023-07-07 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:53 | ------------------------------------ 2023-07-07 22:30:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-07 22:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-0f1ea7c8-f735-4674-b18f-fb2a451944ff", "node-65f1b396-07e6-465c-a2d1-59529d37b386" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-07-07 22:30:53 |
2023-07-07 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:53 | ------------------------------------ 2023-07-07 22:30:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-65f1b396-07e6-465c-a2d1-59529d37b386)" } 2023-07-07 22:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2023-07-07 22:30:51 |
2023-07-07 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:51 | ------------------------------------ 2023-07-07 22:30:51 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "jids": [ "admin@test-domain.com" ] } 2023-07-07 22:30:51 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2023-07-07 22:30:53 |
2023-07-07 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-07 22:30:53 | ------------------------------------ 2023-07-07 22:30:53 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-65f1b396-07e6-465c-a2d1-59529d37b386", "jids": [ "admin@test-domain.com" ] } 2023-07-07 22:30:53 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |