Test duration : 8.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.084s |
2022-07-03 22:32:52 |
2022-07-03 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:52 | ------------------------------------ 2022-07-03 22:32:52 | [Mutex] waiting for: [configured:node:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:node-fba940e7-8dd5-461e-b04b-27dae0d363fa] 2022-07-03 22:32:52 | [Mutex] received everything. 2022-07-03 22:32:52 | [Mutex] isItemNotified: configured:node:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:node-fba940e7-8dd5-461e-b04b-27dae0d363fa :: true 2022-07-03 22:32:53 | [Mutex] waiting for: [received:nodes:e44e7e92-6df0-4745-b856-4d18b3a57fff:localhost] 2022-07-03 22:32:53 | [Mutex] received everything. 2022-07-03 22:32:53 | [Mutex] isItemNotified: received:node:e44e7e92-6df0-4745-b856-4d18b3a57fff:localhost:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1 :: true 2022-07-03 22:32:53 | [Mutex] waiting for: [received:nodes:a828b17b-50e2-44ca-9454-93c4622701bd:localhost] 2022-07-03 22:32:53 | [Mutex] received everything. 2022-07-03 22:32:53 | [Mutex] isItemNotified: received:node:a828b17b-50e2-44ca-9454-93c4622701bd:localhost:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1 :: false |
createNodes | 1.508s |
2022-07-03 22:32:50 |
2022-07-03 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:50 | ------------------------------------ 2022-07-03 22:32:50 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "pubsub#title": "Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1" } 2022-07-03 22:32:50 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-03 22:32:51 | [Mutex] waiting for: [received:nodes:b207887c-02db-4cab-a8da-b6909cddd3f0:localhost] 2022-07-03 22:32:51 | [Mutex] received everything. 2022-07-03 22:32:51 | [Mutex] isItemNotified: received:node:b207887c-02db-4cab-a8da-b6909cddd3f0:localhost:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1 :: true |
createSubnodes | 1.022s |
2022-07-03 22:32:51 |
2022-07-03 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:51 | ------------------------------------ 2022-07-03 22:32:51 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-fba940e7-8dd5-461e-b04b-27dae0d363fa", "pubsub#title": "Node fba940e7-8dd5-461e-b04b-27dae0d363fa" } 2022-07-03 22:32:51 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-03 22:32:52 | [Mutex] waiting for: [received:nodes:92207d2d-8bcf-457f-ac4a-19be8e96a03d:localhost] 2022-07-03 22:32:52 | [Mutex] waiting for: [received:nodes:92207d2d-8bcf-457f-ac4a-19be8e96a03d:localhost] 2022-07-03 22:32:52 | [Mutex] received everything. 2022-07-03 22:32:52 | [Mutex] isItemNotified: received:node:92207d2d-8bcf-457f-ac4a-19be8e96a03d:localhost:node-fba940e7-8dd5-461e-b04b-27dae0d363fa:Node fba940e7-8dd5-461e-b04b-27dae0d363fa :: true |
deleteNodes | 1.019s |
2022-07-03 22:32:57 |
2022-07-03 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:57 | ------------------------------------ 2022-07-03 22:32:57 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-fba940e7-8dd5-461e-b04b-27dae0d363fa" } 2022-07-03 22:32:57 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-03 22:32:58 | [Mutex] waiting for: [received:nodes:3a2a4172-13ab-4f06-a110-8e014bbcdf4d:localhost] 2022-07-03 22:32:58 | [Mutex] waiting for: [received:nodes:3a2a4172-13ab-4f06-a110-8e014bbcdf4d:localhost] 2022-07-03 22:32:58 | [Mutex] received everything. 2022-07-03 22:32:58 | [Mutex] isItemNotified: received:node:3a2a4172-13ab-4f06-a110-8e014bbcdf4d:localhost:node-fba940e7-8dd5-461e-b04b-27dae0d363fa:Node fba940e7-8dd5-461e-b04b-27dae0d363fa :: false |
deleteSubnodes | 1.025s |
2022-07-03 22:32:56 |
2022-07-03 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:56 | ------------------------------------ 2022-07-03 22:32:56 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1" } 2022-07-03 22:32:56 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-03 22:32:57 | [Mutex] waiting for: [received:nodes:0faa0ad8-afb8-48c5-8f4b-4e65342e39b5:localhost] 2022-07-03 22:32:57 | [Mutex] waiting for: [received:nodes:0faa0ad8-afb8-48c5-8f4b-4e65342e39b5:localhost] 2022-07-03 22:32:57 | [Mutex] received everything. 2022-07-03 22:32:57 | [Mutex] isItemNotified: received:node:0faa0ad8-afb8-48c5-8f4b-4e65342e39b5:localhost:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1 :: false 2022-07-03 22:32:57 | [Mutex] waiting for: [received:nodes:a7ff43ee-1436-40c6-8d08-ce0038c93805:localhost] 2022-07-03 22:32:57 | [Mutex] received everything. 2022-07-03 22:32:57 | [Mutex] isItemNotified: received:node:a7ff43ee-1436-40c6-8d08-ce0038c93805:localhost:node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1:Node dbdda2bb-ab91-4a4f-866e-a3551dc171d1 :: false |
publishItemsToNodes | 0.047s |
2022-07-03 22:32:54 |
2022-07-03 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:54 | ------------------------------------ 2022-07-03 22:32:54 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "entry": "<test>item-be083d1d-a53d-4940-a468-dedfa4205852</test>", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852" } 2022-07-03 22:32:54 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852" } 2022-07-03 22:32:54 | [Mutex] waiting for: [published:item:notifieditem-be083d1d-a53d-4940-a468-dedfa4205852:admin@test-domain.com] 2022-07-03 22:32:54 | [Mutex] received everything. 2022-07-03 22:32:54 | [Mutex] isItemNotified: published:item:notifieditem-be083d1d-a53d-4940-a468-dedfa4205852:admin@test-domain.com :: true |
retractItemsFromNodes | 0.079s |
2022-07-03 22:32:55 |
2022-07-03 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:55 | ------------------------------------ 2022-07-03 22:32:55 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852" } 2022-07-03 22:32:55 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852" } 2022-07-03 22:32:55 | [Mutex] received everything. 2022-07-03 22:32:55 | [Mutex] isItemNotified: retracted:item:notifieditem-be083d1d-a53d-4940-a468-dedfa4205852:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.081s |
2022-07-03 22:32:54 |
2022-07-03 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:54 | ------------------------------------ 2022-07-03 22:32:54 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852" } 2022-07-03 22:32:55 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "item-id": "item-be083d1d-a53d-4940-a468-dedfa4205852", "item": [ "<item id=\"item-be083d1d-a53d-4940-a468-dedfa4205852\"><test>item-be083d1d-a53d-4940-a468-dedfa4205852</test></item>" ] } 2022-07-03 22:32:55 | [Mutex] notify: [retrieved:item:item-be083d1d-a53d-4940-a468-dedfa4205852:payload-matches:true:localhost] 2022-07-03 22:32:55 | [Mutex] received everything. 2022-07-03 22:32:55 | [Mutex] isItemNotified: retrieved:item:item-be083d1d-a53d-4940-a468-dedfa4205852:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2022-07-03 22:32:55 |
2022-07-03 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:55 | ------------------------------------ 2022-07-03 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-07-03 22:32:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-fba940e7-8dd5-461e-b04b-27dae0d363fa", "test", "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-07-03 22:32:55 |
2022-07-03 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:55 | ------------------------------------ 2022-07-03 22:32:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1)" } 2022-07-03 22:32:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2022-07-03 22:32:53 |
2022-07-03 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:53 | ------------------------------------ 2022-07-03 22:32:53 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "jids": [ "admin@test-domain.com" ] } 2022-07-03 22:32:53 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.050s |
2022-07-03 22:32:55 |
2022-07-03 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-03 22:32:55 | ------------------------------------ 2022-07-03 22:32:55 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-dbdda2bb-ab91-4a4f-866e-a3551dc171d1", "jids": [ "admin@test-domain.com" ] } 2022-07-03 22:32:55 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |