Test duration : 8.590s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.087s |
2023-07-05 23:33:29 |
2023-07-05 23:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:29 | ------------------------------------ 2023-07-05 23:33:29 | [Mutex] waiting for: [configured:node:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:node-19724d47-0c63-452c-98ae-d8702facd098] 2023-07-05 23:33:29 | [Mutex] received everything. 2023-07-05 23:33:29 | [Mutex] isItemNotified: configured:node:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:node-19724d47-0c63-452c-98ae-d8702facd098 :: true 2023-07-05 23:33:30 | [Mutex] waiting for: [received:nodes:af74eaa9-3819-485c-b70c-ab51a0efc7e8:localhost] 2023-07-05 23:33:30 | [Mutex] received everything. 2023-07-05 23:33:30 | [Mutex] isItemNotified: received:node:af74eaa9-3819-485c-b70c-ab51a0efc7e8:localhost:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967 :: true 2023-07-05 23:33:30 | [Mutex] waiting for: [received:nodes:99d1c15c-41b5-4243-9ed9-5881d80f81cc:localhost] 2023-07-05 23:33:30 | [Mutex] waiting for: [received:nodes:99d1c15c-41b5-4243-9ed9-5881d80f81cc:localhost] 2023-07-05 23:33:30 | [Mutex] waiting for: [received:nodes:99d1c15c-41b5-4243-9ed9-5881d80f81cc:localhost] 2023-07-05 23:33:30 | [Mutex] received everything. 2023-07-05 23:33:30 | [Mutex] isItemNotified: received:node:99d1c15c-41b5-4243-9ed9-5881d80f81cc:localhost:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967 :: false |
createNodes | 1.562s |
2023-07-05 23:33:26 |
2023-07-05 23:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:26 | ------------------------------------ 2023-07-05 23:33:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "pubsub#title": "Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967" } 2023-07-05 23:33:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 23:33:27 | [Mutex] waiting for: [received:nodes:1a27a135-5b66-4ed7-bfca-44ccaa1686d4:localhost] 2023-07-05 23:33:27 | [Mutex] waiting for: [received:nodes:1a27a135-5b66-4ed7-bfca-44ccaa1686d4:localhost] 2023-07-05 23:33:27 | [Mutex] waiting for: [received:nodes:1a27a135-5b66-4ed7-bfca-44ccaa1686d4:localhost] 2023-07-05 23:33:27 | [Mutex] received everything. 2023-07-05 23:33:27 | [Mutex] isItemNotified: received:node:1a27a135-5b66-4ed7-bfca-44ccaa1686d4:localhost:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967 :: true |
createSubnodes | 1.026s |
2023-07-05 23:33:27 |
2023-07-05 23:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:27 | ------------------------------------ 2023-07-05 23:33:27 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-19724d47-0c63-452c-98ae-d8702facd098", "pubsub#title": "Node 19724d47-0c63-452c-98ae-d8702facd098" } 2023-07-05 23:33:27 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 23:33:28 | [Mutex] waiting for: [received:nodes:85c2b147-01ef-416d-95a7-caed045cf9f5:localhost] 2023-07-05 23:33:29 | [Mutex] waiting for: [received:nodes:85c2b147-01ef-416d-95a7-caed045cf9f5:localhost] 2023-07-05 23:33:29 | [Mutex] waiting for: [received:nodes:85c2b147-01ef-416d-95a7-caed045cf9f5:localhost] 2023-07-05 23:33:29 | [Mutex] received everything. 2023-07-05 23:33:29 | [Mutex] isItemNotified: received:node:85c2b147-01ef-416d-95a7-caed045cf9f5:localhost:node-19724d47-0c63-452c-98ae-d8702facd098:Node 19724d47-0c63-452c-98ae-d8702facd098 :: true |
deleteNodes | 1.018s |
2023-07-05 23:33:33 |
2023-07-05 23:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:33 | ------------------------------------ 2023-07-05 23:33:33 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-19724d47-0c63-452c-98ae-d8702facd098" } 2023-07-05 23:33:33 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 23:33:34 | [Mutex] waiting for: [received:nodes:6c0cfb93-b14a-4634-924a-3524445540a1:localhost] 2023-07-05 23:33:34 | [Mutex] waiting for: [received:nodes:6c0cfb93-b14a-4634-924a-3524445540a1:localhost] 2023-07-05 23:33:34 | [Mutex] received everything. 2023-07-05 23:33:34 | [Mutex] isItemNotified: received:node:6c0cfb93-b14a-4634-924a-3524445540a1:localhost:node-19724d47-0c63-452c-98ae-d8702facd098:Node 19724d47-0c63-452c-98ae-d8702facd098 :: false |
deleteSubnodes | 1.025s |
2023-07-05 23:33:32 |
2023-07-05 23:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:32 | ------------------------------------ 2023-07-05 23:33:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967" } 2023-07-05 23:33:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 23:33:33 | [Mutex] waiting for: [received:nodes:7cd038d3-6b22-4799-a1b7-9d881a438684:localhost] 2023-07-05 23:33:33 | [Mutex] waiting for: [received:nodes:7cd038d3-6b22-4799-a1b7-9d881a438684:localhost] 2023-07-05 23:33:33 | [Mutex] waiting for: [received:nodes:7cd038d3-6b22-4799-a1b7-9d881a438684:localhost] 2023-07-05 23:33:33 | [Mutex] waiting for: [received:nodes:7cd038d3-6b22-4799-a1b7-9d881a438684:localhost] 2023-07-05 23:33:33 | [Mutex] received everything. 2023-07-05 23:33:33 | [Mutex] isItemNotified: received:node:7cd038d3-6b22-4799-a1b7-9d881a438684:localhost:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967 :: false 2023-07-05 23:33:33 | [Mutex] waiting for: [received:nodes:c7639bb1-a590-4fcf-9dcb-f3cf439536b1:localhost] 2023-07-05 23:33:33 | [Mutex] received everything. 2023-07-05 23:33:33 | [Mutex] isItemNotified: received:node:c7639bb1-a590-4fcf-9dcb-f3cf439536b1:localhost:node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967:Node 8d9927ce-13d5-4b18-9b1d-cbb3c7585967 :: false |
publishItemsToNodes | 0.043s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "entry": "<test>item-6f408155-455b-4066-8ed9-a0fa2a737b67</test>", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67" } 2023-07-05 23:33:31 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67" } 2023-07-05 23:33:31 | [Mutex] waiting for: [published:item:notifieditem-6f408155-455b-4066-8ed9-a0fa2a737b67:admin@test-domain.com] 2023-07-05 23:33:31 | [Mutex] received everything. 2023-07-05 23:33:31 | [Mutex] isItemNotified: published:item:notifieditem-6f408155-455b-4066-8ed9-a0fa2a737b67:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67" } 2023-07-05 23:33:31 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67" } 2023-07-05 23:33:31 | [Mutex] received everything. 2023-07-05 23:33:31 | [Mutex] isItemNotified: retracted:item:notifieditem-6f408155-455b-4066-8ed9-a0fa2a737b67:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67" } 2023-07-05 23:33:31 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "item-id": "item-6f408155-455b-4066-8ed9-a0fa2a737b67", "item": [ "<item id=\"item-6f408155-455b-4066-8ed9-a0fa2a737b67\"><test>item-6f408155-455b-4066-8ed9-a0fa2a737b67</test></item>" ] } 2023-07-05 23:33:31 | [Mutex] notify: [retrieved:item:item-6f408155-455b-4066-8ed9-a0fa2a737b67:payload-matches:true:localhost] 2023-07-05 23:33:31 | [Mutex] received everything. 2023-07-05 23:33:31 | [Mutex] isItemNotified: retrieved:item:item-6f408155-455b-4066-8ed9-a0fa2a737b67:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.046s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-05 23:33:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-19724d47-0c63-452c-98ae-d8702facd098", "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967)" } 2023-07-05 23:33:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2023-07-05 23:33:30 |
2023-07-05 23:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:30 | ------------------------------------ 2023-07-05 23:33:30 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "jids": [ "admin@test-domain.com" ] } 2023-07-05 23:33:30 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2023-07-05 23:33:31 |
2023-07-05 23:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 23:33:31 | ------------------------------------ 2023-07-05 23:33:31 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-8d9927ce-13d5-4b18-9b1d-cbb3c7585967", "jids": [ "admin@test-domain.com" ] } 2023-07-05 23:33:31 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |