Test duration : 9.788s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2020-10-21 22:59:11 |
2020-10-21 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:11 | ------------------------------------ 2020-10-21 22:59:11 | [Mutex] waiting for: [configured:node:node-d346519c-64b3-43c3-91de-a0f5aafafed3:node-b68e0506-0935-44e1-b7a4-e33e321a03c5] 2020-10-21 22:59:11 | [Mutex] received everything. 2020-10-21 22:59:11 | [Mutex] isItemNotified: configured:node:node-d346519c-64b3-43c3-91de-a0f5aafafed3:node-b68e0506-0935-44e1-b7a4-e33e321a03c5 :: true 2020-10-21 22:59:12 | [Mutex] waiting for: [received:nodes:ab3a17bb-a87d-4baf-88e6-a6117652b9d3:localhost] 2020-10-21 22:59:12 | [Mutex] received everything. 2020-10-21 22:59:12 | [Mutex] isItemNotified: received:node:ab3a17bb-a87d-4baf-88e6-a6117652b9d3:localhost:node-d346519c-64b3-43c3-91de-a0f5aafafed3:Node d346519c-64b3-43c3-91de-a0f5aafafed3 :: true 2020-10-21 22:59:12 | [Mutex] waiting for: [received:nodes:25183ae2-9cb6-45ef-ba28-9eb430786976:localhost] 2020-10-21 22:59:12 | [Mutex] received everything. 2020-10-21 22:59:12 | [Mutex] isItemNotified: received:node:25183ae2-9cb6-45ef-ba28-9eb430786976:localhost:node-d346519c-64b3-43c3-91de-a0f5aafafed3:Node d346519c-64b3-43c3-91de-a0f5aafafed3 :: false |
createNodes | 1.372s |
2020-10-21 22:59:09 |
2020-10-21 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:09 | ------------------------------------ 2020-10-21 22:59:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d346519c-64b3-43c3-91de-a0f5aafafed3</title></pubsub></data> 2020-10-21 22:59:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 22:59:10 | [Mutex] waiting for: [received:nodes:0271d14c-79b0-4773-94e7-4a0ce3b4452b:localhost] 2020-10-21 22:59:10 | [Mutex] received everything. 2020-10-21 22:59:10 | [Mutex] isItemNotified: received:node:0271d14c-79b0-4773-94e7-4a0ce3b4452b:localhost:node-d346519c-64b3-43c3-91de-a0f5aafafed3:Node d346519c-64b3-43c3-91de-a0f5aafafed3 :: true |
createSubnodes | 1.027s |
2020-10-21 22:59:10 |
2020-10-21 22:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:10 | ------------------------------------ 2020-10-21 22:59:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b68e0506-0935-44e1-b7a4-e33e321a03c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b68e0506-0935-44e1-b7a4-e33e321a03c5</title></pubsub></data> 2020-10-21 22:59:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 22:59:11 | [Mutex] waiting for: [received:nodes:116879ae-06d5-4a32-990e-f1d18190cd8e:localhost] 2020-10-21 22:59:11 | [Mutex] received everything. 2020-10-21 22:59:11 | [Mutex] isItemNotified: received:node:116879ae-06d5-4a32-990e-f1d18190cd8e:localhost:node-b68e0506-0935-44e1-b7a4-e33e321a03c5:Node b68e0506-0935-44e1-b7a4-e33e321a03c5 :: true |
deleteNodes | 1.023s |
2020-10-21 22:59:17 |
2020-10-21 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:17 | ------------------------------------ 2020-10-21 22:59:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b68e0506-0935-44e1-b7a4-e33e321a03c5</node></data> 2020-10-21 22:59:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 22:59:18 | [Mutex] waiting for: [received:nodes:342d6838-bb0f-41a3-9ff9-b629a59acd26:localhost] 2020-10-21 22:59:18 | [Mutex] waiting for: [received:nodes:342d6838-bb0f-41a3-9ff9-b629a59acd26:localhost] 2020-10-21 22:59:18 | [Mutex] received everything. 2020-10-21 22:59:18 | [Mutex] isItemNotified: received:node:342d6838-bb0f-41a3-9ff9-b629a59acd26:localhost:node-b68e0506-0935-44e1-b7a4-e33e321a03c5:Node b68e0506-0935-44e1-b7a4-e33e321a03c5 :: false |
deleteSubnodes | 1.127s |
2020-10-21 22:59:16 |
2020-10-21 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:16 | ------------------------------------ 2020-10-21 22:59:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node></data> 2020-10-21 22:59:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-21 22:59:17 | [Mutex] waiting for: [received:nodes:2455ccd3-a21d-46df-bebb-7e203c19159d:localhost] 2020-10-21 22:59:17 | [Mutex] received everything. 2020-10-21 22:59:17 | [Mutex] isItemNotified: received:node:2455ccd3-a21d-46df-bebb-7e203c19159d:localhost:node-d346519c-64b3-43c3-91de-a0f5aafafed3:Node d346519c-64b3-43c3-91de-a0f5aafafed3 :: false 2020-10-21 22:59:17 | [Mutex] waiting for: [received:nodes:c053af6e-ef80-41e5-a0dd-1cf4c474ba37:localhost] 2020-10-21 22:59:17 | [Mutex] received everything. 2020-10-21 22:59:17 | [Mutex] isItemNotified: received:node:c053af6e-ef80-41e5-a0dd-1cf4c474ba37:localhost:node-d346519c-64b3-43c3-91de-a0f5aafafed3:Node d346519c-64b3-43c3-91de-a0f5aafafed3 :: false |
publishItemsToNodes | 0.184s |
2020-10-21 22:59:13 |
2020-10-21 22:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:13 | ------------------------------------ 2020-10-21 22:59:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><item-id>item-812f3300-11db-4f48-8dad-b327e2962129</item-id><entry><test>item-812f3300-11db-4f48-8dad-b327e2962129</test></entry></data> 2020-10-21 22:59:14 | 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-812f3300-11db-4f48-8dad-b327e2962129</value></item-id></result> 2020-10-21 22:59:14 | [Mutex] waiting for: [published:item:notifieditem-812f3300-11db-4f48-8dad-b327e2962129:admin@test-domain.com] 2020-10-21 22:59:14 | [Mutex] received everything. 2020-10-21 22:59:14 | [Mutex] isItemNotified: published:item:notifieditem-812f3300-11db-4f48-8dad-b327e2962129:admin@test-domain.com :: true |
retractItemsFromNodes | 0.252s |
2020-10-21 22:59:14 |
2020-10-21 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:14 | ------------------------------------ 2020-10-21 22:59:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><item-id>item-812f3300-11db-4f48-8dad-b327e2962129</item-id></data> 2020-10-21 22:59:14 | 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-812f3300-11db-4f48-8dad-b327e2962129</value></item-id></result> 2020-10-21 22:59:14 | [Mutex] received everything. 2020-10-21 22:59:14 | [Mutex] isItemNotified: retracted:item:notifieditem-812f3300-11db-4f48-8dad-b327e2962129:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.254s |
2020-10-21 22:59:14 |
2020-10-21 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:14 | ------------------------------------ 2020-10-21 22:59:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><item-id>item-812f3300-11db-4f48-8dad-b327e2962129</item-id></data> 2020-10-21 22:59:14 | 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-d346519c-64b3-43c3-91de-a0f5aafafed3</value></node><item-id type="text-single" label="Item ID"><value>item-812f3300-11db-4f48-8dad-b327e2962129</value></item-id><item type="text-multi" label="Item"><value><item id="item-812f3300-11db-4f48-8dad-b327e2962129"><test>item-812f3300-11db-4f48-8dad-b327e2962129</test></item></value></item></result> 2020-10-21 22:59:14 | [Mutex] notify: [retrieved:item:item-812f3300-11db-4f48-8dad-b327e2962129:payload-matches:true:localhost] 2020-10-21 22:59:14 | [Mutex] received everything. 2020-10-21 22:59:14 | [Mutex] isItemNotified: retrieved:item:item-812f3300-11db-4f48-8dad-b327e2962129:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-21 22:59:14 |
2020-10-21 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:14 | ------------------------------------ 2020-10-21 22:59:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-21 22:59:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d346519c-64b3-43c3-91de-a0f5aafafed3</value><value>node-b68e0506-0935-44e1-b7a4-e33e321a03c5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-10-21 22:59:14 |
2020-10-21 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:14 | ------------------------------------ 2020-10-21 22:59:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d346519c-64b3-43c3-91de-a0f5aafafed3)</node-pattern></data> 2020-10-21 22:59:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.134s |
2020-10-21 22:59:12 |
2020-10-21 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:12 | ------------------------------------ 2020-10-21 22:59:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-21 22:59:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.316s |
2020-10-21 22:59:14 |
2020-10-21 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-21 22:59:14 | ------------------------------------ 2020-10-21 22:59:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d346519c-64b3-43c3-91de-a0f5aafafed3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-21 22:59:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |