Test duration : 9.072s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.104s |
2021-01-27 06:08:36 |
2021-01-27 06:08:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:36 | ------------------------------------ 2021-01-27 06:08:36 | [Mutex] waiting for: [configured:node:node-7eb8e344-8161-4c4a-831a-60944db84397:node-e8084656-6c74-4aee-8159-98d6f49d9bfa] 2021-01-27 06:08:36 | [Mutex] received everything. 2021-01-27 06:08:36 | [Mutex] isItemNotified: configured:node:node-7eb8e344-8161-4c4a-831a-60944db84397:node-e8084656-6c74-4aee-8159-98d6f49d9bfa :: true 2021-01-27 06:08:37 | [Mutex] waiting for: [received:nodes:919ba5b4-a60c-4a93-835b-46e188c5176d:localhost] 2021-01-27 06:08:37 | [Mutex] received everything. 2021-01-27 06:08:37 | [Mutex] isItemNotified: received:node:919ba5b4-a60c-4a93-835b-46e188c5176d:localhost:node-7eb8e344-8161-4c4a-831a-60944db84397:Node 7eb8e344-8161-4c4a-831a-60944db84397 :: true 2021-01-27 06:08:37 | [Mutex] waiting for: [received:nodes:b0d3fcbf-f9a8-4e82-bbf5-f767be7e05b9:localhost] 2021-01-27 06:08:37 | [Mutex] received everything. 2021-01-27 06:08:37 | [Mutex] isItemNotified: received:node:b0d3fcbf-f9a8-4e82-bbf5-f767be7e05b9:localhost:node-7eb8e344-8161-4c4a-831a-60944db84397:Node 7eb8e344-8161-4c4a-831a-60944db84397 :: false |
createNodes | 1.615s |
2021-01-27 06:08:34 |
2021-01-27 06:08:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:34 | ------------------------------------ 2021-01-27 06:08:34 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "pubsub#title": "Node 7eb8e344-8161-4c4a-831a-60944db84397" } 2021-01-27 06:08:34 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 06:08:35 | [Mutex] waiting for: [received:nodes:0ef16bef-031e-4874-9034-2edadbe5bc24:localhost] 2021-01-27 06:08:35 | [Mutex] waiting for: [received:nodes:0ef16bef-031e-4874-9034-2edadbe5bc24:localhost] 2021-01-27 06:08:35 | [Mutex] received everything. 2021-01-27 06:08:35 | [Mutex] isItemNotified: received:node:0ef16bef-031e-4874-9034-2edadbe5bc24:localhost:node-7eb8e344-8161-4c4a-831a-60944db84397:Node 7eb8e344-8161-4c4a-831a-60944db84397 :: true |
createSubnodes | 1.024s |
2021-01-27 06:08:35 |
2021-01-27 06:08:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:35 | ------------------------------------ 2021-01-27 06:08:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e8084656-6c74-4aee-8159-98d6f49d9bfa", "pubsub#title": "Node e8084656-6c74-4aee-8159-98d6f49d9bfa" } 2021-01-27 06:08:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 06:08:36 | [Mutex] waiting for: [received:nodes:79b098ac-0f81-46b2-8bcf-e6cad6421002:localhost] 2021-01-27 06:08:36 | [Mutex] received everything. 2021-01-27 06:08:36 | [Mutex] isItemNotified: received:node:79b098ac-0f81-46b2-8bcf-e6cad6421002:localhost:node-e8084656-6c74-4aee-8159-98d6f49d9bfa:Node e8084656-6c74-4aee-8159-98d6f49d9bfa :: true |
deleteNodes | 1.023s |
2021-01-27 06:08:41 |
2021-01-27 06:08:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:41 | ------------------------------------ 2021-01-27 06:08:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e8084656-6c74-4aee-8159-98d6f49d9bfa" } 2021-01-27 06:08:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 06:08:42 | [Mutex] waiting for: [received:nodes:a9a0f462-ca7b-4b63-8c4a-6acb4f9c7689:localhost] 2021-01-27 06:08:42 | [Mutex] received everything. 2021-01-27 06:08:42 | [Mutex] isItemNotified: received:node:a9a0f462-ca7b-4b63-8c4a-6acb4f9c7689:localhost:node-e8084656-6c74-4aee-8159-98d6f49d9bfa:Node e8084656-6c74-4aee-8159-98d6f49d9bfa :: false |
deleteSubnodes | 1.028s |
2021-01-27 06:08:40 |
2021-01-27 06:08:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:40 | ------------------------------------ 2021-01-27 06:08:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397" } 2021-01-27 06:08:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-27 06:08:41 | [Mutex] waiting for: [received:nodes:5401ad99-c8f6-41c1-80bb-b5fe7ffcdd37:localhost] 2021-01-27 06:08:41 | [Mutex] received everything. 2021-01-27 06:08:41 | [Mutex] isItemNotified: received:node:5401ad99-c8f6-41c1-80bb-b5fe7ffcdd37:localhost:node-7eb8e344-8161-4c4a-831a-60944db84397:Node 7eb8e344-8161-4c4a-831a-60944db84397 :: false 2021-01-27 06:08:41 | [Mutex] waiting for: [received:nodes:47da7334-6fb8-435a-aafe-c981879087ae:localhost] 2021-01-27 06:08:41 | [Mutex] received everything. 2021-01-27 06:08:41 | [Mutex] isItemNotified: received:node:47da7334-6fb8-435a-aafe-c981879087ae:localhost:node-7eb8e344-8161-4c4a-831a-60944db84397:Node 7eb8e344-8161-4c4a-831a-60944db84397 :: false |
publishItemsToNodes | 0.043s |
2021-01-27 06:08:38 |
2021-01-27 06:08:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:38 | ------------------------------------ 2021-01-27 06:08:38 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "entry": "<test>item-b5e4957c-e307-4c70-972e-f42cc0b85d18</test>", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18" } 2021-01-27 06:08:38 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18" } 2021-01-27 06:08:38 | [Mutex] waiting for: [published:item:notifieditem-b5e4957c-e307-4c70-972e-f42cc0b85d18:admin@test-domain.com] 2021-01-27 06:08:38 | [Mutex] received everything. 2021-01-27 06:08:38 | [Mutex] isItemNotified: published:item:notifieditem-b5e4957c-e307-4c70-972e-f42cc0b85d18:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2021-01-27 06:08:39 |
2021-01-27 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:39 | ------------------------------------ 2021-01-27 06:08:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18" } 2021-01-27 06:08:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18" } 2021-01-27 06:08:39 | [Mutex] received everything. 2021-01-27 06:08:39 | [Mutex] isItemNotified: retracted:item:notifieditem-b5e4957c-e307-4c70-972e-f42cc0b85d18:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.129s |
2021-01-27 06:08:38 |
2021-01-27 06:08:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:38 | ------------------------------------ 2021-01-27 06:08:38 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18" } 2021-01-27 06:08:38 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "item-id": "item-b5e4957c-e307-4c70-972e-f42cc0b85d18", "item": [ "<item id=\"item-b5e4957c-e307-4c70-972e-f42cc0b85d18\"><test>item-b5e4957c-e307-4c70-972e-f42cc0b85d18</test></item>" ] } 2021-01-27 06:08:38 | [Mutex] notify: [retrieved:item:item-b5e4957c-e307-4c70-972e-f42cc0b85d18:payload-matches:true:localhost] 2021-01-27 06:08:38 | [Mutex] received everything. 2021-01-27 06:08:38 | [Mutex] isItemNotified: retrieved:item:item-b5e4957c-e307-4c70-972e-f42cc0b85d18:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-01-27 06:08:38 |
2021-01-27 06:08:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:38 | ------------------------------------ 2021-01-27 06:08:38 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-27 06:08:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7eb8e344-8161-4c4a-831a-60944db84397", "test", "node-e8084656-6c74-4aee-8159-98d6f49d9bfa" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-01-27 06:08:39 |
2021-01-27 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:39 | ------------------------------------ 2021-01-27 06:08:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7eb8e344-8161-4c4a-831a-60944db84397)" } 2021-01-27 06:08:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2021-01-27 06:08:37 |
2021-01-27 06:08:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:37 | ------------------------------------ 2021-01-27 06:08:37 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "jids": [ "admin@test-domain.com" ] } 2021-01-27 06:08:37 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.095s |
2021-01-27 06:08:39 |
2021-01-27 06:08:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-27 06:08:39 | ------------------------------------ 2021-01-27 06:08:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7eb8e344-8161-4c4a-831a-60944db84397", "jids": [ "admin@test-domain.com" ] } 2021-01-27 06:08:39 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |