Test duration : 9.344s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2023-07-11 22:31:04 |
2023-07-11 22:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:04 | ------------------------------------ 2023-07-11 22:31:04 | [Mutex] waiting for: [configured:node:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:node-d5ea9886-bd7b-4523-88f3-ed87dc09874f] 2023-07-11 22:31:04 | [Mutex] received everything. 2023-07-11 22:31:04 | [Mutex] isItemNotified: configured:node:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:node-d5ea9886-bd7b-4523-88f3-ed87dc09874f :: true 2023-07-11 22:31:05 | [Mutex] waiting for: [received:nodes:4dd5396f-a6fc-43b1-893c-1bc3d4ba8ef8:localhost] 2023-07-11 22:31:05 | [Mutex] received everything. 2023-07-11 22:31:05 | [Mutex] isItemNotified: received:node:4dd5396f-a6fc-43b1-893c-1bc3d4ba8ef8:localhost:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6 :: true 2023-07-11 22:31:05 | [Mutex] waiting for: [received:nodes:8479c409-156d-4fab-b67e-24625f276b4c:localhost] 2023-07-11 22:31:05 | [Mutex] received everything. 2023-07-11 22:31:05 | [Mutex] isItemNotified: received:node:8479c409-156d-4fab-b67e-24625f276b4c:localhost:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6 :: false |
createNodes | 1.372s |
2023-07-11 22:31:01 |
2023-07-11 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:01 | ------------------------------------ 2023-07-11 22:31:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6</title></pubsub></data> 2023-07-11 22:31:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 22:31:03 | [Mutex] waiting for: [received:nodes:a9f073bc-1adc-4e69-b7a6-9a506a8ff63e:localhost] 2023-07-11 22:31:03 | [Mutex] waiting for: [received:nodes:a9f073bc-1adc-4e69-b7a6-9a506a8ff63e:localhost] 2023-07-11 22:31:03 | [Mutex] waiting for: [received:nodes:a9f073bc-1adc-4e69-b7a6-9a506a8ff63e:localhost] 2023-07-11 22:31:03 | [Mutex] received everything. 2023-07-11 22:31:03 | [Mutex] isItemNotified: received:node:a9f073bc-1adc-4e69-b7a6-9a506a8ff63e:localhost:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6 :: true |
createSubnodes | 1.026s |
2023-07-11 22:31:03 |
2023-07-11 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:03 | ------------------------------------ 2023-07-11 22:31:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5ea9886-bd7b-4523-88f3-ed87dc09874f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5ea9886-bd7b-4523-88f3-ed87dc09874f</title></pubsub></data> 2023-07-11 22:31:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 22:31:04 | [Mutex] waiting for: [received:nodes:a1a62a1c-6fb3-41f0-958b-5e4aa5256533:localhost] 2023-07-11 22:31:04 | [Mutex] waiting for: [received:nodes:a1a62a1c-6fb3-41f0-958b-5e4aa5256533:localhost] 2023-07-11 22:31:04 | [Mutex] waiting for: [received:nodes:a1a62a1c-6fb3-41f0-958b-5e4aa5256533:localhost] 2023-07-11 22:31:04 | [Mutex] waiting for: [received:nodes:a1a62a1c-6fb3-41f0-958b-5e4aa5256533:localhost] 2023-07-11 22:31:04 | [Mutex] received everything. 2023-07-11 22:31:04 | [Mutex] isItemNotified: received:node:a1a62a1c-6fb3-41f0-958b-5e4aa5256533:localhost:node-d5ea9886-bd7b-4523-88f3-ed87dc09874f:Node d5ea9886-bd7b-4523-88f3-ed87dc09874f :: true |
deleteNodes | 1.020s |
2023-07-11 22:31:09 |
2023-07-11 22:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:09 | ------------------------------------ 2023-07-11 22:31:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5ea9886-bd7b-4523-88f3-ed87dc09874f</node></data> 2023-07-11 22:31:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 22:31:10 | [Mutex] waiting for: [received:nodes:93ea7f02-457e-4ce1-9a40-1fba938bf4cc:localhost] 2023-07-11 22:31:10 | [Mutex] waiting for: [received:nodes:93ea7f02-457e-4ce1-9a40-1fba938bf4cc:localhost] 2023-07-11 22:31:10 | [Mutex] waiting for: [received:nodes:93ea7f02-457e-4ce1-9a40-1fba938bf4cc:localhost] 2023-07-11 22:31:10 | [Mutex] received everything. 2023-07-11 22:31:10 | [Mutex] isItemNotified: received:node:93ea7f02-457e-4ce1-9a40-1fba938bf4cc:localhost:node-d5ea9886-bd7b-4523-88f3-ed87dc09874f:Node d5ea9886-bd7b-4523-88f3-ed87dc09874f :: false |
deleteSubnodes | 1.134s |
2023-07-11 22:31:08 |
2023-07-11 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:08 | ------------------------------------ 2023-07-11 22:31:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node></data> 2023-07-11 22:31:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 22:31:09 | [Mutex] waiting for: [received:nodes:92f36ec2-c7d0-47e1-bb9f-c1d1459c88f9:localhost] 2023-07-11 22:31:09 | [Mutex] received everything. 2023-07-11 22:31:09 | [Mutex] isItemNotified: received:node:92f36ec2-c7d0-47e1-bb9f-c1d1459c88f9:localhost:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6 :: false 2023-07-11 22:31:09 | [Mutex] waiting for: [received:nodes:b8ed446c-c10f-4e30-89aa-09e6870a2374:localhost] 2023-07-11 22:31:09 | [Mutex] received everything. 2023-07-11 22:31:09 | [Mutex] isItemNotified: received:node:b8ed446c-c10f-4e30-89aa-09e6870a2374:localhost:node-750322f0-a9da-4cbc-ad2c-47aa613c86b6:Node 750322f0-a9da-4cbc-ad2c-47aa613c86b6 :: false |
publishItemsToNodes | 0.260s |
2023-07-11 22:31:06 |
2023-07-11 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:06 | ------------------------------------ 2023-07-11 22:31:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><item-id>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</item-id><entry><test>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</test></entry></data> 2023-07-11 22:31:06 | 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-27a5ee9a-860f-4190-83dd-1aaa09755b3e</value></item-id></result> 2023-07-11 22:31:06 | [Mutex] received everything. 2023-07-11 22:31:06 | [Mutex] isItemNotified: published:item:notifieditem-27a5ee9a-860f-4190-83dd-1aaa09755b3e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.236s |
2023-07-11 22:31:06 |
2023-07-11 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:06 | ------------------------------------ 2023-07-11 22:31:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><item-id>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</item-id></data> 2023-07-11 22:31:07 | 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-27a5ee9a-860f-4190-83dd-1aaa09755b3e</value></item-id></result> 2023-07-11 22:31:07 | [Mutex] waiting for: [retracted:item:notifieditem-27a5ee9a-860f-4190-83dd-1aaa09755b3e:admin@test-domain.com] 2023-07-11 22:31:07 | [Mutex] received everything. 2023-07-11 22:31:07 | [Mutex] isItemNotified: retracted:item:notifieditem-27a5ee9a-860f-4190-83dd-1aaa09755b3e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.142s |
2023-07-11 22:31:06 |
2023-07-11 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:06 | ------------------------------------ 2023-07-11 22:31:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><item-id>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</item-id></data> 2023-07-11 22:31:06 | 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-750322f0-a9da-4cbc-ad2c-47aa613c86b6</value></node><item-id type="text-single" label="Item ID"><value>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</value></item-id><item type="text-multi" label="Item"><value><item id="item-27a5ee9a-860f-4190-83dd-1aaa09755b3e"><test>item-27a5ee9a-860f-4190-83dd-1aaa09755b3e</test></item></value></item></result> 2023-07-11 22:31:06 | [Mutex] notify: [retrieved:item:item-27a5ee9a-860f-4190-83dd-1aaa09755b3e:payload-matches:true:localhost] 2023-07-11 22:31:06 | [Mutex] received everything. 2023-07-11 22:31:06 | [Mutex] isItemNotified: retrieved:item:item-27a5ee9a-860f-4190-83dd-1aaa09755b3e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-11 22:31:06 |
2023-07-11 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:06 | ------------------------------------ 2023-07-11 22:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-11 22:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d5ea9886-bd7b-4523-88f3-ed87dc09874f</value><value>test</value><value>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-07-11 22:31:06 |
2023-07-11 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:06 | ------------------------------------ 2023-07-11 22:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-750322f0-a9da-4cbc-ad2c-47aa613c86b6)</node-pattern></data> 2023-07-11 22:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.162s |
2023-07-11 22:31:05 |
2023-07-11 22:31:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:05 | ------------------------------------ 2023-07-11 22:31:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 22:31:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2023-07-11 22:31:07 |
2023-07-11 22:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 22:31:07 | ------------------------------------ 2023-07-11 22:31:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-750322f0-a9da-4cbc-ad2c-47aa613c86b6</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 22:31:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |