Test duration : 10.006s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.129s |
2021-03-17 22:42:18 |
2021-03-17 22:42:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:18 | ------------------------------------ 2021-03-17 22:42:18 | [Mutex] waiting for: [configured:node:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:node-9e9cfffd-296c-472d-80ed-ef8b311d586b] 2021-03-17 22:42:19 | [Mutex] received everything. 2021-03-17 22:42:19 | [Mutex] isItemNotified: configured:node:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:node-9e9cfffd-296c-472d-80ed-ef8b311d586b :: true 2021-03-17 22:42:20 | [Mutex] waiting for: [received:nodes:434af44f-1760-4a1b-aa4a-7d0e257e8341:localhost] 2021-03-17 22:42:20 | [Mutex] received everything. 2021-03-17 22:42:20 | [Mutex] isItemNotified: received:node:434af44f-1760-4a1b-aa4a-7d0e257e8341:localhost:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:Node c6a13881-e02e-453f-882d-ede7ce4bfab9 :: true 2021-03-17 22:42:20 | [Mutex] waiting for: [received:nodes:f5cd1a86-3db9-4c32-8a8b-c9b0d51b211b:localhost] 2021-03-17 22:42:20 | [Mutex] waiting for: [received:nodes:f5cd1a86-3db9-4c32-8a8b-c9b0d51b211b:localhost] 2021-03-17 22:42:20 | [Mutex] received everything. 2021-03-17 22:42:20 | [Mutex] isItemNotified: received:node:f5cd1a86-3db9-4c32-8a8b-c9b0d51b211b:localhost:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:Node c6a13881-e02e-453f-882d-ede7ce4bfab9 :: false |
createNodes | 1.499s |
2021-03-17 22:42:16 |
2021-03-17 22:42:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:16 | ------------------------------------ 2021-03-17 22:42:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6a13881-e02e-453f-882d-ede7ce4bfab9</title></pubsub></data> 2021-03-17 22:42:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:42:17 | [Mutex] waiting for: [received:nodes:6c1da78e-5a03-4a95-8335-ff403641340e:localhost] 2021-03-17 22:42:17 | [Mutex] received everything. 2021-03-17 22:42:17 | [Mutex] isItemNotified: received:node:6c1da78e-5a03-4a95-8335-ff403641340e:localhost:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:Node c6a13881-e02e-453f-882d-ede7ce4bfab9 :: true |
createSubnodes | 1.033s |
2021-03-17 22:42:17 |
2021-03-17 22:42:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:17 | ------------------------------------ 2021-03-17 22:42:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e9cfffd-296c-472d-80ed-ef8b311d586b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9e9cfffd-296c-472d-80ed-ef8b311d586b</title></pubsub></data> 2021-03-17 22:42:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:42:18 | [Mutex] waiting for: [received:nodes:88157ddc-06d7-4d59-8463-c9f8a0535da7:localhost] 2021-03-17 22:42:18 | [Mutex] received everything. 2021-03-17 22:42:18 | [Mutex] isItemNotified: received:node:88157ddc-06d7-4d59-8463-c9f8a0535da7:localhost:node-9e9cfffd-296c-472d-80ed-ef8b311d586b:Node 9e9cfffd-296c-472d-80ed-ef8b311d586b :: true |
deleteNodes | 1.019s |
2021-03-17 22:42:24 |
2021-03-17 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:24 | ------------------------------------ 2021-03-17 22:42:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e9cfffd-296c-472d-80ed-ef8b311d586b</node></data> 2021-03-17 22:42:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:42:25 | [Mutex] waiting for: [received:nodes:45f4ce84-c68c-45d8-80ba-36060660a1df:localhost] 2021-03-17 22:42:25 | [Mutex] received everything. 2021-03-17 22:42:25 | [Mutex] isItemNotified: received:node:45f4ce84-c68c-45d8-80ba-36060660a1df:localhost:node-9e9cfffd-296c-472d-80ed-ef8b311d586b:Node 9e9cfffd-296c-472d-80ed-ef8b311d586b :: false |
deleteSubnodes | 1.159s |
2021-03-17 22:42:23 |
2021-03-17 22:42:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:23 | ------------------------------------ 2021-03-17 22:42:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node></data> 2021-03-17 22:42:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:42:24 | [Mutex] waiting for: [received:nodes:d1297892-be02-4863-b899-8f405084e49e:localhost] 2021-03-17 22:42:24 | [Mutex] received everything. 2021-03-17 22:42:24 | [Mutex] isItemNotified: received:node:d1297892-be02-4863-b899-8f405084e49e:localhost:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:Node c6a13881-e02e-453f-882d-ede7ce4bfab9 :: false 2021-03-17 22:42:24 | [Mutex] waiting for: [received:nodes:518eea60-8553-4c71-ad00-544b2d0bd8eb:localhost] 2021-03-17 22:42:24 | [Mutex] received everything. 2021-03-17 22:42:24 | [Mutex] isItemNotified: received:node:518eea60-8553-4c71-ad00-544b2d0bd8eb:localhost:node-c6a13881-e02e-453f-882d-ede7ce4bfab9:Node c6a13881-e02e-453f-882d-ede7ce4bfab9 :: false |
publishItemsToNodes | 0.225s |
2021-03-17 22:42:21 |
2021-03-17 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:21 | ------------------------------------ 2021-03-17 22:42:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><item-id>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</item-id><entry><test>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</test></entry></data> 2021-03-17 22:42:21 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</value></item-id></result> 2021-03-17 22:42:21 | [Mutex] waiting for: [published:item:notifieditem-bf60e70e-3de3-4f98-80c2-91867ca01b86:admin@test-domain.com] 2021-03-17 22:42:21 | [Mutex] received everything. 2021-03-17 22:42:21 | [Mutex] isItemNotified: published:item:notifieditem-bf60e70e-3de3-4f98-80c2-91867ca01b86:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2021-03-17 22:42:21 |
2021-03-17 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:21 | ------------------------------------ 2021-03-17 22:42:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><item-id>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</item-id></data> 2021-03-17 22:42:22 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</value></item-id></result> 2021-03-17 22:42:22 | [Mutex] received everything. 2021-03-17 22:42:22 | [Mutex] isItemNotified: retracted:item:notifieditem-bf60e70e-3de3-4f98-80c2-91867ca01b86:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.298s |
2021-03-17 22:42:21 |
2021-03-17 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:21 | ------------------------------------ 2021-03-17 22:42:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><item-id>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</item-id></data> 2021-03-17 22:42:21 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</value></node><item-id type="text-single" label="Item ID"><value>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</value></item-id><item type="text-multi" label="Item"><value><item id="item-bf60e70e-3de3-4f98-80c2-91867ca01b86"><test>item-bf60e70e-3de3-4f98-80c2-91867ca01b86</test></item></value></item></result> 2021-03-17 22:42:21 | [Mutex] notify: [retrieved:item:item-bf60e70e-3de3-4f98-80c2-91867ca01b86:payload-matches:true:localhost] 2021-03-17 22:42:21 | [Mutex] received everything. 2021-03-17 22:42:21 | [Mutex] isItemNotified: retrieved:item:item-bf60e70e-3de3-4f98-80c2-91867ca01b86:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.057s |
2021-03-17 22:42:21 |
2021-03-17 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:21 | ------------------------------------ 2021-03-17 22:42:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-17 22:42:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</value><value>test</value><value>node-9e9cfffd-296c-472d-80ed-ef8b311d586b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-17 22:42:21 |
2021-03-17 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:21 | ------------------------------------ 2021-03-17 22:42:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c6a13881-e02e-453f-882d-ede7ce4bfab9)</node-pattern></data> 2021-03-17 22:42:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2021-03-17 22:42:20 |
2021-03-17 22:42:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:20 | ------------------------------------ 2021-03-17 22:42:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-17 22:42: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.254s |
2021-03-17 22:42:22 |
2021-03-17 22:42:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:42:22 | ------------------------------------ 2021-03-17 22:42:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c6a13881-e02e-453f-882d-ede7ce4bfab9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-17 22:42:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |