Test duration : 9.494s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-11-16 21:33:47 |
2022-11-16 21:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:47 | ------------------------------------ 2022-11-16 21:33:47 | [Mutex] waiting for: [configured:node:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:node-93d01e61-5a15-491f-8c79-4187946d970f] 2022-11-16 21:33:47 | [Mutex] received everything. 2022-11-16 21:33:47 | [Mutex] isItemNotified: configured:node:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:node-93d01e61-5a15-491f-8c79-4187946d970f :: true 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:cd5cc25a-6b4d-4f90-9420-7bc882409586:localhost] 2022-11-16 21:33:48 | [Mutex] received everything. 2022-11-16 21:33:48 | [Mutex] isItemNotified: received:node:cd5cc25a-6b4d-4f90-9420-7bc882409586:localhost:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4 :: true 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:0fb023ea-2454-4854-9bba-7d88068b156e:localhost] 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:0fb023ea-2454-4854-9bba-7d88068b156e:localhost] 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:0fb023ea-2454-4854-9bba-7d88068b156e:localhost] 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:0fb023ea-2454-4854-9bba-7d88068b156e:localhost] 2022-11-16 21:33:48 | [Mutex] waiting for: [received:nodes:0fb023ea-2454-4854-9bba-7d88068b156e:localhost] 2022-11-16 21:33:48 | [Mutex] received everything. 2022-11-16 21:33:48 | [Mutex] isItemNotified: received:node:0fb023ea-2454-4854-9bba-7d88068b156e:localhost:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4 :: false |
createNodes | 1.432s |
2022-11-16 21:33:45 |
2022-11-16 21:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:45 | ------------------------------------ 2022-11-16 21:33:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</title></pubsub></data> 2022-11-16 21:33:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 21:33:46 | [Mutex] waiting for: [received:nodes:846b2809-948d-45a1-8b72-53cb3a3cffdf:localhost] 2022-11-16 21:33:46 | [Mutex] received everything. 2022-11-16 21:33:46 | [Mutex] isItemNotified: received:node:846b2809-948d-45a1-8b72-53cb3a3cffdf:localhost:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4 :: true |
createSubnodes | 1.025s |
2022-11-16 21:33:46 |
2022-11-16 21:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:46 | ------------------------------------ 2022-11-16 21:33:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-93d01e61-5a15-491f-8c79-4187946d970f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 93d01e61-5a15-491f-8c79-4187946d970f</title></pubsub></data> 2022-11-16 21:33:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 21:33:47 | [Mutex] waiting for: [received:nodes:8f61329c-ea4a-430f-9a87-eb3ae6b81a05:localhost] 2022-11-16 21:33:47 | [Mutex] received everything. 2022-11-16 21:33:47 | [Mutex] isItemNotified: received:node:8f61329c-ea4a-430f-9a87-eb3ae6b81a05:localhost:node-93d01e61-5a15-491f-8c79-4187946d970f:Node 93d01e61-5a15-491f-8c79-4187946d970f :: true |
deleteNodes | 1.020s |
2022-11-16 21:33:53 |
2022-11-16 21:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:53 | ------------------------------------ 2022-11-16 21:33:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-93d01e61-5a15-491f-8c79-4187946d970f</node></data> 2022-11-16 21:33:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 21:33:54 | [Mutex] waiting for: [received:nodes:ec6f75c2-8616-4292-a1dc-e2c020d30b29:localhost] 2022-11-16 21:33:54 | [Mutex] waiting for: [received:nodes:ec6f75c2-8616-4292-a1dc-e2c020d30b29:localhost] 2022-11-16 21:33:54 | [Mutex] waiting for: [received:nodes:ec6f75c2-8616-4292-a1dc-e2c020d30b29:localhost] 2022-11-16 21:33:54 | [Mutex] received everything. 2022-11-16 21:33:54 | [Mutex] isItemNotified: received:node:ec6f75c2-8616-4292-a1dc-e2c020d30b29:localhost:node-93d01e61-5a15-491f-8c79-4187946d970f:Node 93d01e61-5a15-491f-8c79-4187946d970f :: false |
deleteSubnodes | 1.117s |
2022-11-16 21:33:52 |
2022-11-16 21:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:52 | ------------------------------------ 2022-11-16 21:33:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node></data> 2022-11-16 21:33:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-16 21:33:53 | [Mutex] waiting for: [received:nodes:55ed3c38-9500-4b6b-bfb6-08bac760994b:localhost] 2022-11-16 21:33:53 | [Mutex] waiting for: [received:nodes:55ed3c38-9500-4b6b-bfb6-08bac760994b:localhost] 2022-11-16 21:33:53 | [Mutex] received everything. 2022-11-16 21:33:53 | [Mutex] isItemNotified: received:node:55ed3c38-9500-4b6b-bfb6-08bac760994b:localhost:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4 :: false 2022-11-16 21:33:53 | [Mutex] waiting for: [received:nodes:d6f28d71-f849-499e-9a17-a706955a49d1:localhost] 2022-11-16 21:33:53 | [Mutex] received everything. 2022-11-16 21:33:53 | [Mutex] isItemNotified: received:node:d6f28d71-f849-499e-9a17-a706955a49d1:localhost:node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4:Node e3463c7c-fe0d-4675-92c2-5bb064a1a6c4 :: false |
publishItemsToNodes | 0.266s |
2022-11-16 21:33:49 |
2022-11-16 21:33:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:49 | ------------------------------------ 2022-11-16 21:33:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><item-id>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</item-id><entry><test>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</test></entry></data> 2022-11-16 21:33:50 | 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-a2ad359b-d1ed-4f3f-a720-10315f18f642</value></item-id></result> 2022-11-16 21:33:50 | [Mutex] waiting for: [published:item:notifieditem-a2ad359b-d1ed-4f3f-a720-10315f18f642:admin@test-domain.com] 2022-11-16 21:33:50 | [Mutex] received everything. 2022-11-16 21:33:50 | [Mutex] isItemNotified: published:item:notifieditem-a2ad359b-d1ed-4f3f-a720-10315f18f642:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2022-11-16 21:33:50 |
2022-11-16 21:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:50 | ------------------------------------ 2022-11-16 21:33:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><item-id>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</item-id></data> 2022-11-16 21:33:50 | 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-a2ad359b-d1ed-4f3f-a720-10315f18f642</value></item-id></result> 2022-11-16 21:33:50 | [Mutex] waiting for: [retracted:item:notifieditem-a2ad359b-d1ed-4f3f-a720-10315f18f642:admin@test-domain.com] 2022-11-16 21:33:50 | [Mutex] received everything. 2022-11-16 21:33:50 | [Mutex] isItemNotified: retracted:item:notifieditem-a2ad359b-d1ed-4f3f-a720-10315f18f642:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.222s |
2022-11-16 21:33:50 |
2022-11-16 21:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:50 | ------------------------------------ 2022-11-16 21:33:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><item-id>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</item-id></data> 2022-11-16 21:33:50 | 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-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</value></node><item-id label="Item ID" type="text-single"><value>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</value></item-id><item label="Item" type="text-multi"><value><item id="item-a2ad359b-d1ed-4f3f-a720-10315f18f642"><test>item-a2ad359b-d1ed-4f3f-a720-10315f18f642</test></item></value></item></result> 2022-11-16 21:33:50 | [Mutex] notify: [retrieved:item:item-a2ad359b-d1ed-4f3f-a720-10315f18f642:payload-matches:true:localhost] 2022-11-16 21:33:50 | [Mutex] received everything. 2022-11-16 21:33:50 | [Mutex] isItemNotified: retrieved:item:item-a2ad359b-d1ed-4f3f-a720-10315f18f642:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2022-11-16 21:33:50 |
2022-11-16 21:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:50 | ------------------------------------ 2022-11-16 21:33:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-16 21:33:50 | 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-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</value><value>node-93d01e61-5a15-491f-8c79-4187946d970f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-11-16 21:33:50 |
2022-11-16 21:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:50 | ------------------------------------ 2022-11-16 21:33:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4)</node-pattern></data> 2022-11-16 21:33:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2022-11-16 21:33:48 |
2022-11-16 21:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:48 | ------------------------------------ 2022-11-16 21:33:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-16 21:33:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.202s |
2022-11-16 21:33:50 |
2022-11-16 21:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-16 21:33:50 | ------------------------------------ 2022-11-16 21:33:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e3463c7c-fe0d-4675-92c2-5bb064a1a6c4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-16 21:33:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |