Test duration : 9.483s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2022-06-23 23:04:43 |
2022-06-23 23:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:43 | ------------------------------------ 2022-06-23 23:04:43 | [Mutex] waiting for: [configured:node:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:node-d92f10fc-1a81-4548-bbf0-e0003e217f8f] 2022-06-23 23:04:43 | [Mutex] received everything. 2022-06-23 23:04:43 | [Mutex] isItemNotified: configured:node:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:node-d92f10fc-1a81-4548-bbf0-e0003e217f8f :: true 2022-06-23 23:04:44 | [Mutex] waiting for: [received:nodes:bb2d75fe-2d07-43ed-b2be-d088c853754b:localhost] 2022-06-23 23:04:44 | [Mutex] received everything. 2022-06-23 23:04:44 | [Mutex] isItemNotified: received:node:bb2d75fe-2d07-43ed-b2be-d088c853754b:localhost:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f :: true 2022-06-23 23:04:44 | [Mutex] waiting for: [received:nodes:e5f8a9d5-a8de-4655-8ae4-930d9af8687b:localhost] 2022-06-23 23:04:44 | [Mutex] waiting for: [received:nodes:e5f8a9d5-a8de-4655-8ae4-930d9af8687b:localhost] 2022-06-23 23:04:44 | [Mutex] received everything. 2022-06-23 23:04:44 | [Mutex] isItemNotified: received:node:e5f8a9d5-a8de-4655-8ae4-930d9af8687b:localhost:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f :: false |
createNodes | 1.442s |
2022-06-23 23:04:41 |
2022-06-23 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:41 | ------------------------------------ 2022-06-23 23:04:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</title></pubsub></data> 2022-06-23 23:04:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-23 23:04:42 | [Mutex] waiting for: [received:nodes:2220cf16-b6c3-4c43-b8b9-1f6daa80e710:localhost] 2022-06-23 23:04:42 | [Mutex] waiting for: [received:nodes:2220cf16-b6c3-4c43-b8b9-1f6daa80e710:localhost] 2022-06-23 23:04:42 | [Mutex] received everything. 2022-06-23 23:04:42 | [Mutex] isItemNotified: received:node:2220cf16-b6c3-4c43-b8b9-1f6daa80e710:localhost:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f :: true |
createSubnodes | 1.024s |
2022-06-23 23:04:42 |
2022-06-23 23:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:42 | ------------------------------------ 2022-06-23 23:04:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d92f10fc-1a81-4548-bbf0-e0003e217f8f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d92f10fc-1a81-4548-bbf0-e0003e217f8f</title></pubsub></data> 2022-06-23 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-06-23 23:04:43 | [Mutex] waiting for: [received:nodes:45985574-2c5f-4ae1-91fc-8100face9b9d:localhost] 2022-06-23 23:04:43 | [Mutex] waiting for: [received:nodes:45985574-2c5f-4ae1-91fc-8100face9b9d:localhost] 2022-06-23 23:04:43 | [Mutex] received everything. 2022-06-23 23:04:43 | [Mutex] isItemNotified: received:node:45985574-2c5f-4ae1-91fc-8100face9b9d:localhost:node-d92f10fc-1a81-4548-bbf0-e0003e217f8f:Node d92f10fc-1a81-4548-bbf0-e0003e217f8f :: true |
deleteNodes | 1.015s |
2022-06-23 23:04:49 |
2022-06-23 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:49 | ------------------------------------ 2022-06-23 23:04:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d92f10fc-1a81-4548-bbf0-e0003e217f8f</node></data> 2022-06-23 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-06-23 23:04:50 | [Mutex] waiting for: [received:nodes:366c57f1-48bb-42f0-b50d-be20c79968fa:localhost] 2022-06-23 23:04:50 | [Mutex] received everything. 2022-06-23 23:04:50 | [Mutex] isItemNotified: received:node:366c57f1-48bb-42f0-b50d-be20c79968fa:localhost:node-d92f10fc-1a81-4548-bbf0-e0003e217f8f:Node d92f10fc-1a81-4548-bbf0-e0003e217f8f :: false |
deleteSubnodes | 1.146s |
2022-06-23 23:04:48 |
2022-06-23 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:48 | ------------------------------------ 2022-06-23 23:04:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node></data> 2022-06-23 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-06-23 23:04:49 | [Mutex] waiting for: [received:nodes:6cc0ae17-488e-49c1-bed1-80d17e60b4f5:localhost] 2022-06-23 23:04:49 | [Mutex] waiting for: [received:nodes:6cc0ae17-488e-49c1-bed1-80d17e60b4f5:localhost] 2022-06-23 23:04:49 | [Mutex] received everything. 2022-06-23 23:04:49 | [Mutex] isItemNotified: received:node:6cc0ae17-488e-49c1-bed1-80d17e60b4f5:localhost:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f :: false 2022-06-23 23:04:49 | [Mutex] waiting for: [received:nodes:a5e1a3f2-1b15-4654-b1ca-cf8060e4bd1b:localhost] 2022-06-23 23:04:49 | [Mutex] received everything. 2022-06-23 23:04:49 | [Mutex] isItemNotified: received:node:a5e1a3f2-1b15-4654-b1ca-cf8060e4bd1b:localhost:node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f:Node aaf0e62a-799f-4f28-94fc-f1e9699dcd3f :: false |
publishItemsToNodes | 0.240s |
2022-06-23 23:04:45 |
2022-06-23 23:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:45 | ------------------------------------ 2022-06-23 23:04:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><item-id>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</item-id><entry><test>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</test></entry></data> 2022-06-23 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 label="Item ID" type="fixed"><value>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</value></item-id></result> 2022-06-23 23:04:46 | [Mutex] received everything. 2022-06-23 23:04:46 | [Mutex] isItemNotified: published:item:notifieditem-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.302s |
2022-06-23 23:04:46 |
2022-06-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:46 | ------------------------------------ 2022-06-23 23:04:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><item-id>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</item-id></data> 2022-06-23 23:04:46 | 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-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</value></item-id></result> 2022-06-23 23:04:46 | [Mutex] received everything. 2022-06-23 23:04:46 | [Mutex] isItemNotified: retracted:item:notifieditem-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.232s |
2022-06-23 23:04:46 |
2022-06-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:46 | ------------------------------------ 2022-06-23 23:04:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><item-id>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</item-id></data> 2022-06-23 23:04:46 | 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-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</value></node><item-id label="Item ID" type="text-single"><value>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</value></item-id><item label="Item" type="text-multi"><value><item id="item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4"><test>item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4</test></item></value></item></result> 2022-06-23 23:04:46 | [Mutex] notify: [retrieved:item:item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4:payload-matches:true:localhost] 2022-06-23 23:04:46 | [Mutex] received everything. 2022-06-23 23:04:46 | [Mutex] isItemNotified: retrieved:item:item-889d4745-ceab-4c1d-bdeb-0a921c5b2ce4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-23 23:04:46 |
2022-06-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:46 | ------------------------------------ 2022-06-23 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-06-23 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</value><value>test</value><value>node-d92f10fc-1a81-4548-bbf0-e0003e217f8f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-06-23 23:04:46 |
2022-06-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:46 | ------------------------------------ 2022-06-23 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-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f)</node-pattern></data> 2022-06-23 23:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2022-06-23 23:04:44 |
2022-06-23 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:44 | ------------------------------------ 2022-06-23 23:04:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-23 23:04:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.187s |
2022-06-23 23:04:46 |
2022-06-23 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-23 23:04:46 | ------------------------------------ 2022-06-23 23:04:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-aaf0e62a-799f-4f28-94fc-f1e9699dcd3f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-23 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> |