Test duration : 9.531s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2023-04-03 22:32:48 |
2023-04-03 22:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:48 | ------------------------------------ 2023-04-03 22:32:48 | [Mutex] waiting for: [configured:node:node-561fc188-d3e9-4e34-92a3-c59b9930642a:node-2eef827e-5249-44df-b097-2c1d02dd1955] 2023-04-03 22:32:48 | [Mutex] received everything. 2023-04-03 22:32:48 | [Mutex] isItemNotified: configured:node:node-561fc188-d3e9-4e34-92a3-c59b9930642a:node-2eef827e-5249-44df-b097-2c1d02dd1955 :: true 2023-04-03 22:32:49 | [Mutex] waiting for: [received:nodes:15bb4bd3-22bd-49f2-98e8-e4e0a7aa63b7:localhost] 2023-04-03 22:32:49 | [Mutex] received everything. 2023-04-03 22:32:49 | [Mutex] isItemNotified: received:node:15bb4bd3-22bd-49f2-98e8-e4e0a7aa63b7:localhost:node-561fc188-d3e9-4e34-92a3-c59b9930642a:Node 561fc188-d3e9-4e34-92a3-c59b9930642a :: true 2023-04-03 22:32:49 | [Mutex] waiting for: [received:nodes:59e86eef-638a-4fb5-997f-ff59e98ba754:localhost] 2023-04-03 22:32:49 | [Mutex] received everything. 2023-04-03 22:32:49 | [Mutex] isItemNotified: received:node:59e86eef-638a-4fb5-997f-ff59e98ba754:localhost:node-561fc188-d3e9-4e34-92a3-c59b9930642a:Node 561fc188-d3e9-4e34-92a3-c59b9930642a :: false |
createNodes | 1.399s |
2023-04-03 22:32:46 |
2023-04-03 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:46 | ------------------------------------ 2023-04-03 22:32:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 561fc188-d3e9-4e34-92a3-c59b9930642a</title></pubsub></data> 2023-04-03 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> 2023-04-03 22:32:47 | [Mutex] waiting for: [received:nodes:186b31a1-228a-451a-a6a9-23fcbfa9de03:localhost] 2023-04-03 22:32:47 | [Mutex] waiting for: [received:nodes:186b31a1-228a-451a-a6a9-23fcbfa9de03:localhost] 2023-04-03 22:32:47 | [Mutex] waiting for: [received:nodes:186b31a1-228a-451a-a6a9-23fcbfa9de03:localhost] 2023-04-03 22:32:47 | [Mutex] received everything. 2023-04-03 22:32:47 | [Mutex] isItemNotified: received:node:186b31a1-228a-451a-a6a9-23fcbfa9de03:localhost:node-561fc188-d3e9-4e34-92a3-c59b9930642a:Node 561fc188-d3e9-4e34-92a3-c59b9930642a :: true |
createSubnodes | 1.030s |
2023-04-03 22:32:47 |
2023-04-03 22:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:47 | ------------------------------------ 2023-04-03 22:32:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2eef827e-5249-44df-b097-2c1d02dd1955</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2eef827e-5249-44df-b097-2c1d02dd1955</title></pubsub></data> 2023-04-03 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> 2023-04-03 22:32:48 | [Mutex] waiting for: [received:nodes:3e45f39f-1b61-4c93-af90-2d4df38328fe:localhost] 2023-04-03 22:32:48 | [Mutex] waiting for: [received:nodes:3e45f39f-1b61-4c93-af90-2d4df38328fe:localhost] 2023-04-03 22:32:48 | [Mutex] waiting for: [received:nodes:3e45f39f-1b61-4c93-af90-2d4df38328fe:localhost] 2023-04-03 22:32:48 | [Mutex] received everything. 2023-04-03 22:32:48 | [Mutex] isItemNotified: received:node:3e45f39f-1b61-4c93-af90-2d4df38328fe:localhost:node-2eef827e-5249-44df-b097-2c1d02dd1955:Node 2eef827e-5249-44df-b097-2c1d02dd1955 :: true |
deleteNodes | 1.017s |
2023-04-03 22:32:53 |
2023-04-03 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:53 | ------------------------------------ 2023-04-03 22:32:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2eef827e-5249-44df-b097-2c1d02dd1955</node></data> 2023-04-03 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> 2023-04-03 22:32:54 | [Mutex] waiting for: [received:nodes:b42816a6-cc11-4cc9-af1d-aa31475d9953:localhost] 2023-04-03 22:32:54 | [Mutex] waiting for: [received:nodes:b42816a6-cc11-4cc9-af1d-aa31475d9953:localhost] 2023-04-03 22:32:54 | [Mutex] waiting for: [received:nodes:b42816a6-cc11-4cc9-af1d-aa31475d9953:localhost] 2023-04-03 22:32:54 | [Mutex] received everything. 2023-04-03 22:32:54 | [Mutex] isItemNotified: received:node:b42816a6-cc11-4cc9-af1d-aa31475d9953:localhost:node-2eef827e-5249-44df-b097-2c1d02dd1955:Node 2eef827e-5249-44df-b097-2c1d02dd1955 :: false |
deleteSubnodes | 1.159s |
2023-04-03 22:32:52 |
2023-04-03 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:52 | ------------------------------------ 2023-04-03 22:32:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node></data> 2023-04-03 22:32:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-04-03 22:32:53 | [Mutex] waiting for: [received:nodes:4d12437a-7aec-4322-9703-665a6611b2a9:localhost] 2023-04-03 22:32:53 | [Mutex] waiting for: [received:nodes:4d12437a-7aec-4322-9703-665a6611b2a9:localhost] 2023-04-03 22:32:53 | [Mutex] waiting for: [received:nodes:4d12437a-7aec-4322-9703-665a6611b2a9:localhost] 2023-04-03 22:32:53 | [Mutex] waiting for: [received:nodes:4d12437a-7aec-4322-9703-665a6611b2a9:localhost] 2023-04-03 22:32:53 | [Mutex] received everything. 2023-04-03 22:32:53 | [Mutex] isItemNotified: received:node:4d12437a-7aec-4322-9703-665a6611b2a9:localhost:node-561fc188-d3e9-4e34-92a3-c59b9930642a:Node 561fc188-d3e9-4e34-92a3-c59b9930642a :: false 2023-04-03 22:32:53 | [Mutex] waiting for: [received:nodes:eb08f551-3df3-4916-b26a-5b4b8542484e:localhost] 2023-04-03 22:32:53 | [Mutex] received everything. 2023-04-03 22:32:53 | [Mutex] isItemNotified: received:node:eb08f551-3df3-4916-b26a-5b4b8542484e:localhost:node-561fc188-d3e9-4e34-92a3-c59b9930642a:Node 561fc188-d3e9-4e34-92a3-c59b9930642a :: false |
publishItemsToNodes | 0.264s |
2023-04-03 22:32:50 |
2023-04-03 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:50 | ------------------------------------ 2023-04-03 22:32:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><item-id>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</item-id><entry><test>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</test></entry></data> 2023-04-03 22:32:50 | 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-9363a26f-6de0-4181-9fee-a21156c0f0a9</value></item-id></result> 2023-04-03 22:32:50 | [Mutex] received everything. 2023-04-03 22:32:50 | [Mutex] isItemNotified: published:item:notifieditem-9363a26f-6de0-4181-9fee-a21156c0f0a9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2023-04-03 22:32:51 |
2023-04-03 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:51 | ------------------------------------ 2023-04-03 22:32:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><item-id>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</item-id></data> 2023-04-03 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-9363a26f-6de0-4181-9fee-a21156c0f0a9</value></item-id></result> 2023-04-03 22:32:51 | [Mutex] received everything. 2023-04-03 22:32:51 | [Mutex] isItemNotified: retracted:item:notifieditem-9363a26f-6de0-4181-9fee-a21156c0f0a9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.236s |
2023-04-03 22:32:50 |
2023-04-03 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:50 | ------------------------------------ 2023-04-03 22:32:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><item-id>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</item-id></data> 2023-04-03 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-561fc188-d3e9-4e34-92a3-c59b9930642a</value></node><item-id label="Item ID" type="text-single"><value>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</value></item-id><item label="Item" type="text-multi"><value><item id="item-9363a26f-6de0-4181-9fee-a21156c0f0a9"><test>item-9363a26f-6de0-4181-9fee-a21156c0f0a9</test></item></value></item></result> 2023-04-03 22:32:51 | [Mutex] notify: [retrieved:item:item-9363a26f-6de0-4181-9fee-a21156c0f0a9:payload-matches:true:localhost] 2023-04-03 22:32:51 | [Mutex] received everything. 2023-04-03 22:32:51 | [Mutex] isItemNotified: retrieved:item:item-9363a26f-6de0-4181-9fee-a21156c0f0a9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-04-03 22:32:51 |
2023-04-03 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:51 | ------------------------------------ 2023-04-03 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> 2023-04-03 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-561fc188-d3e9-4e34-92a3-c59b9930642a</value><value>test</value><value>node-2eef827e-5249-44df-b097-2c1d02dd1955</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-04-03 22:32:51 |
2023-04-03 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:51 | ------------------------------------ 2023-04-03 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-561fc188-d3e9-4e34-92a3-c59b9930642a)</node-pattern></data> 2023-04-03 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.140s |
2023-04-03 22:32:49 |
2023-04-03 22:32:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:49 | ------------------------------------ 2023-04-03 22:32:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-04-03 22:32:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2023-04-03 22:32:51 |
2023-04-03 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:51 | ------------------------------------ 2023-04-03 22:32:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-561fc188-d3e9-4e34-92a3-c59b9930642a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-04-03 22:32:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |