Test duration: 10.475s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2019-11-24 20:44:32 |
2019-11-24 20:44:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:32 | ------------------------------------ 2019-11-24 20:44:32 | [Mutex] waiting for: [configured:node:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:node-6a1998fa-5b87-4b97-898e-caf73d01bb3f] 2019-11-24 20:44:32 | [Mutex] received everything. 2019-11-24 20:44:32 | [Mutex] isItemNotified: configured:node:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:node-6a1998fa-5b87-4b97-898e-caf73d01bb3f :: true 2019-11-24 20:44:33 | [Mutex] waiting for: [received:nodes:fef0de56-a732-4052-b1b2-5b215badc6a2:localhost] 2019-11-24 20:44:33 | [Mutex] received everything. 2019-11-24 20:44:33 | [Mutex] isItemNotified: received:node:fef0de56-a732-4052-b1b2-5b215badc6a2:localhost:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575 :: true 2019-11-24 20:44:33 | [Mutex] waiting for: [received:nodes:4314cb8b-2aee-4631-ba8c-15496ea980e4:localhost] 2019-11-24 20:44:33 | [Mutex] received everything. 2019-11-24 20:44:33 | [Mutex] isItemNotified: received:node:4314cb8b-2aee-4631-ba8c-15496ea980e4:localhost:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575 :: false |
createNodes | 1.592s |
2019-11-24 20:44:29 |
2019-11-24 20:44:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:29 | ------------------------------------ 2019-11-24 20:44:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</title></pubsub></data> 2019-11-24 20:44:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-24 20:44:31 | [Mutex] waiting for: [received:nodes:e72b76ff-bcfb-4d6a-9462-195cbb59ab1b:localhost] 2019-11-24 20:44:31 | [Mutex] received everything. 2019-11-24 20:44:31 | [Mutex] isItemNotified: received:node:e72b76ff-bcfb-4d6a-9462-195cbb59ab1b:localhost:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575 :: true |
createSubnodes | 1.026s |
2019-11-24 20:44:31 |
2019-11-24 20:44:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:31 | ------------------------------------ 2019-11-24 20:44:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6a1998fa-5b87-4b97-898e-caf73d01bb3f</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6a1998fa-5b87-4b97-898e-caf73d01bb3f</title></pubsub></data> 2019-11-24 20:44:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-24 20:44:32 | [Mutex] waiting for: [received:nodes:8956ed3e-3341-41ca-87cf-da2cbeb81078:localhost] 2019-11-24 20:44:32 | [Mutex] received everything. 2019-11-24 20:44:32 | [Mutex] isItemNotified: received:node:8956ed3e-3341-41ca-87cf-da2cbeb81078:localhost:node-6a1998fa-5b87-4b97-898e-caf73d01bb3f:Node 6a1998fa-5b87-4b97-898e-caf73d01bb3f :: true |
deleteNodes | 1.022s |
2019-11-24 20:44:37 |
2019-11-24 20:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:37 | ------------------------------------ 2019-11-24 20:44:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6a1998fa-5b87-4b97-898e-caf73d01bb3f</node></data> 2019-11-24 20:44:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-24 20:44:38 | [Mutex] waiting for: [received:nodes:c574adb4-cd28-4b5c-80b9-9faf935859b6:localhost] 2019-11-24 20:44:38 | [Mutex] received everything. 2019-11-24 20:44:38 | [Mutex] isItemNotified: received:node:c574adb4-cd28-4b5c-80b9-9faf935859b6:localhost:node-6a1998fa-5b87-4b97-898e-caf73d01bb3f:Node 6a1998fa-5b87-4b97-898e-caf73d01bb3f :: false |
deleteSubnodes | 1.266s |
2019-11-24 20:44:36 |
2019-11-24 20:44:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:36 | ------------------------------------ 2019-11-24 20:44:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node></data> 2019-11-24 20:44:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-24 20:44:37 | [Mutex] waiting for: [received:nodes:cd9e158e-d4bc-46e5-ab44-5387b7970c0e:localhost] 2019-11-24 20:44:37 | [Mutex] received everything. 2019-11-24 20:44:37 | [Mutex] isItemNotified: received:node:cd9e158e-d4bc-46e5-ab44-5387b7970c0e:localhost:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575 :: false 2019-11-24 20:44:37 | [Mutex] waiting for: [received:nodes:03c34524-783a-4be4-8b7e-9332bf3ddde9:localhost] 2019-11-24 20:44:37 | [Mutex] received everything. 2019-11-24 20:44:37 | [Mutex] isItemNotified: received:node:03c34524-783a-4be4-8b7e-9332bf3ddde9:localhost:node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575:Node 5c0fcc2d-1599-4686-8f8a-cc88a1c5c575 :: false |
publishItemsToNodes | 0.289s |
2019-11-24 20:44:34 |
2019-11-24 20:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:34 | ------------------------------------ 2019-11-24 20:44:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><item-id>item-085db3b0-9562-411a-86a8-7ca1ae12536c</item-id><entry><test>item-085db3b0-9562-411a-86a8-7ca1ae12536c</test></entry></data> 2019-11-24 20:44:34 | 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-085db3b0-9562-411a-86a8-7ca1ae12536c</value></item-id></result> 2019-11-24 20:44:34 | [Mutex] waiting for: [published:item:notifieditem-085db3b0-9562-411a-86a8-7ca1ae12536c:admin@localhost] 2019-11-24 20:44:34 | [Mutex] received everything. 2019-11-24 20:44:34 | [Mutex] isItemNotified: published:item:notifieditem-085db3b0-9562-411a-86a8-7ca1ae12536c:admin@localhost :: true |
retractItemsFromNodes | 0.335s |
2019-11-24 20:44:35 |
2019-11-24 20:44:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:35 | ------------------------------------ 2019-11-24 20:44:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><item-id>item-085db3b0-9562-411a-86a8-7ca1ae12536c</item-id></data> 2019-11-24 20:44:35 | 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-085db3b0-9562-411a-86a8-7ca1ae12536c</value></item-id></result> 2019-11-24 20:44:35 | [Mutex] waiting for: [retracted:item:notifieditem-085db3b0-9562-411a-86a8-7ca1ae12536c:admin@localhost] 2019-11-24 20:44:35 | [Mutex] received everything. 2019-11-24 20:44:35 | [Mutex] isItemNotified: retracted:item:notifieditem-085db3b0-9562-411a-86a8-7ca1ae12536c:admin@localhost :: true |
retrieveItemsFromNodes | 0.166s |
2019-11-24 20:44:34 |
2019-11-24 20:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:34 | ------------------------------------ 2019-11-24 20:44:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><item-id>item-085db3b0-9562-411a-86a8-7ca1ae12536c</item-id></data> 2019-11-24 20:44:34 | 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-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</value></node><item-id label="Item ID" type="text-single"><value>item-085db3b0-9562-411a-86a8-7ca1ae12536c</value></item-id><item label="Item" type="text-multi"><value><item id="item-085db3b0-9562-411a-86a8-7ca1ae12536c"><test>item-085db3b0-9562-411a-86a8-7ca1ae12536c</test></item></value></item></result> 2019-11-24 20:44:34 | [Mutex] notify: [retrieved:item:item-085db3b0-9562-411a-86a8-7ca1ae12536c:payload-matches:true:localhost] 2019-11-24 20:44:34 | [Mutex] received everything. 2019-11-24 20:44:34 | [Mutex] isItemNotified: retrieved:item:item-085db3b0-9562-411a-86a8-7ca1ae12536c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.183s |
2019-11-24 20:44:34 |
2019-11-24 20:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:34 | ------------------------------------ 2019-11-24 20:44:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-24 20:44:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-6a1998fa-5b87-4b97-898e-caf73d01bb3f</value><value>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-11-24 20:44:34 |
2019-11-24 20:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:34 | ------------------------------------ 2019-11-24 20:44:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575)</node-pattern></data> 2019-11-24 20:44:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.146s |
2019-11-24 20:44:33 |
2019-11-24 20:44:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:33 | ------------------------------------ 2019-11-24 20:44:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><jids><value>admin@localhost</value></jids></data> 2019-11-24 20:44:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.336s |
2019-11-24 20:44:35 |
2019-11-24 20:44:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-24 20:44:35 | ------------------------------------ 2019-11-24 20:44:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5c0fcc2d-1599-4686-8f8a-cc88a1c5c575</node><jids><value>admin@localhost</value></jids></data> 2019-11-24 20:44:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |