Test duration : 9.667s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2022-08-02 22:34:00 |
2022-08-02 22:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:00 | ------------------------------------ 2022-08-02 22:34:00 | [Mutex] waiting for: [configured:node:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:node-e285b2a5-0289-4dbf-8a37-fde9f04ce979] 2022-08-02 22:34:00 | [Mutex] received everything. 2022-08-02 22:34:00 | [Mutex] isItemNotified: configured:node:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:node-e285b2a5-0289-4dbf-8a37-fde9f04ce979 :: true 2022-08-02 22:34:01 | [Mutex] waiting for: [received:nodes:1f86b044-6663-44ea-afd8-8b4ea488e196:localhost] 2022-08-02 22:34:01 | [Mutex] received everything. 2022-08-02 22:34:01 | [Mutex] isItemNotified: received:node:1f86b044-6663-44ea-afd8-8b4ea488e196:localhost:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c :: true 2022-08-02 22:34:01 | [Mutex] waiting for: [received:nodes:2cd23551-9865-4cd1-8a40-5149caf40cad:localhost] 2022-08-02 22:34:01 | [Mutex] received everything. 2022-08-02 22:34:01 | [Mutex] isItemNotified: received:node:2cd23551-9865-4cd1-8a40-5149caf40cad:localhost:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c :: false |
createNodes | 1.495s |
2022-08-02 22:33:58 |
2022-08-02 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:33:58 | ------------------------------------ 2022-08-02 22:33:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c</title></pubsub></data> 2022-08-02 22:33:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 22:33:59 | [Mutex] waiting for: [received:nodes:c0de2ddc-f82b-469d-b694-fa33789278b0:localhost] 2022-08-02 22:33:59 | [Mutex] received everything. 2022-08-02 22:33:59 | [Mutex] isItemNotified: received:node:c0de2ddc-f82b-469d-b694-fa33789278b0:localhost:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c :: true |
createSubnodes | 1.022s |
2022-08-02 22:33:59 |
2022-08-02 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:33:59 | ------------------------------------ 2022-08-02 22:33:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e285b2a5-0289-4dbf-8a37-fde9f04ce979</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e285b2a5-0289-4dbf-8a37-fde9f04ce979</title></pubsub></data> 2022-08-02 22:33:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 22:34:00 | [Mutex] waiting for: [received:nodes:80d40d53-0234-46a4-9205-d5d8b75300c5:localhost] 2022-08-02 22:34:00 | [Mutex] received everything. 2022-08-02 22:34:00 | [Mutex] isItemNotified: received:node:80d40d53-0234-46a4-9205-d5d8b75300c5:localhost:node-e285b2a5-0289-4dbf-8a37-fde9f04ce979:Node e285b2a5-0289-4dbf-8a37-fde9f04ce979 :: true |
deleteNodes | 1.017s |
2022-08-02 22:34:06 |
2022-08-02 22:34:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:06 | ------------------------------------ 2022-08-02 22:34:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e285b2a5-0289-4dbf-8a37-fde9f04ce979</node></data> 2022-08-02 22:34:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 22:34:07 | [Mutex] waiting for: [received:nodes:879e1e60-eec6-4730-ab30-fd1c8daf824f:localhost] 2022-08-02 22:34:07 | [Mutex] received everything. 2022-08-02 22:34:07 | [Mutex] isItemNotified: received:node:879e1e60-eec6-4730-ab30-fd1c8daf824f:localhost:node-e285b2a5-0289-4dbf-8a37-fde9f04ce979:Node e285b2a5-0289-4dbf-8a37-fde9f04ce979 :: false |
deleteSubnodes | 1.145s |
2022-08-02 22:34:04 |
2022-08-02 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:04 | ------------------------------------ 2022-08-02 22:34:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node></data> 2022-08-02 22:34:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-02 22:34:05 | [Mutex] waiting for: [received:nodes:0204da81-4fe7-47a9-9278-59ae9f355cae:localhost] 2022-08-02 22:34:06 | [Mutex] waiting for: [received:nodes:0204da81-4fe7-47a9-9278-59ae9f355cae:localhost] 2022-08-02 22:34:06 | [Mutex] waiting for: [received:nodes:0204da81-4fe7-47a9-9278-59ae9f355cae:localhost] 2022-08-02 22:34:06 | [Mutex] waiting for: [received:nodes:0204da81-4fe7-47a9-9278-59ae9f355cae:localhost] 2022-08-02 22:34:06 | [Mutex] received everything. 2022-08-02 22:34:06 | [Mutex] isItemNotified: received:node:0204da81-4fe7-47a9-9278-59ae9f355cae:localhost:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c :: false 2022-08-02 22:34:06 | [Mutex] waiting for: [received:nodes:c345a827-a81c-472f-9179-cc0d9c4acf1d:localhost] 2022-08-02 22:34:06 | [Mutex] received everything. 2022-08-02 22:34:06 | [Mutex] isItemNotified: received:node:c345a827-a81c-472f-9179-cc0d9c4acf1d:localhost:node-68e83a61-7e7b-45ec-a04b-ac7bddce905c:Node 68e83a61-7e7b-45ec-a04b-ac7bddce905c :: false |
publishItemsToNodes | 0.209s |
2022-08-02 22:34:02 |
2022-08-02 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:02 | ------------------------------------ 2022-08-02 22:34:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><item-id>item-9c1b330c-4211-4fb1-baa0-24de4acce827</item-id><entry><test>item-9c1b330c-4211-4fb1-baa0-24de4acce827</test></entry></data> 2022-08-02 22:34:02 | 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-9c1b330c-4211-4fb1-baa0-24de4acce827</value></item-id></result> 2022-08-02 22:34:02 | [Mutex] received everything. 2022-08-02 22:34:02 | [Mutex] isItemNotified: published:item:notifieditem-9c1b330c-4211-4fb1-baa0-24de4acce827:admin@test-domain.com :: true |
retractItemsFromNodes | 0.240s |
2022-08-02 22:34:03 |
2022-08-02 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:03 | ------------------------------------ 2022-08-02 22:34:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><item-id>item-9c1b330c-4211-4fb1-baa0-24de4acce827</item-id></data> 2022-08-02 22:34:03 | 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-9c1b330c-4211-4fb1-baa0-24de4acce827</value></item-id></result> 2022-08-02 22:34:03 | [Mutex] received everything. 2022-08-02 22:34:03 | [Mutex] isItemNotified: retracted:item:notifieditem-9c1b330c-4211-4fb1-baa0-24de4acce827:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2022-08-02 22:34:02 |
2022-08-02 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:02 | ------------------------------------ 2022-08-02 22:34:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><item-id>item-9c1b330c-4211-4fb1-baa0-24de4acce827</item-id></data> 2022-08-02 22:34:03 | 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-68e83a61-7e7b-45ec-a04b-ac7bddce905c</value></node><item-id type="text-single" label="Item ID"><value>item-9c1b330c-4211-4fb1-baa0-24de4acce827</value></item-id><item type="text-multi" label="Item"><value><item id="item-9c1b330c-4211-4fb1-baa0-24de4acce827"><test>item-9c1b330c-4211-4fb1-baa0-24de4acce827</test></item></value></item></result> 2022-08-02 22:34:03 | [Mutex] notify: [retrieved:item:item-9c1b330c-4211-4fb1-baa0-24de4acce827:payload-matches:true:localhost] 2022-08-02 22:34:03 | [Mutex] received everything. 2022-08-02 22:34:03 | [Mutex] isItemNotified: retrieved:item:item-9c1b330c-4211-4fb1-baa0-24de4acce827:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-08-02 22:34:03 |
2022-08-02 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:03 | ------------------------------------ 2022-08-02 22:34:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-02 22:34:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</value><value>test</value><value>node-e285b2a5-0289-4dbf-8a37-fde9f04ce979</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-02 22:34:03 |
2022-08-02 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:03 | ------------------------------------ 2022-08-02 22:34:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-68e83a61-7e7b-45ec-a04b-ac7bddce905c)</node-pattern></data> 2022-08-02 22:34:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-08-02 22:34:01 |
2022-08-02 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:01 | ------------------------------------ 2022-08-02 22:34:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-02 22:34:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.307s |
2022-08-02 22:34:03 |
2022-08-02 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-02 22:34:03 | ------------------------------------ 2022-08-02 22:34:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-68e83a61-7e7b-45ec-a04b-ac7bddce905c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-02 22:34:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |