Test duration : 8.559s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.097s |
2023-10-28 00:59:43 |
2023-10-28 00:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:43 | ------------------------------------ 2023-10-28 00:59:43 | [Mutex] waiting for: [configured:node:node-4c281f71-7392-4f10-89b4-37e2b08fe695:node-9e3d0cac-f51c-46f2-8c97-907a531bb32a] 2023-10-28 00:59:43 | [Mutex] received everything. 2023-10-28 00:59:43 | [Mutex] isItemNotified: configured:node:node-4c281f71-7392-4f10-89b4-37e2b08fe695:node-9e3d0cac-f51c-46f2-8c97-907a531bb32a :: true 2023-10-28 00:59:44 | [Mutex] waiting for: [received:nodes:0acce70b-ebc0-4b0f-b0bf-ce105b8f1d2e:localhost] 2023-10-28 00:59:44 | [Mutex] received everything. 2023-10-28 00:59:44 | [Mutex] isItemNotified: received:node:0acce70b-ebc0-4b0f-b0bf-ce105b8f1d2e:localhost:node-4c281f71-7392-4f10-89b4-37e2b08fe695:Node 4c281f71-7392-4f10-89b4-37e2b08fe695 :: true 2023-10-28 00:59:44 | [Mutex] waiting for: [received:nodes:f8d8eb73-bbf5-4213-a06c-200e16f842a7:localhost] 2023-10-28 00:59:44 | [Mutex] waiting for: [received:nodes:f8d8eb73-bbf5-4213-a06c-200e16f842a7:localhost] 2023-10-28 00:59:44 | [Mutex] waiting for: [received:nodes:f8d8eb73-bbf5-4213-a06c-200e16f842a7:localhost] 2023-10-28 00:59:44 | [Mutex] waiting for: [received:nodes:f8d8eb73-bbf5-4213-a06c-200e16f842a7:localhost] 2023-10-28 00:59:44 | [Mutex] received everything. 2023-10-28 00:59:44 | [Mutex] isItemNotified: received:node:f8d8eb73-bbf5-4213-a06c-200e16f842a7:localhost:node-4c281f71-7392-4f10-89b4-37e2b08fe695:Node 4c281f71-7392-4f10-89b4-37e2b08fe695 :: false |
createNodes | 1.613s |
2023-10-28 00:59:40 |
2023-10-28 00:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:40 | ------------------------------------ 2023-10-28 00:59:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "pubsub#title": "Node 4c281f71-7392-4f10-89b4-37e2b08fe695" } 2023-10-28 00:59:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:59:42 | [Mutex] waiting for: [received:nodes:61eafb86-5698-441c-903c-bf24cbd44d6f:localhost] 2023-10-28 00:59:42 | [Mutex] received everything. 2023-10-28 00:59:42 | [Mutex] isItemNotified: received:node:61eafb86-5698-441c-903c-bf24cbd44d6f:localhost:node-4c281f71-7392-4f10-89b4-37e2b08fe695:Node 4c281f71-7392-4f10-89b4-37e2b08fe695 :: true |
createSubnodes | 1.018s |
2023-10-28 00:59:42 |
2023-10-28 00:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:42 | ------------------------------------ 2023-10-28 00:59:42 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-9e3d0cac-f51c-46f2-8c97-907a531bb32a", "pubsub#title": "Node 9e3d0cac-f51c-46f2-8c97-907a531bb32a" } 2023-10-28 00:59:42 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:59:43 | [Mutex] waiting for: [received:nodes:a928c9cd-f3f9-4ae1-9e4e-74783491b8e5:localhost] 2023-10-28 00:59:43 | [Mutex] waiting for: [received:nodes:a928c9cd-f3f9-4ae1-9e4e-74783491b8e5:localhost] 2023-10-28 00:59:43 | [Mutex] waiting for: [received:nodes:a928c9cd-f3f9-4ae1-9e4e-74783491b8e5:localhost] 2023-10-28 00:59:43 | [Mutex] waiting for: [received:nodes:a928c9cd-f3f9-4ae1-9e4e-74783491b8e5:localhost] 2023-10-28 00:59:43 | [Mutex] received everything. 2023-10-28 00:59:43 | [Mutex] isItemNotified: received:node:a928c9cd-f3f9-4ae1-9e4e-74783491b8e5:localhost:node-9e3d0cac-f51c-46f2-8c97-907a531bb32a:Node 9e3d0cac-f51c-46f2-8c97-907a531bb32a :: true |
deleteNodes | 1.022s |
2023-10-28 00:59:47 |
2023-10-28 00:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:47 | ------------------------------------ 2023-10-28 00:59:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9e3d0cac-f51c-46f2-8c97-907a531bb32a" } 2023-10-28 00:59:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:59:48 | [Mutex] waiting for: [received:nodes:9a03c9ea-d29a-427a-ad4e-034c0f15892f:localhost] 2023-10-28 00:59:48 | [Mutex] waiting for: [received:nodes:9a03c9ea-d29a-427a-ad4e-034c0f15892f:localhost] 2023-10-28 00:59:48 | [Mutex] waiting for: [received:nodes:9a03c9ea-d29a-427a-ad4e-034c0f15892f:localhost] 2023-10-28 00:59:48 | [Mutex] received everything. 2023-10-28 00:59:48 | [Mutex] isItemNotified: received:node:9a03c9ea-d29a-427a-ad4e-034c0f15892f:localhost:node-9e3d0cac-f51c-46f2-8c97-907a531bb32a:Node 9e3d0cac-f51c-46f2-8c97-907a531bb32a :: false |
deleteSubnodes | 1.024s |
2023-10-28 00:59:46 |
2023-10-28 00:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:46 | ------------------------------------ 2023-10-28 00:59:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695" } 2023-10-28 00:59:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:59:47 | [Mutex] waiting for: [received:nodes:efc28b8e-d59c-4453-9db3-f9638cf8b1c6:localhost] 2023-10-28 00:59:47 | [Mutex] waiting for: [received:nodes:efc28b8e-d59c-4453-9db3-f9638cf8b1c6:localhost] 2023-10-28 00:59:47 | [Mutex] waiting for: [received:nodes:efc28b8e-d59c-4453-9db3-f9638cf8b1c6:localhost] 2023-10-28 00:59:47 | [Mutex] waiting for: [received:nodes:efc28b8e-d59c-4453-9db3-f9638cf8b1c6:localhost] 2023-10-28 00:59:47 | [Mutex] received everything. 2023-10-28 00:59:47 | [Mutex] isItemNotified: received:node:efc28b8e-d59c-4453-9db3-f9638cf8b1c6:localhost:node-4c281f71-7392-4f10-89b4-37e2b08fe695:Node 4c281f71-7392-4f10-89b4-37e2b08fe695 :: false 2023-10-28 00:59:47 | [Mutex] waiting for: [received:nodes:bb716821-bc7a-4e6b-9c42-a6e5c1f4027d:localhost] 2023-10-28 00:59:47 | [Mutex] received everything. 2023-10-28 00:59:47 | [Mutex] isItemNotified: received:node:bb716821-bc7a-4e6b-9c42-a6e5c1f4027d:localhost:node-4c281f71-7392-4f10-89b4-37e2b08fe695:Node 4c281f71-7392-4f10-89b4-37e2b08fe695 :: false |
publishItemsToNodes | 0.044s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "entry": "<test>item-010a7384-e6cc-46d1-8d89-711f4e7b6017</test>", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017" } 2023-10-28 00:59:45 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017" } 2023-10-28 00:59:45 | [Mutex] waiting for: [published:item:notifieditem-010a7384-e6cc-46d1-8d89-711f4e7b6017:admin@test-domain.com] 2023-10-28 00:59:45 | [Mutex] received everything. 2023-10-28 00:59:45 | [Mutex] isItemNotified: published:item:notifieditem-010a7384-e6cc-46d1-8d89-711f4e7b6017:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017" } 2023-10-28 00:59:45 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017" } 2023-10-28 00:59:45 | [Mutex] received everything. 2023-10-28 00:59:45 | [Mutex] isItemNotified: retracted:item:notifieditem-010a7384-e6cc-46d1-8d89-711f4e7b6017:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.064s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017" } 2023-10-28 00:59:45 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "item-id": "item-010a7384-e6cc-46d1-8d89-711f4e7b6017", "item": [ "<item id=\"item-010a7384-e6cc-46d1-8d89-711f4e7b6017\"><test>item-010a7384-e6cc-46d1-8d89-711f4e7b6017</test></item>" ] } 2023-10-28 00:59:45 | [Mutex] notify: [retrieved:item:item-010a7384-e6cc-46d1-8d89-711f4e7b6017:payload-matches:true:localhost] 2023-10-28 00:59:45 | [Mutex] received everything. 2023-10-28 00:59:45 | [Mutex] isItemNotified: retrieved:item:item-010a7384-e6cc-46d1-8d89-711f4e7b6017:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-10-28 00:59:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-9e3d0cac-f51c-46f2-8c97-907a531bb32a", "node-4c281f71-7392-4f10-89b4-37e2b08fe695" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-4c281f71-7392-4f10-89b4-37e2b08fe695)" } 2023-10-28 00:59:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2023-10-28 00:59:44 |
2023-10-28 00:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:44 | ------------------------------------ 2023-10-28 00:59:44 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "jids": [ "admin@test-domain.com" ] } 2023-10-28 00:59:44 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.047s |
2023-10-28 00:59:45 |
2023-10-28 00:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:59:45 | ------------------------------------ 2023-10-28 00:59:45 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-4c281f71-7392-4f10-89b4-37e2b08fe695", "jids": [ "admin@test-domain.com" ] } 2023-10-28 00:59:45 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |