Test duration : 10.413s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.127s |
2021-05-14 06:40:19 |
2021-05-14 06:40:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:19 | ------------------------------------ 2021-05-14 06:40:19 | [Mutex] waiting for: [configured:node:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:node-511c34e6-f74c-4efe-97e2-6f2650abb2f3] 2021-05-14 06:40:19 | [Mutex] received everything. 2021-05-14 06:40:19 | [Mutex] isItemNotified: configured:node:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:node-511c34e6-f74c-4efe-97e2-6f2650abb2f3 :: true 2021-05-14 06:40:20 | [Mutex] waiting for: [received:nodes:08d96493-63f4-4c12-9c2f-17aa71f64e8d:localhost] 2021-05-14 06:40:20 | [Mutex] received everything. 2021-05-14 06:40:20 | [Mutex] isItemNotified: received:node:08d96493-63f4-4c12-9c2f-17aa71f64e8d:localhost:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23 :: true 2021-05-14 06:40:20 | [Mutex] waiting for: [received:nodes:d02ff708-5bc9-4b05-a6ab-fdc14ec2c605:localhost] 2021-05-14 06:40:20 | [Mutex] received everything. 2021-05-14 06:40:20 | [Mutex] isItemNotified: received:node:d02ff708-5bc9-4b05-a6ab-fdc14ec2c605:localhost:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23 :: false |
createNodes | 1.571s |
2021-05-14 06:40:16 |
2021-05-14 06:40:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:16 | ------------------------------------ 2021-05-14 06:40:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23</title></pubsub></data> 2021-05-14 06:40:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-14 06:40:18 | [Mutex] waiting for: [received:nodes:4f59de17-b25c-4aef-af16-71574cbfae4d:localhost] 2021-05-14 06:40:18 | [Mutex] received everything. 2021-05-14 06:40:18 | [Mutex] isItemNotified: received:node:4f59de17-b25c-4aef-af16-71574cbfae4d:localhost:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23 :: true |
createSubnodes | 1.028s |
2021-05-14 06:40:18 |
2021-05-14 06:40:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:18 | ------------------------------------ 2021-05-14 06:40:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-511c34e6-f74c-4efe-97e2-6f2650abb2f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 511c34e6-f74c-4efe-97e2-6f2650abb2f3</title></pubsub></data> 2021-05-14 06:40:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-14 06:40:19 | [Mutex] waiting for: [received:nodes:6e18eec2-5467-40e1-b9c4-c72bdcfa94a8:localhost] 2021-05-14 06:40:19 | [Mutex] received everything. 2021-05-14 06:40:19 | [Mutex] isItemNotified: received:node:6e18eec2-5467-40e1-b9c4-c72bdcfa94a8:localhost:node-511c34e6-f74c-4efe-97e2-6f2650abb2f3:Node 511c34e6-f74c-4efe-97e2-6f2650abb2f3 :: true |
deleteNodes | 1.021s |
2021-05-14 06:40:25 |
2021-05-14 06:40:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:25 | ------------------------------------ 2021-05-14 06:40:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-511c34e6-f74c-4efe-97e2-6f2650abb2f3</node></data> 2021-05-14 06:40:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-14 06:40:26 | [Mutex] waiting for: [received:nodes:ff14a4d3-003f-4268-af8a-6f38a3e61dbe:localhost] 2021-05-14 06:40:26 | [Mutex] waiting for: [received:nodes:ff14a4d3-003f-4268-af8a-6f38a3e61dbe:localhost] 2021-05-14 06:40:26 | [Mutex] received everything. 2021-05-14 06:40:26 | [Mutex] isItemNotified: received:node:ff14a4d3-003f-4268-af8a-6f38a3e61dbe:localhost:node-511c34e6-f74c-4efe-97e2-6f2650abb2f3:Node 511c34e6-f74c-4efe-97e2-6f2650abb2f3 :: false |
deleteSubnodes | 1.164s |
2021-05-14 06:40:24 |
2021-05-14 06:40:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:24 | ------------------------------------ 2021-05-14 06:40:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node></data> 2021-05-14 06:40:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-14 06:40:25 | [Mutex] waiting for: [received:nodes:35696c75-1a44-4dbe-840d-14a60609ac92:localhost] 2021-05-14 06:40:25 | [Mutex] received everything. 2021-05-14 06:40:25 | [Mutex] isItemNotified: received:node:35696c75-1a44-4dbe-840d-14a60609ac92:localhost:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23 :: false 2021-05-14 06:40:25 | [Mutex] waiting for: [received:nodes:84bac634-49f8-49be-a2f7-73a0c82f3ffa:localhost] 2021-05-14 06:40:25 | [Mutex] received everything. 2021-05-14 06:40:25 | [Mutex] isItemNotified: received:node:84bac634-49f8-49be-a2f7-73a0c82f3ffa:localhost:node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23:Node 61304c28-61b1-4cf6-bc7a-13fc6ed70f23 :: false |
publishItemsToNodes | 0.258s |
2021-05-14 06:40:21 |
2021-05-14 06:40:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:21 | ------------------------------------ 2021-05-14 06:40:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><item-id>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</item-id><entry><test>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</test></entry></data> 2021-05-14 06:40:21 | 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-d4fb54fe-c0bf-4f8d-9157-635d6989c716</value></item-id></result> 2021-05-14 06:40:21 | [Mutex] received everything. 2021-05-14 06:40:21 | [Mutex] isItemNotified: published:item:notifieditem-d4fb54fe-c0bf-4f8d-9157-635d6989c716:admin@test-domain.com :: true |
retractItemsFromNodes | 0.371s |
2021-05-14 06:40:22 |
2021-05-14 06:40:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:22 | ------------------------------------ 2021-05-14 06:40:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><item-id>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</item-id></data> 2021-05-14 06:40:22 | 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-d4fb54fe-c0bf-4f8d-9157-635d6989c716</value></item-id></result> 2021-05-14 06:40:22 | [Mutex] received everything. 2021-05-14 06:40:22 | [Mutex] isItemNotified: retracted:item:notifieditem-d4fb54fe-c0bf-4f8d-9157-635d6989c716:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.383s |
2021-05-14 06:40:21 |
2021-05-14 06:40:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:21 | ------------------------------------ 2021-05-14 06:40:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><item-id>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</item-id></data> 2021-05-14 06:40: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-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</value></node><item-id label="Item ID" type="text-single"><value>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</value></item-id><item label="Item" type="text-multi"><value><item id="item-d4fb54fe-c0bf-4f8d-9157-635d6989c716"><test>item-d4fb54fe-c0bf-4f8d-9157-635d6989c716</test></item></value></item></result> 2021-05-14 06:40:22 | [Mutex] notify: [retrieved:item:item-d4fb54fe-c0bf-4f8d-9157-635d6989c716:payload-matches:true:localhost] 2021-05-14 06:40:22 | [Mutex] received everything. 2021-05-14 06:40:22 | [Mutex] isItemNotified: retrieved:item:item-d4fb54fe-c0bf-4f8d-9157-635d6989c716:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-14 06:40:22 |
2021-05-14 06:40:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:22 | ------------------------------------ 2021-05-14 06:40:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-14 06:40:22 | 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-511c34e6-f74c-4efe-97e2-6f2650abb2f3</value><value>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-05-14 06:40:22 |
2021-05-14 06:40:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:22 | ------------------------------------ 2021-05-14 06:40:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23)</node-pattern></data> 2021-05-14 06:40:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.141s |
2021-05-14 06:40:20 |
2021-05-14 06:40:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:20 | ------------------------------------ 2021-05-14 06:40:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-14 06:40:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2021-05-14 06:40:22 |
2021-05-14 06:40:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-14 06:40:22 | ------------------------------------ 2021-05-14 06:40:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-61304c28-61b1-4cf6-bc7a-13fc6ed70f23</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-14 06:40:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |