Test duration : 8.568s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.095s |
2023-03-24 23:00:27 |
2023-03-24 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:27 | ------------------------------------ 2023-03-24 23:00:27 | [Mutex] waiting for: [configured:node:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:node-c3f74588-2f3e-41a7-bce9-84e8d3439939] 2023-03-24 23:00:27 | [Mutex] received everything. 2023-03-24 23:00:27 | [Mutex] isItemNotified: configured:node:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:node-c3f74588-2f3e-41a7-bce9-84e8d3439939 :: true 2023-03-24 23:00:28 | [Mutex] waiting for: [received:nodes:15cc66ff-d20f-4f0d-b26d-5b4d69324178:localhost] 2023-03-24 23:00:28 | [Mutex] received everything. 2023-03-24 23:00:28 | [Mutex] isItemNotified: received:node:15cc66ff-d20f-4f0d-b26d-5b4d69324178:localhost:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9 :: true 2023-03-24 23:00:28 | [Mutex] waiting for: [received:nodes:f9b3ae86-190b-49cc-9cd1-556c364f9a16:localhost] 2023-03-24 23:00:28 | [Mutex] waiting for: [received:nodes:f9b3ae86-190b-49cc-9cd1-556c364f9a16:localhost] 2023-03-24 23:00:28 | [Mutex] waiting for: [received:nodes:f9b3ae86-190b-49cc-9cd1-556c364f9a16:localhost] 2023-03-24 23:00:28 | [Mutex] received everything. 2023-03-24 23:00:28 | [Mutex] isItemNotified: received:node:f9b3ae86-190b-49cc-9cd1-556c364f9a16:localhost:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9 :: false |
createNodes | 1.553s |
2023-03-24 23:00:25 |
2023-03-24 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:25 | ------------------------------------ 2023-03-24 23:00:25 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "pubsub#title": "Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9" } 2023-03-24 23:00:25 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-24 23:00:26 | [Mutex] waiting for: [received:nodes:c7e1bc83-d829-44e6-8fa9-a320e34ec6c2:localhost] 2023-03-24 23:00:26 | [Mutex] waiting for: [received:nodes:c7e1bc83-d829-44e6-8fa9-a320e34ec6c2:localhost] 2023-03-24 23:00:26 | [Mutex] received everything. 2023-03-24 23:00:26 | [Mutex] isItemNotified: received:node:c7e1bc83-d829-44e6-8fa9-a320e34ec6c2:localhost:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9 :: true |
createSubnodes | 1.018s |
2023-03-24 23:00:26 |
2023-03-24 23:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:26 | ------------------------------------ 2023-03-24 23:00:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c3f74588-2f3e-41a7-bce9-84e8d3439939", "pubsub#title": "Node c3f74588-2f3e-41a7-bce9-84e8d3439939" } 2023-03-24 23:00:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-24 23:00:27 | [Mutex] waiting for: [received:nodes:39a0e107-0608-43a6-bd80-37782be805e0:localhost] 2023-03-24 23:00:27 | [Mutex] waiting for: [received:nodes:39a0e107-0608-43a6-bd80-37782be805e0:localhost] 2023-03-24 23:00:27 | [Mutex] waiting for: [received:nodes:39a0e107-0608-43a6-bd80-37782be805e0:localhost] 2023-03-24 23:00:27 | [Mutex] waiting for: [received:nodes:39a0e107-0608-43a6-bd80-37782be805e0:localhost] 2023-03-24 23:00:27 | [Mutex] waiting for: [received:nodes:39a0e107-0608-43a6-bd80-37782be805e0:localhost] 2023-03-24 23:00:27 | [Mutex] received everything. 2023-03-24 23:00:27 | [Mutex] isItemNotified: received:node:39a0e107-0608-43a6-bd80-37782be805e0:localhost:node-c3f74588-2f3e-41a7-bce9-84e8d3439939:Node c3f74588-2f3e-41a7-bce9-84e8d3439939 :: true |
deleteNodes | 1.019s |
2023-03-24 23:00:32 |
2023-03-24 23:00:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:32 | ------------------------------------ 2023-03-24 23:00:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c3f74588-2f3e-41a7-bce9-84e8d3439939" } 2023-03-24 23:00:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-24 23:00:33 | [Mutex] waiting for: [received:nodes:f3623631-e657-4f60-a4bb-5169afb58e11:localhost] 2023-03-24 23:00:33 | [Mutex] waiting for: [received:nodes:f3623631-e657-4f60-a4bb-5169afb58e11:localhost] 2023-03-24 23:00:33 | [Mutex] waiting for: [received:nodes:f3623631-e657-4f60-a4bb-5169afb58e11:localhost] 2023-03-24 23:00:33 | [Mutex] received everything. 2023-03-24 23:00:33 | [Mutex] isItemNotified: received:node:f3623631-e657-4f60-a4bb-5169afb58e11:localhost:node-c3f74588-2f3e-41a7-bce9-84e8d3439939:Node c3f74588-2f3e-41a7-bce9-84e8d3439939 :: false |
deleteSubnodes | 1.023s |
2023-03-24 23:00:31 |
2023-03-24 23:00:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:31 | ------------------------------------ 2023-03-24 23:00:31 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9" } 2023-03-24 23:00:31 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-24 23:00:32 | [Mutex] waiting for: [received:nodes:2b1321d4-65a9-4e9d-b76d-4195d34cba3a:localhost] 2023-03-24 23:00:32 | [Mutex] waiting for: [received:nodes:2b1321d4-65a9-4e9d-b76d-4195d34cba3a:localhost] 2023-03-24 23:00:32 | [Mutex] waiting for: [received:nodes:2b1321d4-65a9-4e9d-b76d-4195d34cba3a:localhost] 2023-03-24 23:00:32 | [Mutex] waiting for: [received:nodes:2b1321d4-65a9-4e9d-b76d-4195d34cba3a:localhost] 2023-03-24 23:00:32 | [Mutex] received everything. 2023-03-24 23:00:32 | [Mutex] isItemNotified: received:node:2b1321d4-65a9-4e9d-b76d-4195d34cba3a:localhost:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9 :: false 2023-03-24 23:00:32 | [Mutex] waiting for: [received:nodes:fea77297-a5bb-4069-83f6-8a1672d19379:localhost] 2023-03-24 23:00:32 | [Mutex] received everything. 2023-03-24 23:00:32 | [Mutex] isItemNotified: received:node:fea77297-a5bb-4069-83f6-8a1672d19379:localhost:node-0fb255aa-6639-4df1-b944-555d8eb6cfe9:Node 0fb255aa-6639-4df1-b944-555d8eb6cfe9 :: false |
publishItemsToNodes | 0.028s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "entry": "<test>item-7afa0e66-cbc4-48d1-a315-b7e065289805</test>", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805" } 2023-03-24 23:00:29 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805" } 2023-03-24 23:00:29 | [Mutex] waiting for: [published:item:notifieditem-7afa0e66-cbc4-48d1-a315-b7e065289805:admin@test-domain.com] 2023-03-24 23:00:29 | [Mutex] received everything. 2023-03-24 23:00:29 | [Mutex] isItemNotified: published:item:notifieditem-7afa0e66-cbc4-48d1-a315-b7e065289805:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805" } 2023-03-24 23:00:29 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805" } 2023-03-24 23:00:29 | [Mutex] received everything. 2023-03-24 23:00:29 | [Mutex] isItemNotified: retracted:item:notifieditem-7afa0e66-cbc4-48d1-a315-b7e065289805:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.069s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805" } 2023-03-24 23:00:29 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "item-id": "item-7afa0e66-cbc4-48d1-a315-b7e065289805", "item": [ "<item id=\"item-7afa0e66-cbc4-48d1-a315-b7e065289805\"><test>item-7afa0e66-cbc4-48d1-a315-b7e065289805</test></item>" ] } 2023-03-24 23:00:29 | [Mutex] notify: [retrieved:item:item-7afa0e66-cbc4-48d1-a315-b7e065289805:payload-matches:true:localhost] 2023-03-24 23:00:29 | [Mutex] received everything. 2023-03-24 23:00:29 | [Mutex] isItemNotified: retrieved:item:item-7afa0e66-cbc4-48d1-a315-b7e065289805:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.083s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-24 23:00:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "node-c3f74588-2f3e-41a7-bce9-84e8d3439939" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-0fb255aa-6639-4df1-b944-555d8eb6cfe9)" } 2023-03-24 23:00:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2023-03-24 23:00:28 |
2023-03-24 23:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:28 | ------------------------------------ 2023-03-24 23:00:28 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "jids": [ "admin@test-domain.com" ] } 2023-03-24 23:00:28 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.051s |
2023-03-24 23:00:29 |
2023-03-24 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-24 23:00:29 | ------------------------------------ 2023-03-24 23:00:29 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-0fb255aa-6639-4df1-b944-555d8eb6cfe9", "jids": [ "admin@test-domain.com" ] } 2023-03-24 23:00:30 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |