Test duration : 8.555s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.096s |
2023-02-15 21:29:46 |
2023-02-15 21:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:46 | ------------------------------------ 2023-02-15 21:29:46 | [Mutex] waiting for: [configured:node:node-17e25628-9039-42fa-bc91-7b87b4801fb5:node-7832fd60-7b75-4400-a0eb-753792c8a7ee] 2023-02-15 21:29:46 | [Mutex] received everything. 2023-02-15 21:29:46 | [Mutex] isItemNotified: configured:node:node-17e25628-9039-42fa-bc91-7b87b4801fb5:node-7832fd60-7b75-4400-a0eb-753792c8a7ee :: true 2023-02-15 21:29:47 | [Mutex] waiting for: [received:nodes:af26923a-7f43-4de3-b504-d9b7dd446107:localhost] 2023-02-15 21:29:47 | [Mutex] received everything. 2023-02-15 21:29:47 | [Mutex] isItemNotified: received:node:af26923a-7f43-4de3-b504-d9b7dd446107:localhost:node-17e25628-9039-42fa-bc91-7b87b4801fb5:Node 17e25628-9039-42fa-bc91-7b87b4801fb5 :: true 2023-02-15 21:29:47 | [Mutex] waiting for: [received:nodes:b459b6b5-bb62-46eb-9638-b70800a91c77:localhost] 2023-02-15 21:29:47 | [Mutex] waiting for: [received:nodes:b459b6b5-bb62-46eb-9638-b70800a91c77:localhost] 2023-02-15 21:29:47 | [Mutex] waiting for: [received:nodes:b459b6b5-bb62-46eb-9638-b70800a91c77:localhost] 2023-02-15 21:29:47 | [Mutex] waiting for: [received:nodes:b459b6b5-bb62-46eb-9638-b70800a91c77:localhost] 2023-02-15 21:29:47 | [Mutex] received everything. 2023-02-15 21:29:47 | [Mutex] isItemNotified: received:node:b459b6b5-bb62-46eb-9638-b70800a91c77:localhost:node-17e25628-9039-42fa-bc91-7b87b4801fb5:Node 17e25628-9039-42fa-bc91-7b87b4801fb5 :: false |
createNodes | 1.595s |
2023-02-15 21:29:43 |
2023-02-15 21:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:43 | ------------------------------------ 2023-02-15 21:29:44 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "pubsub#title": "Node 17e25628-9039-42fa-bc91-7b87b4801fb5" } 2023-02-15 21:29:44 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:29:45 | [Mutex] waiting for: [received:nodes:bf553bfc-9eff-40e8-a238-809e15d7257d:localhost] 2023-02-15 21:29:45 | [Mutex] received everything. 2023-02-15 21:29:45 | [Mutex] isItemNotified: received:node:bf553bfc-9eff-40e8-a238-809e15d7257d:localhost:node-17e25628-9039-42fa-bc91-7b87b4801fb5:Node 17e25628-9039-42fa-bc91-7b87b4801fb5 :: true |
createSubnodes | 1.023s |
2023-02-15 21:29:45 |
2023-02-15 21:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:45 | ------------------------------------ 2023-02-15 21:29:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7832fd60-7b75-4400-a0eb-753792c8a7ee", "pubsub#title": "Node 7832fd60-7b75-4400-a0eb-753792c8a7ee" } 2023-02-15 21:29:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:29:46 | [Mutex] waiting for: [received:nodes:8af189c9-ff35-43ef-8915-c99d8e383b8e:localhost] 2023-02-15 21:29:46 | [Mutex] waiting for: [received:nodes:8af189c9-ff35-43ef-8915-c99d8e383b8e:localhost] 2023-02-15 21:29:46 | [Mutex] waiting for: [received:nodes:8af189c9-ff35-43ef-8915-c99d8e383b8e:localhost] 2023-02-15 21:29:46 | [Mutex] waiting for: [received:nodes:8af189c9-ff35-43ef-8915-c99d8e383b8e:localhost] 2023-02-15 21:29:46 | [Mutex] received everything. 2023-02-15 21:29:46 | [Mutex] isItemNotified: received:node:8af189c9-ff35-43ef-8915-c99d8e383b8e:localhost:node-7832fd60-7b75-4400-a0eb-753792c8a7ee:Node 7832fd60-7b75-4400-a0eb-753792c8a7ee :: true |
deleteNodes | 1.021s |
2023-02-15 21:29:50 |
2023-02-15 21:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:50 | ------------------------------------ 2023-02-15 21:29:50 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7832fd60-7b75-4400-a0eb-753792c8a7ee" } 2023-02-15 21:29:50 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:29:51 | [Mutex] waiting for: [received:nodes:4f1bc5ad-933a-4267-8c5a-9aabb4bc5f93:localhost] 2023-02-15 21:29:51 | [Mutex] waiting for: [received:nodes:4f1bc5ad-933a-4267-8c5a-9aabb4bc5f93:localhost] 2023-02-15 21:29:51 | [Mutex] waiting for: [received:nodes:4f1bc5ad-933a-4267-8c5a-9aabb4bc5f93:localhost] 2023-02-15 21:29:51 | [Mutex] received everything. 2023-02-15 21:29:51 | [Mutex] isItemNotified: received:node:4f1bc5ad-933a-4267-8c5a-9aabb4bc5f93:localhost:node-7832fd60-7b75-4400-a0eb-753792c8a7ee:Node 7832fd60-7b75-4400-a0eb-753792c8a7ee :: false |
deleteSubnodes | 1.027s |
2023-02-15 21:29:49 |
2023-02-15 21:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:49 | ------------------------------------ 2023-02-15 21:29:49 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5" } 2023-02-15 21:29:49 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-15 21:29:50 | [Mutex] waiting for: [received:nodes:ee4fc1f7-f18e-4c43-89b3-52ebc6578499:localhost] 2023-02-15 21:29:50 | [Mutex] waiting for: [received:nodes:ee4fc1f7-f18e-4c43-89b3-52ebc6578499:localhost] 2023-02-15 21:29:50 | [Mutex] waiting for: [received:nodes:ee4fc1f7-f18e-4c43-89b3-52ebc6578499:localhost] 2023-02-15 21:29:50 | [Mutex] waiting for: [received:nodes:ee4fc1f7-f18e-4c43-89b3-52ebc6578499:localhost] 2023-02-15 21:29:50 | [Mutex] received everything. 2023-02-15 21:29:50 | [Mutex] isItemNotified: received:node:ee4fc1f7-f18e-4c43-89b3-52ebc6578499:localhost:node-17e25628-9039-42fa-bc91-7b87b4801fb5:Node 17e25628-9039-42fa-bc91-7b87b4801fb5 :: false 2023-02-15 21:29:50 | [Mutex] waiting for: [received:nodes:45def7fa-96d9-41b1-9973-68ccb280a6f4:localhost] 2023-02-15 21:29:50 | [Mutex] received everything. 2023-02-15 21:29:50 | [Mutex] isItemNotified: received:node:45def7fa-96d9-41b1-9973-68ccb280a6f4:localhost:node-17e25628-9039-42fa-bc91-7b87b4801fb5:Node 17e25628-9039-42fa-bc91-7b87b4801fb5 :: false |
publishItemsToNodes | 0.048s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "entry": "<test>item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1</test>", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1" } 2023-02-15 21:29:48 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1" } 2023-02-15 21:29:48 | [Mutex] waiting for: [published:item:notifieditem-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1:admin@test-domain.com] 2023-02-15 21:29:48 | [Mutex] received everything. 2023-02-15 21:29:48 | [Mutex] isItemNotified: published:item:notifieditem-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1" } 2023-02-15 21:29:48 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1" } 2023-02-15 21:29:48 | [Mutex] received everything. 2023-02-15 21:29:48 | [Mutex] isItemNotified: retracted:item:notifieditem-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.048s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1" } 2023-02-15 21:29:48 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "item-id": "item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1", "item": [ "<item id=\"item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1\"><test>item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1</test></item>" ] } 2023-02-15 21:29:48 | [Mutex] notify: [retrieved:item:item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1:payload-matches:true:localhost] 2023-02-15 21:29:48 | [Mutex] received everything. 2023-02-15 21:29:48 | [Mutex] isItemNotified: retrieved:item:item-3d75fe1b-9f64-4ec7-8736-3b1165dd31d1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-02-15 21:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "node-7832fd60-7b75-4400-a0eb-753792c8a7ee" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-17e25628-9039-42fa-bc91-7b87b4801fb5)" } 2023-02-15 21:29:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2023-02-15 21:29:47 |
2023-02-15 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:47 | ------------------------------------ 2023-02-15 21:29:47 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "jids": [ "admin@test-domain.com" ] } 2023-02-15 21:29:47 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2023-02-15 21:29:48 |
2023-02-15 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-15 21:29:48 | ------------------------------------ 2023-02-15 21:29:48 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-17e25628-9039-42fa-bc91-7b87b4801fb5", "jids": [ "admin@test-domain.com" ] } 2023-02-15 21:29:48 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |