Test duration : 9.865s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2022-06-27 22:45:06 |
2022-06-27 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:06 | ------------------------------------ 2022-06-27 22:45:06 | [Mutex] waiting for: [configured:node:node-cf734066-a401-4993-97c6-0603706868c8:node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453] 2022-06-27 22:45:06 | [Mutex] received everything. 2022-06-27 22:45:06 | [Mutex] isItemNotified: configured:node:node-cf734066-a401-4993-97c6-0603706868c8:node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453 :: true 2022-06-27 22:45:07 | [Mutex] waiting for: [received:nodes:387be861-dc65-442e-b629-8c4b2e44783a:localhost] 2022-06-27 22:45:07 | [Mutex] received everything. 2022-06-27 22:45:07 | [Mutex] isItemNotified: received:node:387be861-dc65-442e-b629-8c4b2e44783a:localhost:node-cf734066-a401-4993-97c6-0603706868c8:Node cf734066-a401-4993-97c6-0603706868c8 :: true 2022-06-27 22:45:07 | [Mutex] waiting for: [received:nodes:ebd482db-1b4a-4299-b665-4dbd90976ed1:localhost] 2022-06-27 22:45:07 | [Mutex] waiting for: [received:nodes:ebd482db-1b4a-4299-b665-4dbd90976ed1:localhost] 2022-06-27 22:45:07 | [Mutex] waiting for: [received:nodes:ebd482db-1b4a-4299-b665-4dbd90976ed1:localhost] 2022-06-27 22:45:07 | [Mutex] waiting for: [received:nodes:ebd482db-1b4a-4299-b665-4dbd90976ed1:localhost] 2022-06-27 22:45:07 | [Mutex] received everything. 2022-06-27 22:45:07 | [Mutex] isItemNotified: received:node:ebd482db-1b4a-4299-b665-4dbd90976ed1:localhost:node-cf734066-a401-4993-97c6-0603706868c8:Node cf734066-a401-4993-97c6-0603706868c8 :: false |
createNodes | 1.513s |
2022-06-27 22:45:03 |
2022-06-27 22:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:03 | ------------------------------------ 2022-06-27 22:45:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cf734066-a401-4993-97c6-0603706868c8</title></pubsub></data> 2022-06-27 22:45:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 22:45:04 | [Mutex] waiting for: [received:nodes:7e081749-8bfb-4420-bb17-8788665f39f3:localhost] 2022-06-27 22:45:05 | [Mutex] received everything. 2022-06-27 22:45:05 | [Mutex] isItemNotified: received:node:7e081749-8bfb-4420-bb17-8788665f39f3:localhost:node-cf734066-a401-4993-97c6-0603706868c8:Node cf734066-a401-4993-97c6-0603706868c8 :: true |
createSubnodes | 1.033s |
2022-06-27 22:45:05 |
2022-06-27 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:05 | ------------------------------------ 2022-06-27 22:45:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4cceccd3-d9da-4bd2-8596-f9e4bc6f7453</title></pubsub></data> 2022-06-27 22:45:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 22:45:06 | [Mutex] waiting for: [received:nodes:7438c64d-a85d-4154-9247-051f9ba6acd1:localhost] 2022-06-27 22:45:06 | [Mutex] received everything. 2022-06-27 22:45:06 | [Mutex] isItemNotified: received:node:7438c64d-a85d-4154-9247-051f9ba6acd1:localhost:node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453:Node 4cceccd3-d9da-4bd2-8596-f9e4bc6f7453 :: true |
deleteNodes | 1.023s |
2022-06-27 22:45:11 |
2022-06-27 22:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:11 | ------------------------------------ 2022-06-27 22:45:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453</node></data> 2022-06-27 22:45:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 22:45:12 | [Mutex] waiting for: [received:nodes:197f2b0f-d6c3-4769-99ba-4948df5d1666:localhost] 2022-06-27 22:45:12 | [Mutex] waiting for: [received:nodes:197f2b0f-d6c3-4769-99ba-4948df5d1666:localhost] 2022-06-27 22:45:12 | [Mutex] received everything. 2022-06-27 22:45:12 | [Mutex] isItemNotified: received:node:197f2b0f-d6c3-4769-99ba-4948df5d1666:localhost:node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453:Node 4cceccd3-d9da-4bd2-8596-f9e4bc6f7453 :: false |
deleteSubnodes | 1.165s |
2022-06-27 22:45:10 |
2022-06-27 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:10 | ------------------------------------ 2022-06-27 22:45:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node></data> 2022-06-27 22:45:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 22:45:11 | [Mutex] waiting for: [received:nodes:df2a4ae0-8aaf-4c7b-8b29-84cbc53a96e1:localhost] 2022-06-27 22:45:11 | [Mutex] received everything. 2022-06-27 22:45:11 | [Mutex] isItemNotified: received:node:df2a4ae0-8aaf-4c7b-8b29-84cbc53a96e1:localhost:node-cf734066-a401-4993-97c6-0603706868c8:Node cf734066-a401-4993-97c6-0603706868c8 :: false 2022-06-27 22:45:11 | [Mutex] waiting for: [received:nodes:d2f53b5d-dcd4-497f-aec4-6510858384f3:localhost] 2022-06-27 22:45:11 | [Mutex] received everything. 2022-06-27 22:45:11 | [Mutex] isItemNotified: received:node:d2f53b5d-dcd4-497f-aec4-6510858384f3:localhost:node-cf734066-a401-4993-97c6-0603706868c8:Node cf734066-a401-4993-97c6-0603706868c8 :: false |
publishItemsToNodes | 0.325s |
2022-06-27 22:45:08 |
2022-06-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:08 | ------------------------------------ 2022-06-27 22:45:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><item-id>item-ab999789-d7b2-4025-bfa5-f5e401998d54</item-id><entry><test>item-ab999789-d7b2-4025-bfa5-f5e401998d54</test></entry></data> 2022-06-27 22:45:08 | 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-ab999789-d7b2-4025-bfa5-f5e401998d54</value></item-id></result> 2022-06-27 22:45:08 | [Mutex] received everything. 2022-06-27 22:45:08 | [Mutex] isItemNotified: published:item:notifieditem-ab999789-d7b2-4025-bfa5-f5e401998d54:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-06-27 22:45:09 |
2022-06-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:09 | ------------------------------------ 2022-06-27 22:45:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><item-id>item-ab999789-d7b2-4025-bfa5-f5e401998d54</item-id></data> 2022-06-27 22:45:09 | 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-ab999789-d7b2-4025-bfa5-f5e401998d54</value></item-id></result> 2022-06-27 22:45:09 | [Mutex] received everything. 2022-06-27 22:45:09 | [Mutex] isItemNotified: retracted:item:notifieditem-ab999789-d7b2-4025-bfa5-f5e401998d54:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.238s |
2022-06-27 22:45:08 |
2022-06-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:08 | ------------------------------------ 2022-06-27 22:45:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><item-id>item-ab999789-d7b2-4025-bfa5-f5e401998d54</item-id></data> 2022-06-27 22:45:08 | 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-cf734066-a401-4993-97c6-0603706868c8</value></node><item-id type="text-single" label="Item ID"><value>item-ab999789-d7b2-4025-bfa5-f5e401998d54</value></item-id><item type="text-multi" label="Item"><value><item id="item-ab999789-d7b2-4025-bfa5-f5e401998d54"><test>item-ab999789-d7b2-4025-bfa5-f5e401998d54</test></item></value></item></result> 2022-06-27 22:45:08 | [Mutex] notify: [retrieved:item:item-ab999789-d7b2-4025-bfa5-f5e401998d54:payload-matches:true:localhost] 2022-06-27 22:45:08 | [Mutex] received everything. 2022-06-27 22:45:08 | [Mutex] isItemNotified: retrieved:item:item-ab999789-d7b2-4025-bfa5-f5e401998d54:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-27 22:45:08 |
2022-06-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:08 | ------------------------------------ 2022-06-27 22:45:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-27 22:45:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-cf734066-a401-4993-97c6-0603706868c8</value><value>node-4cceccd3-d9da-4bd2-8596-f9e4bc6f7453</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-27 22:45:08 |
2022-06-27 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:08 | ------------------------------------ 2022-06-27 22:45:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cf734066-a401-4993-97c6-0603706868c8)</node-pattern></data> 2022-06-27 22:45:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.168s |
2022-06-27 22:45:07 |
2022-06-27 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:07 | ------------------------------------ 2022-06-27 22:45:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 22:45:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-06-27 22:45:09 |
2022-06-27 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 22:45:09 | ------------------------------------ 2022-06-27 22:45:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cf734066-a401-4993-97c6-0603706868c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 22:45:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |