Test duration : 9.334s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.125s |
2021-12-06 21:44:05 |
2021-12-06 21:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:05 | ------------------------------------ 2021-12-06 21:44:05 | [Mutex] waiting for: [configured:node:node-eebeb001-8781-4666-8757-f09ddebaead8:node-00b7badb-fd18-4819-ae4c-5cd21dc86d17] 2021-12-06 21:44:05 | [Mutex] received everything. 2021-12-06 21:44:05 | [Mutex] isItemNotified: configured:node:node-eebeb001-8781-4666-8757-f09ddebaead8:node-00b7badb-fd18-4819-ae4c-5cd21dc86d17 :: true 2021-12-06 21:44:06 | [Mutex] waiting for: [received:nodes:e074205e-621b-47e9-9e57-86291a3db5b0:localhost] 2021-12-06 21:44:06 | [Mutex] received everything. 2021-12-06 21:44:06 | [Mutex] isItemNotified: received:node:e074205e-621b-47e9-9e57-86291a3db5b0:localhost:node-eebeb001-8781-4666-8757-f09ddebaead8:Node eebeb001-8781-4666-8757-f09ddebaead8 :: true 2021-12-06 21:44:06 | [Mutex] waiting for: [received:nodes:3c1a3d88-0a47-4a47-9954-09dc98a6dfb4:localhost] 2021-12-06 21:44:06 | [Mutex] waiting for: [received:nodes:3c1a3d88-0a47-4a47-9954-09dc98a6dfb4:localhost] 2021-12-06 21:44:06 | [Mutex] received everything. 2021-12-06 21:44:06 | [Mutex] isItemNotified: received:node:3c1a3d88-0a47-4a47-9954-09dc98a6dfb4:localhost:node-eebeb001-8781-4666-8757-f09ddebaead8:Node eebeb001-8781-4666-8757-f09ddebaead8 :: false |
createNodes | 1.739s |
2021-12-06 21:44:02 |
2021-12-06 21:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:02 | ------------------------------------ 2021-12-06 21:44:03 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "pubsub#title": "Node eebeb001-8781-4666-8757-f09ddebaead8" } 2021-12-06 21:44:03 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-12-06 21:44:04 | [Mutex] waiting for: [received:nodes:d94168bb-82c3-4f96-ba06-00e58e82319b:localhost] 2021-12-06 21:44:04 | [Mutex] received everything. 2021-12-06 21:44:04 | [Mutex] isItemNotified: received:node:d94168bb-82c3-4f96-ba06-00e58e82319b:localhost:node-eebeb001-8781-4666-8757-f09ddebaead8:Node eebeb001-8781-4666-8757-f09ddebaead8 :: true |
createSubnodes | 1.027s |
2021-12-06 21:44:04 |
2021-12-06 21:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:04 | ------------------------------------ 2021-12-06 21:44:04 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-00b7badb-fd18-4819-ae4c-5cd21dc86d17", "pubsub#title": "Node 00b7badb-fd18-4819-ae4c-5cd21dc86d17" } 2021-12-06 21:44:04 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-12-06 21:44:05 | [Mutex] waiting for: [received:nodes:be703ba0-adbd-4931-9ac1-d0bf2a983ac6:localhost] 2021-12-06 21:44:05 | [Mutex] received everything. 2021-12-06 21:44:05 | [Mutex] isItemNotified: received:node:be703ba0-adbd-4931-9ac1-d0bf2a983ac6:localhost:node-00b7badb-fd18-4819-ae4c-5cd21dc86d17:Node 00b7badb-fd18-4819-ae4c-5cd21dc86d17 :: true |
deleteNodes | 1.021s |
2021-12-06 21:44:10 |
2021-12-06 21:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:10 | ------------------------------------ 2021-12-06 21:44:10 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-00b7badb-fd18-4819-ae4c-5cd21dc86d17" } 2021-12-06 21:44:10 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-12-06 21:44:11 | [Mutex] waiting for: [received:nodes:8c3e57a0-d760-439d-a82e-ae537d634508:localhost] 2021-12-06 21:44:11 | [Mutex] received everything. 2021-12-06 21:44:11 | [Mutex] isItemNotified: received:node:8c3e57a0-d760-439d-a82e-ae537d634508:localhost:node-00b7badb-fd18-4819-ae4c-5cd21dc86d17:Node 00b7badb-fd18-4819-ae4c-5cd21dc86d17 :: false |
deleteSubnodes | 1.033s |
2021-12-06 21:44:09 |
2021-12-06 21:44:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:09 | ------------------------------------ 2021-12-06 21:44:09 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8" } 2021-12-06 21:44:09 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-12-06 21:44:10 | [Mutex] waiting for: [received:nodes:beeb4db6-098b-4b99-8cd0-68c7e52f0d60:localhost] 2021-12-06 21:44:10 | [Mutex] waiting for: [received:nodes:beeb4db6-098b-4b99-8cd0-68c7e52f0d60:localhost] 2021-12-06 21:44:10 | [Mutex] received everything. 2021-12-06 21:44:10 | [Mutex] isItemNotified: received:node:beeb4db6-098b-4b99-8cd0-68c7e52f0d60:localhost:node-eebeb001-8781-4666-8757-f09ddebaead8:Node eebeb001-8781-4666-8757-f09ddebaead8 :: false 2021-12-06 21:44:10 | [Mutex] waiting for: [received:nodes:0c14e77e-4bc2-48fe-8cfd-8a01cfc2fe43:localhost] 2021-12-06 21:44:10 | [Mutex] received everything. 2021-12-06 21:44:10 | [Mutex] isItemNotified: received:node:0c14e77e-4bc2-48fe-8cfd-8a01cfc2fe43:localhost:node-eebeb001-8781-4666-8757-f09ddebaead8:Node eebeb001-8781-4666-8757-f09ddebaead8 :: false |
publishItemsToNodes | 0.106s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "entry": "<test>item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f</test>", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f" } 2021-12-06 21:44:07 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f" } 2021-12-06 21:44:07 | [Mutex] waiting for: [published:item:notifieditem-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f:admin@test-domain.com] 2021-12-06 21:44:07 | [Mutex] received everything. 2021-12-06 21:44:07 | [Mutex] isItemNotified: published:item:notifieditem-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f" } 2021-12-06 21:44:07 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f" } 2021-12-06 21:44:07 | [Mutex] received everything. 2021-12-06 21:44:07 | [Mutex] isItemNotified: retracted:item:notifieditem-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.047s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f" } 2021-12-06 21:44:07 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "item-id": "item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f", "item": [ "<item id=\"item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f\"><test>item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f</test></item>" ] } 2021-12-06 21:44:07 | [Mutex] notify: [retrieved:item:item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f:payload-matches:true:localhost] 2021-12-06 21:44:07 | [Mutex] received everything. 2021-12-06 21:44:07 | [Mutex] isItemNotified: retrieved:item:item-62fb0b32-ba1d-4d94-99f4-04aa65b67d3f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.070s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-12-06 21:44:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-00b7badb-fd18-4819-ae4c-5cd21dc86d17", "node-eebeb001-8781-4666-8757-f09ddebaead8" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-eebeb001-8781-4666-8757-f09ddebaead8)" } 2021-12-06 21:44:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2021-12-06 21:44:06 |
2021-12-06 21:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:06 | ------------------------------------ 2021-12-06 21:44:06 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "jids": [ "admin@test-domain.com" ] } 2021-12-06 21:44:06 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.059s |
2021-12-06 21:44:07 |
2021-12-06 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-12-06 21:44:07 | ------------------------------------ 2021-12-06 21:44:07 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-eebeb001-8781-4666-8757-f09ddebaead8", "jids": [ "admin@test-domain.com" ] } 2021-12-06 21:44:08 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |