Test duration : 8.804s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.113s |
2023-11-05 22:16:56 |
2023-11-05 22:16:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:56 | ------------------------------------ 2023-11-05 22:16:56 | [Mutex] waiting for: [configured:node:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:node-e89a9f73-1915-408f-8f18-988739e89cc0] 2023-11-05 22:16:56 | [Mutex] received everything. 2023-11-05 22:16:56 | [Mutex] isItemNotified: configured:node:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:node-e89a9f73-1915-408f-8f18-988739e89cc0 :: true 2023-11-05 22:16:57 | [Mutex] waiting for: [received:nodes:bf510b3d-1f50-4fd3-bdf2-2366248af7d8:localhost] 2023-11-05 22:16:57 | [Mutex] received everything. 2023-11-05 22:16:57 | [Mutex] isItemNotified: received:node:bf510b3d-1f50-4fd3-bdf2-2366248af7d8:localhost:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:Node 15eef5b7-da1c-43d4-a84b-af520981d5eb :: true 2023-11-05 22:16:57 | [Mutex] waiting for: [received:nodes:f5f48551-5683-4514-a6cb-ce68f3d71055:localhost] 2023-11-05 22:16:57 | [Mutex] waiting for: [received:nodes:f5f48551-5683-4514-a6cb-ce68f3d71055:localhost] 2023-11-05 22:16:57 | [Mutex] waiting for: [received:nodes:f5f48551-5683-4514-a6cb-ce68f3d71055:localhost] 2023-11-05 22:16:57 | [Mutex] waiting for: [received:nodes:f5f48551-5683-4514-a6cb-ce68f3d71055:localhost] 2023-11-05 22:16:57 | [Mutex] received everything. 2023-11-05 22:16:57 | [Mutex] isItemNotified: received:node:f5f48551-5683-4514-a6cb-ce68f3d71055:localhost:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:Node 15eef5b7-da1c-43d4-a84b-af520981d5eb :: false |
createNodes | 1.736s |
2023-11-05 22:16:53 |
2023-11-05 22:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:53 | ------------------------------------ 2023-11-05 22:16:54 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "pubsub#title": "Node 15eef5b7-da1c-43d4-a84b-af520981d5eb" } 2023-11-05 22:16:54 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 22:16:55 | [Mutex] waiting for: [received:nodes:ed5a463b-0edc-45d5-ab6f-9aba5ba13760:localhost] 2023-11-05 22:16:55 | [Mutex] waiting for: [received:nodes:ed5a463b-0edc-45d5-ab6f-9aba5ba13760:localhost] 2023-11-05 22:16:55 | [Mutex] received everything. 2023-11-05 22:16:55 | [Mutex] isItemNotified: received:node:ed5a463b-0edc-45d5-ab6f-9aba5ba13760:localhost:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:Node 15eef5b7-da1c-43d4-a84b-af520981d5eb :: true |
createSubnodes | 1.045s |
2023-11-05 22:16:55 |
2023-11-05 22:16:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:55 | ------------------------------------ 2023-11-05 22:16:55 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e89a9f73-1915-408f-8f18-988739e89cc0", "pubsub#title": "Node e89a9f73-1915-408f-8f18-988739e89cc0" } 2023-11-05 22:16:55 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 22:16:56 | [Mutex] waiting for: [received:nodes:c6af3ec3-7a97-425f-9d40-53b3c1515854:localhost] 2023-11-05 22:16:56 | [Mutex] waiting for: [received:nodes:c6af3ec3-7a97-425f-9d40-53b3c1515854:localhost] 2023-11-05 22:16:56 | [Mutex] waiting for: [received:nodes:c6af3ec3-7a97-425f-9d40-53b3c1515854:localhost] 2023-11-05 22:16:56 | [Mutex] waiting for: [received:nodes:c6af3ec3-7a97-425f-9d40-53b3c1515854:localhost] 2023-11-05 22:16:56 | [Mutex] received everything. 2023-11-05 22:16:56 | [Mutex] isItemNotified: received:node:c6af3ec3-7a97-425f-9d40-53b3c1515854:localhost:node-e89a9f73-1915-408f-8f18-988739e89cc0:Node e89a9f73-1915-408f-8f18-988739e89cc0 :: true |
deleteNodes | 1.033s |
2023-11-05 22:17:00 |
2023-11-05 22:17:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:17:00 | ------------------------------------ 2023-11-05 22:17:00 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e89a9f73-1915-408f-8f18-988739e89cc0" } 2023-11-05 22:17:00 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 22:17:01 | [Mutex] waiting for: [received:nodes:48a2e007-89ad-4bd4-8cc8-bc7eb746d7b6:localhost] 2023-11-05 22:17:01 | [Mutex] waiting for: [received:nodes:48a2e007-89ad-4bd4-8cc8-bc7eb746d7b6:localhost] 2023-11-05 22:17:01 | [Mutex] waiting for: [received:nodes:48a2e007-89ad-4bd4-8cc8-bc7eb746d7b6:localhost] 2023-11-05 22:17:01 | [Mutex] received everything. 2023-11-05 22:17:01 | [Mutex] isItemNotified: received:node:48a2e007-89ad-4bd4-8cc8-bc7eb746d7b6:localhost:node-e89a9f73-1915-408f-8f18-988739e89cc0:Node e89a9f73-1915-408f-8f18-988739e89cc0 :: false |
deleteSubnodes | 1.035s |
2023-11-05 22:16:59 |
2023-11-05 22:16:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:59 | ------------------------------------ 2023-11-05 22:16:59 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb" } 2023-11-05 22:16:59 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 22:17:00 | [Mutex] waiting for: [received:nodes:69b018a3-cb59-4c23-aedd-1e34f39166fd:localhost] 2023-11-05 22:17:00 | [Mutex] waiting for: [received:nodes:69b018a3-cb59-4c23-aedd-1e34f39166fd:localhost] 2023-11-05 22:17:00 | [Mutex] waiting for: [received:nodes:69b018a3-cb59-4c23-aedd-1e34f39166fd:localhost] 2023-11-05 22:17:00 | [Mutex] waiting for: [received:nodes:69b018a3-cb59-4c23-aedd-1e34f39166fd:localhost] 2023-11-05 22:17:00 | [Mutex] received everything. 2023-11-05 22:17:00 | [Mutex] isItemNotified: received:node:69b018a3-cb59-4c23-aedd-1e34f39166fd:localhost:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:Node 15eef5b7-da1c-43d4-a84b-af520981d5eb :: false 2023-11-05 22:17:00 | [Mutex] waiting for: [received:nodes:e954ee71-e2ff-45b1-8f01-f3ef8f95ae1c:localhost] 2023-11-05 22:17:00 | [Mutex] received everything. 2023-11-05 22:17:00 | [Mutex] isItemNotified: received:node:e954ee71-e2ff-45b1-8f01-f3ef8f95ae1c:localhost:node-15eef5b7-da1c-43d4-a84b-af520981d5eb:Node 15eef5b7-da1c-43d4-a84b-af520981d5eb :: false |
publishItemsToNodes | 0.048s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "entry": "<test>item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c</test>", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c" } 2023-11-05 22:16:58 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c" } 2023-11-05 22:16:58 | [Mutex] waiting for: [published:item:notifieditem-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c:admin@test-domain.com] 2023-11-05 22:16:58 | [Mutex] received everything. 2023-11-05 22:16:58 | [Mutex] isItemNotified: published:item:notifieditem-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.063s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c" } 2023-11-05 22:16:58 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c" } 2023-11-05 22:16:58 | [Mutex] received everything. 2023-11-05 22:16:58 | [Mutex] isItemNotified: retracted:item:notifieditem-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.055s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c" } 2023-11-05 22:16:58 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "item-id": "item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c", "item": [ "<item id=\"item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c\"><test>item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c</test></item>" ] } 2023-11-05 22:16:58 | [Mutex] notify: [retrieved:item:item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c:payload-matches:true:localhost] 2023-11-05 22:16:58 | [Mutex] received everything. 2023-11-05 22:16:58 | [Mutex] isItemNotified: retrieved:item:item-016cd614-2d9e-4ecb-85ff-5f0c177c9f0c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-11-05 22:16:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "node-e89a9f73-1915-408f-8f18-988739e89cc0" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-15eef5b7-da1c-43d4-a84b-af520981d5eb)" } 2023-11-05 22:16:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2023-11-05 22:16:57 |
2023-11-05 22:16:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:57 | ------------------------------------ 2023-11-05 22:16:57 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "jids": [ "admin@test-domain.com" ] } 2023-11-05 22:16:57 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.062s |
2023-11-05 22:16:58 |
2023-11-05 22:16:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 22:16:58 | ------------------------------------ 2023-11-05 22:16:58 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-15eef5b7-da1c-43d4-a84b-af520981d5eb", "jids": [ "admin@test-domain.com" ] } 2023-11-05 22:16:58 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |