Test duration : 8.554s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.101s |
2023-08-06 23:01:28 |
2023-08-06 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:28 | ------------------------------------ 2023-08-06 23:01:28 | [Mutex] waiting for: [configured:node:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:node-63f75696-3a74-471c-84ed-1454dfbcc53f] 2023-08-06 23:01:28 | [Mutex] received everything. 2023-08-06 23:01:28 | [Mutex] isItemNotified: configured:node:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:node-63f75696-3a74-471c-84ed-1454dfbcc53f :: true 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:78d83775-b044-463e-b0b5-4061dea2f355:localhost] 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:78d83775-b044-463e-b0b5-4061dea2f355:localhost] 2023-08-06 23:01:29 | [Mutex] received everything. 2023-08-06 23:01:29 | [Mutex] isItemNotified: received:node:78d83775-b044-463e-b0b5-4061dea2f355:localhost:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5 :: true 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:8f56999f-d6e6-45f0-9c0f-346752f29670:localhost] 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:8f56999f-d6e6-45f0-9c0f-346752f29670:localhost] 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:8f56999f-d6e6-45f0-9c0f-346752f29670:localhost] 2023-08-06 23:01:29 | [Mutex] waiting for: [received:nodes:8f56999f-d6e6-45f0-9c0f-346752f29670:localhost] 2023-08-06 23:01:29 | [Mutex] received everything. 2023-08-06 23:01:29 | [Mutex] isItemNotified: received:node:8f56999f-d6e6-45f0-9c0f-346752f29670:localhost:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5 :: false |
createNodes | 1.586s |
2023-08-06 23:01:25 |
2023-08-06 23:01:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:25 | ------------------------------------ 2023-08-06 23:01:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "pubsub#title": "Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5" } 2023-08-06 23:01:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 23:01:27 | [Mutex] waiting for: [received:nodes:0e5293ac-de19-4883-bb67-c209452e6aa9:localhost] 2023-08-06 23:01:27 | [Mutex] waiting for: [received:nodes:0e5293ac-de19-4883-bb67-c209452e6aa9:localhost] 2023-08-06 23:01:27 | [Mutex] waiting for: [received:nodes:0e5293ac-de19-4883-bb67-c209452e6aa9:localhost] 2023-08-06 23:01:27 | [Mutex] received everything. 2023-08-06 23:01:27 | [Mutex] isItemNotified: received:node:0e5293ac-de19-4883-bb67-c209452e6aa9:localhost:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5 :: true |
createSubnodes | 1.021s |
2023-08-06 23:01:27 |
2023-08-06 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:27 | ------------------------------------ 2023-08-06 23:01:27 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-63f75696-3a74-471c-84ed-1454dfbcc53f", "pubsub#title": "Node 63f75696-3a74-471c-84ed-1454dfbcc53f" } 2023-08-06 23:01:27 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 23:01:28 | [Mutex] waiting for: [received:nodes:bcc9341e-3c3f-4018-b729-30692a75367a:localhost] 2023-08-06 23:01:28 | [Mutex] waiting for: [received:nodes:bcc9341e-3c3f-4018-b729-30692a75367a:localhost] 2023-08-06 23:01:28 | [Mutex] waiting for: [received:nodes:bcc9341e-3c3f-4018-b729-30692a75367a:localhost] 2023-08-06 23:01:28 | [Mutex] waiting for: [received:nodes:bcc9341e-3c3f-4018-b729-30692a75367a:localhost] 2023-08-06 23:01:28 | [Mutex] waiting for: [received:nodes:bcc9341e-3c3f-4018-b729-30692a75367a:localhost] 2023-08-06 23:01:28 | [Mutex] received everything. 2023-08-06 23:01:28 | [Mutex] isItemNotified: received:node:bcc9341e-3c3f-4018-b729-30692a75367a:localhost:node-63f75696-3a74-471c-84ed-1454dfbcc53f:Node 63f75696-3a74-471c-84ed-1454dfbcc53f :: true |
deleteNodes | 1.018s |
2023-08-06 23:01:32 |
2023-08-06 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:32 | ------------------------------------ 2023-08-06 23:01:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-63f75696-3a74-471c-84ed-1454dfbcc53f" } 2023-08-06 23:01:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 23:01:33 | [Mutex] waiting for: [received:nodes:813238b6-3377-4274-9ca7-df6c398a2961:localhost] 2023-08-06 23:01:33 | [Mutex] waiting for: [received:nodes:813238b6-3377-4274-9ca7-df6c398a2961:localhost] 2023-08-06 23:01:33 | [Mutex] waiting for: [received:nodes:813238b6-3377-4274-9ca7-df6c398a2961:localhost] 2023-08-06 23:01:33 | [Mutex] received everything. 2023-08-06 23:01:33 | [Mutex] isItemNotified: received:node:813238b6-3377-4274-9ca7-df6c398a2961:localhost:node-63f75696-3a74-471c-84ed-1454dfbcc53f:Node 63f75696-3a74-471c-84ed-1454dfbcc53f :: false |
deleteSubnodes | 1.026s |
2023-08-06 23:01:31 |
2023-08-06 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:31 | ------------------------------------ 2023-08-06 23:01:31 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5" } 2023-08-06 23:01:31 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-06 23:01:32 | [Mutex] waiting for: [received:nodes:7b22853c-f6ee-408d-8f9c-59f24880ae3f:localhost] 2023-08-06 23:01:32 | [Mutex] waiting for: [received:nodes:7b22853c-f6ee-408d-8f9c-59f24880ae3f:localhost] 2023-08-06 23:01:32 | [Mutex] waiting for: [received:nodes:7b22853c-f6ee-408d-8f9c-59f24880ae3f:localhost] 2023-08-06 23:01:32 | [Mutex] waiting for: [received:nodes:7b22853c-f6ee-408d-8f9c-59f24880ae3f:localhost] 2023-08-06 23:01:32 | [Mutex] received everything. 2023-08-06 23:01:32 | [Mutex] isItemNotified: received:node:7b22853c-f6ee-408d-8f9c-59f24880ae3f:localhost:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5 :: false 2023-08-06 23:01:32 | [Mutex] waiting for: [received:nodes:2e660c87-e088-447f-bf73-83bb338b4539:localhost] 2023-08-06 23:01:32 | [Mutex] received everything. 2023-08-06 23:01:32 | [Mutex] isItemNotified: received:node:2e660c87-e088-447f-bf73-83bb338b4539:localhost:node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5:Node aa07faa3-28ff-42ce-8e17-485a41a9e9c5 :: false |
publishItemsToNodes | 0.055s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "entry": "<test>item-c57d7520-bd27-4cfe-a784-cf66dee2ed93</test>", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93" } 2023-08-06 23:01:30 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93" } 2023-08-06 23:01:30 | [Mutex] waiting for: [published:item:notifieditem-c57d7520-bd27-4cfe-a784-cf66dee2ed93:admin@test-domain.com] 2023-08-06 23:01:30 | [Mutex] received everything. 2023-08-06 23:01:30 | [Mutex] isItemNotified: published:item:notifieditem-c57d7520-bd27-4cfe-a784-cf66dee2ed93:admin@test-domain.com :: true |
retractItemsFromNodes | 0.062s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93" } 2023-08-06 23:01:30 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93" } 2023-08-06 23:01:30 | [Mutex] received everything. 2023-08-06 23:01:30 | [Mutex] isItemNotified: retracted:item:notifieditem-c57d7520-bd27-4cfe-a784-cf66dee2ed93:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.023s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93" } 2023-08-06 23:01:30 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "item-id": "item-c57d7520-bd27-4cfe-a784-cf66dee2ed93", "item": [ "<item id=\"item-c57d7520-bd27-4cfe-a784-cf66dee2ed93\"><test>item-c57d7520-bd27-4cfe-a784-cf66dee2ed93</test></item>" ] } 2023-08-06 23:01:30 | [Mutex] notify: [retrieved:item:item-c57d7520-bd27-4cfe-a784-cf66dee2ed93:payload-matches:true:localhost] 2023-08-06 23:01:30 | [Mutex] received everything. 2023-08-06 23:01:30 | [Mutex] isItemNotified: retrieved:item:item-c57d7520-bd27-4cfe-a784-cf66dee2ed93:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.065s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-08-06 23:01:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-63f75696-3a74-471c-84ed-1454dfbcc53f", "test", "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5)" } 2023-08-06 23:01:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.017s |
2023-08-06 23:01:29 |
2023-08-06 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:29 | ------------------------------------ 2023-08-06 23:01:29 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "jids": [ "admin@test-domain.com" ] } 2023-08-06 23:01:29 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2023-08-06 23:01:30 |
2023-08-06 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-06 23:01:30 | ------------------------------------ 2023-08-06 23:01:30 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-aa07faa3-28ff-42ce-8e17-485a41a9e9c5", "jids": [ "admin@test-domain.com" ] } 2023-08-06 23:01:30 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |