Test duration : 9.942s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2020-09-28 22:59:43 |
2020-09-28 22:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:43 | ------------------------------------ 2020-09-28 22:59:43 | [Mutex] waiting for: [configured:node:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:node-9429a5e8-44a4-43e9-afd6-2a46bc051afb] 2020-09-28 22:59:43 | [Mutex] received everything. 2020-09-28 22:59:43 | [Mutex] isItemNotified: configured:node:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:node-9429a5e8-44a4-43e9-afd6-2a46bc051afb :: true 2020-09-28 22:59:44 | [Mutex] waiting for: [received:nodes:2208e49f-0768-4eaf-bf00-4cce35e977f8:localhost] 2020-09-28 22:59:44 | [Mutex] received everything. 2020-09-28 22:59:44 | [Mutex] isItemNotified: received:node:2208e49f-0768-4eaf-bf00-4cce35e977f8:localhost:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:Node d25ebcd9-943d-44f2-bf94-cdc14841f49f :: true 2020-09-28 22:59:44 | [Mutex] waiting for: [received:nodes:7b16e368-cd41-451c-a5b9-0b18aeca6108:localhost] 2020-09-28 22:59:44 | [Mutex] received everything. 2020-09-28 22:59:44 | [Mutex] isItemNotified: received:node:7b16e368-cd41-451c-a5b9-0b18aeca6108:localhost:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:Node d25ebcd9-943d-44f2-bf94-cdc14841f49f :: false |
createNodes | 1.559s |
2020-09-28 22:59:40 |
2020-09-28 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:40 | ------------------------------------ 2020-09-28 22:59:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d25ebcd9-943d-44f2-bf94-cdc14841f49f</title></pubsub></data> 2020-09-28 22:59:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:59:42 | [Mutex] waiting for: [received:nodes:53d2f351-77d7-4991-9627-fc7c6af9f9ff:localhost] 2020-09-28 22:59:42 | [Mutex] received everything. 2020-09-28 22:59:42 | [Mutex] isItemNotified: received:node:53d2f351-77d7-4991-9627-fc7c6af9f9ff:localhost:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:Node d25ebcd9-943d-44f2-bf94-cdc14841f49f :: true |
createSubnodes | 1.026s |
2020-09-28 22:59:42 |
2020-09-28 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:42 | ------------------------------------ 2020-09-28 22:59:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9429a5e8-44a4-43e9-afd6-2a46bc051afb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9429a5e8-44a4-43e9-afd6-2a46bc051afb</title></pubsub></data> 2020-09-28 22:59:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:59:43 | [Mutex] waiting for: [received:nodes:8177dac0-4bce-4f19-b5dd-aa89849bf098:localhost] 2020-09-28 22:59:43 | [Mutex] received everything. 2020-09-28 22:59:43 | [Mutex] isItemNotified: received:node:8177dac0-4bce-4f19-b5dd-aa89849bf098:localhost:node-9429a5e8-44a4-43e9-afd6-2a46bc051afb:Node 9429a5e8-44a4-43e9-afd6-2a46bc051afb :: true |
deleteNodes | 1.019s |
2020-09-28 22:59:48 |
2020-09-28 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:48 | ------------------------------------ 2020-09-28 22:59:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9429a5e8-44a4-43e9-afd6-2a46bc051afb</node></data> 2020-09-28 22:59:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:59:49 | [Mutex] waiting for: [received:nodes:17d445ab-dd13-4ed7-a389-41e3479ac13a:localhost] 2020-09-28 22:59:49 | [Mutex] received everything. 2020-09-28 22:59:49 | [Mutex] isItemNotified: received:node:17d445ab-dd13-4ed7-a389-41e3479ac13a:localhost:node-9429a5e8-44a4-43e9-afd6-2a46bc051afb:Node 9429a5e8-44a4-43e9-afd6-2a46bc051afb :: false |
deleteSubnodes | 1.133s |
2020-09-28 22:59:47 |
2020-09-28 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:47 | ------------------------------------ 2020-09-28 22:59:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node></data> 2020-09-28 22:59:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-28 22:59:48 | [Mutex] waiting for: [received:nodes:e474340d-46b6-4810-8220-db88fa3956bd:localhost] 2020-09-28 22:59:48 | [Mutex] waiting for: [received:nodes:e474340d-46b6-4810-8220-db88fa3956bd:localhost] 2020-09-28 22:59:48 | [Mutex] received everything. 2020-09-28 22:59:48 | [Mutex] isItemNotified: received:node:e474340d-46b6-4810-8220-db88fa3956bd:localhost:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:Node d25ebcd9-943d-44f2-bf94-cdc14841f49f :: false 2020-09-28 22:59:48 | [Mutex] waiting for: [received:nodes:964efb06-9d8f-45bd-9b1f-aacf13b0c1cf:localhost] 2020-09-28 22:59:48 | [Mutex] received everything. 2020-09-28 22:59:48 | [Mutex] isItemNotified: received:node:964efb06-9d8f-45bd-9b1f-aacf13b0c1cf:localhost:node-d25ebcd9-943d-44f2-bf94-cdc14841f49f:Node d25ebcd9-943d-44f2-bf94-cdc14841f49f :: false |
publishItemsToNodes | 0.247s |
2020-09-28 22:59:45 |
2020-09-28 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:45 | ------------------------------------ 2020-09-28 22:59:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><item-id>item-d87e981a-53c7-433d-9a82-b43fd58977d5</item-id><entry><test>item-d87e981a-53c7-433d-9a82-b43fd58977d5</test></entry></data> 2020-09-28 22:59:45 | 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-d87e981a-53c7-433d-9a82-b43fd58977d5</value></item-id></result> 2020-09-28 22:59:45 | [Mutex] waiting for: [published:item:notifieditem-d87e981a-53c7-433d-9a82-b43fd58977d5:admin@test-domain.com] 2020-09-28 22:59:45 | [Mutex] received everything. 2020-09-28 22:59:45 | [Mutex] isItemNotified: published:item:notifieditem-d87e981a-53c7-433d-9a82-b43fd58977d5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.191s |
2020-09-28 22:59:46 |
2020-09-28 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:46 | ------------------------------------ 2020-09-28 22:59:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><item-id>item-d87e981a-53c7-433d-9a82-b43fd58977d5</item-id></data> 2020-09-28 22:59:46 | 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-d87e981a-53c7-433d-9a82-b43fd58977d5</value></item-id></result> 2020-09-28 22:59:46 | [Mutex] received everything. 2020-09-28 22:59:46 | [Mutex] isItemNotified: retracted:item:notifieditem-d87e981a-53c7-433d-9a82-b43fd58977d5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.227s |
2020-09-28 22:59:45 |
2020-09-28 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:45 | ------------------------------------ 2020-09-28 22:59:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><item-id>item-d87e981a-53c7-433d-9a82-b43fd58977d5</item-id></data> 2020-09-28 22:59:46 | 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-d25ebcd9-943d-44f2-bf94-cdc14841f49f</value></node><item-id label="Item ID" type="text-single"><value>item-d87e981a-53c7-433d-9a82-b43fd58977d5</value></item-id><item label="Item" type="text-multi"><value><item id="item-d87e981a-53c7-433d-9a82-b43fd58977d5"><test>item-d87e981a-53c7-433d-9a82-b43fd58977d5</test></item></value></item></result> 2020-09-28 22:59:46 | [Mutex] notify: [retrieved:item:item-d87e981a-53c7-433d-9a82-b43fd58977d5:payload-matches:true:localhost] 2020-09-28 22:59:46 | [Mutex] received everything. 2020-09-28 22:59:46 | [Mutex] isItemNotified: retrieved:item:item-d87e981a-53c7-433d-9a82-b43fd58977d5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-09-28 22:59:46 |
2020-09-28 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:46 | ------------------------------------ 2020-09-28 22:59:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-28 22:59:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9429a5e8-44a4-43e9-afd6-2a46bc051afb</value><value>test</value><value>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-28 22:59:46 |
2020-09-28 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:46 | ------------------------------------ 2020-09-28 22:59:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d25ebcd9-943d-44f2-bf94-cdc14841f49f)</node-pattern></data> 2020-09-28 22:59:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.100s |
2020-09-28 22:59:44 |
2020-09-28 22:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:44 | ------------------------------------ 2020-09-28 22:59:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:59:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2020-09-28 22:59:46 |
2020-09-28 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-28 22:59:46 | ------------------------------------ 2020-09-28 22:59:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d25ebcd9-943d-44f2-bf94-cdc14841f49f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-28 22:59:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |