Test duration : 8.617s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.103s |
2023-07-04 22:30:44 |
2023-07-04 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:44 | ------------------------------------ 2023-07-04 22:30:44 | [Mutex] waiting for: [configured:node:node-daab8d63-d63f-4d80-b352-9eb9046416cd:node-c0657df2-3259-4332-8f07-9f99e8b5fcf4] 2023-07-04 22:30:44 | [Mutex] received everything. 2023-07-04 22:30:44 | [Mutex] isItemNotified: configured:node:node-daab8d63-d63f-4d80-b352-9eb9046416cd:node-c0657df2-3259-4332-8f07-9f99e8b5fcf4 :: true 2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:47267bea-d5fc-4936-a6aa-de183beb0742:localhost] 2023-07-04 22:30:45 | [Mutex] received everything. 2023-07-04 22:30:45 | [Mutex] isItemNotified: received:node:47267bea-d5fc-4936-a6aa-de183beb0742:localhost:node-daab8d63-d63f-4d80-b352-9eb9046416cd:Node daab8d63-d63f-4d80-b352-9eb9046416cd :: true 2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:a2a0abc6-8be1-444c-84c6-8cbddd8e48d5:localhost] 2023-07-04 22:30:45 | [Mutex] received everything. 2023-07-04 22:30:45 | [Mutex] isItemNotified: received:node:a2a0abc6-8be1-444c-84c6-8cbddd8e48d5:localhost:node-daab8d63-d63f-4d80-b352-9eb9046416cd:Node daab8d63-d63f-4d80-b352-9eb9046416cd :: false |
createNodes | 1.650s |
2023-07-04 22:30:41 |
2023-07-04 22:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:41 | ------------------------------------ 2023-07-04 22:30:42 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "pubsub#title": "Node daab8d63-d63f-4d80-b352-9eb9046416cd" } 2023-07-04 22:30:42 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-04 22:30:43 | [Mutex] waiting for: [received:nodes:e90f813e-9ca2-4728-8871-6ee5258cdde1:localhost] 2023-07-04 22:30:43 | [Mutex] waiting for: [received:nodes:e90f813e-9ca2-4728-8871-6ee5258cdde1:localhost] 2023-07-04 22:30:43 | [Mutex] waiting for: [received:nodes:e90f813e-9ca2-4728-8871-6ee5258cdde1:localhost] 2023-07-04 22:30:43 | [Mutex] waiting for: [received:nodes:e90f813e-9ca2-4728-8871-6ee5258cdde1:localhost] 2023-07-04 22:30:43 | [Mutex] received everything. 2023-07-04 22:30:43 | [Mutex] isItemNotified: received:node:e90f813e-9ca2-4728-8871-6ee5258cdde1:localhost:node-daab8d63-d63f-4d80-b352-9eb9046416cd:Node daab8d63-d63f-4d80-b352-9eb9046416cd :: true |
createSubnodes | 1.028s |
2023-07-04 22:30:43 |
2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:43 | ------------------------------------ 2023-07-04 22:30:43 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c0657df2-3259-4332-8f07-9f99e8b5fcf4", "pubsub#title": "Node c0657df2-3259-4332-8f07-9f99e8b5fcf4" } 2023-07-04 22:30:43 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-04 22:30:44 | [Mutex] waiting for: [received:nodes:f0f0337f-0caf-4b28-bfd4-f008dce0d261:localhost] 2023-07-04 22:30:44 | [Mutex] waiting for: [received:nodes:f0f0337f-0caf-4b28-bfd4-f008dce0d261:localhost] 2023-07-04 22:30:44 | [Mutex] received everything. 2023-07-04 22:30:44 | [Mutex] isItemNotified: received:node:f0f0337f-0caf-4b28-bfd4-f008dce0d261:localhost:node-c0657df2-3259-4332-8f07-9f99e8b5fcf4:Node c0657df2-3259-4332-8f07-9f99e8b5fcf4 :: true |
deleteNodes | 1.022s |
2023-07-04 22:30:48 |
2023-07-04 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:48 | ------------------------------------ 2023-07-04 22:30:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c0657df2-3259-4332-8f07-9f99e8b5fcf4" } 2023-07-04 22:30:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-04 22:30:49 | [Mutex] waiting for: [received:nodes:e9bf031c-e90e-4aeb-82b9-deda6dd0626e:localhost] 2023-07-04 22:30:49 | [Mutex] waiting for: [received:nodes:e9bf031c-e90e-4aeb-82b9-deda6dd0626e:localhost] 2023-07-04 22:30:49 | [Mutex] waiting for: [received:nodes:e9bf031c-e90e-4aeb-82b9-deda6dd0626e:localhost] 2023-07-04 22:30:49 | [Mutex] received everything. 2023-07-04 22:30:49 | [Mutex] isItemNotified: received:node:e9bf031c-e90e-4aeb-82b9-deda6dd0626e:localhost:node-c0657df2-3259-4332-8f07-9f99e8b5fcf4:Node c0657df2-3259-4332-8f07-9f99e8b5fcf4 :: false |
deleteSubnodes | 1.021s |
2023-07-04 22:30:47 |
2023-07-04 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:47 | ------------------------------------ 2023-07-04 22:30:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd" } 2023-07-04 22:30:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-04 22:30:48 | [Mutex] waiting for: [received:nodes:7bf7bdad-ff7a-4d50-a251-a3040152ddd2:localhost] 2023-07-04 22:30:48 | [Mutex] waiting for: [received:nodes:7bf7bdad-ff7a-4d50-a251-a3040152ddd2:localhost] 2023-07-04 22:30:48 | [Mutex] waiting for: [received:nodes:7bf7bdad-ff7a-4d50-a251-a3040152ddd2:localhost] 2023-07-04 22:30:48 | [Mutex] received everything. 2023-07-04 22:30:48 | [Mutex] isItemNotified: received:node:7bf7bdad-ff7a-4d50-a251-a3040152ddd2:localhost:node-daab8d63-d63f-4d80-b352-9eb9046416cd:Node daab8d63-d63f-4d80-b352-9eb9046416cd :: false 2023-07-04 22:30:48 | [Mutex] waiting for: [received:nodes:ce3faa0f-46ec-45cf-a357-7f64458c622b:localhost] 2023-07-04 22:30:48 | [Mutex] received everything. 2023-07-04 22:30:48 | [Mutex] isItemNotified: received:node:ce3faa0f-46ec-45cf-a357-7f64458c622b:localhost:node-daab8d63-d63f-4d80-b352-9eb9046416cd:Node daab8d63-d63f-4d80-b352-9eb9046416cd :: false |
publishItemsToNodes | 0.039s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "entry": "<test>item-217fa894-0769-4cb6-91e0-74ed703ca1c8</test>", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8" } 2023-07-04 22:30:46 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8" } 2023-07-04 22:30:46 | [Mutex] waiting for: [published:item:notifieditem-217fa894-0769-4cb6-91e0-74ed703ca1c8:admin@test-domain.com] 2023-07-04 22:30:46 | [Mutex] received everything. 2023-07-04 22:30:46 | [Mutex] isItemNotified: published:item:notifieditem-217fa894-0769-4cb6-91e0-74ed703ca1c8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.060s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8" } 2023-07-04 22:30:46 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8" } 2023-07-04 22:30:46 | [Mutex] received everything. 2023-07-04 22:30:46 | [Mutex] isItemNotified: retracted:item:notifieditem-217fa894-0769-4cb6-91e0-74ed703ca1c8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.063s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8" } 2023-07-04 22:30:46 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "item-id": "item-217fa894-0769-4cb6-91e0-74ed703ca1c8", "item": [ "<item id=\"item-217fa894-0769-4cb6-91e0-74ed703ca1c8\"><test>item-217fa894-0769-4cb6-91e0-74ed703ca1c8</test></item>" ] } 2023-07-04 22:30:46 | [Mutex] notify: [retrieved:item:item-217fa894-0769-4cb6-91e0-74ed703ca1c8:payload-matches:true:localhost] 2023-07-04 22:30:46 | [Mutex] received everything. 2023-07-04 22:30:46 | [Mutex] isItemNotified: retrieved:item:item-217fa894-0769-4cb6-91e0-74ed703ca1c8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.079s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-04 22:30:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-c0657df2-3259-4332-8f07-9f99e8b5fcf4", "node-daab8d63-d63f-4d80-b352-9eb9046416cd" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-daab8d63-d63f-4d80-b352-9eb9046416cd)" } 2023-07-04 22:30:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-07-04 22:30:45 |
2023-07-04 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:45 | ------------------------------------ 2023-07-04 22:30:45 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "jids": [ "admin@test-domain.com" ] } 2023-07-04 22:30:45 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.047s |
2023-07-04 22:30:46 |
2023-07-04 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-04 22:30:46 | ------------------------------------ 2023-07-04 22:30:46 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-daab8d63-d63f-4d80-b352-9eb9046416cd", "jids": [ "admin@test-domain.com" ] } 2023-07-04 22:30:46 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |