Test duration : 9.099s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.104s |
2020-11-09 21:41:24 |
2020-11-09 21:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:24 | ------------------------------------ 2020-11-09 21:41:24 | [Mutex] waiting for: [configured:node:node-bcab0227-5df6-4ae5-af32-012112239964:node-018a335c-f89d-4ee0-865e-0e9e024110da] 2020-11-09 21:41:24 | [Mutex] received everything. 2020-11-09 21:41:24 | [Mutex] isItemNotified: configured:node:node-bcab0227-5df6-4ae5-af32-012112239964:node-018a335c-f89d-4ee0-865e-0e9e024110da :: true 2020-11-09 21:41:25 | [Mutex] waiting for: [received:nodes:724bb57e-6847-4fab-85e8-79647a77bad4:localhost] 2020-11-09 21:41:25 | [Mutex] received everything. 2020-11-09 21:41:25 | [Mutex] isItemNotified: received:node:724bb57e-6847-4fab-85e8-79647a77bad4:localhost:node-bcab0227-5df6-4ae5-af32-012112239964:Node bcab0227-5df6-4ae5-af32-012112239964 :: true 2020-11-09 21:41:25 | [Mutex] waiting for: [received:nodes:275b3644-1513-4dfd-9528-cd4c991302ce:localhost] 2020-11-09 21:41:25 | [Mutex] waiting for: [received:nodes:275b3644-1513-4dfd-9528-cd4c991302ce:localhost] 2020-11-09 21:41:25 | [Mutex] waiting for: [received:nodes:275b3644-1513-4dfd-9528-cd4c991302ce:localhost] 2020-11-09 21:41:25 | [Mutex] received everything. 2020-11-09 21:41:25 | [Mutex] isItemNotified: received:node:275b3644-1513-4dfd-9528-cd4c991302ce:localhost:node-bcab0227-5df6-4ae5-af32-012112239964:Node bcab0227-5df6-4ae5-af32-012112239964 :: false |
createNodes | 1.695s |
2020-11-09 21:41:22 |
2020-11-09 21:41:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:22 | ------------------------------------ 2020-11-09 21:41:22 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "pubsub#title": "Node bcab0227-5df6-4ae5-af32-012112239964" } 2020-11-09 21:41:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-09 21:41:23 | [Mutex] waiting for: [received:nodes:2947cc2b-3cb7-4092-a88c-6d410cbc48f9:localhost] 2020-11-09 21:41:23 | [Mutex] received everything. 2020-11-09 21:41:23 | [Mutex] isItemNotified: received:node:2947cc2b-3cb7-4092-a88c-6d410cbc48f9:localhost:node-bcab0227-5df6-4ae5-af32-012112239964:Node bcab0227-5df6-4ae5-af32-012112239964 :: true |
createSubnodes | 1.023s |
2020-11-09 21:41:23 |
2020-11-09 21:41:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:23 | ------------------------------------ 2020-11-09 21:41:23 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-018a335c-f89d-4ee0-865e-0e9e024110da", "pubsub#title": "Node 018a335c-f89d-4ee0-865e-0e9e024110da" } 2020-11-09 21:41:23 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-09 21:41:24 | [Mutex] waiting for: [received:nodes:216e3f88-398f-4315-9ea1-c67c99505b9b:localhost] 2020-11-09 21:41:24 | [Mutex] received everything. 2020-11-09 21:41:24 | [Mutex] isItemNotified: received:node:216e3f88-398f-4315-9ea1-c67c99505b9b:localhost:node-018a335c-f89d-4ee0-865e-0e9e024110da:Node 018a335c-f89d-4ee0-865e-0e9e024110da :: true |
deleteNodes | 1.019s |
2020-11-09 21:41:29 |
2020-11-09 21:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:29 | ------------------------------------ 2020-11-09 21:41:29 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-018a335c-f89d-4ee0-865e-0e9e024110da" } 2020-11-09 21:41:29 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-09 21:41:30 | [Mutex] waiting for: [received:nodes:f8ba9803-ecad-4891-b2e4-f280138e6a28:localhost] 2020-11-09 21:41:30 | [Mutex] received everything. 2020-11-09 21:41:30 | [Mutex] isItemNotified: received:node:f8ba9803-ecad-4891-b2e4-f280138e6a28:localhost:node-018a335c-f89d-4ee0-865e-0e9e024110da:Node 018a335c-f89d-4ee0-865e-0e9e024110da :: false |
deleteSubnodes | 1.028s |
2020-11-09 21:41:28 |
2020-11-09 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:28 | ------------------------------------ 2020-11-09 21:41:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964" } 2020-11-09 21:41:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-09 21:41:29 | [Mutex] waiting for: [received:nodes:3c0e01f8-1dd2-429d-8755-60146acd531f:localhost] 2020-11-09 21:41:29 | [Mutex] received everything. 2020-11-09 21:41:29 | [Mutex] isItemNotified: received:node:3c0e01f8-1dd2-429d-8755-60146acd531f:localhost:node-bcab0227-5df6-4ae5-af32-012112239964:Node bcab0227-5df6-4ae5-af32-012112239964 :: false 2020-11-09 21:41:29 | [Mutex] waiting for: [received:nodes:548ada8a-6452-4e87-aec7-9692bad2752e:localhost] 2020-11-09 21:41:29 | [Mutex] received everything. 2020-11-09 21:41:29 | [Mutex] isItemNotified: received:node:548ada8a-6452-4e87-aec7-9692bad2752e:localhost:node-bcab0227-5df6-4ae5-af32-012112239964:Node bcab0227-5df6-4ae5-af32-012112239964 :: false |
publishItemsToNodes | 0.047s |
2020-11-09 21:41:26 |
2020-11-09 21:41:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:26 | ------------------------------------ 2020-11-09 21:41:26 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "entry": "<test>item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8</test>", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8" } 2020-11-09 21:41:27 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8" } 2020-11-09 21:41:27 | [Mutex] received everything. 2020-11-09 21:41:27 | [Mutex] isItemNotified: published:item:notifieditem-3d952c4f-5c3b-4750-80eb-cb1ed050edb8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.088s |
2020-11-09 21:41:27 |
2020-11-09 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:27 | ------------------------------------ 2020-11-09 21:41:27 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8" } 2020-11-09 21:41:27 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8" } 2020-11-09 21:41:27 | [Mutex] received everything. 2020-11-09 21:41:27 | [Mutex] isItemNotified: retracted:item:notifieditem-3d952c4f-5c3b-4750-80eb-cb1ed050edb8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.091s |
2020-11-09 21:41:27 |
2020-11-09 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:27 | ------------------------------------ 2020-11-09 21:41:27 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8" } 2020-11-09 21:41:27 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "item-id": "item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8", "item": [ "<item id=\"item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8\"><test>item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8</test></item>" ] } 2020-11-09 21:41:27 | [Mutex] notify: [retrieved:item:item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8:payload-matches:true:localhost] 2020-11-09 21:41:27 | [Mutex] received everything. 2020-11-09 21:41:27 | [Mutex] isItemNotified: retrieved:item:item-3d952c4f-5c3b-4750-80eb-cb1ed050edb8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-11-09 21:41:27 |
2020-11-09 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:27 | ------------------------------------ 2020-11-09 21:41:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-11-09 21:41:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-bcab0227-5df6-4ae5-af32-012112239964", "node-018a335c-f89d-4ee0-865e-0e9e024110da" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-11-09 21:41:27 |
2020-11-09 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:27 | ------------------------------------ 2020-11-09 21:41:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-bcab0227-5df6-4ae5-af32-012112239964)" } 2020-11-09 21:41:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2020-11-09 21:41:25 |
2020-11-09 21:41:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:25 | ------------------------------------ 2020-11-09 21:41:25 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "jids": [ "admin@test-domain.com" ] } 2020-11-09 21:41:25 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2020-11-09 21:41:27 |
2020-11-09 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-09 21:41:27 | ------------------------------------ 2020-11-09 21:41:27 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-bcab0227-5df6-4ae5-af32-012112239964", "jids": [ "admin@test-domain.com" ] } 2020-11-09 21:41:27 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |