Test duration : 9.486s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-03-23 22:30:29 |
2023-03-23 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:29 | ------------------------------------ 2023-03-23 22:30:29 | [Mutex] waiting for: [configured:node:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244] 2023-03-23 22:30:29 | [Mutex] received everything. 2023-03-23 22:30:29 | [Mutex] isItemNotified: configured:node:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244 :: true 2023-03-23 22:30:30 | [Mutex] waiting for: [received:nodes:66b44071-eb15-4dea-a574-5fc382c0c8b9:localhost] 2023-03-23 22:30:30 | [Mutex] received everything. 2023-03-23 22:30:30 | [Mutex] isItemNotified: received:node:66b44071-eb15-4dea-a574-5fc382c0c8b9:localhost:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7 :: true 2023-03-23 22:30:30 | [Mutex] waiting for: [received:nodes:dbe85a46-4f5c-445f-8ef9-0d58cc8c04cf:localhost] 2023-03-23 22:30:30 | [Mutex] waiting for: [received:nodes:dbe85a46-4f5c-445f-8ef9-0d58cc8c04cf:localhost] 2023-03-23 22:30:30 | [Mutex] waiting for: [received:nodes:dbe85a46-4f5c-445f-8ef9-0d58cc8c04cf:localhost] 2023-03-23 22:30:30 | [Mutex] waiting for: [received:nodes:dbe85a46-4f5c-445f-8ef9-0d58cc8c04cf:localhost] 2023-03-23 22:30:30 | [Mutex] received everything. 2023-03-23 22:30:30 | [Mutex] isItemNotified: received:node:dbe85a46-4f5c-445f-8ef9-0d58cc8c04cf:localhost:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7 :: false |
createNodes | 1.478s |
2023-03-23 22:30:26 |
2023-03-23 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:26 | ------------------------------------ 2023-03-23 22:30:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7</title></pubsub></data> 2023-03-23 22:30:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:28 | [Mutex] waiting for: [received:nodes:83cd581a-7a2e-428c-9370-a0b063a2edf2:localhost] 2023-03-23 22:30:28 | [Mutex] waiting for: [received:nodes:83cd581a-7a2e-428c-9370-a0b063a2edf2:localhost] 2023-03-23 22:30:28 | [Mutex] waiting for: [received:nodes:83cd581a-7a2e-428c-9370-a0b063a2edf2:localhost] 2023-03-23 22:30:28 | [Mutex] received everything. 2023-03-23 22:30:28 | [Mutex] isItemNotified: received:node:83cd581a-7a2e-428c-9370-a0b063a2edf2:localhost:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7 :: true |
createSubnodes | 1.031s |
2023-03-23 22:30:28 |
2023-03-23 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:28 | ------------------------------------ 2023-03-23 22:30:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e82adf1d-14e2-4dec-8a76-0b5c1a6ae244</title></pubsub></data> 2023-03-23 22:30:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:29 | [Mutex] waiting for: [received:nodes:d8da3da6-2ae7-4d3f-b6b5-a8e5ffb1f5a4:localhost] 2023-03-23 22:30:29 | [Mutex] received everything. 2023-03-23 22:30:29 | [Mutex] isItemNotified: received:node:d8da3da6-2ae7-4d3f-b6b5-a8e5ffb1f5a4:localhost:node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244:Node e82adf1d-14e2-4dec-8a76-0b5c1a6ae244 :: true |
deleteNodes | 1.022s |
2023-03-23 22:30:34 |
2023-03-23 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:34 | ------------------------------------ 2023-03-23 22:30:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244</node></data> 2023-03-23 22:30:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:35 | [Mutex] waiting for: [received:nodes:d02516da-b821-45ab-a6b3-6eb88561b7e7:localhost] 2023-03-23 22:30:35 | [Mutex] waiting for: [received:nodes:d02516da-b821-45ab-a6b3-6eb88561b7e7:localhost] 2023-03-23 22:30:35 | [Mutex] waiting for: [received:nodes:d02516da-b821-45ab-a6b3-6eb88561b7e7:localhost] 2023-03-23 22:30:35 | [Mutex] received everything. 2023-03-23 22:30:35 | [Mutex] isItemNotified: received:node:d02516da-b821-45ab-a6b3-6eb88561b7e7:localhost:node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244:Node e82adf1d-14e2-4dec-8a76-0b5c1a6ae244 :: false |
deleteSubnodes | 1.127s |
2023-03-23 22:30:33 |
2023-03-23 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:33 | ------------------------------------ 2023-03-23 22:30:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node></data> 2023-03-23 22:30:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:34 | [Mutex] waiting for: [received:nodes:f319d481-93a1-42cf-bb58-9cda7e84758f:localhost] 2023-03-23 22:30:34 | [Mutex] waiting for: [received:nodes:f319d481-93a1-42cf-bb58-9cda7e84758f:localhost] 2023-03-23 22:30:34 | [Mutex] received everything. 2023-03-23 22:30:34 | [Mutex] isItemNotified: received:node:f319d481-93a1-42cf-bb58-9cda7e84758f:localhost:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7 :: false 2023-03-23 22:30:34 | [Mutex] waiting for: [received:nodes:d85a2cf3-7f9a-4ec2-99b8-bcaac3d8f02b:localhost] 2023-03-23 22:30:34 | [Mutex] received everything. 2023-03-23 22:30:34 | [Mutex] isItemNotified: received:node:d85a2cf3-7f9a-4ec2-99b8-bcaac3d8f02b:localhost:node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7:Node b1606afb-5ff5-4f57-9ddb-d48529d41aa7 :: false |
publishItemsToNodes | 0.200s |
2023-03-23 22:30:31 |
2023-03-23 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:31 | ------------------------------------ 2023-03-23 22:30:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><item-id>item-0300ce04-31c5-4ffb-a53c-332063e1c685</item-id><entry><test>item-0300ce04-31c5-4ffb-a53c-332063e1c685</test></entry></data> 2023-03-23 22:30:31 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0300ce04-31c5-4ffb-a53c-332063e1c685</value></item-id></result> 2023-03-23 22:30:31 | [Mutex] received everything. 2023-03-23 22:30:31 | [Mutex] isItemNotified: published:item:notifieditem-0300ce04-31c5-4ffb-a53c-332063e1c685:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2023-03-23 22:30:31 |
2023-03-23 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:31 | ------------------------------------ 2023-03-23 22:30:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><item-id>item-0300ce04-31c5-4ffb-a53c-332063e1c685</item-id></data> 2023-03-23 22:30:32 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0300ce04-31c5-4ffb-a53c-332063e1c685</value></item-id></result> 2023-03-23 22:30:32 | [Mutex] received everything. 2023-03-23 22:30:32 | [Mutex] isItemNotified: retracted:item:notifieditem-0300ce04-31c5-4ffb-a53c-332063e1c685:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.237s |
2023-03-23 22:30:31 |
2023-03-23 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:31 | ------------------------------------ 2023-03-23 22:30:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><item-id>item-0300ce04-31c5-4ffb-a53c-332063e1c685</item-id></data> 2023-03-23 22:30:31 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</value></node><item-id label="Item ID" type="text-single"><value>item-0300ce04-31c5-4ffb-a53c-332063e1c685</value></item-id><item label="Item" type="text-multi"><value><item id="item-0300ce04-31c5-4ffb-a53c-332063e1c685"><test>item-0300ce04-31c5-4ffb-a53c-332063e1c685</test></item></value></item></result> 2023-03-23 22:30:31 | [Mutex] notify: [retrieved:item:item-0300ce04-31c5-4ffb-a53c-332063e1c685:payload-matches:true:localhost] 2023-03-23 22:30:31 | [Mutex] received everything. 2023-03-23 22:30:31 | [Mutex] isItemNotified: retrieved:item:item-0300ce04-31c5-4ffb-a53c-332063e1c685:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-03-23 22:30:31 |
2023-03-23 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:31 | ------------------------------------ 2023-03-23 22:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-23 22:30:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-e82adf1d-14e2-4dec-8a76-0b5c1a6ae244</value><value>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-23 22:30:31 |
2023-03-23 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:31 | ------------------------------------ 2023-03-23 22:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7)</node-pattern></data> 2023-03-23 22:30:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2023-03-23 22:30:30 |
2023-03-23 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:30 | ------------------------------------ 2023-03-23 22:30:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.175s |
2023-03-23 22:30:32 |
2023-03-23 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:32 | ------------------------------------ 2023-03-23 22:30:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b1606afb-5ff5-4f57-9ddb-d48529d41aa7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |