Test duration : 9.685s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-06-30 22:45:27 |
2022-06-30 22:45:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:27 | ------------------------------------ 2022-06-30 22:45:27 | [Mutex] waiting for: [configured:node:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:node-9128077e-422c-46d2-93fb-6880840ace2b] 2022-06-30 22:45:27 | [Mutex] received everything. 2022-06-30 22:45:27 | [Mutex] isItemNotified: configured:node:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:node-9128077e-422c-46d2-93fb-6880840ace2b :: true 2022-06-30 22:45:28 | [Mutex] waiting for: [received:nodes:66c85e0f-bbe8-4703-aeff-7bd773e2abd5:localhost] 2022-06-30 22:45:28 | [Mutex] received everything. 2022-06-30 22:45:28 | [Mutex] isItemNotified: received:node:66c85e0f-bbe8-4703-aeff-7bd773e2abd5:localhost:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f :: true 2022-06-30 22:45:28 | [Mutex] waiting for: [received:nodes:283e097b-7d58-4315-ad8c-8d86daa2ead9:localhost] 2022-06-30 22:45:28 | [Mutex] received everything. 2022-06-30 22:45:28 | [Mutex] isItemNotified: received:node:283e097b-7d58-4315-ad8c-8d86daa2ead9:localhost:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f :: false |
createNodes | 1.424s |
2022-06-30 22:45:25 |
2022-06-30 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:25 | ------------------------------------ 2022-06-30 22:45:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f</title></pubsub></data> 2022-06-30 22:45:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-30 22:45:26 | [Mutex] waiting for: [received:nodes:7bc02b55-8f8f-40f8-ad53-cfc9e0bd2516:localhost] 2022-06-30 22:45:26 | [Mutex] waiting for: [received:nodes:7bc02b55-8f8f-40f8-ad53-cfc9e0bd2516:localhost] 2022-06-30 22:45:26 | [Mutex] received everything. 2022-06-30 22:45:26 | [Mutex] isItemNotified: received:node:7bc02b55-8f8f-40f8-ad53-cfc9e0bd2516:localhost:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f :: true |
createSubnodes | 1.032s |
2022-06-30 22:45:26 |
2022-06-30 22:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:26 | ------------------------------------ 2022-06-30 22:45:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9128077e-422c-46d2-93fb-6880840ace2b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9128077e-422c-46d2-93fb-6880840ace2b</title></pubsub></data> 2022-06-30 22:45:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-30 22:45:27 | [Mutex] waiting for: [received:nodes:182e4d5e-86ce-424f-99f7-fe24bc1c39b4:localhost] 2022-06-30 22:45:27 | [Mutex] waiting for: [received:nodes:182e4d5e-86ce-424f-99f7-fe24bc1c39b4:localhost] 2022-06-30 22:45:27 | [Mutex] received everything. 2022-06-30 22:45:27 | [Mutex] isItemNotified: received:node:182e4d5e-86ce-424f-99f7-fe24bc1c39b4:localhost:node-9128077e-422c-46d2-93fb-6880840ace2b:Node 9128077e-422c-46d2-93fb-6880840ace2b :: true |
deleteNodes | 1.022s |
2022-06-30 22:45:33 |
2022-06-30 22:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:33 | ------------------------------------ 2022-06-30 22:45:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9128077e-422c-46d2-93fb-6880840ace2b</node></data> 2022-06-30 22:45:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-30 22:45:34 | [Mutex] waiting for: [received:nodes:be1eebb9-fd63-41ac-8842-ddb598bda9f4:localhost] 2022-06-30 22:45:34 | [Mutex] waiting for: [received:nodes:be1eebb9-fd63-41ac-8842-ddb598bda9f4:localhost] 2022-06-30 22:45:34 | [Mutex] received everything. 2022-06-30 22:45:34 | [Mutex] isItemNotified: received:node:be1eebb9-fd63-41ac-8842-ddb598bda9f4:localhost:node-9128077e-422c-46d2-93fb-6880840ace2b:Node 9128077e-422c-46d2-93fb-6880840ace2b :: false |
deleteSubnodes | 1.153s |
2022-06-30 22:45:32 |
2022-06-30 22:45:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:32 | ------------------------------------ 2022-06-30 22:45:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node></data> 2022-06-30 22:45:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-30 22:45:33 | [Mutex] waiting for: [received:nodes:3e551afb-f180-44b3-b929-79e15d98e1e6:localhost] 2022-06-30 22:45:33 | [Mutex] waiting for: [received:nodes:3e551afb-f180-44b3-b929-79e15d98e1e6:localhost] 2022-06-30 22:45:33 | [Mutex] received everything. 2022-06-30 22:45:33 | [Mutex] isItemNotified: received:node:3e551afb-f180-44b3-b929-79e15d98e1e6:localhost:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f :: false 2022-06-30 22:45:33 | [Mutex] waiting for: [received:nodes:32400e6d-f63a-4008-8d23-5212e9d8768a:localhost] 2022-06-30 22:45:33 | [Mutex] received everything. 2022-06-30 22:45:33 | [Mutex] isItemNotified: received:node:32400e6d-f63a-4008-8d23-5212e9d8768a:localhost:node-62b7e29a-caf6-4dc8-9f37-7b100820a41f:Node 62b7e29a-caf6-4dc8-9f37-7b100820a41f :: false |
publishItemsToNodes | 0.250s |
2022-06-30 22:45:29 |
2022-06-30 22:45:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:29 | ------------------------------------ 2022-06-30 22:45:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><item-id>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</item-id><entry><test>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</test></entry></data> 2022-06-30 22:45:30 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</value></item-id></result> 2022-06-30 22:45:30 | [Mutex] waiting for: [published:item:notifieditem-4612a528-eb2e-4b06-bf46-b4fe4213df03:admin@test-domain.com] 2022-06-30 22:45:30 | [Mutex] received everything. 2022-06-30 22:45:30 | [Mutex] isItemNotified: published:item:notifieditem-4612a528-eb2e-4b06-bf46-b4fe4213df03:admin@test-domain.com :: true |
retractItemsFromNodes | 0.234s |
2022-06-30 22:45:30 |
2022-06-30 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:30 | ------------------------------------ 2022-06-30 22:45:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><item-id>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</item-id></data> 2022-06-30 22:45:30 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</value></item-id></result> 2022-06-30 22:45:30 | [Mutex] waiting for: [retracted:item:notifieditem-4612a528-eb2e-4b06-bf46-b4fe4213df03:admin@test-domain.com] 2022-06-30 22:45:30 | [Mutex] received everything. 2022-06-30 22:45:30 | [Mutex] isItemNotified: retracted:item:notifieditem-4612a528-eb2e-4b06-bf46-b4fe4213df03:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2022-06-30 22:45:30 |
2022-06-30 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:30 | ------------------------------------ 2022-06-30 22:45:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><item-id>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</item-id></data> 2022-06-30 22:45:30 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</value></node><item-id type="text-single" label="Item ID"><value>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</value></item-id><item type="text-multi" label="Item"><value><item id="item-4612a528-eb2e-4b06-bf46-b4fe4213df03"><test>item-4612a528-eb2e-4b06-bf46-b4fe4213df03</test></item></value></item></result> 2022-06-30 22:45:30 | [Mutex] notify: [retrieved:item:item-4612a528-eb2e-4b06-bf46-b4fe4213df03:payload-matches:true:localhost] 2022-06-30 22:45:30 | [Mutex] received everything. 2022-06-30 22:45:30 | [Mutex] isItemNotified: retrieved:item:item-4612a528-eb2e-4b06-bf46-b4fe4213df03:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2022-06-30 22:45:30 |
2022-06-30 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:30 | ------------------------------------ 2022-06-30 22:45:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-30 22:45:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</value><value>node-9128077e-422c-46d2-93fb-6880840ace2b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-06-30 22:45:30 |
2022-06-30 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:30 | ------------------------------------ 2022-06-30 22:45:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-62b7e29a-caf6-4dc8-9f37-7b100820a41f)</node-pattern></data> 2022-06-30 22:45:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.138s |
2022-06-30 22:45:28 |
2022-06-30 22:45:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:28 | ------------------------------------ 2022-06-30 22:45:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-30 22:45:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.221s |
2022-06-30 22:45:30 |
2022-06-30 22:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-30 22:45:30 | ------------------------------------ 2022-06-30 22:45:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-62b7e29a-caf6-4dc8-9f37-7b100820a41f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-30 22:45:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |