Test duration : 9.439s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2023-01-16 21:32:22 |
2023-01-16 21:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:22 | ------------------------------------ 2023-01-16 21:32:22 | [Mutex] waiting for: [configured:node:node-a7791b39-2681-4c8f-9684-645c3f5b4067:node-b479e9ea-395c-4eb1-b988-2f5ef131132e] 2023-01-16 21:32:22 | [Mutex] received everything. 2023-01-16 21:32:22 | [Mutex] isItemNotified: configured:node:node-a7791b39-2681-4c8f-9684-645c3f5b4067:node-b479e9ea-395c-4eb1-b988-2f5ef131132e :: true 2023-01-16 21:32:23 | [Mutex] waiting for: [received:nodes:c9be7f4d-479e-4380-b58c-8dee3bfbca9f:localhost] 2023-01-16 21:32:23 | [Mutex] received everything. 2023-01-16 21:32:23 | [Mutex] isItemNotified: received:node:c9be7f4d-479e-4380-b58c-8dee3bfbca9f:localhost:node-a7791b39-2681-4c8f-9684-645c3f5b4067:Node a7791b39-2681-4c8f-9684-645c3f5b4067 :: true 2023-01-16 21:32:23 | [Mutex] waiting for: [received:nodes:c3e255a0-ed4c-4b14-a9fb-0cfe9f1bf127:localhost] 2023-01-16 21:32:23 | [Mutex] waiting for: [received:nodes:c3e255a0-ed4c-4b14-a9fb-0cfe9f1bf127:localhost] 2023-01-16 21:32:23 | [Mutex] waiting for: [received:nodes:c3e255a0-ed4c-4b14-a9fb-0cfe9f1bf127:localhost] 2023-01-16 21:32:23 | [Mutex] received everything. 2023-01-16 21:32:23 | [Mutex] isItemNotified: received:node:c3e255a0-ed4c-4b14-a9fb-0cfe9f1bf127:localhost:node-a7791b39-2681-4c8f-9684-645c3f5b4067:Node a7791b39-2681-4c8f-9684-645c3f5b4067 :: false |
createNodes | 1.368s |
2023-01-16 21:32:19 |
2023-01-16 21:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:19 | ------------------------------------ 2023-01-16 21:32:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a7791b39-2681-4c8f-9684-645c3f5b4067</title></pubsub></data> 2023-01-16 21:32:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 21:32:21 | [Mutex] waiting for: [received:nodes:fe07273e-079d-4353-af77-a8d60f61cb6a:localhost] 2023-01-16 21:32:21 | [Mutex] received everything. 2023-01-16 21:32:21 | [Mutex] isItemNotified: received:node:fe07273e-079d-4353-af77-a8d60f61cb6a:localhost:node-a7791b39-2681-4c8f-9684-645c3f5b4067:Node a7791b39-2681-4c8f-9684-645c3f5b4067 :: true |
createSubnodes | 1.030s |
2023-01-16 21:32:21 |
2023-01-16 21:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:21 | ------------------------------------ 2023-01-16 21:32:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b479e9ea-395c-4eb1-b988-2f5ef131132e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b479e9ea-395c-4eb1-b988-2f5ef131132e</title></pubsub></data> 2023-01-16 21:32:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 21:32:22 | [Mutex] waiting for: [received:nodes:33775653-b6d7-4899-beef-7414a1df7f2c:localhost] 2023-01-16 21:32:22 | [Mutex] waiting for: [received:nodes:33775653-b6d7-4899-beef-7414a1df7f2c:localhost] 2023-01-16 21:32:22 | [Mutex] waiting for: [received:nodes:33775653-b6d7-4899-beef-7414a1df7f2c:localhost] 2023-01-16 21:32:22 | [Mutex] waiting for: [received:nodes:33775653-b6d7-4899-beef-7414a1df7f2c:localhost] 2023-01-16 21:32:22 | [Mutex] received everything. 2023-01-16 21:32:22 | [Mutex] isItemNotified: received:node:33775653-b6d7-4899-beef-7414a1df7f2c:localhost:node-b479e9ea-395c-4eb1-b988-2f5ef131132e:Node b479e9ea-395c-4eb1-b988-2f5ef131132e :: true |
deleteNodes | 1.027s |
2023-01-16 21:32:27 |
2023-01-16 21:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:27 | ------------------------------------ 2023-01-16 21:32:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b479e9ea-395c-4eb1-b988-2f5ef131132e</node></data> 2023-01-16 21:32:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 21:32:28 | [Mutex] waiting for: [received:nodes:fb98bd96-516c-44fb-ae86-576e7df5497b:localhost] 2023-01-16 21:32:28 | [Mutex] waiting for: [received:nodes:fb98bd96-516c-44fb-ae86-576e7df5497b:localhost] 2023-01-16 21:32:28 | [Mutex] waiting for: [received:nodes:fb98bd96-516c-44fb-ae86-576e7df5497b:localhost] 2023-01-16 21:32:28 | [Mutex] received everything. 2023-01-16 21:32:28 | [Mutex] isItemNotified: received:node:fb98bd96-516c-44fb-ae86-576e7df5497b:localhost:node-b479e9ea-395c-4eb1-b988-2f5ef131132e:Node b479e9ea-395c-4eb1-b988-2f5ef131132e :: false |
deleteSubnodes | 1.126s |
2023-01-16 21:32:26 |
2023-01-16 21:32:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:26 | ------------------------------------ 2023-01-16 21:32:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node></data> 2023-01-16 21:32:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-16 21:32:27 | [Mutex] waiting for: [received:nodes:de0375cd-b598-4acf-bd88-b9dc3aadaf63:localhost] 2023-01-16 21:32:27 | [Mutex] waiting for: [received:nodes:de0375cd-b598-4acf-bd88-b9dc3aadaf63:localhost] 2023-01-16 21:32:27 | [Mutex] waiting for: [received:nodes:de0375cd-b598-4acf-bd88-b9dc3aadaf63:localhost] 2023-01-16 21:32:27 | [Mutex] received everything. 2023-01-16 21:32:27 | [Mutex] isItemNotified: received:node:de0375cd-b598-4acf-bd88-b9dc3aadaf63:localhost:node-a7791b39-2681-4c8f-9684-645c3f5b4067:Node a7791b39-2681-4c8f-9684-645c3f5b4067 :: false 2023-01-16 21:32:27 | [Mutex] waiting for: [received:nodes:771b6f37-e9c7-4b57-aa16-eab5856a0761:localhost] 2023-01-16 21:32:27 | [Mutex] received everything. 2023-01-16 21:32:27 | [Mutex] isItemNotified: received:node:771b6f37-e9c7-4b57-aa16-eab5856a0761:localhost:node-a7791b39-2681-4c8f-9684-645c3f5b4067:Node a7791b39-2681-4c8f-9684-645c3f5b4067 :: false |
publishItemsToNodes | 0.246s |
2023-01-16 21:32:24 |
2023-01-16 21:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:24 | ------------------------------------ 2023-01-16 21:32:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><item-id>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</item-id><entry><test>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</test></entry></data> 2023-01-16 21:32:24 | 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-d87a9d49-ac78-4a18-a786-4a557e6b5932</value></item-id></result> 2023-01-16 21:32:24 | [Mutex] received everything. 2023-01-16 21:32:24 | [Mutex] isItemNotified: published:item:notifieditem-d87a9d49-ac78-4a18-a786-4a557e6b5932:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2023-01-16 21:32:25 |
2023-01-16 21:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:25 | ------------------------------------ 2023-01-16 21:32:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><item-id>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</item-id></data> 2023-01-16 21:32:25 | 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-d87a9d49-ac78-4a18-a786-4a557e6b5932</value></item-id></result> 2023-01-16 21:32:25 | [Mutex] waiting for: [retracted:item:notifieditem-d87a9d49-ac78-4a18-a786-4a557e6b5932:admin@test-domain.com] 2023-01-16 21:32:25 | [Mutex] received everything. 2023-01-16 21:32:25 | [Mutex] isItemNotified: retracted:item:notifieditem-d87a9d49-ac78-4a18-a786-4a557e6b5932:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.261s |
2023-01-16 21:32:24 |
2023-01-16 21:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:24 | ------------------------------------ 2023-01-16 21:32:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><item-id>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</item-id></data> 2023-01-16 21:32:24 | 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-a7791b39-2681-4c8f-9684-645c3f5b4067</value></node><item-id label="Item ID" type="text-single"><value>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</value></item-id><item label="Item" type="text-multi"><value><item id="item-d87a9d49-ac78-4a18-a786-4a557e6b5932"><test>item-d87a9d49-ac78-4a18-a786-4a557e6b5932</test></item></value></item></result> 2023-01-16 21:32:24 | [Mutex] notify: [retrieved:item:item-d87a9d49-ac78-4a18-a786-4a557e6b5932:payload-matches:true:localhost] 2023-01-16 21:32:24 | [Mutex] received everything. 2023-01-16 21:32:24 | [Mutex] isItemNotified: retrieved:item:item-d87a9d49-ac78-4a18-a786-4a557e6b5932:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-01-16 21:32:24 |
2023-01-16 21:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:24 | ------------------------------------ 2023-01-16 21:32:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-01-16 21:32:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a7791b39-2681-4c8f-9684-645c3f5b4067</value><value>test</value><value>node-b479e9ea-395c-4eb1-b988-2f5ef131132e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-01-16 21:32:25 |
2023-01-16 21:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:25 | ------------------------------------ 2023-01-16 21:32:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a7791b39-2681-4c8f-9684-645c3f5b4067)</node-pattern></data> 2023-01-16 21:32:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.127s |
2023-01-16 21:32:23 |
2023-01-16 21:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:23 | ------------------------------------ 2023-01-16 21:32:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-16 21:32:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.220s |
2023-01-16 21:32:25 |
2023-01-16 21:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-16 21:32:25 | ------------------------------------ 2023-01-16 21:32:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a7791b39-2681-4c8f-9684-645c3f5b4067</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-16 21:32:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |