Test duration : 8.625s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.090s |
2023-01-16 21:46:08 |
2023-01-16 21:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:08 | ------------------------------------ 2023-01-16 21:46:08 | [Mutex] waiting for: [configured:node:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:node-512d99c8-2013-4f1e-a3de-c679ac2ec092] 2023-01-16 21:46:08 | [Mutex] received everything. 2023-01-16 21:46:08 | [Mutex] isItemNotified: configured:node:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:node-512d99c8-2013-4f1e-a3de-c679ac2ec092 :: true 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:756d05a6-2654-4ef4-a570-9b026fca39f2:localhost] 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:756d05a6-2654-4ef4-a570-9b026fca39f2:localhost] 2023-01-16 21:46:09 | [Mutex] received everything. 2023-01-16 21:46:09 | [Mutex] isItemNotified: received:node:756d05a6-2654-4ef4-a570-9b026fca39f2:localhost:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:Node 98f75297-6fdb-4c48-9877-91db57e7cbb2 :: true 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:94553a13-7e87-47b1-b815-9a30507f53e9:localhost] 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:94553a13-7e87-47b1-b815-9a30507f53e9:localhost] 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:94553a13-7e87-47b1-b815-9a30507f53e9:localhost] 2023-01-16 21:46:09 | [Mutex] waiting for: [received:nodes:94553a13-7e87-47b1-b815-9a30507f53e9:localhost] 2023-01-16 21:46:09 | [Mutex] received everything. 2023-01-16 21:46:09 | [Mutex] isItemNotified: received:node:94553a13-7e87-47b1-b815-9a30507f53e9:localhost:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:Node 98f75297-6fdb-4c48-9877-91db57e7cbb2 :: false |
createNodes | 1.513s |
2023-01-16 21:46:05 |
2023-01-16 21:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:05 | ------------------------------------ 2023-01-16 21:46:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "pubsub#title": "Node 98f75297-6fdb-4c48-9877-91db57e7cbb2" } 2023-01-16 21:46:06 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-16 21:46:07 | [Mutex] waiting for: [received:nodes:df5fc8f6-87d4-4eb1-98ec-cd01dc5e8b85:localhost] 2023-01-16 21:46:07 | [Mutex] waiting for: [received:nodes:df5fc8f6-87d4-4eb1-98ec-cd01dc5e8b85:localhost] 2023-01-16 21:46:07 | [Mutex] waiting for: [received:nodes:df5fc8f6-87d4-4eb1-98ec-cd01dc5e8b85:localhost] 2023-01-16 21:46:07 | [Mutex] received everything. 2023-01-16 21:46:07 | [Mutex] isItemNotified: received:node:df5fc8f6-87d4-4eb1-98ec-cd01dc5e8b85:localhost:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:Node 98f75297-6fdb-4c48-9877-91db57e7cbb2 :: true |
createSubnodes | 1.032s |
2023-01-16 21:46:07 |
2023-01-16 21:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:07 | ------------------------------------ 2023-01-16 21:46:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-512d99c8-2013-4f1e-a3de-c679ac2ec092", "pubsub#title": "Node 512d99c8-2013-4f1e-a3de-c679ac2ec092" } 2023-01-16 21:46:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-16 21:46:08 | [Mutex] waiting for: [received:nodes:f3c1a692-90c3-4618-a38e-1d62c7cbb5e2:localhost] 2023-01-16 21:46:08 | [Mutex] waiting for: [received:nodes:f3c1a692-90c3-4618-a38e-1d62c7cbb5e2:localhost] 2023-01-16 21:46:08 | [Mutex] waiting for: [received:nodes:f3c1a692-90c3-4618-a38e-1d62c7cbb5e2:localhost] 2023-01-16 21:46:08 | [Mutex] waiting for: [received:nodes:f3c1a692-90c3-4618-a38e-1d62c7cbb5e2:localhost] 2023-01-16 21:46:08 | [Mutex] received everything. 2023-01-16 21:46:08 | [Mutex] isItemNotified: received:node:f3c1a692-90c3-4618-a38e-1d62c7cbb5e2:localhost:node-512d99c8-2013-4f1e-a3de-c679ac2ec092:Node 512d99c8-2013-4f1e-a3de-c679ac2ec092 :: true |
deleteNodes | 1.024s |
2023-01-16 21:46:12 |
2023-01-16 21:46:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:12 | ------------------------------------ 2023-01-16 21:46:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-512d99c8-2013-4f1e-a3de-c679ac2ec092" } 2023-01-16 21:46:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-16 21:46:13 | [Mutex] waiting for: [received:nodes:6377bee2-4a21-404a-94fe-280c924da366:localhost] 2023-01-16 21:46:13 | [Mutex] waiting for: [received:nodes:6377bee2-4a21-404a-94fe-280c924da366:localhost] 2023-01-16 21:46:13 | [Mutex] waiting for: [received:nodes:6377bee2-4a21-404a-94fe-280c924da366:localhost] 2023-01-16 21:46:13 | [Mutex] received everything. 2023-01-16 21:46:13 | [Mutex] isItemNotified: received:node:6377bee2-4a21-404a-94fe-280c924da366:localhost:node-512d99c8-2013-4f1e-a3de-c679ac2ec092:Node 512d99c8-2013-4f1e-a3de-c679ac2ec092 :: false |
deleteSubnodes | 1.064s |
2023-01-16 21:46:11 |
2023-01-16 21:46:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:11 | ------------------------------------ 2023-01-16 21:46:11 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2" } 2023-01-16 21:46:11 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-16 21:46:12 | [Mutex] waiting for: [received:nodes:f42079a0-a7c3-4902-bcec-77c7c86de599:localhost] 2023-01-16 21:46:12 | [Mutex] waiting for: [received:nodes:f42079a0-a7c3-4902-bcec-77c7c86de599:localhost] 2023-01-16 21:46:12 | [Mutex] waiting for: [received:nodes:f42079a0-a7c3-4902-bcec-77c7c86de599:localhost] 2023-01-16 21:46:12 | [Mutex] received everything. 2023-01-16 21:46:12 | [Mutex] isItemNotified: received:node:f42079a0-a7c3-4902-bcec-77c7c86de599:localhost:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:Node 98f75297-6fdb-4c48-9877-91db57e7cbb2 :: false 2023-01-16 21:46:12 | [Mutex] waiting for: [received:nodes:93a94fd4-d358-42c4-942d-3e4e3f6ac18d:localhost] 2023-01-16 21:46:12 | [Mutex] received everything. 2023-01-16 21:46:12 | [Mutex] isItemNotified: received:node:93a94fd4-d358-42c4-942d-3e4e3f6ac18d:localhost:node-98f75297-6fdb-4c48-9877-91db57e7cbb2:Node 98f75297-6fdb-4c48-9877-91db57e7cbb2 :: false |
publishItemsToNodes | 0.040s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "entry": "<test>item-806c70fd-da79-46f6-b1a9-2c16bdf5548c</test>", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c" } 2023-01-16 21:46:10 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c" } 2023-01-16 21:46:10 | [Mutex] waiting for: [published:item:notifieditem-806c70fd-da79-46f6-b1a9-2c16bdf5548c:admin@test-domain.com] 2023-01-16 21:46:10 | [Mutex] received everything. 2023-01-16 21:46:10 | [Mutex] isItemNotified: published:item:notifieditem-806c70fd-da79-46f6-b1a9-2c16bdf5548c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.061s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c" } 2023-01-16 21:46:10 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c" } 2023-01-16 21:46:10 | [Mutex] waiting for: [retracted:item:notifieditem-806c70fd-da79-46f6-b1a9-2c16bdf5548c:admin@test-domain.com] 2023-01-16 21:46:10 | [Mutex] received everything. 2023-01-16 21:46:10 | [Mutex] isItemNotified: retracted:item:notifieditem-806c70fd-da79-46f6-b1a9-2c16bdf5548c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.065s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c" } 2023-01-16 21:46:10 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "item-id": "item-806c70fd-da79-46f6-b1a9-2c16bdf5548c", "item": [ "<item id=\"item-806c70fd-da79-46f6-b1a9-2c16bdf5548c\"><test>item-806c70fd-da79-46f6-b1a9-2c16bdf5548c</test></item>" ] } 2023-01-16 21:46:10 | [Mutex] notify: [retrieved:item:item-806c70fd-da79-46f6-b1a9-2c16bdf5548c:payload-matches:true:localhost] 2023-01-16 21:46:10 | [Mutex] received everything. 2023-01-16 21:46:10 | [Mutex] isItemNotified: retrieved:item:item-806c70fd-da79-46f6-b1a9-2c16bdf5548c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-01-16 21:46:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "test", "node-512d99c8-2013-4f1e-a3de-c679ac2ec092" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-98f75297-6fdb-4c48-9877-91db57e7cbb2)" } 2023-01-16 21:46:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-01-16 21:46:09 |
2023-01-16 21:46:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:09 | ------------------------------------ 2023-01-16 21:46:09 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "jids": [ "admin@test-domain.com" ] } 2023-01-16 21:46:09 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.061s |
2023-01-16 21:46:10 |
2023-01-16 21:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-16 21:46:10 | ------------------------------------ 2023-01-16 21:46:10 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-98f75297-6fdb-4c48-9877-91db57e7cbb2", "jids": [ "admin@test-domain.com" ] } 2023-01-16 21:46:10 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |