Test duration : 9.110s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.120s |
2022-02-16 21:34:23 |
2022-02-16 21:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:23 | ------------------------------------ 2022-02-16 21:34:23 | [Mutex] waiting for: [configured:node:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:node-9e946012-5d5a-4667-9d74-c73695007f5a] 2022-02-16 21:34:23 | [Mutex] received everything. 2022-02-16 21:34:23 | [Mutex] isItemNotified: configured:node:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:node-9e946012-5d5a-4667-9d74-c73695007f5a :: true 2022-02-16 21:34:24 | [Mutex] waiting for: [received:nodes:3a19f6cf-27fe-436c-8510-69420c8ffee9:localhost] 2022-02-16 21:34:24 | [Mutex] waiting for: [received:nodes:3a19f6cf-27fe-436c-8510-69420c8ffee9:localhost] 2022-02-16 21:34:24 | [Mutex] received everything. 2022-02-16 21:34:24 | [Mutex] isItemNotified: received:node:3a19f6cf-27fe-436c-8510-69420c8ffee9:localhost:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49 :: true 2022-02-16 21:34:24 | [Mutex] waiting for: [received:nodes:f11e06c1-e458-42e4-ae87-0d352a9e47a2:localhost] 2022-02-16 21:34:24 | [Mutex] waiting for: [received:nodes:f11e06c1-e458-42e4-ae87-0d352a9e47a2:localhost] 2022-02-16 21:34:24 | [Mutex] received everything. 2022-02-16 21:34:24 | [Mutex] isItemNotified: received:node:f11e06c1-e458-42e4-ae87-0d352a9e47a2:localhost:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49 :: false |
createNodes | 1.667s |
2022-02-16 21:34:20 |
2022-02-16 21:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:20 | ------------------------------------ 2022-02-16 21:34:21 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "pubsub#title": "Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49" } 2022-02-16 21:34:21 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 21:34:22 | [Mutex] waiting for: [received:nodes:24178c4b-6ddb-4bf1-8d19-6bea088a4cbe:localhost] 2022-02-16 21:34:22 | [Mutex] received everything. 2022-02-16 21:34:22 | [Mutex] isItemNotified: received:node:24178c4b-6ddb-4bf1-8d19-6bea088a4cbe:localhost:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49 :: true |
createSubnodes | 1.026s |
2022-02-16 21:34:22 |
2022-02-16 21:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:22 | ------------------------------------ 2022-02-16 21:34:22 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-9e946012-5d5a-4667-9d74-c73695007f5a", "pubsub#title": "Node 9e946012-5d5a-4667-9d74-c73695007f5a" } 2022-02-16 21:34:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 21:34:23 | [Mutex] waiting for: [received:nodes:54129011-e691-42b9-8c47-7dc31f1559b3:localhost] 2022-02-16 21:34:23 | [Mutex] received everything. 2022-02-16 21:34:23 | [Mutex] isItemNotified: received:node:54129011-e691-42b9-8c47-7dc31f1559b3:localhost:node-9e946012-5d5a-4667-9d74-c73695007f5a:Node 9e946012-5d5a-4667-9d74-c73695007f5a :: true |
deleteNodes | 1.025s |
2022-02-16 21:34:28 |
2022-02-16 21:34:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:28 | ------------------------------------ 2022-02-16 21:34:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9e946012-5d5a-4667-9d74-c73695007f5a" } 2022-02-16 21:34:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 21:34:29 | [Mutex] waiting for: [received:nodes:a9a1ad4d-d73d-4dd4-8feb-6a6b24c7637e:localhost] 2022-02-16 21:34:29 | [Mutex] received everything. 2022-02-16 21:34:29 | [Mutex] isItemNotified: received:node:a9a1ad4d-d73d-4dd4-8feb-6a6b24c7637e:localhost:node-9e946012-5d5a-4667-9d74-c73695007f5a:Node 9e946012-5d5a-4667-9d74-c73695007f5a :: false |
deleteSubnodes | 1.028s |
2022-02-16 21:34:27 |
2022-02-16 21:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:27 | ------------------------------------ 2022-02-16 21:34:27 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49" } 2022-02-16 21:34:27 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-16 21:34:28 | [Mutex] waiting for: [received:nodes:295524da-09df-4939-ae97-279788b44a3c:localhost] 2022-02-16 21:34:28 | [Mutex] received everything. 2022-02-16 21:34:28 | [Mutex] isItemNotified: received:node:295524da-09df-4939-ae97-279788b44a3c:localhost:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49 :: false 2022-02-16 21:34:28 | [Mutex] waiting for: [received:nodes:1fa5888a-ad71-4bcb-99a3-1e533c376893:localhost] 2022-02-16 21:34:28 | [Mutex] received everything. 2022-02-16 21:34:28 | [Mutex] isItemNotified: received:node:1fa5888a-ad71-4bcb-99a3-1e533c376893:localhost:node-1e993f26-ce9d-4cc8-b210-29d3396b7d49:Node 1e993f26-ce9d-4cc8-b210-29d3396b7d49 :: false |
publishItemsToNodes | 0.044s |
2022-02-16 21:34:25 |
2022-02-16 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:25 | ------------------------------------ 2022-02-16 21:34:25 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "entry": "<test>item-e9f38056-2b54-46cb-915d-f92e04ff31d0</test>", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0" } 2022-02-16 21:34:25 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0" } 2022-02-16 21:34:25 | [Mutex] waiting for: [published:item:notifieditem-e9f38056-2b54-46cb-915d-f92e04ff31d0:admin@test-domain.com] 2022-02-16 21:34:25 | [Mutex] received everything. 2022-02-16 21:34:25 | [Mutex] isItemNotified: published:item:notifieditem-e9f38056-2b54-46cb-915d-f92e04ff31d0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.086s |
2022-02-16 21:34:26 |
2022-02-16 21:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:26 | ------------------------------------ 2022-02-16 21:34:26 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0" } 2022-02-16 21:34:26 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0" } 2022-02-16 21:34:26 | [Mutex] received everything. 2022-02-16 21:34:26 | [Mutex] isItemNotified: retracted:item:notifieditem-e9f38056-2b54-46cb-915d-f92e04ff31d0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.067s |
2022-02-16 21:34:25 |
2022-02-16 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:25 | ------------------------------------ 2022-02-16 21:34:25 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0" } 2022-02-16 21:34:25 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "item-id": "item-e9f38056-2b54-46cb-915d-f92e04ff31d0", "item": [ "<item id=\"item-e9f38056-2b54-46cb-915d-f92e04ff31d0\"><test>item-e9f38056-2b54-46cb-915d-f92e04ff31d0</test></item>" ] } 2022-02-16 21:34:25 | [Mutex] notify: [retrieved:item:item-e9f38056-2b54-46cb-915d-f92e04ff31d0:payload-matches:true:localhost] 2022-02-16 21:34:25 | [Mutex] received everything. 2022-02-16 21:34:25 | [Mutex] isItemNotified: retrieved:item:item-e9f38056-2b54-46cb-915d-f92e04ff31d0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-02-16 21:34:25 |
2022-02-16 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:25 | ------------------------------------ 2022-02-16 21:34:25 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-02-16 21:34:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-9e946012-5d5a-4667-9d74-c73695007f5a", "test", "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-02-16 21:34:25 |
2022-02-16 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:25 | ------------------------------------ 2022-02-16 21:34:25 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-1e993f26-ce9d-4cc8-b210-29d3396b7d49)" } 2022-02-16 21:34:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.018s |
2022-02-16 21:34:24 |
2022-02-16 21:34:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:24 | ------------------------------------ 2022-02-16 21:34:24 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "jids": [ "admin@test-domain.com" ] } 2022-02-16 21:34:24 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.064s |
2022-02-16 21:34:26 |
2022-02-16 21:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-16 21:34:26 | ------------------------------------ 2022-02-16 21:34:26 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-1e993f26-ce9d-4cc8-b210-29d3396b7d49", "jids": [ "admin@test-domain.com" ] } 2022-02-16 21:34:26 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |