Test duration : 9.094s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.129s |
2020-09-13 23:37:47 |
2020-09-13 23:37:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:47 | ------------------------------------ 2020-09-13 23:37:47 | [Mutex] waiting for: [configured:node:node-1e72a908-d08d-41c9-9e0d-d509b084b680:node-dae666a6-cbe3-42da-b928-6d66a6f54682] 2020-09-13 23:37:47 | [Mutex] received everything. 2020-09-13 23:37:47 | [Mutex] isItemNotified: configured:node:node-1e72a908-d08d-41c9-9e0d-d509b084b680:node-dae666a6-cbe3-42da-b928-6d66a6f54682 :: true 2020-09-13 23:37:48 | [Mutex] waiting for: [received:nodes:ded3e660-c646-47cb-9101-61741388c9b8:localhost] 2020-09-13 23:37:48 | [Mutex] received everything. 2020-09-13 23:37:48 | [Mutex] isItemNotified: received:node:ded3e660-c646-47cb-9101-61741388c9b8:localhost:node-1e72a908-d08d-41c9-9e0d-d509b084b680:Node 1e72a908-d08d-41c9-9e0d-d509b084b680 :: true 2020-09-13 23:37:48 | [Mutex] waiting for: [received:nodes:b403c873-029c-4497-9f22-dcbeb24fdb80:localhost] 2020-09-13 23:37:48 | [Mutex] received everything. 2020-09-13 23:37:48 | [Mutex] isItemNotified: received:node:b403c873-029c-4497-9f22-dcbeb24fdb80:localhost:node-1e72a908-d08d-41c9-9e0d-d509b084b680:Node 1e72a908-d08d-41c9-9e0d-d509b084b680 :: false |
createNodes | 1.691s |
2020-09-13 23:37:44 |
2020-09-13 23:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:44 | ------------------------------------ 2020-09-13 23:37:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "pubsub#title": "Node 1e72a908-d08d-41c9-9e0d-d509b084b680" } 2020-09-13 23:37:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-13 23:37:46 | [Mutex] waiting for: [received:nodes:74a2f395-61a5-4147-ad3a-95a1094df710:localhost] 2020-09-13 23:37:46 | [Mutex] waiting for: [received:nodes:74a2f395-61a5-4147-ad3a-95a1094df710:localhost] 2020-09-13 23:37:46 | [Mutex] received everything. 2020-09-13 23:37:46 | [Mutex] isItemNotified: received:node:74a2f395-61a5-4147-ad3a-95a1094df710:localhost:node-1e72a908-d08d-41c9-9e0d-d509b084b680:Node 1e72a908-d08d-41c9-9e0d-d509b084b680 :: true |
createSubnodes | 1.026s |
2020-09-13 23:37:46 |
2020-09-13 23:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:46 | ------------------------------------ 2020-09-13 23:37:46 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-dae666a6-cbe3-42da-b928-6d66a6f54682", "pubsub#title": "Node dae666a6-cbe3-42da-b928-6d66a6f54682" } 2020-09-13 23:37:46 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-13 23:37:47 | [Mutex] waiting for: [received:nodes:844fb646-fb88-4d75-95ed-4484703831ae:localhost] 2020-09-13 23:37:47 | [Mutex] received everything. 2020-09-13 23:37:47 | [Mutex] isItemNotified: received:node:844fb646-fb88-4d75-95ed-4484703831ae:localhost:node-dae666a6-cbe3-42da-b928-6d66a6f54682:Node dae666a6-cbe3-42da-b928-6d66a6f54682 :: true |
deleteNodes | 1.023s |
2020-09-13 23:37:52 |
2020-09-13 23:37:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:52 | ------------------------------------ 2020-09-13 23:37:52 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dae666a6-cbe3-42da-b928-6d66a6f54682" } 2020-09-13 23:37:52 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-13 23:37:53 | [Mutex] waiting for: [received:nodes:4187d212-ecc5-494e-a076-155530e30219:localhost] 2020-09-13 23:37:53 | [Mutex] received everything. 2020-09-13 23:37:53 | [Mutex] isItemNotified: received:node:4187d212-ecc5-494e-a076-155530e30219:localhost:node-dae666a6-cbe3-42da-b928-6d66a6f54682:Node dae666a6-cbe3-42da-b928-6d66a6f54682 :: false |
deleteSubnodes | 1.027s |
2020-09-13 23:37:51 |
2020-09-13 23:37:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:51 | ------------------------------------ 2020-09-13 23:37:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680" } 2020-09-13 23:37:51 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-13 23:37:52 | [Mutex] waiting for: [received:nodes:dea6b718-935c-4412-9c29-a493c7c857a9:localhost] 2020-09-13 23:37:52 | [Mutex] received everything. 2020-09-13 23:37:52 | [Mutex] isItemNotified: received:node:dea6b718-935c-4412-9c29-a493c7c857a9:localhost:node-1e72a908-d08d-41c9-9e0d-d509b084b680:Node 1e72a908-d08d-41c9-9e0d-d509b084b680 :: false 2020-09-13 23:37:52 | [Mutex] waiting for: [received:nodes:31f7d564-7dbd-45ad-a049-79b354f4534a:localhost] 2020-09-13 23:37:52 | [Mutex] received everything. 2020-09-13 23:37:52 | [Mutex] isItemNotified: received:node:31f7d564-7dbd-45ad-a049-79b354f4534a:localhost:node-1e72a908-d08d-41c9-9e0d-d509b084b680:Node 1e72a908-d08d-41c9-9e0d-d509b084b680 :: false |
publishItemsToNodes | 0.038s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "entry": "<test>item-4525cc27-ebf7-4e4c-bca9-ab626218ef76</test>", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76" } 2020-09-13 23:37:49 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76" } 2020-09-13 23:37:49 | [Mutex] waiting for: [published:item:notifieditem-4525cc27-ebf7-4e4c-bca9-ab626218ef76:admin@test-domain.com] 2020-09-13 23:37:49 | [Mutex] received everything. 2020-09-13 23:37:49 | [Mutex] isItemNotified: published:item:notifieditem-4525cc27-ebf7-4e4c-bca9-ab626218ef76:admin@test-domain.com :: true |
retractItemsFromNodes | 0.067s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76" } 2020-09-13 23:37:49 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76" } 2020-09-13 23:37:49 | [Mutex] received everything. 2020-09-13 23:37:49 | [Mutex] isItemNotified: retracted:item:notifieditem-4525cc27-ebf7-4e4c-bca9-ab626218ef76:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.060s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76" } 2020-09-13 23:37:49 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "item-id": "item-4525cc27-ebf7-4e4c-bca9-ab626218ef76", "item": [ "<item id=\"item-4525cc27-ebf7-4e4c-bca9-ab626218ef76\"><test>item-4525cc27-ebf7-4e4c-bca9-ab626218ef76</test></item>" ] } 2020-09-13 23:37:49 | [Mutex] notify: [retrieved:item:item-4525cc27-ebf7-4e4c-bca9-ab626218ef76:payload-matches:true:localhost] 2020-09-13 23:37:49 | [Mutex] received everything. 2020-09-13 23:37:49 | [Mutex] isItemNotified: retrieved:item:item-4525cc27-ebf7-4e4c-bca9-ab626218ef76:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-13 23:37:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-dae666a6-cbe3-42da-b928-6d66a6f54682", "test", "node-1e72a908-d08d-41c9-9e0d-d509b084b680" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-1e72a908-d08d-41c9-9e0d-d509b084b680)" } 2020-09-13 23:37:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.015s |
2020-09-13 23:37:48 |
2020-09-13 23:37:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:48 | ------------------------------------ 2020-09-13 23:37:48 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "jids": [ "admin@test-domain.com" ] } 2020-09-13 23:37:48 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.092s |
2020-09-13 23:37:49 |
2020-09-13 23:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-13 23:37:49 | ------------------------------------ 2020-09-13 23:37:49 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-1e72a908-d08d-41c9-9e0d-d509b084b680", "jids": [ "admin@test-domain.com" ] } 2020-09-13 23:37:50 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |