Test duration : 9.494s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-07-07 22:32:48 |
2022-07-07 22:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:48 | ------------------------------------ 2022-07-07 22:32:48 | [Mutex] waiting for: [configured:node:node-5c43ece9-1f42-46e8-9679-4420592086b4:node-fb724df9-2622-423d-90d1-bf8035917c0a] 2022-07-07 22:32:48 | [Mutex] received everything. 2022-07-07 22:32:48 | [Mutex] isItemNotified: configured:node:node-5c43ece9-1f42-46e8-9679-4420592086b4:node-fb724df9-2622-423d-90d1-bf8035917c0a :: true 2022-07-07 22:32:49 | [Mutex] waiting for: [received:nodes:3097aa15-6504-43e7-b013-85d2ef496a8e:localhost] 2022-07-07 22:32:49 | [Mutex] received everything. 2022-07-07 22:32:49 | [Mutex] isItemNotified: received:node:3097aa15-6504-43e7-b013-85d2ef496a8e:localhost:node-5c43ece9-1f42-46e8-9679-4420592086b4:Node 5c43ece9-1f42-46e8-9679-4420592086b4 :: true 2022-07-07 22:32:49 | [Mutex] waiting for: [received:nodes:182beff2-2cae-443a-985c-022a132eecc2:localhost] 2022-07-07 22:32:49 | [Mutex] waiting for: [received:nodes:182beff2-2cae-443a-985c-022a132eecc2:localhost] 2022-07-07 22:32:49 | [Mutex] received everything. 2022-07-07 22:32:49 | [Mutex] isItemNotified: received:node:182beff2-2cae-443a-985c-022a132eecc2:localhost:node-5c43ece9-1f42-46e8-9679-4420592086b4:Node 5c43ece9-1f42-46e8-9679-4420592086b4 :: false |
createNodes | 1.430s |
2022-07-07 22:32:46 |
2022-07-07 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:46 | ------------------------------------ 2022-07-07 22:32:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5c43ece9-1f42-46e8-9679-4420592086b4</title></pubsub></data> 2022-07-07 22:32:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:47 | [Mutex] waiting for: [received:nodes:e1f1f30d-dc67-4e1b-b2c5-2007d5ff4836:localhost] 2022-07-07 22:32:47 | [Mutex] received everything. 2022-07-07 22:32:47 | [Mutex] isItemNotified: received:node:e1f1f30d-dc67-4e1b-b2c5-2007d5ff4836:localhost:node-5c43ece9-1f42-46e8-9679-4420592086b4:Node 5c43ece9-1f42-46e8-9679-4420592086b4 :: true |
createSubnodes | 1.023s |
2022-07-07 22:32:47 |
2022-07-07 22:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:47 | ------------------------------------ 2022-07-07 22:32:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fb724df9-2622-423d-90d1-bf8035917c0a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fb724df9-2622-423d-90d1-bf8035917c0a</title></pubsub></data> 2022-07-07 22:32:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:48 | [Mutex] waiting for: [received:nodes:7f9e9cb0-ca86-41c6-8d57-5e8a564d8383:localhost] 2022-07-07 22:32:48 | [Mutex] waiting for: [received:nodes:7f9e9cb0-ca86-41c6-8d57-5e8a564d8383:localhost] 2022-07-07 22:32:48 | [Mutex] waiting for: [received:nodes:7f9e9cb0-ca86-41c6-8d57-5e8a564d8383:localhost] 2022-07-07 22:32:48 | [Mutex] received everything. 2022-07-07 22:32:48 | [Mutex] isItemNotified: received:node:7f9e9cb0-ca86-41c6-8d57-5e8a564d8383:localhost:node-fb724df9-2622-423d-90d1-bf8035917c0a:Node fb724df9-2622-423d-90d1-bf8035917c0a :: true |
deleteNodes | 1.018s |
2022-07-07 22:32:54 |
2022-07-07 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:54 | ------------------------------------ 2022-07-07 22:32:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fb724df9-2622-423d-90d1-bf8035917c0a</node></data> 2022-07-07 22:32:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:55 | [Mutex] waiting for: [received:nodes:d14be280-215a-4cda-82e6-dd553f68343f:localhost] 2022-07-07 22:32:55 | [Mutex] received everything. 2022-07-07 22:32:55 | [Mutex] isItemNotified: received:node:d14be280-215a-4cda-82e6-dd553f68343f:localhost:node-fb724df9-2622-423d-90d1-bf8035917c0a:Node fb724df9-2622-423d-90d1-bf8035917c0a :: false |
deleteSubnodes | 1.111s |
2022-07-07 22:32:53 |
2022-07-07 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:53 | ------------------------------------ 2022-07-07 22:32:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node></data> 2022-07-07 22:32:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-07 22:32:54 | [Mutex] waiting for: [received:nodes:9f80c639-be99-4656-93a8-4247fea39d15:localhost] 2022-07-07 22:32:54 | [Mutex] waiting for: [received:nodes:9f80c639-be99-4656-93a8-4247fea39d15:localhost] 2022-07-07 22:32:54 | [Mutex] received everything. 2022-07-07 22:32:54 | [Mutex] isItemNotified: received:node:9f80c639-be99-4656-93a8-4247fea39d15:localhost:node-5c43ece9-1f42-46e8-9679-4420592086b4:Node 5c43ece9-1f42-46e8-9679-4420592086b4 :: false 2022-07-07 22:32:54 | [Mutex] waiting for: [received:nodes:ce576fd7-7dad-4930-a644-e8a95d8038e0:localhost] 2022-07-07 22:32:54 | [Mutex] received everything. 2022-07-07 22:32:54 | [Mutex] isItemNotified: received:node:ce576fd7-7dad-4930-a644-e8a95d8038e0:localhost:node-5c43ece9-1f42-46e8-9679-4420592086b4:Node 5c43ece9-1f42-46e8-9679-4420592086b4 :: false |
publishItemsToNodes | 0.229s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><item-id>item-22f19044-dd53-43b6-a148-e83160b49f28</item-id><entry><test>item-22f19044-dd53-43b6-a148-e83160b49f28</test></entry></data> 2022-07-07 22:32:51 | 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-22f19044-dd53-43b6-a148-e83160b49f28</value></item-id></result> 2022-07-07 22:32:51 | [Mutex] received everything. 2022-07-07 22:32:51 | [Mutex] isItemNotified: published:item:notifieditem-22f19044-dd53-43b6-a148-e83160b49f28:admin@test-domain.com :: true |
retractItemsFromNodes | 0.231s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><item-id>item-22f19044-dd53-43b6-a148-e83160b49f28</item-id></data> 2022-07-07 22:32:51 | 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-22f19044-dd53-43b6-a148-e83160b49f28</value></item-id></result> 2022-07-07 22:32:51 | [Mutex] waiting for: [retracted:item:notifieditem-22f19044-dd53-43b6-a148-e83160b49f28:admin@test-domain.com] 2022-07-07 22:32:51 | [Mutex] received everything. 2022-07-07 22:32:51 | [Mutex] isItemNotified: retracted:item:notifieditem-22f19044-dd53-43b6-a148-e83160b49f28:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.268s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><item-id>item-22f19044-dd53-43b6-a148-e83160b49f28</item-id></data> 2022-07-07 22:32:51 | 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-5c43ece9-1f42-46e8-9679-4420592086b4</value></node><item-id label="Item ID" type="text-single"><value>item-22f19044-dd53-43b6-a148-e83160b49f28</value></item-id><item label="Item" type="text-multi"><value><item id="item-22f19044-dd53-43b6-a148-e83160b49f28"><test>item-22f19044-dd53-43b6-a148-e83160b49f28</test></item></value></item></result> 2022-07-07 22:32:51 | [Mutex] notify: [retrieved:item:item-22f19044-dd53-43b6-a148-e83160b49f28:payload-matches:true:localhost] 2022-07-07 22:32:51 | [Mutex] received everything. 2022-07-07 22:32:51 | [Mutex] isItemNotified: retrieved:item:item-22f19044-dd53-43b6-a148-e83160b49f28:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-07 22:32:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-fb724df9-2622-423d-90d1-bf8035917c0a</value><value>test</value><value>node-5c43ece9-1f42-46e8-9679-4420592086b4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5c43ece9-1f42-46e8-9679-4420592086b4)</node-pattern></data> 2022-07-07 22:32:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.128s |
2022-07-07 22:32:49 |
2022-07-07 22:32:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:49 | ------------------------------------ 2022-07-07 22:32:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-07 22:32:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.233s |
2022-07-07 22:32:51 |
2022-07-07 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-07 22:32:51 | ------------------------------------ 2022-07-07 22:32:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5c43ece9-1f42-46e8-9679-4420592086b4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-07 22:32:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |