Test duration : 9.743s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2022-06-14 22:46:02 |
2022-06-14 22:46:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:02 | ------------------------------------ 2022-06-14 22:46:02 | [Mutex] waiting for: [configured:node:node-53676b58-770c-47e3-9bf1-8c84e1579496:node-c18ed7e2-d945-44b4-a2cd-414d545fcab6] 2022-06-14 22:46:02 | [Mutex] received everything. 2022-06-14 22:46:02 | [Mutex] isItemNotified: configured:node:node-53676b58-770c-47e3-9bf1-8c84e1579496:node-c18ed7e2-d945-44b4-a2cd-414d545fcab6 :: true 2022-06-14 22:46:03 | [Mutex] waiting for: [received:nodes:0ebbeaf7-7fa2-414d-b374-acf06ed8808f:localhost] 2022-06-14 22:46:03 | [Mutex] received everything. 2022-06-14 22:46:03 | [Mutex] isItemNotified: received:node:0ebbeaf7-7fa2-414d-b374-acf06ed8808f:localhost:node-53676b58-770c-47e3-9bf1-8c84e1579496:Node 53676b58-770c-47e3-9bf1-8c84e1579496 :: true 2022-06-14 22:46:03 | [Mutex] waiting for: [received:nodes:f1ca1a51-9fe7-4a18-aefc-edfea01bb611:localhost] 2022-06-14 22:46:03 | [Mutex] waiting for: [received:nodes:f1ca1a51-9fe7-4a18-aefc-edfea01bb611:localhost] 2022-06-14 22:46:03 | [Mutex] received everything. 2022-06-14 22:46:03 | [Mutex] isItemNotified: received:node:f1ca1a51-9fe7-4a18-aefc-edfea01bb611:localhost:node-53676b58-770c-47e3-9bf1-8c84e1579496:Node 53676b58-770c-47e3-9bf1-8c84e1579496 :: false |
createNodes | 1.516s |
2022-06-14 22:46:00 |
2022-06-14 22:46:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:00 | ------------------------------------ 2022-06-14 22:46:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53676b58-770c-47e3-9bf1-8c84e1579496</title></pubsub></data> 2022-06-14 22:46:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-14 22:46:01 | [Mutex] waiting for: [received:nodes:6d0d00f0-495c-4523-89a1-34a9f6462e70:localhost] 2022-06-14 22:46:01 | [Mutex] waiting for: [received:nodes:6d0d00f0-495c-4523-89a1-34a9f6462e70:localhost] 2022-06-14 22:46:01 | [Mutex] received everything. 2022-06-14 22:46:01 | [Mutex] isItemNotified: received:node:6d0d00f0-495c-4523-89a1-34a9f6462e70:localhost:node-53676b58-770c-47e3-9bf1-8c84e1579496:Node 53676b58-770c-47e3-9bf1-8c84e1579496 :: true |
createSubnodes | 1.025s |
2022-06-14 22:46:01 |
2022-06-14 22:46:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:01 | ------------------------------------ 2022-06-14 22:46:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c18ed7e2-d945-44b4-a2cd-414d545fcab6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c18ed7e2-d945-44b4-a2cd-414d545fcab6</title></pubsub></data> 2022-06-14 22:46:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-14 22:46:02 | [Mutex] waiting for: [received:nodes:ec18b5ce-6642-43b0-8836-a9bc0d265cd3:localhost] 2022-06-14 22:46:02 | [Mutex] waiting for: [received:nodes:ec18b5ce-6642-43b0-8836-a9bc0d265cd3:localhost] 2022-06-14 22:46:02 | [Mutex] waiting for: [received:nodes:ec18b5ce-6642-43b0-8836-a9bc0d265cd3:localhost] 2022-06-14 22:46:02 | [Mutex] waiting for: [received:nodes:ec18b5ce-6642-43b0-8836-a9bc0d265cd3:localhost] 2022-06-14 22:46:02 | [Mutex] received everything. 2022-06-14 22:46:02 | [Mutex] isItemNotified: received:node:ec18b5ce-6642-43b0-8836-a9bc0d265cd3:localhost:node-c18ed7e2-d945-44b4-a2cd-414d545fcab6:Node c18ed7e2-d945-44b4-a2cd-414d545fcab6 :: true |
deleteNodes | 1.018s |
2022-06-14 22:46:08 |
2022-06-14 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:08 | ------------------------------------ 2022-06-14 22:46:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c18ed7e2-d945-44b4-a2cd-414d545fcab6</node></data> 2022-06-14 22:46:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-14 22:46:09 | [Mutex] waiting for: [received:nodes:3f5ed9d6-c893-44f8-b7ac-73ad90e41cc8:localhost] 2022-06-14 22:46:09 | [Mutex] received everything. 2022-06-14 22:46:09 | [Mutex] isItemNotified: received:node:3f5ed9d6-c893-44f8-b7ac-73ad90e41cc8:localhost:node-c18ed7e2-d945-44b4-a2cd-414d545fcab6:Node c18ed7e2-d945-44b4-a2cd-414d545fcab6 :: false |
deleteSubnodes | 1.163s |
2022-06-14 22:46:07 |
2022-06-14 22:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:07 | ------------------------------------ 2022-06-14 22:46:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node></data> 2022-06-14 22:46:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-14 22:46:08 | [Mutex] waiting for: [received:nodes:7a77c94d-b977-4c47-993c-109daab7d869:localhost] 2022-06-14 22:46:08 | [Mutex] received everything. 2022-06-14 22:46:08 | [Mutex] isItemNotified: received:node:7a77c94d-b977-4c47-993c-109daab7d869:localhost:node-53676b58-770c-47e3-9bf1-8c84e1579496:Node 53676b58-770c-47e3-9bf1-8c84e1579496 :: false 2022-06-14 22:46:08 | [Mutex] waiting for: [received:nodes:e3029768-0aaa-4123-b1d8-db719883ea4c:localhost] 2022-06-14 22:46:08 | [Mutex] received everything. 2022-06-14 22:46:08 | [Mutex] isItemNotified: received:node:e3029768-0aaa-4123-b1d8-db719883ea4c:localhost:node-53676b58-770c-47e3-9bf1-8c84e1579496:Node 53676b58-770c-47e3-9bf1-8c84e1579496 :: false |
publishItemsToNodes | 0.271s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><item-id>item-1aaef64e-2a75-491f-8f25-e003291a1801</item-id><entry><test>item-1aaef64e-2a75-491f-8f25-e003291a1801</test></entry></data> 2022-06-14 22:46:05 | 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-1aaef64e-2a75-491f-8f25-e003291a1801</value></item-id></result> 2022-06-14 22:46:05 | [Mutex] waiting for: [published:item:notifieditem-1aaef64e-2a75-491f-8f25-e003291a1801:admin@test-domain.com] 2022-06-14 22:46:05 | [Mutex] received everything. 2022-06-14 22:46:05 | [Mutex] isItemNotified: published:item:notifieditem-1aaef64e-2a75-491f-8f25-e003291a1801:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><item-id>item-1aaef64e-2a75-491f-8f25-e003291a1801</item-id></data> 2022-06-14 22:46:05 | 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-1aaef64e-2a75-491f-8f25-e003291a1801</value></item-id></result> 2022-06-14 22:46:05 | [Mutex] waiting for: [retracted:item:notifieditem-1aaef64e-2a75-491f-8f25-e003291a1801:admin@test-domain.com] 2022-06-14 22:46:05 | [Mutex] received everything. 2022-06-14 22:46:05 | [Mutex] isItemNotified: retracted:item:notifieditem-1aaef64e-2a75-491f-8f25-e003291a1801:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.196s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><item-id>item-1aaef64e-2a75-491f-8f25-e003291a1801</item-id></data> 2022-06-14 22:46:05 | 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-53676b58-770c-47e3-9bf1-8c84e1579496</value></node><item-id label="Item ID" type="text-single"><value>item-1aaef64e-2a75-491f-8f25-e003291a1801</value></item-id><item label="Item" type="text-multi"><value><item id="item-1aaef64e-2a75-491f-8f25-e003291a1801"><test>item-1aaef64e-2a75-491f-8f25-e003291a1801</test></item></value></item></result> 2022-06-14 22:46:05 | [Mutex] notify: [retrieved:item:item-1aaef64e-2a75-491f-8f25-e003291a1801:payload-matches:true:localhost] 2022-06-14 22:46:05 | [Mutex] received everything. 2022-06-14 22:46:05 | [Mutex] isItemNotified: retrieved:item:item-1aaef64e-2a75-491f-8f25-e003291a1801:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-14 22:46:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-c18ed7e2-d945-44b4-a2cd-414d545fcab6</value><value>node-53676b58-770c-47e3-9bf1-8c84e1579496</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53676b58-770c-47e3-9bf1-8c84e1579496)</node-pattern></data> 2022-06-14 22:46:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2022-06-14 22:46:03 |
2022-06-14 22:46:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:03 | ------------------------------------ 2022-06-14 22:46:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-14 22:46:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-06-14 22:46:05 |
2022-06-14 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-14 22:46:05 | ------------------------------------ 2022-06-14 22:46:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-53676b58-770c-47e3-9bf1-8c84e1579496</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-14 22:46:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |