Test duration : 8.820s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.102s |
2021-01-26 22:01:32 |
2021-01-26 22:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:32 | ------------------------------------ 2021-01-26 22:01:32 | [Mutex] waiting for: [configured:node:node-81f3550f-311a-49da-bdb4-cdfbf6871213:node-399b5638-4e98-4683-8909-fa70e7754a2e] 2021-01-26 22:01:32 | [Mutex] received everything. 2021-01-26 22:01:32 | [Mutex] isItemNotified: configured:node:node-81f3550f-311a-49da-bdb4-cdfbf6871213:node-399b5638-4e98-4683-8909-fa70e7754a2e :: true 2021-01-26 22:01:33 | [Mutex] waiting for: [received:nodes:29a7f209-fc45-47a9-a004-b892337c31d8:localhost] 2021-01-26 22:01:33 | [Mutex] received everything. 2021-01-26 22:01:33 | [Mutex] isItemNotified: received:node:29a7f209-fc45-47a9-a004-b892337c31d8:localhost:node-81f3550f-311a-49da-bdb4-cdfbf6871213:Node 81f3550f-311a-49da-bdb4-cdfbf6871213 :: true 2021-01-26 22:01:33 | [Mutex] waiting for: [received:nodes:ee06af29-71ed-44d7-8dd3-e00e88b82da7:localhost] 2021-01-26 22:01:33 | [Mutex] received everything. 2021-01-26 22:01:33 | [Mutex] isItemNotified: received:node:ee06af29-71ed-44d7-8dd3-e00e88b82da7:localhost:node-81f3550f-311a-49da-bdb4-cdfbf6871213:Node 81f3550f-311a-49da-bdb4-cdfbf6871213 :: false |
createNodes | 1.597s |
2021-01-26 22:01:29 |
2021-01-26 22:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:29 | ------------------------------------ 2021-01-26 22:01:30 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "pubsub#title": "Node 81f3550f-311a-49da-bdb4-cdfbf6871213" } 2021-01-26 22:01:30 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 22:01:31 | [Mutex] waiting for: [received:nodes:01d6a8a4-8c83-464a-b7f0-845979de2aba:localhost] 2021-01-26 22:01:31 | [Mutex] received everything. 2021-01-26 22:01:31 | [Mutex] isItemNotified: received:node:01d6a8a4-8c83-464a-b7f0-845979de2aba:localhost:node-81f3550f-311a-49da-bdb4-cdfbf6871213:Node 81f3550f-311a-49da-bdb4-cdfbf6871213 :: true |
createSubnodes | 1.039s |
2021-01-26 22:01:31 |
2021-01-26 22:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:31 | ------------------------------------ 2021-01-26 22:01:31 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-399b5638-4e98-4683-8909-fa70e7754a2e", "pubsub#title": "Node 399b5638-4e98-4683-8909-fa70e7754a2e" } 2021-01-26 22:01:31 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 22:01:32 | [Mutex] waiting for: [received:nodes:0a33110d-3c71-4bf6-8dee-df4178b5de5d:localhost] 2021-01-26 22:01:32 | [Mutex] received everything. 2021-01-26 22:01:32 | [Mutex] isItemNotified: received:node:0a33110d-3c71-4bf6-8dee-df4178b5de5d:localhost:node-399b5638-4e98-4683-8909-fa70e7754a2e:Node 399b5638-4e98-4683-8909-fa70e7754a2e :: true |
deleteNodes | 1.025s |
2021-01-26 22:01:36 |
2021-01-26 22:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:36 | ------------------------------------ 2021-01-26 22:01:36 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-399b5638-4e98-4683-8909-fa70e7754a2e" } 2021-01-26 22:01:36 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 22:01:37 | [Mutex] waiting for: [received:nodes:0ca74a28-92e3-4819-84bf-f5e6e65751be:localhost] 2021-01-26 22:01:37 | [Mutex] received everything. 2021-01-26 22:01:37 | [Mutex] isItemNotified: received:node:0ca74a28-92e3-4819-84bf-f5e6e65751be:localhost:node-399b5638-4e98-4683-8909-fa70e7754a2e:Node 399b5638-4e98-4683-8909-fa70e7754a2e :: false |
deleteSubnodes | 1.031s |
2021-01-26 22:01:35 |
2021-01-26 22:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:35 | ------------------------------------ 2021-01-26 22:01:35 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213" } 2021-01-26 22:01:35 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 22:01:36 | [Mutex] waiting for: [received:nodes:032f5627-23db-4d99-b280-29e79039bc61:localhost] 2021-01-26 22:01:36 | [Mutex] received everything. 2021-01-26 22:01:36 | [Mutex] isItemNotified: received:node:032f5627-23db-4d99-b280-29e79039bc61:localhost:node-81f3550f-311a-49da-bdb4-cdfbf6871213:Node 81f3550f-311a-49da-bdb4-cdfbf6871213 :: false 2021-01-26 22:01:36 | [Mutex] waiting for: [received:nodes:e8b47cfc-9df0-4784-b2b9-654bb99e970e:localhost] 2021-01-26 22:01:36 | [Mutex] received everything. 2021-01-26 22:01:36 | [Mutex] isItemNotified: received:node:e8b47cfc-9df0-4784-b2b9-654bb99e970e:localhost:node-81f3550f-311a-49da-bdb4-cdfbf6871213:Node 81f3550f-311a-49da-bdb4-cdfbf6871213 :: false |
publishItemsToNodes | 0.064s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "entry": "<test>item-12b7ed86-909f-415f-9e72-cacc8c096eec</test>", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec" } 2021-01-26 22:01:34 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec" } 2021-01-26 22:01:34 | [Mutex] waiting for: [published:item:notifieditem-12b7ed86-909f-415f-9e72-cacc8c096eec:admin@test-domain.com] 2021-01-26 22:01:34 | [Mutex] received everything. 2021-01-26 22:01:34 | [Mutex] isItemNotified: published:item:notifieditem-12b7ed86-909f-415f-9e72-cacc8c096eec:admin@test-domain.com :: true |
retractItemsFromNodes | 0.101s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec" } 2021-01-26 22:01:34 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec" } 2021-01-26 22:01:34 | [Mutex] waiting for: [retracted:item:notifieditem-12b7ed86-909f-415f-9e72-cacc8c096eec:admin@test-domain.com] 2021-01-26 22:01:34 | [Mutex] received everything. 2021-01-26 22:01:34 | [Mutex] isItemNotified: retracted:item:notifieditem-12b7ed86-909f-415f-9e72-cacc8c096eec:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.023s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec" } 2021-01-26 22:01:34 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "item-id": "item-12b7ed86-909f-415f-9e72-cacc8c096eec", "item": [ "<item id=\"item-12b7ed86-909f-415f-9e72-cacc8c096eec\"><test>item-12b7ed86-909f-415f-9e72-cacc8c096eec</test></item>" ] } 2021-01-26 22:01:34 | [Mutex] notify: [retrieved:item:item-12b7ed86-909f-415f-9e72-cacc8c096eec:payload-matches:true:localhost] 2021-01-26 22:01:34 | [Mutex] received everything. 2021-01-26 22:01:34 | [Mutex] isItemNotified: retrieved:item:item-12b7ed86-909f-415f-9e72-cacc8c096eec:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.062s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-26 22:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "test", "node-399b5638-4e98-4683-8909-fa70e7754a2e" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-81f3550f-311a-49da-bdb4-cdfbf6871213)" } 2021-01-26 22:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.024s |
2021-01-26 22:01:33 |
2021-01-26 22:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:33 | ------------------------------------ 2021-01-26 22:01:33 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "jids": [ "admin@test-domain.com" ] } 2021-01-26 22:01:33 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.035s |
2021-01-26 22:01:34 |
2021-01-26 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 22:01:34 | ------------------------------------ 2021-01-26 22:01:34 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-81f3550f-311a-49da-bdb4-cdfbf6871213", "jids": [ "admin@test-domain.com" ] } 2021-01-26 22:01:34 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |