Test duration : 10.179s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-02-10 21:33:20 |
2022-02-10 21:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:20 | ------------------------------------ 2022-02-10 21:33:20 | [Mutex] waiting for: [configured:node:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e] 2022-02-10 21:33:20 | [Mutex] received everything. 2022-02-10 21:33:20 | [Mutex] isItemNotified: configured:node:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e :: true 2022-02-10 21:33:21 | [Mutex] waiting for: [received:nodes:734b0afc-d84c-463f-b4d5-cdec860e180a:localhost] 2022-02-10 21:33:21 | [Mutex] received everything. 2022-02-10 21:33:21 | [Mutex] isItemNotified: received:node:734b0afc-d84c-463f-b4d5-cdec860e180a:localhost:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9 :: true 2022-02-10 21:33:21 | [Mutex] waiting for: [received:nodes:71ea617f-9148-4d2a-a49f-05aec2a42f72:localhost] 2022-02-10 21:33:21 | [Mutex] received everything. 2022-02-10 21:33:21 | [Mutex] isItemNotified: received:node:71ea617f-9148-4d2a-a49f-05aec2a42f72:localhost:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9 :: false |
createNodes | 1.505s |
2022-02-10 21:33:17 |
2022-02-10 21:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:17 | ------------------------------------ 2022-02-10 21:33:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</title></pubsub></data> 2022-02-10 21:33:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:33:19 | [Mutex] waiting for: [received:nodes:96bc12fb-2c52-49d8-b3c8-4cbe9b6f6467:localhost] 2022-02-10 21:33:19 | [Mutex] received everything. 2022-02-10 21:33:19 | [Mutex] isItemNotified: received:node:96bc12fb-2c52-49d8-b3c8-4cbe9b6f6467:localhost:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9 :: true |
createSubnodes | 1.029s |
2022-02-10 21:33:19 |
2022-02-10 21:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:19 | ------------------------------------ 2022-02-10 21:33:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 84e88e72-e0ff-4afe-9bd5-592a8c99c58e</title></pubsub></data> 2022-02-10 21:33:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:33:20 | [Mutex] waiting for: [received:nodes:b03c968c-0b64-4d82-8b12-89ac7781c72b:localhost] 2022-02-10 21:33:20 | [Mutex] received everything. 2022-02-10 21:33:20 | [Mutex] isItemNotified: received:node:b03c968c-0b64-4d82-8b12-89ac7781c72b:localhost:node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e:Node 84e88e72-e0ff-4afe-9bd5-592a8c99c58e :: true |
deleteNodes | 1.019s |
2022-02-10 21:33:25 |
2022-02-10 21:33:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:25 | ------------------------------------ 2022-02-10 21:33:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e</node></data> 2022-02-10 21:33:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:33:26 | [Mutex] waiting for: [received:nodes:f6413773-cae5-4805-bb09-eb6c7e4d7b77:localhost] 2022-02-10 21:33:26 | [Mutex] received everything. 2022-02-10 21:33:26 | [Mutex] isItemNotified: received:node:f6413773-cae5-4805-bb09-eb6c7e4d7b77:localhost:node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e:Node 84e88e72-e0ff-4afe-9bd5-592a8c99c58e :: false |
deleteSubnodes | 1.197s |
2022-02-10 21:33:24 |
2022-02-10 21:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:24 | ------------------------------------ 2022-02-10 21:33:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node></data> 2022-02-10 21:33:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-10 21:33:25 | [Mutex] waiting for: [received:nodes:66ee5be3-affb-40bd-b567-1d06c7a37295:localhost] 2022-02-10 21:33:25 | [Mutex] received everything. 2022-02-10 21:33:25 | [Mutex] isItemNotified: received:node:66ee5be3-affb-40bd-b567-1d06c7a37295:localhost:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9 :: false 2022-02-10 21:33:25 | [Mutex] waiting for: [received:nodes:9d98374f-dcf3-49fb-881e-4db1b9ec3aec:localhost] 2022-02-10 21:33:25 | [Mutex] received everything. 2022-02-10 21:33:25 | [Mutex] isItemNotified: received:node:9d98374f-dcf3-49fb-881e-4db1b9ec3aec:localhost:node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9:Node cf151c00-1c4d-45a9-bdb2-8759a0e3dff9 :: false |
publishItemsToNodes | 0.271s |
2022-02-10 21:33:22 |
2022-02-10 21:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:22 | ------------------------------------ 2022-02-10 21:33:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><item-id>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</item-id><entry><test>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</test></entry></data> 2022-02-10 21:33:22 | 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-b1018932-6ef1-40fe-96e9-47c995a29f2e</value></item-id></result> 2022-02-10 21:33:22 | [Mutex] received everything. 2022-02-10 21:33:22 | [Mutex] isItemNotified: published:item:notifieditem-b1018932-6ef1-40fe-96e9-47c995a29f2e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2022-02-10 21:33:23 |
2022-02-10 21:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:23 | ------------------------------------ 2022-02-10 21:33:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><item-id>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</item-id></data> 2022-02-10 21:33:23 | 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-b1018932-6ef1-40fe-96e9-47c995a29f2e</value></item-id></result> 2022-02-10 21:33:23 | [Mutex] received everything. 2022-02-10 21:33:23 | [Mutex] isItemNotified: retracted:item:notifieditem-b1018932-6ef1-40fe-96e9-47c995a29f2e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.312s |
2022-02-10 21:33:22 |
2022-02-10 21:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:22 | ------------------------------------ 2022-02-10 21:33:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><item-id>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</item-id></data> 2022-02-10 21:33:22 | 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-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</value></node><item-id label="Item ID" type="text-single"><value>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</value></item-id><item label="Item" type="text-multi"><value><item id="item-b1018932-6ef1-40fe-96e9-47c995a29f2e"><test>item-b1018932-6ef1-40fe-96e9-47c995a29f2e</test></item></value></item></result> 2022-02-10 21:33:22 | [Mutex] notify: [retrieved:item:item-b1018932-6ef1-40fe-96e9-47c995a29f2e:payload-matches:true:localhost] 2022-02-10 21:33:22 | [Mutex] received everything. 2022-02-10 21:33:22 | [Mutex] isItemNotified: retrieved:item:item-b1018932-6ef1-40fe-96e9-47c995a29f2e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-10 21:33:22 |
2022-02-10 21:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:22 | ------------------------------------ 2022-02-10 21:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-10 21:33:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-84e88e72-e0ff-4afe-9bd5-592a8c99c58e</value><value>test</value><value>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-10 21:33:23 |
2022-02-10 21:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:23 | ------------------------------------ 2022-02-10 21:33:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9)</node-pattern></data> 2022-02-10 21:33:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.164s |
2022-02-10 21:33:21 |
2022-02-10 21:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:21 | ------------------------------------ 2022-02-10 21:33:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-10 21:33:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.315s |
2022-02-10 21:33:23 |
2022-02-10 21:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-10 21:33:23 | ------------------------------------ 2022-02-10 21:33:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cf151c00-1c4d-45a9-bdb2-8759a0e3dff9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-10 21:33:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |