Test duration : 9.781s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2020-11-30 21:48:30 |
2020-11-30 21:48:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:30 | ------------------------------------ 2020-11-30 21:48:30 | [Mutex] waiting for: [configured:node:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8] 2020-11-30 21:48:30 | [Mutex] received everything. 2020-11-30 21:48:30 | [Mutex] isItemNotified: configured:node:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8 :: true 2020-11-30 21:48:31 | [Mutex] waiting for: [received:nodes:a3f05ded-546e-4524-99e7-e29cb1f6c159:localhost] 2020-11-30 21:48:31 | [Mutex] received everything. 2020-11-30 21:48:31 | [Mutex] isItemNotified: received:node:a3f05ded-546e-4524-99e7-e29cb1f6c159:localhost:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:Node f2f6d3c3-f7d7-4646-b538-81397af434d3 :: true 2020-11-30 21:48:31 | [Mutex] waiting for: [received:nodes:d758b42c-075c-4346-8852-1618b24bceac:localhost] 2020-11-30 21:48:31 | [Mutex] waiting for: [received:nodes:d758b42c-075c-4346-8852-1618b24bceac:localhost] 2020-11-30 21:48:31 | [Mutex] received everything. 2020-11-30 21:48:31 | [Mutex] isItemNotified: received:node:d758b42c-075c-4346-8852-1618b24bceac:localhost:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:Node f2f6d3c3-f7d7-4646-b538-81397af434d3 :: false |
createNodes | 1.453s |
2020-11-30 21:48:27 |
2020-11-30 21:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:27 | ------------------------------------ 2020-11-30 21:48:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f2f6d3c3-f7d7-4646-b538-81397af434d3</title></pubsub></data> 2020-11-30 21:48:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:48:29 | [Mutex] waiting for: [received:nodes:791e6b2f-1d41-4712-a246-a8863e782af6:localhost] 2020-11-30 21:48:29 | [Mutex] received everything. 2020-11-30 21:48:29 | [Mutex] isItemNotified: received:node:791e6b2f-1d41-4712-a246-a8863e782af6:localhost:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:Node f2f6d3c3-f7d7-4646-b538-81397af434d3 :: true |
createSubnodes | 1.054s |
2020-11-30 21:48:29 |
2020-11-30 21:48:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:29 | ------------------------------------ 2020-11-30 21:48:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8</title></pubsub></data> 2020-11-30 21:48:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:48:30 | [Mutex] waiting for: [received:nodes:f2171a50-abde-4345-af34-da65e82cffe7:localhost] 2020-11-30 21:48:30 | [Mutex] received everything. 2020-11-30 21:48:30 | [Mutex] isItemNotified: received:node:f2171a50-abde-4345-af34-da65e82cffe7:localhost:node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8:Node d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8 :: true |
deleteNodes | 1.028s |
2020-11-30 21:48:35 |
2020-11-30 21:48:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:35 | ------------------------------------ 2020-11-30 21:48:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8</node></data> 2020-11-30 21:48:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:48:36 | [Mutex] waiting for: [received:nodes:af5d5ef8-31fa-4106-9f28-aec48ec3534e:localhost] 2020-11-30 21:48:36 | [Mutex] waiting for: [received:nodes:af5d5ef8-31fa-4106-9f28-aec48ec3534e:localhost] 2020-11-30 21:48:36 | [Mutex] received everything. 2020-11-30 21:48:36 | [Mutex] isItemNotified: received:node:af5d5ef8-31fa-4106-9f28-aec48ec3534e:localhost:node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8:Node d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8 :: false |
deleteSubnodes | 1.164s |
2020-11-30 21:48:34 |
2020-11-30 21:48:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:34 | ------------------------------------ 2020-11-30 21:48:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node></data> 2020-11-30 21:48:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-30 21:48:35 | [Mutex] waiting for: [received:nodes:693d070d-79b4-45ea-afc0-f04c3489a1e7:localhost] 2020-11-30 21:48:35 | [Mutex] waiting for: [received:nodes:693d070d-79b4-45ea-afc0-f04c3489a1e7:localhost] 2020-11-30 21:48:35 | [Mutex] received everything. 2020-11-30 21:48:35 | [Mutex] isItemNotified: received:node:693d070d-79b4-45ea-afc0-f04c3489a1e7:localhost:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:Node f2f6d3c3-f7d7-4646-b538-81397af434d3 :: false 2020-11-30 21:48:35 | [Mutex] waiting for: [received:nodes:a2d10441-a361-4c12-ba1a-b3767559fb93:localhost] 2020-11-30 21:48:35 | [Mutex] received everything. 2020-11-30 21:48:35 | [Mutex] isItemNotified: received:node:a2d10441-a361-4c12-ba1a-b3767559fb93:localhost:node-f2f6d3c3-f7d7-4646-b538-81397af434d3:Node f2f6d3c3-f7d7-4646-b538-81397af434d3 :: false |
publishItemsToNodes | 0.199s |
2020-11-30 21:48:32 |
2020-11-30 21:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:32 | ------------------------------------ 2020-11-30 21:48:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><item-id>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</item-id><entry><test>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</test></entry></data> 2020-11-30 21:48:32 | 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-c1ab8752-c147-41a4-afc7-8fe60a521db3</value></item-id></result> 2020-11-30 21:48:32 | [Mutex] received everything. 2020-11-30 21:48:32 | [Mutex] isItemNotified: published:item:notifieditem-c1ab8752-c147-41a4-afc7-8fe60a521db3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.203s |
2020-11-30 21:48:32 |
2020-11-30 21:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:32 | ------------------------------------ 2020-11-30 21:48:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><item-id>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</item-id></data> 2020-11-30 21:48:33 | 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-c1ab8752-c147-41a4-afc7-8fe60a521db3</value></item-id></result> 2020-11-30 21:48:33 | [Mutex] received everything. 2020-11-30 21:48:33 | [Mutex] isItemNotified: retracted:item:notifieditem-c1ab8752-c147-41a4-afc7-8fe60a521db3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.309s |
2020-11-30 21:48:32 |
2020-11-30 21:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:32 | ------------------------------------ 2020-11-30 21:48:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><item-id>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</item-id></data> 2020-11-30 21:48:32 | 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-f2f6d3c3-f7d7-4646-b538-81397af434d3</value></node><item-id label="Item ID" type="text-single"><value>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</value></item-id><item label="Item" type="text-multi"><value><item id="item-c1ab8752-c147-41a4-afc7-8fe60a521db3"><test>item-c1ab8752-c147-41a4-afc7-8fe60a521db3</test></item></value></item></result> 2020-11-30 21:48:32 | [Mutex] notify: [retrieved:item:item-c1ab8752-c147-41a4-afc7-8fe60a521db3:payload-matches:true:localhost] 2020-11-30 21:48:32 | [Mutex] received everything. 2020-11-30 21:48:32 | [Mutex] isItemNotified: retrieved:item:item-c1ab8752-c147-41a4-afc7-8fe60a521db3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-30 21:48:32 |
2020-11-30 21:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:32 | ------------------------------------ 2020-11-30 21:48:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-30 21:48:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</value><value>test</value><value>node-d8c67c7a-9523-4ed9-9f3e-bf4cc4e321c8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-11-30 21:48:32 |
2020-11-30 21:48:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:32 | ------------------------------------ 2020-11-30 21:48:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f2f6d3c3-f7d7-4646-b538-81397af434d3)</node-pattern></data> 2020-11-30 21:48:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.107s |
2020-11-30 21:48:31 |
2020-11-30 21:48:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:31 | ------------------------------------ 2020-11-30 21:48:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:48:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.232s |
2020-11-30 21:48:33 |
2020-11-30 21:48:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-30 21:48:33 | ------------------------------------ 2020-11-30 21:48:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f2f6d3c3-f7d7-4646-b538-81397af434d3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-30 21:48:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |