Test duration : 9.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.079s |
2022-07-24 23:04:44 |
2022-07-24 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:44 | ------------------------------------ 2022-07-24 23:04:44 | [Mutex] waiting for: [configured:node:node-89e5facf-2858-40e8-927f-51a7ba03adac:node-61a8c8a4-59fc-4c51-948a-d7c377983a55] 2022-07-24 23:04:44 | [Mutex] received everything. 2022-07-24 23:04:44 | [Mutex] isItemNotified: configured:node:node-89e5facf-2858-40e8-927f-51a7ba03adac:node-61a8c8a4-59fc-4c51-948a-d7c377983a55 :: true 2022-07-24 23:04:45 | [Mutex] waiting for: [received:nodes:5f7bd611-51bd-4a29-98b4-d518e80330ca:localhost] 2022-07-24 23:04:45 | [Mutex] received everything. 2022-07-24 23:04:45 | [Mutex] isItemNotified: received:node:5f7bd611-51bd-4a29-98b4-d518e80330ca:localhost:node-89e5facf-2858-40e8-927f-51a7ba03adac:Node 89e5facf-2858-40e8-927f-51a7ba03adac :: true 2022-07-24 23:04:45 | [Mutex] waiting for: [received:nodes:70ec343f-9ee4-41d0-b39f-8987c80d3199:localhost] 2022-07-24 23:04:45 | [Mutex] received everything. 2022-07-24 23:04:45 | [Mutex] isItemNotified: received:node:70ec343f-9ee4-41d0-b39f-8987c80d3199:localhost:node-89e5facf-2858-40e8-927f-51a7ba03adac:Node 89e5facf-2858-40e8-927f-51a7ba03adac :: false |
createNodes | 1.454s |
2022-07-24 23:04:41 |
2022-07-24 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:41 | ------------------------------------ 2022-07-24 23:04:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 89e5facf-2858-40e8-927f-51a7ba03adac</title></pubsub></data> 2022-07-24 23:04:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 23:04:43 | [Mutex] waiting for: [received:nodes:18376f37-133b-45a3-8fc3-adb9cb0c706c:localhost] 2022-07-24 23:04:43 | [Mutex] waiting for: [received:nodes:18376f37-133b-45a3-8fc3-adb9cb0c706c:localhost] 2022-07-24 23:04:43 | [Mutex] received everything. 2022-07-24 23:04:43 | [Mutex] isItemNotified: received:node:18376f37-133b-45a3-8fc3-adb9cb0c706c:localhost:node-89e5facf-2858-40e8-927f-51a7ba03adac:Node 89e5facf-2858-40e8-927f-51a7ba03adac :: true |
createSubnodes | 1.029s |
2022-07-24 23:04:43 |
2022-07-24 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:43 | ------------------------------------ 2022-07-24 23:04:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-61a8c8a4-59fc-4c51-948a-d7c377983a55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 61a8c8a4-59fc-4c51-948a-d7c377983a55</title></pubsub></data> 2022-07-24 23:04:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 23:04:44 | [Mutex] waiting for: [received:nodes:94c0f9de-9636-4424-b87e-c1e9faa0d8e1:localhost] 2022-07-24 23:04:44 | [Mutex] waiting for: [received:nodes:94c0f9de-9636-4424-b87e-c1e9faa0d8e1:localhost] 2022-07-24 23:04:44 | [Mutex] received everything. 2022-07-24 23:04:44 | [Mutex] isItemNotified: received:node:94c0f9de-9636-4424-b87e-c1e9faa0d8e1:localhost:node-61a8c8a4-59fc-4c51-948a-d7c377983a55:Node 61a8c8a4-59fc-4c51-948a-d7c377983a55 :: true |
deleteNodes | 1.017s |
2022-07-24 23:04:49 |
2022-07-24 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:49 | ------------------------------------ 2022-07-24 23:04:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-61a8c8a4-59fc-4c51-948a-d7c377983a55</node></data> 2022-07-24 23:04:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 23:04:50 | [Mutex] waiting for: [received:nodes:396e5dcc-b5a9-4ffc-bdec-33d3bf4361e9:localhost] 2022-07-24 23:04:50 | [Mutex] received everything. 2022-07-24 23:04:50 | [Mutex] isItemNotified: received:node:396e5dcc-b5a9-4ffc-bdec-33d3bf4361e9:localhost:node-61a8c8a4-59fc-4c51-948a-d7c377983a55:Node 61a8c8a4-59fc-4c51-948a-d7c377983a55 :: false |
deleteSubnodes | 1.112s |
2022-07-24 23:04:48 |
2022-07-24 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:48 | ------------------------------------ 2022-07-24 23:04:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node></data> 2022-07-24 23:04:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-24 23:04:49 | [Mutex] waiting for: [received:nodes:f73097f8-446c-4a3b-b552-b89fd97e9f40:localhost] 2022-07-24 23:04:49 | [Mutex] received everything. 2022-07-24 23:04:49 | [Mutex] isItemNotified: received:node:f73097f8-446c-4a3b-b552-b89fd97e9f40:localhost:node-89e5facf-2858-40e8-927f-51a7ba03adac:Node 89e5facf-2858-40e8-927f-51a7ba03adac :: false 2022-07-24 23:04:49 | [Mutex] waiting for: [received:nodes:8277fce4-9950-450b-8a56-e57f799dc989:localhost] 2022-07-24 23:04:49 | [Mutex] received everything. 2022-07-24 23:04:49 | [Mutex] isItemNotified: received:node:8277fce4-9950-450b-8a56-e57f799dc989:localhost:node-89e5facf-2858-40e8-927f-51a7ba03adac:Node 89e5facf-2858-40e8-927f-51a7ba03adac :: false |
publishItemsToNodes | 0.240s |
2022-07-24 23:04:46 |
2022-07-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:46 | ------------------------------------ 2022-07-24 23:04:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><item-id>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</item-id><entry><test>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</test></entry></data> 2022-07-24 23:04:46 | 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-4c1631f1-6547-4015-9a52-6ab1cb75e370</value></item-id></result> 2022-07-24 23:04:46 | [Mutex] waiting for: [published:item:notifieditem-4c1631f1-6547-4015-9a52-6ab1cb75e370:admin@test-domain.com] 2022-07-24 23:04:46 | [Mutex] received everything. 2022-07-24 23:04:46 | [Mutex] isItemNotified: published:item:notifieditem-4c1631f1-6547-4015-9a52-6ab1cb75e370:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2022-07-24 23:04:46 |
2022-07-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:46 | ------------------------------------ 2022-07-24 23:04:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><item-id>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</item-id></data> 2022-07-24 23:04:47 | 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-4c1631f1-6547-4015-9a52-6ab1cb75e370</value></item-id></result> 2022-07-24 23:04:47 | [Mutex] received everything. 2022-07-24 23:04:47 | [Mutex] isItemNotified: retracted:item:notifieditem-4c1631f1-6547-4015-9a52-6ab1cb75e370:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-07-24 23:04:46 |
2022-07-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:46 | ------------------------------------ 2022-07-24 23:04:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><item-id>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</item-id></data> 2022-07-24 23:04:46 | 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-89e5facf-2858-40e8-927f-51a7ba03adac</value></node><item-id type="text-single" label="Item ID"><value>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</value></item-id><item type="text-multi" label="Item"><value><item id="item-4c1631f1-6547-4015-9a52-6ab1cb75e370"><test>item-4c1631f1-6547-4015-9a52-6ab1cb75e370</test></item></value></item></result> 2022-07-24 23:04:46 | [Mutex] notify: [retrieved:item:item-4c1631f1-6547-4015-9a52-6ab1cb75e370:payload-matches:true:localhost] 2022-07-24 23:04:46 | [Mutex] received everything. 2022-07-24 23:04:46 | [Mutex] isItemNotified: retrieved:item:item-4c1631f1-6547-4015-9a52-6ab1cb75e370:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-07-24 23:04:46 |
2022-07-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:46 | ------------------------------------ 2022-07-24 23:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-24 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-61a8c8a4-59fc-4c51-948a-d7c377983a55</value><value>test</value><value>node-89e5facf-2858-40e8-927f-51a7ba03adac</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-24 23:04:46 |
2022-07-24 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:46 | ------------------------------------ 2022-07-24 23:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-89e5facf-2858-40e8-927f-51a7ba03adac)</node-pattern></data> 2022-07-24 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2022-07-24 23:04:45 |
2022-07-24 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:45 | ------------------------------------ 2022-07-24 23:04:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-24 23:04:45 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2022-07-24 23:04:47 |
2022-07-24 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-24 23:04:47 | ------------------------------------ 2022-07-24 23:04:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-89e5facf-2858-40e8-927f-51a7ba03adac</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-24 23:04:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |