Test duration : 8.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.109s |
2023-08-06 22:31:23 |
2023-08-06 22:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:23 | ------------------------------------ 2023-08-06 22:31:23 | [Mutex] waiting for: [configured:node:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:node-bbca4c1d-08f0-46da-98dd-185080a33192] 2023-08-06 22:31:24 | [Mutex] received everything. 2023-08-06 22:31:24 | [Mutex] isItemNotified: configured:node:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:node-bbca4c1d-08f0-46da-98dd-185080a33192 :: true 2023-08-06 22:31:25 | [Mutex] waiting for: [received:nodes:725e7319-a336-452d-bb03-d2ec615e8e03:localhost] 2023-08-06 22:31:25 | [Mutex] received everything. 2023-08-06 22:31:25 | [Mutex] isItemNotified: received:node:725e7319-a336-452d-bb03-d2ec615e8e03:localhost:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:Node 269fc614-01e3-4899-85c0-e9bcf4e42e74 :: true 2023-08-06 22:31:25 | [Mutex] waiting for: [received:nodes:35ce65f3-16a7-4a24-970f-1186d4a72a05:localhost] 2023-08-06 22:31:25 | [Mutex] waiting for: [received:nodes:35ce65f3-16a7-4a24-970f-1186d4a72a05:localhost] 2023-08-06 22:31:25 | [Mutex] waiting for: [received:nodes:35ce65f3-16a7-4a24-970f-1186d4a72a05:localhost] 2023-08-06 22:31:25 | [Mutex] waiting for: [received:nodes:35ce65f3-16a7-4a24-970f-1186d4a72a05:localhost] 2023-08-06 22:31:25 | [Mutex] received everything. 2023-08-06 22:31:25 | [Mutex] isItemNotified: received:node:35ce65f3-16a7-4a24-970f-1186d4a72a05:localhost:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:Node 269fc614-01e3-4899-85c0-e9bcf4e42e74 :: false |
createNodes | 1.580s |
2023-08-06 22:31:21 |
2023-08-06 22:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:21 | ------------------------------------ 2023-08-06 22:31: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-269fc614-01e3-4899-85c0-e9bcf4e42e74", "pubsub#title": "Node 269fc614-01e3-4899-85c0-e9bcf4e42e74" } 2023-08-06 22:31:21 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 22:31:22 | [Mutex] waiting for: [received:nodes:93b8465d-e683-4bec-b229-c7cd66b122e1:localhost] 2023-08-06 22:31:22 | [Mutex] waiting for: [received:nodes:93b8465d-e683-4bec-b229-c7cd66b122e1:localhost] 2023-08-06 22:31:22 | [Mutex] waiting for: [received:nodes:93b8465d-e683-4bec-b229-c7cd66b122e1:localhost] 2023-08-06 22:31:22 | [Mutex] waiting for: [received:nodes:93b8465d-e683-4bec-b229-c7cd66b122e1:localhost] 2023-08-06 22:31:22 | [Mutex] received everything. 2023-08-06 22:31:22 | [Mutex] isItemNotified: received:node:93b8465d-e683-4bec-b229-c7cd66b122e1:localhost:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:Node 269fc614-01e3-4899-85c0-e9bcf4e42e74 :: true |
createSubnodes | 1.026s |
2023-08-06 22:31:22 |
2023-08-06 22:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:22 | ------------------------------------ 2023-08-06 22:31: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-bbca4c1d-08f0-46da-98dd-185080a33192", "pubsub#title": "Node bbca4c1d-08f0-46da-98dd-185080a33192" } 2023-08-06 22:31:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 22:31:23 | [Mutex] waiting for: [received:nodes:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost] 2023-08-06 22:31:23 | [Mutex] waiting for: [received:nodes:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost] 2023-08-06 22:31:23 | [Mutex] waiting for: [received:nodes:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost] 2023-08-06 22:31:23 | [Mutex] waiting for: [received:nodes:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost] 2023-08-06 22:31:23 | [Mutex] waiting for: [received:nodes:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost] 2023-08-06 22:31:23 | [Mutex] received everything. 2023-08-06 22:31:23 | [Mutex] isItemNotified: received:node:a3214bbd-ea09-4321-9030-ad2c65d870aa:localhost:node-bbca4c1d-08f0-46da-98dd-185080a33192:Node bbca4c1d-08f0-46da-98dd-185080a33192 :: true |
deleteNodes | 1.022s |
2023-08-06 22:31:28 |
2023-08-06 22:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:28 | ------------------------------------ 2023-08-06 22:31:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-bbca4c1d-08f0-46da-98dd-185080a33192" } 2023-08-06 22:31:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 22:31:29 | [Mutex] waiting for: [received:nodes:92caad36-2840-45c3-869c-17bb603bd8b3:localhost] 2023-08-06 22:31:29 | [Mutex] waiting for: [received:nodes:92caad36-2840-45c3-869c-17bb603bd8b3:localhost] 2023-08-06 22:31:29 | [Mutex] waiting for: [received:nodes:92caad36-2840-45c3-869c-17bb603bd8b3:localhost] 2023-08-06 22:31:29 | [Mutex] received everything. 2023-08-06 22:31:29 | [Mutex] isItemNotified: received:node:92caad36-2840-45c3-869c-17bb603bd8b3:localhost:node-bbca4c1d-08f0-46da-98dd-185080a33192:Node bbca4c1d-08f0-46da-98dd-185080a33192 :: false |
deleteSubnodes | 1.025s |
2023-08-06 22:31:27 |
2023-08-06 22:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:27 | ------------------------------------ 2023-08-06 22:31:27 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74" } 2023-08-06 22:31:27 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 22:31:28 | [Mutex] waiting for: [received:nodes:4bcbf7cb-c435-47b9-8bb9-367a5f1052a8:localhost] 2023-08-06 22:31:28 | [Mutex] waiting for: [received:nodes:4bcbf7cb-c435-47b9-8bb9-367a5f1052a8:localhost] 2023-08-06 22:31:28 | [Mutex] waiting for: [received:nodes:4bcbf7cb-c435-47b9-8bb9-367a5f1052a8:localhost] 2023-08-06 22:31:28 | [Mutex] waiting for: [received:nodes:4bcbf7cb-c435-47b9-8bb9-367a5f1052a8:localhost] 2023-08-06 22:31:28 | [Mutex] received everything. 2023-08-06 22:31:28 | [Mutex] isItemNotified: received:node:4bcbf7cb-c435-47b9-8bb9-367a5f1052a8:localhost:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:Node 269fc614-01e3-4899-85c0-e9bcf4e42e74 :: false 2023-08-06 22:31:28 | [Mutex] waiting for: [received:nodes:515b8b06-dc2f-4d2b-88bf-271eb3970399:localhost] 2023-08-06 22:31:28 | [Mutex] received everything. 2023-08-06 22:31:28 | [Mutex] isItemNotified: received:node:515b8b06-dc2f-4d2b-88bf-271eb3970399:localhost:node-269fc614-01e3-4899-85c0-e9bcf4e42e74:Node 269fc614-01e3-4899-85c0-e9bcf4e42e74 :: false |
publishItemsToNodes | 0.039s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "entry": "<test>item-b406bc26-3a1f-49d9-8579-be36121b034b</test>", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b" } 2023-08-06 22:31:26 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b" } 2023-08-06 22:31:26 | [Mutex] waiting for: [published:item:notifieditem-b406bc26-3a1f-49d9-8579-be36121b034b:admin@test-domain.com] 2023-08-06 22:31:26 | [Mutex] received everything. 2023-08-06 22:31:26 | [Mutex] isItemNotified: published:item:notifieditem-b406bc26-3a1f-49d9-8579-be36121b034b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b" } 2023-08-06 22:31:26 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b" } 2023-08-06 22:31:26 | [Mutex] received everything. 2023-08-06 22:31:26 | [Mutex] isItemNotified: retracted:item:notifieditem-b406bc26-3a1f-49d9-8579-be36121b034b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.068s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b" } 2023-08-06 22:31:26 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "item-id": "item-b406bc26-3a1f-49d9-8579-be36121b034b", "item": [ "<item id=\"item-b406bc26-3a1f-49d9-8579-be36121b034b\"><test>item-b406bc26-3a1f-49d9-8579-be36121b034b</test></item>" ] } 2023-08-06 22:31:26 | [Mutex] notify: [retrieved:item:item-b406bc26-3a1f-49d9-8579-be36121b034b:payload-matches:true:localhost] 2023-08-06 22:31:26 | [Mutex] received everything. 2023-08-06 22:31:26 | [Mutex] isItemNotified: retrieved:item:item-b406bc26-3a1f-49d9-8579-be36121b034b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-08-06 22:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "node-bbca4c1d-08f0-46da-98dd-185080a33192" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-269fc614-01e3-4899-85c0-e9bcf4e42e74)" } 2023-08-06 22:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.023s |
2023-08-06 22:31:25 |
2023-08-06 22:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:25 | ------------------------------------ 2023-08-06 22:31:25 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "jids": [ "admin@test-domain.com" ] } 2023-08-06 22:31:25 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.082s |
2023-08-06 22:31:26 |
2023-08-06 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 22:31:26 | ------------------------------------ 2023-08-06 22:31:26 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-269fc614-01e3-4899-85c0-e9bcf4e42e74", "jids": [ "admin@test-domain.com" ] } 2023-08-06 22:31:26 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |