Test duration : 9.989s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2021-02-23 21:26:24 |
2021-02-23 21:26:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:24 | ------------------------------------ 2021-02-23 21:26:24 | [Mutex] waiting for: [configured:node:node-143b6725-054c-4896-aaa1-ca1028299c91:node-8eb0e282-1973-4720-8fc1-cf22ad3e9984] 2021-02-23 21:26:24 | [Mutex] received everything. 2021-02-23 21:26:24 | [Mutex] isItemNotified: configured:node:node-143b6725-054c-4896-aaa1-ca1028299c91:node-8eb0e282-1973-4720-8fc1-cf22ad3e9984 :: true 2021-02-23 21:26:25 | [Mutex] waiting for: [received:nodes:831ecd88-bd80-4df7-ba09-4b2d7079ffac:localhost] 2021-02-23 21:26:25 | [Mutex] received everything. 2021-02-23 21:26:25 | [Mutex] isItemNotified: received:node:831ecd88-bd80-4df7-ba09-4b2d7079ffac:localhost:node-143b6725-054c-4896-aaa1-ca1028299c91:Node 143b6725-054c-4896-aaa1-ca1028299c91 :: true 2021-02-23 21:26:25 | [Mutex] waiting for: [received:nodes:2bf428e4-4946-40a3-a2a5-7a0d03a2de12:localhost] 2021-02-23 21:26:25 | [Mutex] received everything. 2021-02-23 21:26:25 | [Mutex] isItemNotified: received:node:2bf428e4-4946-40a3-a2a5-7a0d03a2de12:localhost:node-143b6725-054c-4896-aaa1-ca1028299c91:Node 143b6725-054c-4896-aaa1-ca1028299c91 :: false |
createNodes | 1.447s |
2021-02-23 21:26:22 |
2021-02-23 21:26:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:22 | ------------------------------------ 2021-02-23 21:26:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 143b6725-054c-4896-aaa1-ca1028299c91</title></pubsub></data> 2021-02-23 21:26:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-23 21:26:23 | [Mutex] waiting for: [received:nodes:13860336-e5c7-481c-96d2-afb516a4d489:localhost] 2021-02-23 21:26:23 | [Mutex] received everything. 2021-02-23 21:26:23 | [Mutex] isItemNotified: received:node:13860336-e5c7-481c-96d2-afb516a4d489:localhost:node-143b6725-054c-4896-aaa1-ca1028299c91:Node 143b6725-054c-4896-aaa1-ca1028299c91 :: true |
createSubnodes | 1.027s |
2021-02-23 21:26:23 |
2021-02-23 21:26:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:23 | ------------------------------------ 2021-02-23 21:26:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8eb0e282-1973-4720-8fc1-cf22ad3e9984</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8eb0e282-1973-4720-8fc1-cf22ad3e9984</title></pubsub></data> 2021-02-23 21:26:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-23 21:26:24 | [Mutex] waiting for: [received:nodes:e1be39cd-31f6-44ee-8f33-fb0ed9e1bf0e:localhost] 2021-02-23 21:26:24 | [Mutex] received everything. 2021-02-23 21:26:24 | [Mutex] isItemNotified: received:node:e1be39cd-31f6-44ee-8f33-fb0ed9e1bf0e:localhost:node-8eb0e282-1973-4720-8fc1-cf22ad3e9984:Node 8eb0e282-1973-4720-8fc1-cf22ad3e9984 :: true |
deleteNodes | 1.018s |
2021-02-23 21:26:30 |
2021-02-23 21:26:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:30 | ------------------------------------ 2021-02-23 21:26:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8eb0e282-1973-4720-8fc1-cf22ad3e9984</node></data> 2021-02-23 21:26:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-23 21:26:31 | [Mutex] waiting for: [received:nodes:e2bf021e-5543-403d-af48-5a51674e1156:localhost] 2021-02-23 21:26:31 | [Mutex] received everything. 2021-02-23 21:26:31 | [Mutex] isItemNotified: received:node:e2bf021e-5543-403d-af48-5a51674e1156:localhost:node-8eb0e282-1973-4720-8fc1-cf22ad3e9984:Node 8eb0e282-1973-4720-8fc1-cf22ad3e9984 :: false |
deleteSubnodes | 1.115s |
2021-02-23 21:26:29 |
2021-02-23 21:26:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:29 | ------------------------------------ 2021-02-23 21:26:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node></data> 2021-02-23 21:26:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-23 21:26:30 | [Mutex] waiting for: [received:nodes:32f9dd1d-d485-489c-8bbc-674a178e1685:localhost] 2021-02-23 21:26:30 | [Mutex] received everything. 2021-02-23 21:26:30 | [Mutex] isItemNotified: received:node:32f9dd1d-d485-489c-8bbc-674a178e1685:localhost:node-143b6725-054c-4896-aaa1-ca1028299c91:Node 143b6725-054c-4896-aaa1-ca1028299c91 :: false 2021-02-23 21:26:30 | [Mutex] waiting for: [received:nodes:bbea1b1e-2bca-4796-882e-0ea63490d4f1:localhost] 2021-02-23 21:26:30 | [Mutex] received everything. 2021-02-23 21:26:30 | [Mutex] isItemNotified: received:node:bbea1b1e-2bca-4796-882e-0ea63490d4f1:localhost:node-143b6725-054c-4896-aaa1-ca1028299c91:Node 143b6725-054c-4896-aaa1-ca1028299c91 :: false |
publishItemsToNodes | 0.275s |
2021-02-23 21:26:26 |
2021-02-23 21:26:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:26 | ------------------------------------ 2021-02-23 21:26:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><item-id>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</item-id><entry><test>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</test></entry></data> 2021-02-23 21:26:27 | 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-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</value></item-id></result> 2021-02-23 21:26:27 | [Mutex] waiting for: [published:item:notifieditem-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6:admin@test-domain.com] 2021-02-23 21:26:27 | [Mutex] received everything. 2021-02-23 21:26:27 | [Mutex] isItemNotified: published:item:notifieditem-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2021-02-23 21:26:27 |
2021-02-23 21:26:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:27 | ------------------------------------ 2021-02-23 21:26:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><item-id>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</item-id></data> 2021-02-23 21:26:27 | 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-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</value></item-id></result> 2021-02-23 21:26:27 | [Mutex] received everything. 2021-02-23 21:26:27 | [Mutex] isItemNotified: retracted:item:notifieditem-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.315s |
2021-02-23 21:26:27 |
2021-02-23 21:26:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:27 | ------------------------------------ 2021-02-23 21:26:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><item-id>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</item-id></data> 2021-02-23 21:26:27 | 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-143b6725-054c-4896-aaa1-ca1028299c91</value></node><item-id type="text-single" label="Item ID"><value>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</value></item-id><item type="text-multi" label="Item"><value><item id="item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6"><test>item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6</test></item></value></item></result> 2021-02-23 21:26:27 | [Mutex] notify: [retrieved:item:item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6:payload-matches:true:localhost] 2021-02-23 21:26:27 | [Mutex] received everything. 2021-02-23 21:26:27 | [Mutex] isItemNotified: retrieved:item:item-8decad13-b53c-47cb-ab0d-c0fbfb21dfa6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-23 21:26:27 |
2021-02-23 21:26:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:27 | ------------------------------------ 2021-02-23 21:26:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-23 21:26:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-143b6725-054c-4896-aaa1-ca1028299c91</value><value>node-8eb0e282-1973-4720-8fc1-cf22ad3e9984</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-02-23 21:26:27 |
2021-02-23 21:26:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:27 | ------------------------------------ 2021-02-23 21:26:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-143b6725-054c-4896-aaa1-ca1028299c91)</node-pattern></data> 2021-02-23 21:26:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.107s |
2021-02-23 21:26:25 |
2021-02-23 21:26:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:25 | ------------------------------------ 2021-02-23 21:26:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-23 21:26:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.283s |
2021-02-23 21:26:27 |
2021-02-23 21:26:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-23 21:26:27 | ------------------------------------ 2021-02-23 21:26:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-143b6725-054c-4896-aaa1-ca1028299c91</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-23 21:26:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |