Test duration : 9.814s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-03-27 22:35:15 |
2022-03-27 22:35:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:15 | ------------------------------------ 2022-03-27 22:35:15 | [Mutex] waiting for: [configured:node:node-1b360bda-60a9-4802-8716-c9e5afc6d061:node-5acb66b7-35b2-4048-9b6d-fe27dd803e60] 2022-03-27 22:35:15 | [Mutex] received everything. 2022-03-27 22:35:15 | [Mutex] isItemNotified: configured:node:node-1b360bda-60a9-4802-8716-c9e5afc6d061:node-5acb66b7-35b2-4048-9b6d-fe27dd803e60 :: true 2022-03-27 22:35:16 | [Mutex] waiting for: [received:nodes:83e1b970-4448-4c3c-b388-b14b24c2ebaa:localhost] 2022-03-27 22:35:16 | [Mutex] received everything. 2022-03-27 22:35:16 | [Mutex] isItemNotified: received:node:83e1b970-4448-4c3c-b388-b14b24c2ebaa:localhost:node-1b360bda-60a9-4802-8716-c9e5afc6d061:Node 1b360bda-60a9-4802-8716-c9e5afc6d061 :: true 2022-03-27 22:35:16 | [Mutex] waiting for: [received:nodes:50e6da36-a81c-4b95-bb9f-d86b0a31edf6:localhost] 2022-03-27 22:35:16 | [Mutex] waiting for: [received:nodes:50e6da36-a81c-4b95-bb9f-d86b0a31edf6:localhost] 2022-03-27 22:35:16 | [Mutex] received everything. 2022-03-27 22:35:16 | [Mutex] isItemNotified: received:node:50e6da36-a81c-4b95-bb9f-d86b0a31edf6:localhost:node-1b360bda-60a9-4802-8716-c9e5afc6d061:Node 1b360bda-60a9-4802-8716-c9e5afc6d061 :: false |
createNodes | 1.617s |
2022-03-27 22:35:13 |
2022-03-27 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:13 | ------------------------------------ 2022-03-27 22:35:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1b360bda-60a9-4802-8716-c9e5afc6d061</title></pubsub></data> 2022-03-27 22:35:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-27 22:35:14 | [Mutex] waiting for: [received:nodes:75b2a667-2d02-4f5a-b6d3-93cdf5dbc0e4:localhost] 2022-03-27 22:35:14 | [Mutex] received everything. 2022-03-27 22:35:14 | [Mutex] isItemNotified: received:node:75b2a667-2d02-4f5a-b6d3-93cdf5dbc0e4:localhost:node-1b360bda-60a9-4802-8716-c9e5afc6d061:Node 1b360bda-60a9-4802-8716-c9e5afc6d061 :: true |
createSubnodes | 1.023s |
2022-03-27 22:35:14 |
2022-03-27 22:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:14 | ------------------------------------ 2022-03-27 22:35:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5acb66b7-35b2-4048-9b6d-fe27dd803e60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5acb66b7-35b2-4048-9b6d-fe27dd803e60</title></pubsub></data> 2022-03-27 22:35:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-27 22:35:15 | [Mutex] waiting for: [received:nodes:f8e91d8c-e80b-485b-a4d9-d3021b0701b7:localhost] 2022-03-27 22:35:15 | [Mutex] received everything. 2022-03-27 22:35:15 | [Mutex] isItemNotified: received:node:f8e91d8c-e80b-485b-a4d9-d3021b0701b7:localhost:node-5acb66b7-35b2-4048-9b6d-fe27dd803e60:Node 5acb66b7-35b2-4048-9b6d-fe27dd803e60 :: true |
deleteNodes | 1.022s |
2022-03-27 22:35:21 |
2022-03-27 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:21 | ------------------------------------ 2022-03-27 22:35:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5acb66b7-35b2-4048-9b6d-fe27dd803e60</node></data> 2022-03-27 22:35:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-27 22:35:22 | [Mutex] waiting for: [received:nodes:651c04f5-6c2d-4e70-8bae-2e18334cc720:localhost] 2022-03-27 22:35:22 | [Mutex] received everything. 2022-03-27 22:35:22 | [Mutex] isItemNotified: received:node:651c04f5-6c2d-4e70-8bae-2e18334cc720:localhost:node-5acb66b7-35b2-4048-9b6d-fe27dd803e60:Node 5acb66b7-35b2-4048-9b6d-fe27dd803e60 :: false |
deleteSubnodes | 1.120s |
2022-03-27 22:35:19 |
2022-03-27 22:35:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:19 | ------------------------------------ 2022-03-27 22:35:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node></data> 2022-03-27 22:35:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-27 22:35:21 | [Mutex] waiting for: [received:nodes:790ab7a6-a647-4abb-891c-89b07987327f:localhost] 2022-03-27 22:35:21 | [Mutex] waiting for: [received:nodes:790ab7a6-a647-4abb-891c-89b07987327f:localhost] 2022-03-27 22:35:21 | [Mutex] waiting for: [received:nodes:790ab7a6-a647-4abb-891c-89b07987327f:localhost] 2022-03-27 22:35:21 | [Mutex] waiting for: [received:nodes:790ab7a6-a647-4abb-891c-89b07987327f:localhost] 2022-03-27 22:35:21 | [Mutex] received everything. 2022-03-27 22:35:21 | [Mutex] isItemNotified: received:node:790ab7a6-a647-4abb-891c-89b07987327f:localhost:node-1b360bda-60a9-4802-8716-c9e5afc6d061:Node 1b360bda-60a9-4802-8716-c9e5afc6d061 :: false 2022-03-27 22:35:21 | [Mutex] waiting for: [received:nodes:47011ac8-a5ae-462d-95d6-243a7730ee9f:localhost] 2022-03-27 22:35:21 | [Mutex] received everything. 2022-03-27 22:35:21 | [Mutex] isItemNotified: received:node:47011ac8-a5ae-462d-95d6-243a7730ee9f:localhost:node-1b360bda-60a9-4802-8716-c9e5afc6d061:Node 1b360bda-60a9-4802-8716-c9e5afc6d061 :: false |
publishItemsToNodes | 0.204s |
2022-03-27 22:35:17 |
2022-03-27 22:35:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:17 | ------------------------------------ 2022-03-27 22:35:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><item-id>item-e8b4eed7-e87b-419c-919d-eacb862a4682</item-id><entry><test>item-e8b4eed7-e87b-419c-919d-eacb862a4682</test></entry></data> 2022-03-27 22:35:18 | 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-e8b4eed7-e87b-419c-919d-eacb862a4682</value></item-id></result> 2022-03-27 22:35:18 | [Mutex] waiting for: [published:item:notifieditem-e8b4eed7-e87b-419c-919d-eacb862a4682:admin@test-domain.com] 2022-03-27 22:35:18 | [Mutex] received everything. 2022-03-27 22:35:18 | [Mutex] isItemNotified: published:item:notifieditem-e8b4eed7-e87b-419c-919d-eacb862a4682:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2022-03-27 22:35:18 |
2022-03-27 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:18 | ------------------------------------ 2022-03-27 22:35:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><item-id>item-e8b4eed7-e87b-419c-919d-eacb862a4682</item-id></data> 2022-03-27 22:35:18 | 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-e8b4eed7-e87b-419c-919d-eacb862a4682</value></item-id></result> 2022-03-27 22:35:18 | [Mutex] received everything. 2022-03-27 22:35:18 | [Mutex] isItemNotified: retracted:item:notifieditem-e8b4eed7-e87b-419c-919d-eacb862a4682:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.243s |
2022-03-27 22:35:18 |
2022-03-27 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:18 | ------------------------------------ 2022-03-27 22:35:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><item-id>item-e8b4eed7-e87b-419c-919d-eacb862a4682</item-id></data> 2022-03-27 22:35:18 | 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-1b360bda-60a9-4802-8716-c9e5afc6d061</value></node><item-id label="Item ID" type="text-single"><value>item-e8b4eed7-e87b-419c-919d-eacb862a4682</value></item-id><item label="Item" type="text-multi"><value><item id="item-e8b4eed7-e87b-419c-919d-eacb862a4682"><test>item-e8b4eed7-e87b-419c-919d-eacb862a4682</test></item></value></item></result> 2022-03-27 22:35:18 | [Mutex] notify: [retrieved:item:item-e8b4eed7-e87b-419c-919d-eacb862a4682:payload-matches:true:localhost] 2022-03-27 22:35:18 | [Mutex] received everything. 2022-03-27 22:35:18 | [Mutex] isItemNotified: retrieved:item:item-e8b4eed7-e87b-419c-919d-eacb862a4682:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-03-27 22:35:18 |
2022-03-27 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:18 | ------------------------------------ 2022-03-27 22:35:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-03-27 22:35:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1b360bda-60a9-4802-8716-c9e5afc6d061</value><value>test</value><value>node-5acb66b7-35b2-4048-9b6d-fe27dd803e60</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-03-27 22:35:18 |
2022-03-27 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:18 | ------------------------------------ 2022-03-27 22:35:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1b360bda-60a9-4802-8716-c9e5afc6d061)</node-pattern></data> 2022-03-27 22:35:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.122s |
2022-03-27 22:35:16 |
2022-03-27 22:35:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:16 | ------------------------------------ 2022-03-27 22:35:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-27 22:35:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2022-03-27 22:35:18 |
2022-03-27 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 22:35:18 | ------------------------------------ 2022-03-27 22:35:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1b360bda-60a9-4802-8716-c9e5afc6d061</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-27 22:35:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |