Test duration : 9.602s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2023-11-05 23:17:17 |
2023-11-05 23:17:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:17 | ------------------------------------ 2023-11-05 23:17:17 | [Mutex] waiting for: [configured:node:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22] 2023-11-05 23:17:17 | [Mutex] received everything. 2023-11-05 23:17:17 | [Mutex] isItemNotified: configured:node:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22 :: true 2023-11-05 23:17:18 | [Mutex] waiting for: [received:nodes:425c736a-38f0-4c3b-ad36-18aae203e95d:localhost] 2023-11-05 23:17:18 | [Mutex] received everything. 2023-11-05 23:17:18 | [Mutex] isItemNotified: received:node:425c736a-38f0-4c3b-ad36-18aae203e95d:localhost:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a :: true 2023-11-05 23:17:18 | [Mutex] waiting for: [received:nodes:85112078-b6d8-4ca7-aa9a-ddcffd219269:localhost] 2023-11-05 23:17:18 | [Mutex] waiting for: [received:nodes:85112078-b6d8-4ca7-aa9a-ddcffd219269:localhost] 2023-11-05 23:17:18 | [Mutex] received everything. 2023-11-05 23:17:18 | [Mutex] isItemNotified: received:node:85112078-b6d8-4ca7-aa9a-ddcffd219269:localhost:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a :: false |
createNodes | 1.498s |
2023-11-05 23:17:15 |
2023-11-05 23:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:15 | ------------------------------------ 2023-11-05 23:17:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</title></pubsub></data> 2023-11-05 23:17:15 | 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 23:17:16 | [Mutex] waiting for: [received:nodes:03e94ca6-2bd9-4527-8c2e-a44807057154:localhost] 2023-11-05 23:17:16 | [Mutex] waiting for: [received:nodes:03e94ca6-2bd9-4527-8c2e-a44807057154:localhost] 2023-11-05 23:17:16 | [Mutex] received everything. 2023-11-05 23:17:16 | [Mutex] isItemNotified: received:node:03e94ca6-2bd9-4527-8c2e-a44807057154:localhost:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a :: true |
createSubnodes | 1.025s |
2023-11-05 23:17:16 |
2023-11-05 23:17:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:16 | ------------------------------------ 2023-11-05 23:17:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22</title></pubsub></data> 2023-11-05 23:17:16 | 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 23:17:17 | [Mutex] waiting for: [received:nodes:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost] 2023-11-05 23:17:17 | [Mutex] waiting for: [received:nodes:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost] 2023-11-05 23:17:17 | [Mutex] waiting for: [received:nodes:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost] 2023-11-05 23:17:17 | [Mutex] waiting for: [received:nodes:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost] 2023-11-05 23:17:17 | [Mutex] waiting for: [received:nodes:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost] 2023-11-05 23:17:17 | [Mutex] received everything. 2023-11-05 23:17:17 | [Mutex] isItemNotified: received:node:88ed2a30-8cb9-46f1-b5b7-95742fa018d5:localhost:node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22:Node dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22 :: true |
deleteNodes | 1.017s |
2023-11-05 23:17:23 |
2023-11-05 23:17:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:23 | ------------------------------------ 2023-11-05 23:17:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22</node></data> 2023-11-05 23:17:23 | 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 23:17:24 | [Mutex] waiting for: [received:nodes:4026cc75-97a4-46eb-8263-4a8993360b39:localhost] 2023-11-05 23:17:24 | [Mutex] waiting for: [received:nodes:4026cc75-97a4-46eb-8263-4a8993360b39:localhost] 2023-11-05 23:17:24 | [Mutex] waiting for: [received:nodes:4026cc75-97a4-46eb-8263-4a8993360b39:localhost] 2023-11-05 23:17:24 | [Mutex] received everything. 2023-11-05 23:17:24 | [Mutex] isItemNotified: received:node:4026cc75-97a4-46eb-8263-4a8993360b39:localhost:node-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22:Node dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22 :: false |
deleteSubnodes | 1.101s |
2023-11-05 23:17:22 |
2023-11-05 23:17:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:22 | ------------------------------------ 2023-11-05 23:17:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node></data> 2023-11-05 23:17:22 | 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 23:17:23 | [Mutex] waiting for: [received:nodes:9dbc2a51-4e31-41e8-90ec-9a132ef20b1f:localhost] 2023-11-05 23:17:23 | [Mutex] waiting for: [received:nodes:9dbc2a51-4e31-41e8-90ec-9a132ef20b1f:localhost] 2023-11-05 23:17:23 | [Mutex] waiting for: [received:nodes:9dbc2a51-4e31-41e8-90ec-9a132ef20b1f:localhost] 2023-11-05 23:17:23 | [Mutex] waiting for: [received:nodes:9dbc2a51-4e31-41e8-90ec-9a132ef20b1f:localhost] 2023-11-05 23:17:23 | [Mutex] received everything. 2023-11-05 23:17:23 | [Mutex] isItemNotified: received:node:9dbc2a51-4e31-41e8-90ec-9a132ef20b1f:localhost:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a :: false 2023-11-05 23:17:23 | [Mutex] waiting for: [received:nodes:a356f318-6f12-4567-90bf-39ba6ca17978:localhost] 2023-11-05 23:17:23 | [Mutex] received everything. 2023-11-05 23:17:23 | [Mutex] isItemNotified: received:node:a356f318-6f12-4567-90bf-39ba6ca17978:localhost:node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a:Node 1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a :: false |
publishItemsToNodes | 0.282s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><item-id>item-a9234d08-25d8-4968-a469-0568994e6df0</item-id><entry><test>item-a9234d08-25d8-4968-a469-0568994e6df0</test></entry></data> 2023-11-05 23:17:20 | 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-a9234d08-25d8-4968-a469-0568994e6df0</value></item-id></result> 2023-11-05 23:17:20 | [Mutex] waiting for: [published:item:notifieditem-a9234d08-25d8-4968-a469-0568994e6df0:admin@test-domain.com] 2023-11-05 23:17:20 | [Mutex] received everything. 2023-11-05 23:17:20 | [Mutex] isItemNotified: published:item:notifieditem-a9234d08-25d8-4968-a469-0568994e6df0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.304s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><item-id>item-a9234d08-25d8-4968-a469-0568994e6df0</item-id></data> 2023-11-05 23:17:20 | 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-a9234d08-25d8-4968-a469-0568994e6df0</value></item-id></result> 2023-11-05 23:17:20 | [Mutex] received everything. 2023-11-05 23:17:20 | [Mutex] isItemNotified: retracted:item:notifieditem-a9234d08-25d8-4968-a469-0568994e6df0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.180s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><item-id>item-a9234d08-25d8-4968-a469-0568994e6df0</item-id></data> 2023-11-05 23:17:20 | 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-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</value></node><item-id label="Item ID" type="text-single"><value>item-a9234d08-25d8-4968-a469-0568994e6df0</value></item-id><item label="Item" type="text-multi"><value><item id="item-a9234d08-25d8-4968-a469-0568994e6df0"><test>item-a9234d08-25d8-4968-a469-0568994e6df0</test></item></value></item></result> 2023-11-05 23:17:20 | [Mutex] notify: [retrieved:item:item-a9234d08-25d8-4968-a469-0568994e6df0:payload-matches:true:localhost] 2023-11-05 23:17:20 | [Mutex] received everything. 2023-11-05 23:17:20 | [Mutex] isItemNotified: retrieved:item:item-a9234d08-25d8-4968-a469-0568994e6df0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | 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 23:17:20 | 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-dc8d1d3c-fec7-4d66-8003-d1a5e45d3a22</value><value>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a)</node-pattern></data> 2023-11-05 23:17:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2023-11-05 23:17:18 |
2023-11-05 23:17:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:18 | ------------------------------------ 2023-11-05 23:17:18 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 23:17:19 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.162s |
2023-11-05 23:17:20 |
2023-11-05 23:17:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-11-05 23:17:20 | ------------------------------------ 2023-11-05 23:17:20 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1b2ff0d2-e32d-4e2b-ab5f-8cc2dd555f4a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-11-05 23:17:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |