Test duration : 10.858s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.170s |
2022-02-21 21:37:01 |
2022-02-21 21:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:01 | ------------------------------------ 2022-02-21 21:37:01 | [Mutex] waiting for: [configured:node:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:node-d42bbe8d-74dd-47e8-a14f-502fe1433722] 2022-02-21 21:37:02 | [Mutex] received everything. 2022-02-21 21:37:02 | [Mutex] isItemNotified: configured:node:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:node-d42bbe8d-74dd-47e8-a14f-502fe1433722 :: true 2022-02-21 21:37:03 | [Mutex] waiting for: [received:nodes:d90a24f6-5f77-414e-9374-ed3ea816ef9d:localhost] 2022-02-21 21:37:03 | [Mutex] received everything. 2022-02-21 21:37:03 | [Mutex] isItemNotified: received:node:d90a24f6-5f77-414e-9374-ed3ea816ef9d:localhost:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c :: true 2022-02-21 21:37:03 | [Mutex] waiting for: [received:nodes:ff3d5832-5162-4f80-8434-873f97aa7bf8:localhost] 2022-02-21 21:37:03 | [Mutex] received everything. 2022-02-21 21:37:03 | [Mutex] isItemNotified: received:node:ff3d5832-5162-4f80-8434-873f97aa7bf8:localhost:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c :: false |
createNodes | 1.784s |
2022-02-21 21:36:59 |
2022-02-21 21:36:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:36:59 | ------------------------------------ 2022-02-21 21:36:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</title></pubsub></data> 2022-02-21 21:36:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-21 21:37:00 | [Mutex] waiting for: [received:nodes:6f254af9-4e61-44c0-bb46-e621b125ec63:localhost] 2022-02-21 21:37:00 | [Mutex] waiting for: [received:nodes:6f254af9-4e61-44c0-bb46-e621b125ec63:localhost] 2022-02-21 21:37:00 | [Mutex] received everything. 2022-02-21 21:37:00 | [Mutex] isItemNotified: received:node:6f254af9-4e61-44c0-bb46-e621b125ec63:localhost:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c :: true |
createSubnodes | 1.042s |
2022-02-21 21:37:00 |
2022-02-21 21:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:00 | ------------------------------------ 2022-02-21 21:37:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d42bbe8d-74dd-47e8-a14f-502fe1433722</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d42bbe8d-74dd-47e8-a14f-502fe1433722</title></pubsub></data> 2022-02-21 21:37:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-21 21:37:01 | [Mutex] waiting for: [received:nodes:0dc9dd6d-de20-4853-bd05-f0d9f4a66c73:localhost] 2022-02-21 21:37:01 | [Mutex] received everything. 2022-02-21 21:37:01 | [Mutex] isItemNotified: received:node:0dc9dd6d-de20-4853-bd05-f0d9f4a66c73:localhost:node-d42bbe8d-74dd-47e8-a14f-502fe1433722:Node d42bbe8d-74dd-47e8-a14f-502fe1433722 :: true |
deleteNodes | 1.020s |
2022-02-21 21:37:07 |
2022-02-21 21:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:07 | ------------------------------------ 2022-02-21 21:37:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d42bbe8d-74dd-47e8-a14f-502fe1433722</node></data> 2022-02-21 21:37:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-21 21:37:08 | [Mutex] waiting for: [received:nodes:da94a47f-e26e-4b2c-b65f-04a979c83790:localhost] 2022-02-21 21:37:08 | [Mutex] waiting for: [received:nodes:da94a47f-e26e-4b2c-b65f-04a979c83790:localhost] 2022-02-21 21:37:08 | [Mutex] received everything. 2022-02-21 21:37:08 | [Mutex] isItemNotified: received:node:da94a47f-e26e-4b2c-b65f-04a979c83790:localhost:node-d42bbe8d-74dd-47e8-a14f-502fe1433722:Node d42bbe8d-74dd-47e8-a14f-502fe1433722 :: false |
deleteSubnodes | 1.186s |
2022-02-21 21:37:06 |
2022-02-21 21:37:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:06 | ------------------------------------ 2022-02-21 21:37:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node></data> 2022-02-21 21:37:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-21 21:37:07 | [Mutex] waiting for: [received:nodes:aa4aa67b-2795-475c-852d-bd916b590222:localhost] 2022-02-21 21:37:07 | [Mutex] received everything. 2022-02-21 21:37:07 | [Mutex] isItemNotified: received:node:aa4aa67b-2795-475c-852d-bd916b590222:localhost:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c :: false 2022-02-21 21:37:07 | [Mutex] waiting for: [received:nodes:0ae5f170-627c-46b0-b92b-fdbe8aecb49e:localhost] 2022-02-21 21:37:07 | [Mutex] received everything. 2022-02-21 21:37:07 | [Mutex] isItemNotified: received:node:0ae5f170-627c-46b0-b92b-fdbe8aecb49e:localhost:node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c:Node 84dcd1ae-e0cb-40a2-87ff-1552c01fd50c :: false |
publishItemsToNodes | 0.249s |
2022-02-21 21:37:04 |
2022-02-21 21:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:04 | ------------------------------------ 2022-02-21 21:37:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><item-id>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</item-id><entry><test>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</test></entry></data> 2022-02-21 21:37:04 | 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-02745f40-09fb-4e7b-9e0c-e778bd74b272</value></item-id></result> 2022-02-21 21:37:04 | [Mutex] waiting for: [published:item:notifieditem-02745f40-09fb-4e7b-9e0c-e778bd74b272:admin@test-domain.com] 2022-02-21 21:37:04 | [Mutex] received everything. 2022-02-21 21:37:04 | [Mutex] isItemNotified: published:item:notifieditem-02745f40-09fb-4e7b-9e0c-e778bd74b272:admin@test-domain.com :: true |
retractItemsFromNodes | 0.415s |
2022-02-21 21:37:05 |
2022-02-21 21:37:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:05 | ------------------------------------ 2022-02-21 21:37:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><item-id>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</item-id></data> 2022-02-21 21:37:05 | 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-02745f40-09fb-4e7b-9e0c-e778bd74b272</value></item-id></result> 2022-02-21 21:37:05 | [Mutex] received everything. 2022-02-21 21:37:05 | [Mutex] isItemNotified: retracted:item:notifieditem-02745f40-09fb-4e7b-9e0c-e778bd74b272:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.378s |
2022-02-21 21:37:04 |
2022-02-21 21:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:04 | ------------------------------------ 2022-02-21 21:37:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><item-id>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</item-id></data> 2022-02-21 21:37:04 | 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-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</value></node><item-id type="text-single" label="Item ID"><value>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</value></item-id><item type="text-multi" label="Item"><value><item id="item-02745f40-09fb-4e7b-9e0c-e778bd74b272"><test>item-02745f40-09fb-4e7b-9e0c-e778bd74b272</test></item></value></item></result> 2022-02-21 21:37:04 | [Mutex] notify: [retrieved:item:item-02745f40-09fb-4e7b-9e0c-e778bd74b272:payload-matches:true:localhost] 2022-02-21 21:37:04 | [Mutex] received everything. 2022-02-21 21:37:04 | [Mutex] isItemNotified: retrieved:item:item-02745f40-09fb-4e7b-9e0c-e778bd74b272:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-21 21:37:04 |
2022-02-21 21:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:04 | ------------------------------------ 2022-02-21 21:37:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-21 21:37:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d42bbe8d-74dd-47e8-a14f-502fe1433722</value><value>test</value><value>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-21 21:37:04 |
2022-02-21 21:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:04 | ------------------------------------ 2022-02-21 21:37:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c)</node-pattern></data> 2022-02-21 21:37:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.137s |
2022-02-21 21:37:03 |
2022-02-21 21:37:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:03 | ------------------------------------ 2022-02-21 21:37:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-21 21:37:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.275s |
2022-02-21 21:37:05 |
2022-02-21 21:37:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-21 21:37:05 | ------------------------------------ 2022-02-21 21:37:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-84dcd1ae-e0cb-40a2-87ff-1552c01fd50c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-21 21:37:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |