Test duration : 10.197s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2021-12-06 21:42:00 |
2021-12-06 21:42:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:00 | ------------------------------------ 2021-12-06 21:42:00 | [Mutex] waiting for: [configured:node:node-4838b342-4166-4077-b050-aff535448f22:node-b89f573a-3c3a-4ad2-86b0-983fe4b17941] 2021-12-06 21:42:00 | [Mutex] received everything. 2021-12-06 21:42:00 | [Mutex] isItemNotified: configured:node:node-4838b342-4166-4077-b050-aff535448f22:node-b89f573a-3c3a-4ad2-86b0-983fe4b17941 :: true 2021-12-06 21:42:01 | [Mutex] waiting for: [received:nodes:d030e9f3-338f-46e0-8102-a6d5c92317e9:localhost] 2021-12-06 21:42:01 | [Mutex] waiting for: [received:nodes:d030e9f3-338f-46e0-8102-a6d5c92317e9:localhost] 2021-12-06 21:42:01 | [Mutex] received everything. 2021-12-06 21:42:01 | [Mutex] isItemNotified: received:node:d030e9f3-338f-46e0-8102-a6d5c92317e9:localhost:node-4838b342-4166-4077-b050-aff535448f22:Node 4838b342-4166-4077-b050-aff535448f22 :: true 2021-12-06 21:42:01 | [Mutex] waiting for: [received:nodes:b4f1897f-4a66-45e2-8d8d-f2a8dee2f3f8:localhost] 2021-12-06 21:42:01 | [Mutex] received everything. 2021-12-06 21:42:01 | [Mutex] isItemNotified: received:node:b4f1897f-4a66-45e2-8d8d-f2a8dee2f3f8:localhost:node-4838b342-4166-4077-b050-aff535448f22:Node 4838b342-4166-4077-b050-aff535448f22 :: false |
createNodes | 1.637s |
2021-12-06 21:41:57 |
2021-12-06 21:41:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:41:57 | ------------------------------------ 2021-12-06 21:41:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4838b342-4166-4077-b050-aff535448f22</title></pubsub></data> 2021-12-06 21:41:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:41:59 | [Mutex] waiting for: [received:nodes:b84f4134-ff24-47aa-9ed0-274e91978a2d:localhost] 2021-12-06 21:41:59 | [Mutex] received everything. 2021-12-06 21:41:59 | [Mutex] isItemNotified: received:node:b84f4134-ff24-47aa-9ed0-274e91978a2d:localhost:node-4838b342-4166-4077-b050-aff535448f22:Node 4838b342-4166-4077-b050-aff535448f22 :: true |
createSubnodes | 1.031s |
2021-12-06 21:41:59 |
2021-12-06 21:41:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:41:59 | ------------------------------------ 2021-12-06 21:41:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b89f573a-3c3a-4ad2-86b0-983fe4b17941</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b89f573a-3c3a-4ad2-86b0-983fe4b17941</title></pubsub></data> 2021-12-06 21:41:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:42:00 | [Mutex] waiting for: [received:nodes:f537273f-82c9-4db8-9c14-779eff671c7d:localhost] 2021-12-06 21:42:00 | [Mutex] received everything. 2021-12-06 21:42:00 | [Mutex] isItemNotified: received:node:f537273f-82c9-4db8-9c14-779eff671c7d:localhost:node-b89f573a-3c3a-4ad2-86b0-983fe4b17941:Node b89f573a-3c3a-4ad2-86b0-983fe4b17941 :: true |
deleteNodes | 1.019s |
2021-12-06 21:42:06 |
2021-12-06 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:06 | ------------------------------------ 2021-12-06 21:42:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b89f573a-3c3a-4ad2-86b0-983fe4b17941</node></data> 2021-12-06 21:42:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:42:07 | [Mutex] waiting for: [received:nodes:58c08aa7-b2e7-46c1-b79a-e650b0d8b02c:localhost] 2021-12-06 21:42:07 | [Mutex] received everything. 2021-12-06 21:42:07 | [Mutex] isItemNotified: received:node:58c08aa7-b2e7-46c1-b79a-e650b0d8b02c:localhost:node-b89f573a-3c3a-4ad2-86b0-983fe4b17941:Node b89f573a-3c3a-4ad2-86b0-983fe4b17941 :: false |
deleteSubnodes | 1.135s |
2021-12-06 21:42:05 |
2021-12-06 21:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:05 | ------------------------------------ 2021-12-06 21:42:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node></data> 2021-12-06 21:42:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:42:06 | [Mutex] waiting for: [received:nodes:4a2464d1-02b4-4490-8b57-38c11967de14:localhost] 2021-12-06 21:42:06 | [Mutex] received everything. 2021-12-06 21:42:06 | [Mutex] isItemNotified: received:node:4a2464d1-02b4-4490-8b57-38c11967de14:localhost:node-4838b342-4166-4077-b050-aff535448f22:Node 4838b342-4166-4077-b050-aff535448f22 :: false 2021-12-06 21:42:06 | [Mutex] waiting for: [received:nodes:505e2577-69c6-4681-bedf-22c327ca2d7b:localhost] 2021-12-06 21:42:06 | [Mutex] received everything. 2021-12-06 21:42:06 | [Mutex] isItemNotified: received:node:505e2577-69c6-4681-bedf-22c327ca2d7b:localhost:node-4838b342-4166-4077-b050-aff535448f22:Node 4838b342-4166-4077-b050-aff535448f22 :: false |
publishItemsToNodes | 0.222s |
2021-12-06 21:42:02 |
2021-12-06 21:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:02 | ------------------------------------ 2021-12-06 21:42:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><item-id>item-3972ab37-3089-411e-9727-420b70e0932a</item-id><entry><test>item-3972ab37-3089-411e-9727-420b70e0932a</test></entry></data> 2021-12-06 21:42:03 | 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-3972ab37-3089-411e-9727-420b70e0932a</value></item-id></result> 2021-12-06 21:42:03 | [Mutex] waiting for: [published:item:notifieditem-3972ab37-3089-411e-9727-420b70e0932a:admin@test-domain.com] 2021-12-06 21:42:03 | [Mutex] received everything. 2021-12-06 21:42:03 | [Mutex] isItemNotified: published:item:notifieditem-3972ab37-3089-411e-9727-420b70e0932a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.335s |
2021-12-06 21:42:03 |
2021-12-06 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:03 | ------------------------------------ 2021-12-06 21:42:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><item-id>item-3972ab37-3089-411e-9727-420b70e0932a</item-id></data> 2021-12-06 21:42:03 | 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-3972ab37-3089-411e-9727-420b70e0932a</value></item-id></result> 2021-12-06 21:42:03 | [Mutex] received everything. 2021-12-06 21:42:03 | [Mutex] isItemNotified: retracted:item:notifieditem-3972ab37-3089-411e-9727-420b70e0932a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.271s |
2021-12-06 21:42:03 |
2021-12-06 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:03 | ------------------------------------ 2021-12-06 21:42:03 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><item-id>item-3972ab37-3089-411e-9727-420b70e0932a</item-id></data> 2021-12-06 21:42:03 | 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-4838b342-4166-4077-b050-aff535448f22</value></node><item-id type="text-single" label="Item ID"><value>item-3972ab37-3089-411e-9727-420b70e0932a</value></item-id><item type="text-multi" label="Item"><value><item id="item-3972ab37-3089-411e-9727-420b70e0932a"><test>item-3972ab37-3089-411e-9727-420b70e0932a</test></item></value></item></result> 2021-12-06 21:42:03 | [Mutex] notify: [retrieved:item:item-3972ab37-3089-411e-9727-420b70e0932a:payload-matches:true:localhost] 2021-12-06 21:42:03 | [Mutex] received everything. 2021-12-06 21:42:03 | [Mutex] isItemNotified: retrieved:item:item-3972ab37-3089-411e-9727-420b70e0932a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2021-12-06 21:42:03 |
2021-12-06 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:03 | ------------------------------------ 2021-12-06 21:42:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-06 21:42:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b89f573a-3c3a-4ad2-86b0-983fe4b17941</value><value>node-4838b342-4166-4077-b050-aff535448f22</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-12-06 21:42:03 |
2021-12-06 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:03 | ------------------------------------ 2021-12-06 21:42:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4838b342-4166-4077-b050-aff535448f22)</node-pattern></data> 2021-12-06 21:42:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.155s |
2021-12-06 21:42:01 |
2021-12-06 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:01 | ------------------------------------ 2021-12-06 21:42:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 21:42:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.243s |
2021-12-06 21:42:03 |
2021-12-06 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:42:03 | ------------------------------------ 2021-12-06 21:42:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4838b342-4166-4077-b050-aff535448f22</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 21:42:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |