Test duration : 9.382s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-08-27 23:01:59 |
2023-08-27 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:01:59 | ------------------------------------ 2023-08-27 23:01:59 | [Mutex] waiting for: [configured:node:node-ef09f80a-9960-4109-a66a-e9744cf264f0:node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3] 2023-08-27 23:01:59 | [Mutex] received everything. 2023-08-27 23:01:59 | [Mutex] isItemNotified: configured:node:node-ef09f80a-9960-4109-a66a-e9744cf264f0:node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3 :: true 2023-08-27 23:02:00 | [Mutex] waiting for: [received:nodes:a25d25b3-c8c1-43b1-8d06-6557e0ea8e45:localhost] 2023-08-27 23:02:00 | [Mutex] received everything. 2023-08-27 23:02:00 | [Mutex] isItemNotified: received:node:a25d25b3-c8c1-43b1-8d06-6557e0ea8e45:localhost:node-ef09f80a-9960-4109-a66a-e9744cf264f0:Node ef09f80a-9960-4109-a66a-e9744cf264f0 :: true 2023-08-27 23:02:00 | [Mutex] waiting for: [received:nodes:abe6cba3-13af-46a9-8596-53bcba7bc4fa:localhost] 2023-08-27 23:02:00 | [Mutex] waiting for: [received:nodes:abe6cba3-13af-46a9-8596-53bcba7bc4fa:localhost] 2023-08-27 23:02:00 | [Mutex] waiting for: [received:nodes:abe6cba3-13af-46a9-8596-53bcba7bc4fa:localhost] 2023-08-27 23:02:00 | [Mutex] waiting for: [received:nodes:abe6cba3-13af-46a9-8596-53bcba7bc4fa:localhost] 2023-08-27 23:02:00 | [Mutex] received everything. 2023-08-27 23:02:00 | [Mutex] isItemNotified: received:node:abe6cba3-13af-46a9-8596-53bcba7bc4fa:localhost:node-ef09f80a-9960-4109-a66a-e9744cf264f0:Node ef09f80a-9960-4109-a66a-e9744cf264f0 :: false |
createNodes | 1.409s |
2023-08-27 23:01:57 |
2023-08-27 23:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:01:57 | ------------------------------------ 2023-08-27 23:01:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ef09f80a-9960-4109-a66a-e9744cf264f0</title></pubsub></data> 2023-08-27 23:01:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 23:01:58 | [Mutex] waiting for: [received:nodes:a8797d67-f9f5-4d08-8a8c-97563beee163:localhost] 2023-08-27 23:01:58 | [Mutex] waiting for: [received:nodes:a8797d67-f9f5-4d08-8a8c-97563beee163:localhost] 2023-08-27 23:01:58 | [Mutex] waiting for: [received:nodes:a8797d67-f9f5-4d08-8a8c-97563beee163:localhost] 2023-08-27 23:01:58 | [Mutex] waiting for: [received:nodes:a8797d67-f9f5-4d08-8a8c-97563beee163:localhost] 2023-08-27 23:01:58 | [Mutex] received everything. 2023-08-27 23:01:58 | [Mutex] isItemNotified: received:node:a8797d67-f9f5-4d08-8a8c-97563beee163:localhost:node-ef09f80a-9960-4109-a66a-e9744cf264f0:Node ef09f80a-9960-4109-a66a-e9744cf264f0 :: true |
createSubnodes | 1.018s |
2023-08-27 23:01:58 |
2023-08-27 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:01:58 | ------------------------------------ 2023-08-27 23:01:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0de1f49f-9ffe-4549-b6be-aab5e5a473b3</title></pubsub></data> 2023-08-27 23:01:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 23:01:59 | [Mutex] waiting for: [received:nodes:86f97546-4740-4a4e-92c2-9cb25d832f38:localhost] 2023-08-27 23:01:59 | [Mutex] waiting for: [received:nodes:86f97546-4740-4a4e-92c2-9cb25d832f38:localhost] 2023-08-27 23:01:59 | [Mutex] waiting for: [received:nodes:86f97546-4740-4a4e-92c2-9cb25d832f38:localhost] 2023-08-27 23:01:59 | [Mutex] waiting for: [received:nodes:86f97546-4740-4a4e-92c2-9cb25d832f38:localhost] 2023-08-27 23:01:59 | [Mutex] received everything. 2023-08-27 23:01:59 | [Mutex] isItemNotified: received:node:86f97546-4740-4a4e-92c2-9cb25d832f38:localhost:node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3:Node 0de1f49f-9ffe-4549-b6be-aab5e5a473b3 :: true |
deleteNodes | 1.017s |
2023-08-27 23:02:04 |
2023-08-27 23:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:04 | ------------------------------------ 2023-08-27 23:02:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3</node></data> 2023-08-27 23:02:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 23:02:05 | [Mutex] waiting for: [received:nodes:0e8681f5-18fb-467a-bac4-6ee9d274499b:localhost] 2023-08-27 23:02:05 | [Mutex] waiting for: [received:nodes:0e8681f5-18fb-467a-bac4-6ee9d274499b:localhost] 2023-08-27 23:02:05 | [Mutex] waiting for: [received:nodes:0e8681f5-18fb-467a-bac4-6ee9d274499b:localhost] 2023-08-27 23:02:05 | [Mutex] received everything. 2023-08-27 23:02:05 | [Mutex] isItemNotified: received:node:0e8681f5-18fb-467a-bac4-6ee9d274499b:localhost:node-0de1f49f-9ffe-4549-b6be-aab5e5a473b3:Node 0de1f49f-9ffe-4549-b6be-aab5e5a473b3 :: false |
deleteSubnodes | 1.148s |
2023-08-27 23:02:03 |
2023-08-27 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:03 | ------------------------------------ 2023-08-27 23:02:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node></data> 2023-08-27 23:02:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 23:02:04 | [Mutex] waiting for: [received:nodes:24c68041-08d9-4378-80d0-0462848eaf42:localhost] 2023-08-27 23:02:04 | [Mutex] waiting for: [received:nodes:24c68041-08d9-4378-80d0-0462848eaf42:localhost] 2023-08-27 23:02:04 | [Mutex] waiting for: [received:nodes:24c68041-08d9-4378-80d0-0462848eaf42:localhost] 2023-08-27 23:02:04 | [Mutex] waiting for: [received:nodes:24c68041-08d9-4378-80d0-0462848eaf42:localhost] 2023-08-27 23:02:04 | [Mutex] received everything. 2023-08-27 23:02:04 | [Mutex] isItemNotified: received:node:24c68041-08d9-4378-80d0-0462848eaf42:localhost:node-ef09f80a-9960-4109-a66a-e9744cf264f0:Node ef09f80a-9960-4109-a66a-e9744cf264f0 :: false 2023-08-27 23:02:04 | [Mutex] waiting for: [received:nodes:2f3c6e0c-08bc-452f-8307-96666814a041:localhost] 2023-08-27 23:02:04 | [Mutex] received everything. 2023-08-27 23:02:04 | [Mutex] isItemNotified: received:node:2f3c6e0c-08bc-452f-8307-96666814a041:localhost:node-ef09f80a-9960-4109-a66a-e9744cf264f0:Node ef09f80a-9960-4109-a66a-e9744cf264f0 :: false |
publishItemsToNodes | 0.235s |
2023-08-27 23:02:01 |
2023-08-27 23:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:01 | ------------------------------------ 2023-08-27 23:02:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><item-id>item-0eb410ce-7150-4727-bf8e-ff81768439b1</item-id><entry><test>item-0eb410ce-7150-4727-bf8e-ff81768439b1</test></entry></data> 2023-08-27 23:02:01 | 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-0eb410ce-7150-4727-bf8e-ff81768439b1</value></item-id></result> 2023-08-27 23:02:01 | [Mutex] waiting for: [published:item:notifieditem-0eb410ce-7150-4727-bf8e-ff81768439b1:admin@test-domain.com] 2023-08-27 23:02:01 | [Mutex] received everything. 2023-08-27 23:02:01 | [Mutex] isItemNotified: published:item:notifieditem-0eb410ce-7150-4727-bf8e-ff81768439b1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2023-08-27 23:02:02 |
2023-08-27 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:02 | ------------------------------------ 2023-08-27 23:02:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><item-id>item-0eb410ce-7150-4727-bf8e-ff81768439b1</item-id></data> 2023-08-27 23:02:02 | 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-0eb410ce-7150-4727-bf8e-ff81768439b1</value></item-id></result> 2023-08-27 23:02:02 | [Mutex] received everything. 2023-08-27 23:02:02 | [Mutex] isItemNotified: retracted:item:notifieditem-0eb410ce-7150-4727-bf8e-ff81768439b1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.197s |
2023-08-27 23:02:01 |
2023-08-27 23:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:01 | ------------------------------------ 2023-08-27 23:02:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><item-id>item-0eb410ce-7150-4727-bf8e-ff81768439b1</item-id></data> 2023-08-27 23:02:02 | 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-ef09f80a-9960-4109-a66a-e9744cf264f0</value></node><item-id type="text-single" label="Item ID"><value>item-0eb410ce-7150-4727-bf8e-ff81768439b1</value></item-id><item type="text-multi" label="Item"><value><item id="item-0eb410ce-7150-4727-bf8e-ff81768439b1"><test>item-0eb410ce-7150-4727-bf8e-ff81768439b1</test></item></value></item></result> 2023-08-27 23:02:02 | [Mutex] notify: [retrieved:item:item-0eb410ce-7150-4727-bf8e-ff81768439b1:payload-matches:true:localhost] 2023-08-27 23:02:02 | [Mutex] received everything. 2023-08-27 23:02:02 | [Mutex] isItemNotified: retrieved:item:item-0eb410ce-7150-4727-bf8e-ff81768439b1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2023-08-27 23:02:02 |
2023-08-27 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:02 | ------------------------------------ 2023-08-27 23:02:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-27 23:02:02 | 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-0de1f49f-9ffe-4549-b6be-aab5e5a473b3</value><value>node-ef09f80a-9960-4109-a66a-e9744cf264f0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-08-27 23:02:02 |
2023-08-27 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:02 | ------------------------------------ 2023-08-27 23:02:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ef09f80a-9960-4109-a66a-e9744cf264f0)</node-pattern></data> 2023-08-27 23:02:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-08-27 23:02:00 |
2023-08-27 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:00 | ------------------------------------ 2023-08-27 23:02:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-27 23:02:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.216s |
2023-08-27 23:02:02 |
2023-08-27 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 23:02:02 | ------------------------------------ 2023-08-27 23:02:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ef09f80a-9960-4109-a66a-e9744cf264f0</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-27 23:02:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |