Test duration : 9.825s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2020-11-24 08:36:50 |
2020-11-24 08:36:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:50 | ------------------------------------ 2020-11-24 08:36:50 | [Mutex] waiting for: [configured:node:node-0ba1d291-1504-43d9-a683-30d33b660d35:node-53a491c8-ba24-436f-abad-dcf81fa12afb] 2020-11-24 08:36:50 | [Mutex] received everything. 2020-11-24 08:36:50 | [Mutex] isItemNotified: configured:node:node-0ba1d291-1504-43d9-a683-30d33b660d35:node-53a491c8-ba24-436f-abad-dcf81fa12afb :: true 2020-11-24 08:36:51 | [Mutex] waiting for: [received:nodes:8f1c1351-8b87-4966-a55e-fa873ad83745:localhost] 2020-11-24 08:36:51 | [Mutex] received everything. 2020-11-24 08:36:51 | [Mutex] isItemNotified: received:node:8f1c1351-8b87-4966-a55e-fa873ad83745:localhost:node-0ba1d291-1504-43d9-a683-30d33b660d35:Node 0ba1d291-1504-43d9-a683-30d33b660d35 :: true 2020-11-24 08:36:51 | [Mutex] waiting for: [received:nodes:9a9dec7e-7bd3-4d68-8ed9-a278fafa70ba:localhost] 2020-11-24 08:36:51 | [Mutex] received everything. 2020-11-24 08:36:51 | [Mutex] isItemNotified: received:node:9a9dec7e-7bd3-4d68-8ed9-a278fafa70ba:localhost:node-0ba1d291-1504-43d9-a683-30d33b660d35:Node 0ba1d291-1504-43d9-a683-30d33b660d35 :: false |
createNodes | 1.414s |
2020-11-24 08:36:48 |
2020-11-24 08:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:48 | ------------------------------------ 2020-11-24 08:36:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ba1d291-1504-43d9-a683-30d33b660d35</title></pubsub></data> 2020-11-24 08:36:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:36:49 | [Mutex] waiting for: [received:nodes:bd7071e9-e35c-4c36-92dd-a8820e75d5e7:localhost] 2020-11-24 08:36:49 | [Mutex] received everything. 2020-11-24 08:36:49 | [Mutex] isItemNotified: received:node:bd7071e9-e35c-4c36-92dd-a8820e75d5e7:localhost:node-0ba1d291-1504-43d9-a683-30d33b660d35:Node 0ba1d291-1504-43d9-a683-30d33b660d35 :: true |
createSubnodes | 1.023s |
2020-11-24 08:36:49 |
2020-11-24 08:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:49 | ------------------------------------ 2020-11-24 08:36:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-53a491c8-ba24-436f-abad-dcf81fa12afb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 53a491c8-ba24-436f-abad-dcf81fa12afb</title></pubsub></data> 2020-11-24 08:36:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:36:50 | [Mutex] waiting for: [received:nodes:09fae7ec-80ab-4dac-ad2d-5778aaadd7bc:localhost] 2020-11-24 08:36:50 | [Mutex] received everything. 2020-11-24 08:36:50 | [Mutex] isItemNotified: received:node:09fae7ec-80ab-4dac-ad2d-5778aaadd7bc:localhost:node-53a491c8-ba24-436f-abad-dcf81fa12afb:Node 53a491c8-ba24-436f-abad-dcf81fa12afb :: true |
deleteNodes | 1.019s |
2020-11-24 08:36:56 |
2020-11-24 08:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:56 | ------------------------------------ 2020-11-24 08:36:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-53a491c8-ba24-436f-abad-dcf81fa12afb</node></data> 2020-11-24 08:36:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:36:57 | [Mutex] waiting for: [received:nodes:1f237cf0-9775-4980-95c5-a2b66da5e3e4:localhost] 2020-11-24 08:36:57 | [Mutex] waiting for: [received:nodes:1f237cf0-9775-4980-95c5-a2b66da5e3e4:localhost] 2020-11-24 08:36:57 | [Mutex] received everything. 2020-11-24 08:36:57 | [Mutex] isItemNotified: received:node:1f237cf0-9775-4980-95c5-a2b66da5e3e4:localhost:node-53a491c8-ba24-436f-abad-dcf81fa12afb:Node 53a491c8-ba24-436f-abad-dcf81fa12afb :: false |
deleteSubnodes | 1.121s |
2020-11-24 08:36:54 |
2020-11-24 08:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:54 | ------------------------------------ 2020-11-24 08:36:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node></data> 2020-11-24 08:36:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-24 08:36:56 | [Mutex] waiting for: [received:nodes:91d4d209-cd75-40f3-9457-b7946c35d20b:localhost] 2020-11-24 08:36:56 | [Mutex] waiting for: [received:nodes:91d4d209-cd75-40f3-9457-b7946c35d20b:localhost] 2020-11-24 08:36:56 | [Mutex] waiting for: [received:nodes:91d4d209-cd75-40f3-9457-b7946c35d20b:localhost] 2020-11-24 08:36:56 | [Mutex] received everything. 2020-11-24 08:36:56 | [Mutex] isItemNotified: received:node:91d4d209-cd75-40f3-9457-b7946c35d20b:localhost:node-0ba1d291-1504-43d9-a683-30d33b660d35:Node 0ba1d291-1504-43d9-a683-30d33b660d35 :: false 2020-11-24 08:36:56 | [Mutex] waiting for: [received:nodes:b766db6d-a28d-45b1-8742-1b5d6dc9cc4c:localhost] 2020-11-24 08:36:56 | [Mutex] received everything. 2020-11-24 08:36:56 | [Mutex] isItemNotified: received:node:b766db6d-a28d-45b1-8742-1b5d6dc9cc4c:localhost:node-0ba1d291-1504-43d9-a683-30d33b660d35:Node 0ba1d291-1504-43d9-a683-30d33b660d35 :: false |
publishItemsToNodes | 0.243s |
2020-11-24 08:36:52 |
2020-11-24 08:36:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:52 | ------------------------------------ 2020-11-24 08:36:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><item-id>item-6f65d61c-0609-4e66-ad48-d1516d46c360</item-id><entry><test>item-6f65d61c-0609-4e66-ad48-d1516d46c360</test></entry></data> 2020-11-24 08:36:53 | 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-6f65d61c-0609-4e66-ad48-d1516d46c360</value></item-id></result> 2020-11-24 08:36:53 | [Mutex] waiting for: [published:item:notifieditem-6f65d61c-0609-4e66-ad48-d1516d46c360:admin@test-domain.com] 2020-11-24 08:36:53 | [Mutex] received everything. 2020-11-24 08:36:53 | [Mutex] isItemNotified: published:item:notifieditem-6f65d61c-0609-4e66-ad48-d1516d46c360:admin@test-domain.com :: true |
retractItemsFromNodes | 0.216s |
2020-11-24 08:36:53 |
2020-11-24 08:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:53 | ------------------------------------ 2020-11-24 08:36:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><item-id>item-6f65d61c-0609-4e66-ad48-d1516d46c360</item-id></data> 2020-11-24 08:36:53 | 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-6f65d61c-0609-4e66-ad48-d1516d46c360</value></item-id></result> 2020-11-24 08:36:53 | [Mutex] waiting for: [retracted:item:notifieditem-6f65d61c-0609-4e66-ad48-d1516d46c360:admin@test-domain.com] 2020-11-24 08:36:53 | [Mutex] received everything. 2020-11-24 08:36:53 | [Mutex] isItemNotified: retracted:item:notifieditem-6f65d61c-0609-4e66-ad48-d1516d46c360:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.206s |
2020-11-24 08:36:53 |
2020-11-24 08:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:53 | ------------------------------------ 2020-11-24 08:36:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><item-id>item-6f65d61c-0609-4e66-ad48-d1516d46c360</item-id></data> 2020-11-24 08:36:53 | 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-0ba1d291-1504-43d9-a683-30d33b660d35</value></node><item-id label="Item ID" type="text-single"><value>item-6f65d61c-0609-4e66-ad48-d1516d46c360</value></item-id><item label="Item" type="text-multi"><value><item id="item-6f65d61c-0609-4e66-ad48-d1516d46c360"><test>item-6f65d61c-0609-4e66-ad48-d1516d46c360</test></item></value></item></result> 2020-11-24 08:36:53 | [Mutex] notify: [retrieved:item:item-6f65d61c-0609-4e66-ad48-d1516d46c360:payload-matches:true:localhost] 2020-11-24 08:36:53 | [Mutex] received everything. 2020-11-24 08:36:53 | [Mutex] isItemNotified: retrieved:item:item-6f65d61c-0609-4e66-ad48-d1516d46c360:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-11-24 08:36:53 |
2020-11-24 08:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:53 | ------------------------------------ 2020-11-24 08:36:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-24 08:36:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-53a491c8-ba24-436f-abad-dcf81fa12afb</value><value>node-0ba1d291-1504-43d9-a683-30d33b660d35</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-24 08:36:53 |
2020-11-24 08:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:53 | ------------------------------------ 2020-11-24 08:36:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ba1d291-1504-43d9-a683-30d33b660d35)</node-pattern></data> 2020-11-24 08:36:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.157s |
2020-11-24 08:36:51 |
2020-11-24 08:36:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:51 | ------------------------------------ 2020-11-24 08:36:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-24 08:36:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.306s |
2020-11-24 08:36:53 |
2020-11-24 08:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-24 08:36:53 | ------------------------------------ 2020-11-24 08:36:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0ba1d291-1504-43d9-a683-30d33b660d35</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-24 08:36:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |