Test duration : 9.423s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-12-25 21:30:28 |
2022-12-25 21:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:28 | ------------------------------------ 2022-12-25 21:30:28 | [Mutex] waiting for: [configured:node:node-c96e880f-0ac1-4a60-82d7-6f022375d654:node-ac85f0f3-5be1-4336-984c-7ecc8799e213] 2022-12-25 21:30:28 | [Mutex] received everything. 2022-12-25 21:30:28 | [Mutex] isItemNotified: configured:node:node-c96e880f-0ac1-4a60-82d7-6f022375d654:node-ac85f0f3-5be1-4336-984c-7ecc8799e213 :: true 2022-12-25 21:30:29 | [Mutex] waiting for: [received:nodes:4387ff27-24d3-418b-94e1-5d3a3d45c9e8:localhost] 2022-12-25 21:30:29 | [Mutex] received everything. 2022-12-25 21:30:29 | [Mutex] isItemNotified: received:node:4387ff27-24d3-418b-94e1-5d3a3d45c9e8:localhost:node-c96e880f-0ac1-4a60-82d7-6f022375d654:Node c96e880f-0ac1-4a60-82d7-6f022375d654 :: true 2022-12-25 21:30:29 | [Mutex] waiting for: [received:nodes:c7250bf7-8885-4f2a-ac80-199e018cd7a0:localhost] 2022-12-25 21:30:29 | [Mutex] waiting for: [received:nodes:c7250bf7-8885-4f2a-ac80-199e018cd7a0:localhost] 2022-12-25 21:30:29 | [Mutex] waiting for: [received:nodes:c7250bf7-8885-4f2a-ac80-199e018cd7a0:localhost] 2022-12-25 21:30:29 | [Mutex] waiting for: [received:nodes:c7250bf7-8885-4f2a-ac80-199e018cd7a0:localhost] 2022-12-25 21:30:29 | [Mutex] received everything. 2022-12-25 21:30:29 | [Mutex] isItemNotified: received:node:c7250bf7-8885-4f2a-ac80-199e018cd7a0:localhost:node-c96e880f-0ac1-4a60-82d7-6f022375d654:Node c96e880f-0ac1-4a60-82d7-6f022375d654 :: false |
createNodes | 1.412s |
2022-12-25 21:30:26 |
2022-12-25 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:26 | ------------------------------------ 2022-12-25 21:30:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c96e880f-0ac1-4a60-82d7-6f022375d654</title></pubsub></data> 2022-12-25 21:30:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:30:27 | [Mutex] waiting for: [received:nodes:a19e6019-7d32-4c74-84e4-90d110fa3a10:localhost] 2022-12-25 21:30:27 | [Mutex] waiting for: [received:nodes:a19e6019-7d32-4c74-84e4-90d110fa3a10:localhost] 2022-12-25 21:30:27 | [Mutex] waiting for: [received:nodes:a19e6019-7d32-4c74-84e4-90d110fa3a10:localhost] 2022-12-25 21:30:27 | [Mutex] waiting for: [received:nodes:a19e6019-7d32-4c74-84e4-90d110fa3a10:localhost] 2022-12-25 21:30:27 | [Mutex] received everything. 2022-12-25 21:30:27 | [Mutex] isItemNotified: received:node:a19e6019-7d32-4c74-84e4-90d110fa3a10:localhost:node-c96e880f-0ac1-4a60-82d7-6f022375d654:Node c96e880f-0ac1-4a60-82d7-6f022375d654 :: true |
createSubnodes | 1.068s |
2022-12-25 21:30:27 |
2022-12-25 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:27 | ------------------------------------ 2022-12-25 21:30:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ac85f0f3-5be1-4336-984c-7ecc8799e213</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ac85f0f3-5be1-4336-984c-7ecc8799e213</title></pubsub></data> 2022-12-25 21:30:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:30:28 | [Mutex] waiting for: [received:nodes:a2059ce2-e9c7-4678-9a8d-176f02d90a4f:localhost] 2022-12-25 21:30:28 | [Mutex] waiting for: [received:nodes:a2059ce2-e9c7-4678-9a8d-176f02d90a4f:localhost] 2022-12-25 21:30:28 | [Mutex] waiting for: [received:nodes:a2059ce2-e9c7-4678-9a8d-176f02d90a4f:localhost] 2022-12-25 21:30:28 | [Mutex] waiting for: [received:nodes:a2059ce2-e9c7-4678-9a8d-176f02d90a4f:localhost] 2022-12-25 21:30:28 | [Mutex] received everything. 2022-12-25 21:30:28 | [Mutex] isItemNotified: received:node:a2059ce2-e9c7-4678-9a8d-176f02d90a4f:localhost:node-ac85f0f3-5be1-4336-984c-7ecc8799e213:Node ac85f0f3-5be1-4336-984c-7ecc8799e213 :: true |
deleteNodes | 1.019s |
2022-12-25 21:30:33 |
2022-12-25 21:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:33 | ------------------------------------ 2022-12-25 21:30:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ac85f0f3-5be1-4336-984c-7ecc8799e213</node></data> 2022-12-25 21:30:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:30:34 | [Mutex] waiting for: [received:nodes:2079a24c-91a6-467f-90cb-ffa426362cf5:localhost] 2022-12-25 21:30:34 | [Mutex] waiting for: [received:nodes:2079a24c-91a6-467f-90cb-ffa426362cf5:localhost] 2022-12-25 21:30:34 | [Mutex] waiting for: [received:nodes:2079a24c-91a6-467f-90cb-ffa426362cf5:localhost] 2022-12-25 21:30:34 | [Mutex] received everything. 2022-12-25 21:30:34 | [Mutex] isItemNotified: received:node:2079a24c-91a6-467f-90cb-ffa426362cf5:localhost:node-ac85f0f3-5be1-4336-984c-7ecc8799e213:Node ac85f0f3-5be1-4336-984c-7ecc8799e213 :: false |
deleteSubnodes | 1.122s |
2022-12-25 21:30:32 |
2022-12-25 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:32 | ------------------------------------ 2022-12-25 21:30:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node></data> 2022-12-25 21:30:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-25 21:30:33 | [Mutex] waiting for: [received:nodes:f6968b83-37e2-4fac-a381-918c0fa570da:localhost] 2022-12-25 21:30:33 | [Mutex] waiting for: [received:nodes:f6968b83-37e2-4fac-a381-918c0fa570da:localhost] 2022-12-25 21:30:33 | [Mutex] waiting for: [received:nodes:f6968b83-37e2-4fac-a381-918c0fa570da:localhost] 2022-12-25 21:30:33 | [Mutex] waiting for: [received:nodes:f6968b83-37e2-4fac-a381-918c0fa570da:localhost] 2022-12-25 21:30:33 | [Mutex] received everything. 2022-12-25 21:30:33 | [Mutex] isItemNotified: received:node:f6968b83-37e2-4fac-a381-918c0fa570da:localhost:node-c96e880f-0ac1-4a60-82d7-6f022375d654:Node c96e880f-0ac1-4a60-82d7-6f022375d654 :: false 2022-12-25 21:30:33 | [Mutex] waiting for: [received:nodes:e885645a-cfb4-465d-b6e9-43117512d0a4:localhost] 2022-12-25 21:30:33 | [Mutex] received everything. 2022-12-25 21:30:33 | [Mutex] isItemNotified: received:node:e885645a-cfb4-465d-b6e9-43117512d0a4:localhost:node-c96e880f-0ac1-4a60-82d7-6f022375d654:Node c96e880f-0ac1-4a60-82d7-6f022375d654 :: false |
publishItemsToNodes | 0.191s |
2022-12-25 21:30:30 |
2022-12-25 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:30 | ------------------------------------ 2022-12-25 21:30:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><item-id>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</item-id><entry><test>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</test></entry></data> 2022-12-25 21:30:30 | 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-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</value></item-id></result> 2022-12-25 21:30:30 | [Mutex] waiting for: [published:item:notifieditem-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:admin@test-domain.com] 2022-12-25 21:30:30 | [Mutex] received everything. 2022-12-25 21:30:30 | [Mutex] isItemNotified: published:item:notifieditem-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:admin@test-domain.com :: true |
retractItemsFromNodes | 0.245s |
2022-12-25 21:30:31 |
2022-12-25 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:31 | ------------------------------------ 2022-12-25 21:30:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><item-id>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</item-id></data> 2022-12-25 21:30:31 | 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-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</value></item-id></result> 2022-12-25 21:30:31 | [Mutex] waiting for: [retracted:item:notifieditem-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:admin@test-domain.com] 2022-12-25 21:30:31 | [Mutex] received everything. 2022-12-25 21:30:31 | [Mutex] isItemNotified: retracted:item:notifieditem-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.225s |
2022-12-25 21:30:30 |
2022-12-25 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:30 | ------------------------------------ 2022-12-25 21:30:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><item-id>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</item-id></data> 2022-12-25 21:30:31 | 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-c96e880f-0ac1-4a60-82d7-6f022375d654</value></node><item-id label="Item ID" type="text-single"><value>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</value></item-id><item label="Item" type="text-multi"><value><item id="item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058"><test>item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058</test></item></value></item></result> 2022-12-25 21:30:31 | [Mutex] notify: [retrieved:item:item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:payload-matches:true:localhost] 2022-12-25 21:30:31 | [Mutex] received everything. 2022-12-25 21:30:31 | [Mutex] isItemNotified: retrieved:item:item-92f484c2-5ef9-4fa5-8c59-3a315ff7c058:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-12-25 21:30:31 |
2022-12-25 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:31 | ------------------------------------ 2022-12-25 21:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-25 21:30:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c96e880f-0ac1-4a60-82d7-6f022375d654</value><value>node-ac85f0f3-5be1-4336-984c-7ecc8799e213</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-25 21:30:31 |
2022-12-25 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:31 | ------------------------------------ 2022-12-25 21:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c96e880f-0ac1-4a60-82d7-6f022375d654)</node-pattern></data> 2022-12-25 21:30:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.101s |
2022-12-25 21:30:29 |
2022-12-25 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:29 | ------------------------------------ 2022-12-25 21:30:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-25 21:30:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.269s |
2022-12-25 21:30:31 |
2022-12-25 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-25 21:30:31 | ------------------------------------ 2022-12-25 21:30:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c96e880f-0ac1-4a60-82d7-6f022375d654</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-25 21:30:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |