Test duration: 10.622s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2019-11-26 19:16:43 |
2019-11-26 19:16:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:43 | ------------------------------------ 2019-11-26 19:16:43 | [Mutex] waiting for: [configured:node:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:node-82f4bfde-0a50-4da7-9de9-41479dca2bf7] 2019-11-26 19:16:43 | [Mutex] received everything. 2019-11-26 19:16:43 | [Mutex] isItemNotified: configured:node:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:node-82f4bfde-0a50-4da7-9de9-41479dca2bf7 :: true 2019-11-26 19:16:44 | [Mutex] waiting for: [received:nodes:f11a870d-ccfe-4270-924a-844596c46888:localhost] 2019-11-26 19:16:44 | [Mutex] received everything. 2019-11-26 19:16:44 | [Mutex] isItemNotified: received:node:f11a870d-ccfe-4270-924a-844596c46888:localhost:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2 :: true 2019-11-26 19:16:44 | [Mutex] waiting for: [received:nodes:ef6a5949-1e16-4f85-9034-dc35124cd4eb:localhost] 2019-11-26 19:16:44 | [Mutex] received everything. 2019-11-26 19:16:44 | [Mutex] isItemNotified: received:node:ef6a5949-1e16-4f85-9034-dc35124cd4eb:localhost:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2 :: false |
createNodes | 1.737s |
2019-11-26 19:16:40 |
2019-11-26 19:16:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:40 | ------------------------------------ 2019-11-26 19:16:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</title></pubsub></data> 2019-11-26 19:16:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 19:16:42 | [Mutex] waiting for: [received:nodes:ea01fff2-35ce-4454-a422-37eca62fb4f3:localhost] 2019-11-26 19:16:42 | [Mutex] received everything. 2019-11-26 19:16:42 | [Mutex] isItemNotified: received:node:ea01fff2-35ce-4454-a422-37eca62fb4f3:localhost:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2 :: true |
createSubnodes | 1.026s |
2019-11-26 19:16:42 |
2019-11-26 19:16:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:42 | ------------------------------------ 2019-11-26 19:16:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-82f4bfde-0a50-4da7-9de9-41479dca2bf7</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 82f4bfde-0a50-4da7-9de9-41479dca2bf7</title></pubsub></data> 2019-11-26 19:16:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 19:16:43 | [Mutex] waiting for: [received:nodes:5b7d5998-2c55-4ba3-8668-267685ee9a30:localhost] 2019-11-26 19:16:43 | [Mutex] received everything. 2019-11-26 19:16:43 | [Mutex] isItemNotified: received:node:5b7d5998-2c55-4ba3-8668-267685ee9a30:localhost:node-82f4bfde-0a50-4da7-9de9-41479dca2bf7:Node 82f4bfde-0a50-4da7-9de9-41479dca2bf7 :: true |
deleteNodes | 1.018s |
2019-11-26 19:16:49 |
2019-11-26 19:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:49 | ------------------------------------ 2019-11-26 19:16:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-82f4bfde-0a50-4da7-9de9-41479dca2bf7</node></data> 2019-11-26 19:16:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 19:16:50 | [Mutex] waiting for: [received:nodes:b19ad47e-38ba-4ee3-a193-1c1b590133ab:localhost] 2019-11-26 19:16:50 | [Mutex] received everything. 2019-11-26 19:16:50 | [Mutex] isItemNotified: received:node:b19ad47e-38ba-4ee3-a193-1c1b590133ab:localhost:node-82f4bfde-0a50-4da7-9de9-41479dca2bf7:Node 82f4bfde-0a50-4da7-9de9-41479dca2bf7 :: false |
deleteSubnodes | 1.134s |
2019-11-26 19:16:48 |
2019-11-26 19:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:48 | ------------------------------------ 2019-11-26 19:16:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node></data> 2019-11-26 19:16:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 19:16:49 | [Mutex] waiting for: [received:nodes:480a083a-4855-4965-babe-ffbcdabaad6b:localhost] 2019-11-26 19:16:49 | [Mutex] received everything. 2019-11-26 19:16:49 | [Mutex] isItemNotified: received:node:480a083a-4855-4965-babe-ffbcdabaad6b:localhost:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2 :: false 2019-11-26 19:16:49 | [Mutex] waiting for: [received:nodes:b488d0df-85de-410d-b2b5-75fda06bef6c:localhost] 2019-11-26 19:16:49 | [Mutex] received everything. 2019-11-26 19:16:49 | [Mutex] isItemNotified: received:node:b488d0df-85de-410d-b2b5-75fda06bef6c:localhost:node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2:Node e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2 :: false |
publishItemsToNodes | 0.331s |
2019-11-26 19:16:45 |
2019-11-26 19:16:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:45 | ------------------------------------ 2019-11-26 19:16:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><item-id>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</item-id><entry><test>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</test></entry></data> 2019-11-26 19:16:46 | 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-5c9011cf-d431-4183-bca7-d4a82da9b60d</value></item-id></result> 2019-11-26 19:16:46 | [Mutex] waiting for: [published:item:notifieditem-5c9011cf-d431-4183-bca7-d4a82da9b60d:admin@localhost] 2019-11-26 19:16:46 | [Mutex] received everything. 2019-11-26 19:16:46 | [Mutex] isItemNotified: published:item:notifieditem-5c9011cf-d431-4183-bca7-d4a82da9b60d:admin@localhost :: true |
retractItemsFromNodes | 0.311s |
2019-11-26 19:16:46 |
2019-11-26 19:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:46 | ------------------------------------ 2019-11-26 19:16:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><item-id>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</item-id></data> 2019-11-26 19:16:47 | 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-5c9011cf-d431-4183-bca7-d4a82da9b60d</value></item-id></result> 2019-11-26 19:16:47 | [Mutex] waiting for: [retracted:item:notifieditem-5c9011cf-d431-4183-bca7-d4a82da9b60d:admin@localhost] 2019-11-26 19:16:47 | [Mutex] received everything. 2019-11-26 19:16:47 | [Mutex] isItemNotified: retracted:item:notifieditem-5c9011cf-d431-4183-bca7-d4a82da9b60d:admin@localhost :: true |
retrieveItemsFromNodes | 0.160s |
2019-11-26 19:16:46 |
2019-11-26 19:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:46 | ------------------------------------ 2019-11-26 19:16:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><item-id>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</item-id></data> 2019-11-26 19:16:46 | 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-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</value></node><item-id label="Item ID" type="text-single"><value>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</value></item-id><item label="Item" type="text-multi"><value><item id="item-5c9011cf-d431-4183-bca7-d4a82da9b60d"><test>item-5c9011cf-d431-4183-bca7-d4a82da9b60d</test></item></value></item></result> 2019-11-26 19:16:46 | [Mutex] notify: [retrieved:item:item-5c9011cf-d431-4183-bca7-d4a82da9b60d:payload-matches:true:localhost] 2019-11-26 19:16:46 | [Mutex] received everything. 2019-11-26 19:16:46 | [Mutex] isItemNotified: retrieved:item:item-5c9011cf-d431-4183-bca7-d4a82da9b60d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.276s |
2019-11-26 19:16:46 |
2019-11-26 19:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:46 | ------------------------------------ 2019-11-26 19:16:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-26 19:16:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</value><value>node-82f4bfde-0a50-4da7-9de9-41479dca2bf7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2019-11-26 19:16:46 |
2019-11-26 19:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:46 | ------------------------------------ 2019-11-26 19:16:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2)</node-pattern></data> 2019-11-26 19:16:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.175s |
2019-11-26 19:16:44 |
2019-11-26 19:16:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:44 | ------------------------------------ 2019-11-26 19:16:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 19:16:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.303s |
2019-11-26 19:16:47 |
2019-11-26 19:16:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 19:16:47 | ------------------------------------ 2019-11-26 19:16:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e2f22c6e-0727-4f3d-b4d6-4eb47b7f49a2</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 19:16:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |