Test duration : 9.611s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-10-13 22:42:52 |
2022-10-13 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:52 | ------------------------------------ 2022-10-13 22:42:52 | [Mutex] waiting for: [configured:node:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be] 2022-10-13 22:42:52 | [Mutex] received everything. 2022-10-13 22:42:52 | [Mutex] isItemNotified: configured:node:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be :: true 2022-10-13 22:42:53 | [Mutex] waiting for: [received:nodes:ce3e3071-b35c-4b4e-8f88-947b76e06f4f:localhost] 2022-10-13 22:42:53 | [Mutex] received everything. 2022-10-13 22:42:53 | [Mutex] isItemNotified: received:node:ce3e3071-b35c-4b4e-8f88-947b76e06f4f:localhost:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9 :: true 2022-10-13 22:42:53 | [Mutex] waiting for: [received:nodes:30583156-c50f-45db-aa9c-624035c8ae2f:localhost] 2022-10-13 22:42:53 | [Mutex] received everything. 2022-10-13 22:42:53 | [Mutex] isItemNotified: received:node:30583156-c50f-45db-aa9c-624035c8ae2f:localhost:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9 :: false |
createNodes | 1.510s |
2022-10-13 22:42:49 |
2022-10-13 22:42:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:49 | ------------------------------------ 2022-10-13 22:42:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</title></pubsub></data> 2022-10-13 22:42:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 22:42:51 | [Mutex] waiting for: [received:nodes:cf9bb00c-5862-490b-91a9-d87d40b0eacb:localhost] 2022-10-13 22:42:51 | [Mutex] received everything. 2022-10-13 22:42:51 | [Mutex] isItemNotified: received:node:cf9bb00c-5862-490b-91a9-d87d40b0eacb:localhost:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9 :: true |
createSubnodes | 1.018s |
2022-10-13 22:42:51 |
2022-10-13 22:42:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:51 | ------------------------------------ 2022-10-13 22:42:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4c2ffa7d-fc3d-4db5-82a9-fab37abe25be</title></pubsub></data> 2022-10-13 22:42:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 22:42:52 | [Mutex] waiting for: [received:nodes:1b702162-c6c8-4a93-aa8f-c93cba3d8a87:localhost] 2022-10-13 22:42:52 | [Mutex] waiting for: [received:nodes:1b702162-c6c8-4a93-aa8f-c93cba3d8a87:localhost] 2022-10-13 22:42:52 | [Mutex] received everything. 2022-10-13 22:42:52 | [Mutex] isItemNotified: received:node:1b702162-c6c8-4a93-aa8f-c93cba3d8a87:localhost:node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be:Node 4c2ffa7d-fc3d-4db5-82a9-fab37abe25be :: true |
deleteNodes | 1.016s |
2022-10-13 22:42:57 |
2022-10-13 22:42:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:57 | ------------------------------------ 2022-10-13 22:42:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be</node></data> 2022-10-13 22:42:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 22:42:58 | [Mutex] waiting for: [received:nodes:d7c84677-30fe-4f46-bd21-d645b3a8fae8:localhost] 2022-10-13 22:42:58 | [Mutex] received everything. 2022-10-13 22:42:58 | [Mutex] isItemNotified: received:node:d7c84677-30fe-4f46-bd21-d645b3a8fae8:localhost:node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be:Node 4c2ffa7d-fc3d-4db5-82a9-fab37abe25be :: false |
deleteSubnodes | 1.142s |
2022-10-13 22:42:56 |
2022-10-13 22:42:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:56 | ------------------------------------ 2022-10-13 22:42:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node></data> 2022-10-13 22:42:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-13 22:42:57 | [Mutex] waiting for: [received:nodes:1d0f123f-857c-4e63-90b0-ec8c222d9d64:localhost] 2022-10-13 22:42:57 | [Mutex] waiting for: [received:nodes:1d0f123f-857c-4e63-90b0-ec8c222d9d64:localhost] 2022-10-13 22:42:57 | [Mutex] waiting for: [received:nodes:1d0f123f-857c-4e63-90b0-ec8c222d9d64:localhost] 2022-10-13 22:42:57 | [Mutex] received everything. 2022-10-13 22:42:57 | [Mutex] isItemNotified: received:node:1d0f123f-857c-4e63-90b0-ec8c222d9d64:localhost:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9 :: false 2022-10-13 22:42:57 | [Mutex] waiting for: [received:nodes:1bac4388-7ed5-49ee-88d8-ec186f3dc682:localhost] 2022-10-13 22:42:57 | [Mutex] received everything. 2022-10-13 22:42:57 | [Mutex] isItemNotified: received:node:1bac4388-7ed5-49ee-88d8-ec186f3dc682:localhost:node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9:Node 3cfc53cc-b0fa-4365-bbf3-93b346e76eb9 :: false |
publishItemsToNodes | 0.245s |
2022-10-13 22:42:54 |
2022-10-13 22:42:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:54 | ------------------------------------ 2022-10-13 22:42:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><item-id>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</item-id><entry><test>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</test></entry></data> 2022-10-13 22:42:54 | 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-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</value></item-id></result> 2022-10-13 22:42:54 | [Mutex] waiting for: [published:item:notifieditem-958803e6-13ac-4a87-b7a6-6c02b8bd83dc:admin@test-domain.com] 2022-10-13 22:42:54 | [Mutex] received everything. 2022-10-13 22:42:54 | [Mutex] isItemNotified: published:item:notifieditem-958803e6-13ac-4a87-b7a6-6c02b8bd83dc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-10-13 22:42:55 |
2022-10-13 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:55 | ------------------------------------ 2022-10-13 22:42:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><item-id>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</item-id></data> 2022-10-13 22:42:55 | 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-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</value></item-id></result> 2022-10-13 22:42:55 | [Mutex] received everything. 2022-10-13 22:42:55 | [Mutex] isItemNotified: retracted:item:notifieditem-958803e6-13ac-4a87-b7a6-6c02b8bd83dc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.235s |
2022-10-13 22:42:54 |
2022-10-13 22:42:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:54 | ------------------------------------ 2022-10-13 22:42:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><item-id>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</item-id></data> 2022-10-13 22:42:55 | 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-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</value></node><item-id label="Item ID" type="text-single"><value>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</value></item-id><item label="Item" type="text-multi"><value><item id="item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc"><test>item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc</test></item></value></item></result> 2022-10-13 22:42:55 | [Mutex] notify: [retrieved:item:item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc:payload-matches:true:localhost] 2022-10-13 22:42:55 | [Mutex] received everything. 2022-10-13 22:42:55 | [Mutex] isItemNotified: retrieved:item:item-958803e6-13ac-4a87-b7a6-6c02b8bd83dc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-13 22:42:55 |
2022-10-13 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:55 | ------------------------------------ 2022-10-13 22:42:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-13 22:42:55 | 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-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</value><value>node-4c2ffa7d-fc3d-4db5-82a9-fab37abe25be</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-13 22:42:55 |
2022-10-13 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:55 | ------------------------------------ 2022-10-13 22:42:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9)</node-pattern></data> 2022-10-13 22:42:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.109s |
2022-10-13 22:42:53 |
2022-10-13 22:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:53 | ------------------------------------ 2022-10-13 22:42:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-13 22:42:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2022-10-13 22:42:55 |
2022-10-13 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-13 22:42:55 | ------------------------------------ 2022-10-13 22:42:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3cfc53cc-b0fa-4365-bbf3-93b346e76eb9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-13 22:42:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |