Test duration: 10.100s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-05-26 00:12:54 |
2020-05-26 00:12:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:54 | ------------------------------------ 2020-05-26 00:12:54 | [Mutex] waiting for: [configured:node:node-5897a456-1169-4eed-8f69-68fbc3338f3f:node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc] 2020-05-26 00:12:54 | [Mutex] received everything. 2020-05-26 00:12:54 | [Mutex] isItemNotified: configured:node:node-5897a456-1169-4eed-8f69-68fbc3338f3f:node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc :: true 2020-05-26 00:12:55 | [Mutex] waiting for: [received:nodes:4ebb96e6-ce80-400c-af6d-593748e14aae:localhost] 2020-05-26 00:12:55 | [Mutex] received everything. 2020-05-26 00:12:55 | [Mutex] isItemNotified: received:node:4ebb96e6-ce80-400c-af6d-593748e14aae:localhost:node-5897a456-1169-4eed-8f69-68fbc3338f3f:Node 5897a456-1169-4eed-8f69-68fbc3338f3f :: true 2020-05-26 00:12:55 | [Mutex] waiting for: [received:nodes:f8af9526-9f76-4ab2-b210-aa12fa465a8a:localhost] 2020-05-26 00:12:55 | [Mutex] received everything. 2020-05-26 00:12:55 | [Mutex] isItemNotified: received:node:f8af9526-9f76-4ab2-b210-aa12fa465a8a:localhost:node-5897a456-1169-4eed-8f69-68fbc3338f3f:Node 5897a456-1169-4eed-8f69-68fbc3338f3f :: false |
createNodes | 1.808s |
2020-05-26 00:12:51 |
2020-05-26 00:12:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:51 | ------------------------------------ 2020-05-26 00:12:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5897a456-1169-4eed-8f69-68fbc3338f3f</title></pubsub></data> 2020-05-26 00:12:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-26 00:12:53 | [Mutex] waiting for: [received:nodes:993e900f-afc9-47fe-8343-49110cc94004:localhost] 2020-05-26 00:12:53 | [Mutex] received everything. 2020-05-26 00:12:53 | [Mutex] isItemNotified: received:node:993e900f-afc9-47fe-8343-49110cc94004:localhost:node-5897a456-1169-4eed-8f69-68fbc3338f3f:Node 5897a456-1169-4eed-8f69-68fbc3338f3f :: true |
createSubnodes | 1.029s |
2020-05-26 00:12:53 |
2020-05-26 00:12:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:53 | ------------------------------------ 2020-05-26 00:12:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8fdf90fc-979b-4e6c-9d44-5023bdc97bbc</title></pubsub></data> 2020-05-26 00:12:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-26 00:12:54 | [Mutex] waiting for: [received:nodes:e408f908-7b9d-4b38-8eef-47f9863eeff3:localhost] 2020-05-26 00:12:54 | [Mutex] waiting for: [received:nodes:e408f908-7b9d-4b38-8eef-47f9863eeff3:localhost] 2020-05-26 00:12:54 | [Mutex] received everything. 2020-05-26 00:12:54 | [Mutex] isItemNotified: received:node:e408f908-7b9d-4b38-8eef-47f9863eeff3:localhost:node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc:Node 8fdf90fc-979b-4e6c-9d44-5023bdc97bbc :: true |
deleteNodes | 1.023s |
2020-05-26 00:12:59 |
2020-05-26 00:12:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:59 | ------------------------------------ 2020-05-26 00:12:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc</node></data> 2020-05-26 00:12:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-26 00:13:00 | [Mutex] waiting for: [received:nodes:7ada35e4-24f1-4a65-b289-2f8b8a28d734:localhost] 2020-05-26 00:13:00 | [Mutex] received everything. 2020-05-26 00:13:00 | [Mutex] isItemNotified: received:node:7ada35e4-24f1-4a65-b289-2f8b8a28d734:localhost:node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc:Node 8fdf90fc-979b-4e6c-9d44-5023bdc97bbc :: false |
deleteSubnodes | 1.127s |
2020-05-26 00:12:58 |
2020-05-26 00:12:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:58 | ------------------------------------ 2020-05-26 00:12:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node></data> 2020-05-26 00:12:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-26 00:12:59 | [Mutex] waiting for: [received:nodes:de262d76-f583-4f1d-9f6a-932a80085109:localhost] 2020-05-26 00:12:59 | [Mutex] received everything. 2020-05-26 00:12:59 | [Mutex] isItemNotified: received:node:de262d76-f583-4f1d-9f6a-932a80085109:localhost:node-5897a456-1169-4eed-8f69-68fbc3338f3f:Node 5897a456-1169-4eed-8f69-68fbc3338f3f :: false 2020-05-26 00:12:59 | [Mutex] waiting for: [received:nodes:cf3e2ab2-f6e6-41b3-8858-6cecb74e00df:localhost] 2020-05-26 00:12:59 | [Mutex] received everything. 2020-05-26 00:12:59 | [Mutex] isItemNotified: received:node:cf3e2ab2-f6e6-41b3-8858-6cecb74e00df:localhost:node-5897a456-1169-4eed-8f69-68fbc3338f3f:Node 5897a456-1169-4eed-8f69-68fbc3338f3f :: false |
publishItemsToNodes | 0.245s |
2020-05-26 00:12:56 |
2020-05-26 00:12:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:56 | ------------------------------------ 2020-05-26 00:12:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><item-id>item-be886370-b512-4b71-9a45-d57c8b461d24</item-id><entry><test>item-be886370-b512-4b71-9a45-d57c8b461d24</test></entry></data> 2020-05-26 00:12:56 | 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-be886370-b512-4b71-9a45-d57c8b461d24</value></item-id></result> 2020-05-26 00:12:56 | [Mutex] waiting for: [published:item:notifieditem-be886370-b512-4b71-9a45-d57c8b461d24:admin@localhost] 2020-05-26 00:12:56 | [Mutex] received everything. 2020-05-26 00:12:56 | [Mutex] isItemNotified: published:item:notifieditem-be886370-b512-4b71-9a45-d57c8b461d24:admin@localhost :: true |
retractItemsFromNodes | 0.187s |
2020-05-26 00:12:57 |
2020-05-26 00:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:57 | ------------------------------------ 2020-05-26 00:12:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><item-id>item-be886370-b512-4b71-9a45-d57c8b461d24</item-id></data> 2020-05-26 00:12:57 | 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-be886370-b512-4b71-9a45-d57c8b461d24</value></item-id></result> 2020-05-26 00:12:57 | [Mutex] received everything. 2020-05-26 00:12:57 | [Mutex] isItemNotified: retracted:item:notifieditem-be886370-b512-4b71-9a45-d57c8b461d24:admin@localhost :: true |
retrieveItemsFromNodes | 0.136s |
2020-05-26 00:12:56 |
2020-05-26 00:12:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:56 | ------------------------------------ 2020-05-26 00:12:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><item-id>item-be886370-b512-4b71-9a45-d57c8b461d24</item-id></data> 2020-05-26 00:12:57 | 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-5897a456-1169-4eed-8f69-68fbc3338f3f</value></node><item-id label="Item ID" type="text-single"><value>item-be886370-b512-4b71-9a45-d57c8b461d24</value></item-id><item label="Item" type="text-multi"><value><item id="item-be886370-b512-4b71-9a45-d57c8b461d24"><test>item-be886370-b512-4b71-9a45-d57c8b461d24</test></item></value></item></result> 2020-05-26 00:12:57 | [Mutex] notify: [retrieved:item:item-be886370-b512-4b71-9a45-d57c8b461d24:payload-matches:true:localhost] 2020-05-26 00:12:57 | [Mutex] received everything. 2020-05-26 00:12:57 | [Mutex] isItemNotified: retrieved:item:item-be886370-b512-4b71-9a45-d57c8b461d24:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.216s |
2020-05-26 00:12:57 |
2020-05-26 00:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:57 | ------------------------------------ 2020-05-26 00:12:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-05-26 00:12:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-5897a456-1169-4eed-8f69-68fbc3338f3f</value><value>node-8fdf90fc-979b-4e6c-9d44-5023bdc97bbc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-05-26 00:12:57 |
2020-05-26 00:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:57 | ------------------------------------ 2020-05-26 00:12:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-5897a456-1169-4eed-8f69-68fbc3338f3f)</node-pattern></data> 2020-05-26 00:12:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.112s |
2020-05-26 00:12:55 |
2020-05-26 00:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:55 | ------------------------------------ 2020-05-26 00:12:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><jids><value>admin@localhost</value></jids></data> 2020-05-26 00:12:55 | 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 |
2020-05-26 00:12:57 |
2020-05-26 00:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-26 00:12:57 | ------------------------------------ 2020-05-26 00:12:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5897a456-1169-4eed-8f69-68fbc3338f3f</node><jids><value>admin@localhost</value></jids></data> 2020-05-26 00:12:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |