Test duration : 10.156s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2021-10-12 22:42:40 |
2021-10-12 22:42:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:40 | ------------------------------------ 2021-10-12 22:42:40 | [Mutex] waiting for: [configured:node:node-057b04f6-2963-4724-91da-659b366c7158:node-3badf3b4-ec29-4b85-b678-396f7cfb83c6] 2021-10-12 22:42:40 | [Mutex] received everything. 2021-10-12 22:42:40 | [Mutex] isItemNotified: configured:node:node-057b04f6-2963-4724-91da-659b366c7158:node-3badf3b4-ec29-4b85-b678-396f7cfb83c6 :: true 2021-10-12 22:42:41 | [Mutex] waiting for: [received:nodes:eb8e679e-168a-464a-95b6-710d8fb34d71:localhost] 2021-10-12 22:42:41 | [Mutex] received everything. 2021-10-12 22:42:41 | [Mutex] isItemNotified: received:node:eb8e679e-168a-464a-95b6-710d8fb34d71:localhost:node-057b04f6-2963-4724-91da-659b366c7158:Node 057b04f6-2963-4724-91da-659b366c7158 :: true 2021-10-12 22:42:41 | [Mutex] waiting for: [received:nodes:9e9615dc-7724-40fa-989e-8a5e7ccee5ec:localhost] 2021-10-12 22:42:41 | [Mutex] waiting for: [received:nodes:9e9615dc-7724-40fa-989e-8a5e7ccee5ec:localhost] 2021-10-12 22:42:41 | [Mutex] received everything. 2021-10-12 22:42:41 | [Mutex] isItemNotified: received:node:9e9615dc-7724-40fa-989e-8a5e7ccee5ec:localhost:node-057b04f6-2963-4724-91da-659b366c7158:Node 057b04f6-2963-4724-91da-659b366c7158 :: false |
createNodes | 1.508s |
2021-10-12 22:42:37 |
2021-10-12 22:42:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:37 | ------------------------------------ 2021-10-12 22:42:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 057b04f6-2963-4724-91da-659b366c7158</title></pubsub></data> 2021-10-12 22:42:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:42:39 | [Mutex] waiting for: [received:nodes:f02920d5-0d1c-48f4-97a5-4f610c304a66:localhost] 2021-10-12 22:42:39 | [Mutex] received everything. 2021-10-12 22:42:39 | [Mutex] isItemNotified: received:node:f02920d5-0d1c-48f4-97a5-4f610c304a66:localhost:node-057b04f6-2963-4724-91da-659b366c7158:Node 057b04f6-2963-4724-91da-659b366c7158 :: true |
createSubnodes | 1.037s |
2021-10-12 22:42:39 |
2021-10-12 22:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:39 | ------------------------------------ 2021-10-12 22:42:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3badf3b4-ec29-4b85-b678-396f7cfb83c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3badf3b4-ec29-4b85-b678-396f7cfb83c6</title></pubsub></data> 2021-10-12 22:42:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:42:40 | [Mutex] waiting for: [received:nodes:052242e0-b67f-46cf-b327-ee4034d7dcc8:localhost] 2021-10-12 22:42:40 | [Mutex] received everything. 2021-10-12 22:42:40 | [Mutex] isItemNotified: received:node:052242e0-b67f-46cf-b327-ee4034d7dcc8:localhost:node-3badf3b4-ec29-4b85-b678-396f7cfb83c6:Node 3badf3b4-ec29-4b85-b678-396f7cfb83c6 :: true |
deleteNodes | 1.024s |
2021-10-12 22:42:46 |
2021-10-12 22:42:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:46 | ------------------------------------ 2021-10-12 22:42:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3badf3b4-ec29-4b85-b678-396f7cfb83c6</node></data> 2021-10-12 22:42:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:42:47 | [Mutex] waiting for: [received:nodes:bd003ab9-17e5-46e6-a776-597ee3dc4337:localhost] 2021-10-12 22:42:47 | [Mutex] waiting for: [received:nodes:bd003ab9-17e5-46e6-a776-597ee3dc4337:localhost] 2021-10-12 22:42:47 | [Mutex] received everything. 2021-10-12 22:42:47 | [Mutex] isItemNotified: received:node:bd003ab9-17e5-46e6-a776-597ee3dc4337:localhost:node-3badf3b4-ec29-4b85-b678-396f7cfb83c6:Node 3badf3b4-ec29-4b85-b678-396f7cfb83c6 :: false |
deleteSubnodes | 1.189s |
2021-10-12 22:42:44 |
2021-10-12 22:42:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:44 | ------------------------------------ 2021-10-12 22:42:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node></data> 2021-10-12 22:42:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-12 22:42:45 | [Mutex] waiting for: [received:nodes:8da61971-51b5-4d19-a495-66b11180bba5:localhost] 2021-10-12 22:42:45 | [Mutex] received everything. 2021-10-12 22:42:45 | [Mutex] isItemNotified: received:node:8da61971-51b5-4d19-a495-66b11180bba5:localhost:node-057b04f6-2963-4724-91da-659b366c7158:Node 057b04f6-2963-4724-91da-659b366c7158 :: false 2021-10-12 22:42:45 | [Mutex] waiting for: [received:nodes:1199ace3-9b1b-4920-a0de-2aa69a507e98:localhost] 2021-10-12 22:42:46 | [Mutex] received everything. 2021-10-12 22:42:46 | [Mutex] isItemNotified: received:node:1199ace3-9b1b-4920-a0de-2aa69a507e98:localhost:node-057b04f6-2963-4724-91da-659b366c7158:Node 057b04f6-2963-4724-91da-659b366c7158 :: false |
publishItemsToNodes | 0.311s |
2021-10-12 22:42:42 |
2021-10-12 22:42:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:42 | ------------------------------------ 2021-10-12 22:42:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><item-id>item-e1516018-9a29-4142-8de5-1216da160fce</item-id><entry><test>item-e1516018-9a29-4142-8de5-1216da160fce</test></entry></data> 2021-10-12 22:42:42 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-e1516018-9a29-4142-8de5-1216da160fce</value></item-id></result> 2021-10-12 22:42:42 | [Mutex] received everything. 2021-10-12 22:42:42 | [Mutex] isItemNotified: published:item:notifieditem-e1516018-9a29-4142-8de5-1216da160fce:admin@test-domain.com :: true |
retractItemsFromNodes | 0.343s |
2021-10-12 22:42:43 |
2021-10-12 22:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:43 | ------------------------------------ 2021-10-12 22:42:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><item-id>item-e1516018-9a29-4142-8de5-1216da160fce</item-id></data> 2021-10-12 22:42:43 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-e1516018-9a29-4142-8de5-1216da160fce</value></item-id></result> 2021-10-12 22:42:43 | [Mutex] received everything. 2021-10-12 22:42:43 | [Mutex] isItemNotified: retracted:item:notifieditem-e1516018-9a29-4142-8de5-1216da160fce:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.269s |
2021-10-12 22:42:42 |
2021-10-12 22:42:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:42 | ------------------------------------ 2021-10-12 22:42:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><item-id>item-e1516018-9a29-4142-8de5-1216da160fce</item-id></data> 2021-10-12 22:42:43 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-057b04f6-2963-4724-91da-659b366c7158</value></node><item-id type="text-single" label="Item ID"><value>item-e1516018-9a29-4142-8de5-1216da160fce</value></item-id><item type="text-multi" label="Item"><value><item id="item-e1516018-9a29-4142-8de5-1216da160fce"><test>item-e1516018-9a29-4142-8de5-1216da160fce</test></item></value></item></result> 2021-10-12 22:42:43 | [Mutex] notify: [retrieved:item:item-e1516018-9a29-4142-8de5-1216da160fce:payload-matches:true:localhost] 2021-10-12 22:42:43 | [Mutex] received everything. 2021-10-12 22:42:43 | [Mutex] isItemNotified: retrieved:item:item-e1516018-9a29-4142-8de5-1216da160fce:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-10-12 22:42:43 |
2021-10-12 22:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:43 | ------------------------------------ 2021-10-12 22:42:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-12 22:42:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-057b04f6-2963-4724-91da-659b366c7158</value><value>node-3badf3b4-ec29-4b85-b678-396f7cfb83c6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-10-12 22:42:43 |
2021-10-12 22:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:43 | ------------------------------------ 2021-10-12 22:42:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-057b04f6-2963-4724-91da-659b366c7158)</node-pattern></data> 2021-10-12 22:42:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.166s |
2021-10-12 22:42:41 |
2021-10-12 22:42:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:41 | ------------------------------------ 2021-10-12 22:42:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-12 22:42:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2021-10-12 22:42:43 |
2021-10-12 22:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-12 22:42:43 | ------------------------------------ 2021-10-12 22:42:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-057b04f6-2963-4724-91da-659b366c7158</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-12 22:42:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |