Test duration : 9.492s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-11-16 22:03:13 |
2022-11-16 22:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:13 | ------------------------------------ 2022-11-16 22:03:13 | [Mutex] waiting for: [configured:node:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:node-1b853ae2-763d-470e-babc-912690ec6eb0] 2022-11-16 22:03:13 | [Mutex] received everything. 2022-11-16 22:03:13 | [Mutex] isItemNotified: configured:node:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:node-1b853ae2-763d-470e-babc-912690ec6eb0 :: true 2022-11-16 22:03:14 | [Mutex] waiting for: [received:nodes:6d5d94ab-0523-46ae-bad1-6005cb213376:localhost] 2022-11-16 22:03:14 | [Mutex] received everything. 2022-11-16 22:03:14 | [Mutex] isItemNotified: received:node:6d5d94ab-0523-46ae-bad1-6005cb213376:localhost:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:Node 4e2bf765-1fa7-4067-b233-7de09c764f7f :: true 2022-11-16 22:03:14 | [Mutex] waiting for: [received:nodes:c4dad595-6e8a-4a09-b0f9-aea3da874b45:localhost] 2022-11-16 22:03:14 | [Mutex] waiting for: [received:nodes:c4dad595-6e8a-4a09-b0f9-aea3da874b45:localhost] 2022-11-16 22:03:14 | [Mutex] waiting for: [received:nodes:c4dad595-6e8a-4a09-b0f9-aea3da874b45:localhost] 2022-11-16 22:03:14 | [Mutex] received everything. 2022-11-16 22:03:14 | [Mutex] isItemNotified: received:node:c4dad595-6e8a-4a09-b0f9-aea3da874b45:localhost:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:Node 4e2bf765-1fa7-4067-b233-7de09c764f7f :: false |
createNodes | 1.441s |
2022-11-16 22:03:11 |
2022-11-16 22:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:11 | ------------------------------------ 2022-11-16 22:03:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e2bf765-1fa7-4067-b233-7de09c764f7f</title></pubsub></data> 2022-11-16 22:03:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 22:03:12 | [Mutex] waiting for: [received:nodes:4f976e43-68ae-4280-80bd-be635dc9ade7:localhost] 2022-11-16 22:03:12 | [Mutex] received everything. 2022-11-16 22:03:12 | [Mutex] isItemNotified: received:node:4f976e43-68ae-4280-80bd-be635dc9ade7:localhost:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:Node 4e2bf765-1fa7-4067-b233-7de09c764f7f :: true |
createSubnodes | 1.037s |
2022-11-16 22:03:12 |
2022-11-16 22:03:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:12 | ------------------------------------ 2022-11-16 22:03:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1b853ae2-763d-470e-babc-912690ec6eb0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1b853ae2-763d-470e-babc-912690ec6eb0</title></pubsub></data> 2022-11-16 22:03:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 22:03:13 | [Mutex] waiting for: [received:nodes:08168692-d95b-4e34-9c48-87a325f52139:localhost] 2022-11-16 22:03:13 | [Mutex] received everything. 2022-11-16 22:03:13 | [Mutex] isItemNotified: received:node:08168692-d95b-4e34-9c48-87a325f52139:localhost:node-1b853ae2-763d-470e-babc-912690ec6eb0:Node 1b853ae2-763d-470e-babc-912690ec6eb0 :: true |
deleteNodes | 1.016s |
2022-11-16 22:03:19 |
2022-11-16 22:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:19 | ------------------------------------ 2022-11-16 22:03:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1b853ae2-763d-470e-babc-912690ec6eb0</node></data> 2022-11-16 22:03:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 22:03:20 | [Mutex] waiting for: [received:nodes:eab2438b-101a-47cb-9b75-979e9340e1df:localhost] 2022-11-16 22:03:20 | [Mutex] waiting for: [received:nodes:eab2438b-101a-47cb-9b75-979e9340e1df:localhost] 2022-11-16 22:03:20 | [Mutex] waiting for: [received:nodes:eab2438b-101a-47cb-9b75-979e9340e1df:localhost] 2022-11-16 22:03:20 | [Mutex] received everything. 2022-11-16 22:03:20 | [Mutex] isItemNotified: received:node:eab2438b-101a-47cb-9b75-979e9340e1df:localhost:node-1b853ae2-763d-470e-babc-912690ec6eb0:Node 1b853ae2-763d-470e-babc-912690ec6eb0 :: false |
deleteSubnodes | 1.114s |
2022-11-16 22:03:18 |
2022-11-16 22:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:18 | ------------------------------------ 2022-11-16 22:03:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node></data> 2022-11-16 22:03:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 22:03:19 | [Mutex] waiting for: [received:nodes:f64df2bb-278b-401f-85be-3d928f211bc2:localhost] 2022-11-16 22:03:19 | [Mutex] waiting for: [received:nodes:f64df2bb-278b-401f-85be-3d928f211bc2:localhost] 2022-11-16 22:03:19 | [Mutex] received everything. 2022-11-16 22:03:19 | [Mutex] isItemNotified: received:node:f64df2bb-278b-401f-85be-3d928f211bc2:localhost:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:Node 4e2bf765-1fa7-4067-b233-7de09c764f7f :: false 2022-11-16 22:03:19 | [Mutex] waiting for: [received:nodes:8c63c3c5-58e0-4579-adbd-8e69afc43730:localhost] 2022-11-16 22:03:19 | [Mutex] received everything. 2022-11-16 22:03:19 | [Mutex] isItemNotified: received:node:8c63c3c5-58e0-4579-adbd-8e69afc43730:localhost:node-4e2bf765-1fa7-4067-b233-7de09c764f7f:Node 4e2bf765-1fa7-4067-b233-7de09c764f7f :: false |
publishItemsToNodes | 0.205s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><item-id>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</item-id><entry><test>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</test></entry></data> 2022-11-16 22:03:16 | 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-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</value></item-id></result> 2022-11-16 22:03:16 | [Mutex] received everything. 2022-11-16 22:03:16 | [Mutex] isItemNotified: published:item:notifieditem-c320b059-c0db-40ab-ac5a-b06fafcd6f4f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><item-id>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</item-id></data> 2022-11-16 22:03:16 | 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-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</value></item-id></result> 2022-11-16 22:03:16 | [Mutex] received everything. 2022-11-16 22:03:16 | [Mutex] isItemNotified: retracted:item:notifieditem-c320b059-c0db-40ab-ac5a-b06fafcd6f4f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.219s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><item-id>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</item-id></data> 2022-11-16 22:03:16 | 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-4e2bf765-1fa7-4067-b233-7de09c764f7f</value></node><item-id label="Item ID" type="text-single"><value>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</value></item-id><item label="Item" type="text-multi"><value><item id="item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f"><test>item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f</test></item></value></item></result> 2022-11-16 22:03:16 | [Mutex] notify: [retrieved:item:item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f:payload-matches:true:localhost] 2022-11-16 22:03:16 | [Mutex] received everything. 2022-11-16 22:03:16 | [Mutex] isItemNotified: retrieved:item:item-c320b059-c0db-40ab-ac5a-b06fafcd6f4f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-16 22:03:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1b853ae2-763d-470e-babc-912690ec6eb0</value><value>test</value><value>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e2bf765-1fa7-4067-b233-7de09c764f7f)</node-pattern></data> 2022-11-16 22:03:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.202s |
2022-11-16 22:03:14 |
2022-11-16 22:03:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:14 | ------------------------------------ 2022-11-16 22:03:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-16 22:03:15 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.151s |
2022-11-16 22:03:16 |
2022-11-16 22:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 22:03:16 | ------------------------------------ 2022-11-16 22:03:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4e2bf765-1fa7-4067-b233-7de09c764f7f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-16 22:03:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |