Test duration : 9.605s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2022-06-17 22:35:05 |
2022-06-17 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:05 | ------------------------------------ 2022-06-17 22:35:05 | [Mutex] waiting for: [configured:node:node-be474d97-c190-4f99-bb38-3aa483744500:node-eda96225-8891-4859-9521-235974875ed0] 2022-06-17 22:35:05 | [Mutex] received everything. 2022-06-17 22:35:05 | [Mutex] isItemNotified: configured:node:node-be474d97-c190-4f99-bb38-3aa483744500:node-eda96225-8891-4859-9521-235974875ed0 :: true 2022-06-17 22:35:06 | [Mutex] waiting for: [received:nodes:3bd927b6-7e67-4cd1-af98-2c6eb6e57950:localhost] 2022-06-17 22:35:06 | [Mutex] received everything. 2022-06-17 22:35:06 | [Mutex] isItemNotified: received:node:3bd927b6-7e67-4cd1-af98-2c6eb6e57950:localhost:node-be474d97-c190-4f99-bb38-3aa483744500:Node be474d97-c190-4f99-bb38-3aa483744500 :: true 2022-06-17 22:35:06 | [Mutex] waiting for: [received:nodes:b8d9356e-a520-4668-b5d5-fea9d3df07e7:localhost] 2022-06-17 22:35:06 | [Mutex] waiting for: [received:nodes:b8d9356e-a520-4668-b5d5-fea9d3df07e7:localhost] 2022-06-17 22:35:06 | [Mutex] received everything. 2022-06-17 22:35:06 | [Mutex] isItemNotified: received:node:b8d9356e-a520-4668-b5d5-fea9d3df07e7:localhost:node-be474d97-c190-4f99-bb38-3aa483744500:Node be474d97-c190-4f99-bb38-3aa483744500 :: false |
createNodes | 1.513s |
2022-06-17 22:35:02 |
2022-06-17 22:35:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:02 | ------------------------------------ 2022-06-17 22:35:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be474d97-c190-4f99-bb38-3aa483744500</title></pubsub></data> 2022-06-17 22:35: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-17 22:35:04 | [Mutex] waiting for: [received:nodes:e8201e2c-00b9-4f20-9ec4-efe88752b412:localhost] 2022-06-17 22:35:04 | [Mutex] waiting for: [received:nodes:e8201e2c-00b9-4f20-9ec4-efe88752b412:localhost] 2022-06-17 22:35:04 | [Mutex] received everything. 2022-06-17 22:35:04 | [Mutex] isItemNotified: received:node:e8201e2c-00b9-4f20-9ec4-efe88752b412:localhost:node-be474d97-c190-4f99-bb38-3aa483744500:Node be474d97-c190-4f99-bb38-3aa483744500 :: true |
createSubnodes | 1.030s |
2022-06-17 22:35:04 |
2022-06-17 22:35:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:04 | ------------------------------------ 2022-06-17 22:35:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-eda96225-8891-4859-9521-235974875ed0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eda96225-8891-4859-9521-235974875ed0</title></pubsub></data> 2022-06-17 22:35:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:35:05 | [Mutex] waiting for: [received:nodes:1663671e-635b-4a02-ba84-1a30d1a10a14:localhost] 2022-06-17 22:35:05 | [Mutex] received everything. 2022-06-17 22:35:05 | [Mutex] isItemNotified: received:node:1663671e-635b-4a02-ba84-1a30d1a10a14:localhost:node-eda96225-8891-4859-9521-235974875ed0:Node eda96225-8891-4859-9521-235974875ed0 :: true |
deleteNodes | 1.022s |
2022-06-17 22:35:10 |
2022-06-17 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:10 | ------------------------------------ 2022-06-17 22:35:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-eda96225-8891-4859-9521-235974875ed0</node></data> 2022-06-17 22:35: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-17 22:35:11 | [Mutex] waiting for: [received:nodes:4bbe2a50-7c40-4cef-93d1-cd174fe5d510:localhost] 2022-06-17 22:35:11 | [Mutex] received everything. 2022-06-17 22:35:11 | [Mutex] isItemNotified: received:node:4bbe2a50-7c40-4cef-93d1-cd174fe5d510:localhost:node-eda96225-8891-4859-9521-235974875ed0:Node eda96225-8891-4859-9521-235974875ed0 :: false |
deleteSubnodes | 1.160s |
2022-06-17 22:35:09 |
2022-06-17 22:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:09 | ------------------------------------ 2022-06-17 22:35:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node></data> 2022-06-17 22:35:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-17 22:35:10 | [Mutex] waiting for: [received:nodes:6f021e60-b17d-4043-abc6-cf3c4397e7b9:localhost] 2022-06-17 22:35:10 | [Mutex] waiting for: [received:nodes:6f021e60-b17d-4043-abc6-cf3c4397e7b9:localhost] 2022-06-17 22:35:10 | [Mutex] received everything. 2022-06-17 22:35:10 | [Mutex] isItemNotified: received:node:6f021e60-b17d-4043-abc6-cf3c4397e7b9:localhost:node-be474d97-c190-4f99-bb38-3aa483744500:Node be474d97-c190-4f99-bb38-3aa483744500 :: false 2022-06-17 22:35:10 | [Mutex] waiting for: [received:nodes:36834863-4927-411f-ba9e-3761d15d56c2:localhost] 2022-06-17 22:35:10 | [Mutex] received everything. 2022-06-17 22:35:10 | [Mutex] isItemNotified: received:node:36834863-4927-411f-ba9e-3761d15d56c2:localhost:node-be474d97-c190-4f99-bb38-3aa483744500:Node be474d97-c190-4f99-bb38-3aa483744500 :: false |
publishItemsToNodes | 0.224s |
2022-06-17 22:35:07 |
2022-06-17 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:07 | ------------------------------------ 2022-06-17 22:35:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><item-id>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</item-id><entry><test>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</test></entry></data> 2022-06-17 22:35:07 | 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-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</value></item-id></result> 2022-06-17 22:35:07 | [Mutex] waiting for: [published:item:notifieditem-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:admin@test-domain.com] 2022-06-17 22:35:07 | [Mutex] received everything. 2022-06-17 22:35:07 | [Mutex] isItemNotified: published:item:notifieditem-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.288s |
2022-06-17 22:35:07 |
2022-06-17 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:07 | ------------------------------------ 2022-06-17 22:35:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><item-id>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</item-id></data> 2022-06-17 22:35:08 | 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-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</value></item-id></result> 2022-06-17 22:35:08 | [Mutex] waiting for: [retracted:item:notifieditem-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:admin@test-domain.com] 2022-06-17 22:35:08 | [Mutex] received everything. 2022-06-17 22:35:08 | [Mutex] isItemNotified: retracted:item:notifieditem-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.137s |
2022-06-17 22:35:07 |
2022-06-17 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:07 | ------------------------------------ 2022-06-17 22:35:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><item-id>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</item-id></data> 2022-06-17 22:35:07 | 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-be474d97-c190-4f99-bb38-3aa483744500</value></node><item-id label="Item ID" type="text-single"><value>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</value></item-id><item label="Item" type="text-multi"><value><item id="item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6"><test>item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6</test></item></value></item></result> 2022-06-17 22:35:07 | [Mutex] notify: [retrieved:item:item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:payload-matches:true:localhost] 2022-06-17 22:35:07 | [Mutex] received everything. 2022-06-17 22:35:07 | [Mutex] isItemNotified: retrieved:item:item-7c90a4a7-9038-4df2-9590-4c549ff1c6d6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-06-17 22:35:07 |
2022-06-17 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:07 | ------------------------------------ 2022-06-17 22:35:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-17 22:35:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-be474d97-c190-4f99-bb38-3aa483744500</value><value>node-eda96225-8891-4859-9521-235974875ed0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-17 22:35:07 |
2022-06-17 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:07 | ------------------------------------ 2022-06-17 22:35:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be474d97-c190-4f99-bb38-3aa483744500)</node-pattern></data> 2022-06-17 22:35:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2022-06-17 22:35:06 |
2022-06-17 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:06 | ------------------------------------ 2022-06-17 22:35:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-17 22:35:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.234s |
2022-06-17 22:35:08 |
2022-06-17 22:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-17 22:35:08 | ------------------------------------ 2022-06-17 22:35:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-be474d97-c190-4f99-bb38-3aa483744500</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-17 22:35:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |