Test duration : 9.561s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2023-11-05 22:16:46 |
2023-11-05 22:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:46 | ------------------------------------ 2023-11-05 22:16:46 | [Mutex] waiting for: [configured:node:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:node-db0c15be-d0d1-496d-85cf-5437457acbcf] 2023-11-05 22:16:46 | [Mutex] received everything. 2023-11-05 22:16:46 | [Mutex] isItemNotified: configured:node:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:node-db0c15be-d0d1-496d-85cf-5437457acbcf :: true 2023-11-05 22:16:47 | [Mutex] waiting for: [received:nodes:b9b818e9-3555-452a-bd8c-23f64cdd6454:localhost] 2023-11-05 22:16:47 | [Mutex] received everything. 2023-11-05 22:16:47 | [Mutex] isItemNotified: received:node:b9b818e9-3555-452a-bd8c-23f64cdd6454:localhost:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c :: true 2023-11-05 22:16:47 | [Mutex] waiting for: [received:nodes:4b757cf0-c240-4bad-86e6-77e80926aed5:localhost] 2023-11-05 22:16:47 | [Mutex] waiting for: [received:nodes:4b757cf0-c240-4bad-86e6-77e80926aed5:localhost] 2023-11-05 22:16:47 | [Mutex] received everything. 2023-11-05 22:16:47 | [Mutex] isItemNotified: received:node:4b757cf0-c240-4bad-86e6-77e80926aed5:localhost:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c :: false |
createNodes | 1.477s |
2023-11-05 22:16:44 |
2023-11-05 22:16:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:44 | ------------------------------------ 2023-11-05 22:16:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c</title></pubsub></data> 2023-11-05 22:16:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:16:45 | [Mutex] waiting for: [received:nodes:1f452acd-7026-4469-a2d7-34bcce6f5b01:localhost] 2023-11-05 22:16:45 | [Mutex] waiting for: [received:nodes:1f452acd-7026-4469-a2d7-34bcce6f5b01:localhost] 2023-11-05 22:16:45 | [Mutex] waiting for: [received:nodes:1f452acd-7026-4469-a2d7-34bcce6f5b01:localhost] 2023-11-05 22:16:45 | [Mutex] waiting for: [received:nodes:1f452acd-7026-4469-a2d7-34bcce6f5b01:localhost] 2023-11-05 22:16:45 | [Mutex] received everything. 2023-11-05 22:16:45 | [Mutex] isItemNotified: received:node:1f452acd-7026-4469-a2d7-34bcce6f5b01:localhost:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c :: true |
createSubnodes | 1.033s |
2023-11-05 22:16:45 |
2023-11-05 22:16:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:45 | ------------------------------------ 2023-11-05 22:16:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-db0c15be-d0d1-496d-85cf-5437457acbcf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node db0c15be-d0d1-496d-85cf-5437457acbcf</title></pubsub></data> 2023-11-05 22:16:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:16:46 | [Mutex] waiting for: [received:nodes:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost] 2023-11-05 22:16:46 | [Mutex] waiting for: [received:nodes:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost] 2023-11-05 22:16:46 | [Mutex] waiting for: [received:nodes:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost] 2023-11-05 22:16:46 | [Mutex] waiting for: [received:nodes:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost] 2023-11-05 22:16:46 | [Mutex] waiting for: [received:nodes:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost] 2023-11-05 22:16:46 | [Mutex] received everything. 2023-11-05 22:16:46 | [Mutex] isItemNotified: received:node:ca710dca-2881-47e1-ae14-6ca6451e509d:localhost:node-db0c15be-d0d1-496d-85cf-5437457acbcf:Node db0c15be-d0d1-496d-85cf-5437457acbcf :: true |
deleteNodes | 1.023s |
2023-11-05 22:16:51 |
2023-11-05 22:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:51 | ------------------------------------ 2023-11-05 22:16:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-db0c15be-d0d1-496d-85cf-5437457acbcf</node></data> 2023-11-05 22:16:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:16:52 | [Mutex] waiting for: [received:nodes:70cb1423-8f41-4841-bec1-2608f23223f9:localhost] 2023-11-05 22:16:52 | [Mutex] waiting for: [received:nodes:70cb1423-8f41-4841-bec1-2608f23223f9:localhost] 2023-11-05 22:16:52 | [Mutex] waiting for: [received:nodes:70cb1423-8f41-4841-bec1-2608f23223f9:localhost] 2023-11-05 22:16:52 | [Mutex] received everything. 2023-11-05 22:16:52 | [Mutex] isItemNotified: received:node:70cb1423-8f41-4841-bec1-2608f23223f9:localhost:node-db0c15be-d0d1-496d-85cf-5437457acbcf:Node db0c15be-d0d1-496d-85cf-5437457acbcf :: false |
deleteSubnodes | 1.115s |
2023-11-05 22:16:50 |
2023-11-05 22:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:50 | ------------------------------------ 2023-11-05 22:16:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node></data> 2023-11-05 22:16:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-11-05 22:16:51 | [Mutex] waiting for: [received:nodes:380b76f3-d5f2-41e6-b3e2-7f22e3af3ea2:localhost] 2023-11-05 22:16:51 | [Mutex] received everything. 2023-11-05 22:16:51 | [Mutex] isItemNotified: received:node:380b76f3-d5f2-41e6-b3e2-7f22e3af3ea2:localhost:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c :: false 2023-11-05 22:16:51 | [Mutex] waiting for: [received:nodes:a5ff9860-095d-4ae7-b2f8-1bea6bbd7cd4:localhost] 2023-11-05 22:16:51 | [Mutex] received everything. 2023-11-05 22:16:51 | [Mutex] isItemNotified: received:node:a5ff9860-095d-4ae7-b2f8-1bea6bbd7cd4:localhost:node-8cb76f0c-d712-4a14-8d19-7ef82d71353c:Node 8cb76f0c-d712-4a14-8d19-7ef82d71353c :: false |
publishItemsToNodes | 0.219s |
2023-11-05 22:16:48 |
2023-11-05 22:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:48 | ------------------------------------ 2023-11-05 22:16:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><item-id>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</item-id><entry><test>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</test></entry></data> 2023-11-05 22:16:48 | 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-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</value></item-id></result> 2023-11-05 22:16:48 | [Mutex] waiting for: [published:item:notifieditem-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee:admin@test-domain.com] 2023-11-05 22:16:48 | [Mutex] received everything. 2023-11-05 22:16:48 | [Mutex] isItemNotified: published:item:notifieditem-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-11-05 22:16:49 |
2023-11-05 22:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:49 | ------------------------------------ 2023-11-05 22:16:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><item-id>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</item-id></data> 2023-11-05 22:16:49 | 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-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</value></item-id></result> 2023-11-05 22:16:49 | [Mutex] received everything. 2023-11-05 22:16:49 | [Mutex] isItemNotified: retracted:item:notifieditem-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.253s |
2023-11-05 22:16:48 |
2023-11-05 22:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:48 | ------------------------------------ 2023-11-05 22:16:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><item-id>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</item-id></data> 2023-11-05 22:16:49 | 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-8cb76f0c-d712-4a14-8d19-7ef82d71353c</value></node><item-id label="Item ID" type="text-single"><value>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</value></item-id><item label="Item" type="text-multi"><value><item id="item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee"><test>item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee</test></item></value></item></result> 2023-11-05 22:16:49 | [Mutex] notify: [retrieved:item:item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee:payload-matches:true:localhost] 2023-11-05 22:16:49 | [Mutex] received everything. 2023-11-05 22:16:49 | [Mutex] isItemNotified: retrieved:item:item-3d6a27b0-6bcd-4ffb-8d1a-744db70ddfee:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-11-05 22:16:49 |
2023-11-05 22:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:49 | ------------------------------------ 2023-11-05 22:16:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-11-05 22:16:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</value><value>node-db0c15be-d0d1-496d-85cf-5437457acbcf</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-11-05 22:16:49 |
2023-11-05 22:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:49 | ------------------------------------ 2023-11-05 22:16:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8cb76f0c-d712-4a14-8d19-7ef82d71353c)</node-pattern></data> 2023-11-05 22:16:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.129s |
2023-11-05 22:16:47 |
2023-11-05 22:16:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:47 | ------------------------------------ 2023-11-05 22:16:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 22:16:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.171s |
2023-11-05 22:16:49 |
2023-11-05 22:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 22:16:49 | ------------------------------------ 2023-11-05 22:16:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8cb76f0c-d712-4a14-8d19-7ef82d71353c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 22:16:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |