Test duration : 10.438s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.134s |
2021-09-30 23:09:51 |
2021-09-30 23:09:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:51 | ------------------------------------ 2021-09-30 23:09:51 | [Mutex] waiting for: [configured:node:node-b86090e3-1080-49d8-8573-81ff7fc791ba:node-09e6b6af-9e94-44e3-89fb-2b99a145c706] 2021-09-30 23:09:52 | [Mutex] received everything. 2021-09-30 23:09:52 | [Mutex] isItemNotified: configured:node:node-b86090e3-1080-49d8-8573-81ff7fc791ba:node-09e6b6af-9e94-44e3-89fb-2b99a145c706 :: true 2021-09-30 23:09:53 | [Mutex] waiting for: [received:nodes:014b5d04-9455-4bf1-9d3d-3bf0d7cd0a45:localhost] 2021-09-30 23:09:53 | [Mutex] received everything. 2021-09-30 23:09:53 | [Mutex] isItemNotified: received:node:014b5d04-9455-4bf1-9d3d-3bf0d7cd0a45:localhost:node-b86090e3-1080-49d8-8573-81ff7fc791ba:Node b86090e3-1080-49d8-8573-81ff7fc791ba :: true 2021-09-30 23:09:53 | [Mutex] waiting for: [received:nodes:2e4f6b16-5229-4ad4-aebe-a58a1921f9fc:localhost] 2021-09-30 23:09:53 | [Mutex] waiting for: [received:nodes:2e4f6b16-5229-4ad4-aebe-a58a1921f9fc:localhost] 2021-09-30 23:09:53 | [Mutex] waiting for: [received:nodes:2e4f6b16-5229-4ad4-aebe-a58a1921f9fc:localhost] 2021-09-30 23:09:53 | [Mutex] received everything. 2021-09-30 23:09:53 | [Mutex] isItemNotified: received:node:2e4f6b16-5229-4ad4-aebe-a58a1921f9fc:localhost:node-b86090e3-1080-49d8-8573-81ff7fc791ba:Node b86090e3-1080-49d8-8573-81ff7fc791ba :: false |
createNodes | 1.631s |
2021-09-30 23:09:49 |
2021-09-30 23:09:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:49 | ------------------------------------ 2021-09-30 23:09:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b86090e3-1080-49d8-8573-81ff7fc791ba</title></pubsub></data> 2021-09-30 23:09:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 23:09:50 | [Mutex] waiting for: [received:nodes:96b12700-eed5-4a2f-808c-940699981421:localhost] 2021-09-30 23:09:50 | [Mutex] waiting for: [received:nodes:96b12700-eed5-4a2f-808c-940699981421:localhost] 2021-09-30 23:09:50 | [Mutex] received everything. 2021-09-30 23:09:50 | [Mutex] isItemNotified: received:node:96b12700-eed5-4a2f-808c-940699981421:localhost:node-b86090e3-1080-49d8-8573-81ff7fc791ba:Node b86090e3-1080-49d8-8573-81ff7fc791ba :: true |
createSubnodes | 1.025s |
2021-09-30 23:09:50 |
2021-09-30 23:09:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:50 | ------------------------------------ 2021-09-30 23:09:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-09e6b6af-9e94-44e3-89fb-2b99a145c706</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 09e6b6af-9e94-44e3-89fb-2b99a145c706</title></pubsub></data> 2021-09-30 23:09:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 23:09:51 | [Mutex] waiting for: [received:nodes:1a533044-3c7f-45bf-992c-64c7d9a214d4:localhost] 2021-09-30 23:09:51 | [Mutex] received everything. 2021-09-30 23:09:51 | [Mutex] isItemNotified: received:node:1a533044-3c7f-45bf-992c-64c7d9a214d4:localhost:node-09e6b6af-9e94-44e3-89fb-2b99a145c706:Node 09e6b6af-9e94-44e3-89fb-2b99a145c706 :: true |
deleteNodes | 1.019s |
2021-09-30 23:09:57 |
2021-09-30 23:09:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:57 | ------------------------------------ 2021-09-30 23:09:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-09e6b6af-9e94-44e3-89fb-2b99a145c706</node></data> 2021-09-30 23:09:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 23:09:58 | [Mutex] waiting for: [received:nodes:0b0e4a0b-5ab4-46f9-8538-ab492f0dc852:localhost] 2021-09-30 23:09:58 | [Mutex] received everything. 2021-09-30 23:09:58 | [Mutex] isItemNotified: received:node:0b0e4a0b-5ab4-46f9-8538-ab492f0dc852:localhost:node-09e6b6af-9e94-44e3-89fb-2b99a145c706:Node 09e6b6af-9e94-44e3-89fb-2b99a145c706 :: false |
deleteSubnodes | 1.159s |
2021-09-30 23:09:56 |
2021-09-30 23:09:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:56 | ------------------------------------ 2021-09-30 23:09:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node></data> 2021-09-30 23:09:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-30 23:09:57 | [Mutex] waiting for: [received:nodes:36bc4a39-1353-447c-ad19-a55d1e4749ef:localhost] 2021-09-30 23:09:57 | [Mutex] waiting for: [received:nodes:36bc4a39-1353-447c-ad19-a55d1e4749ef:localhost] 2021-09-30 23:09:57 | [Mutex] received everything. 2021-09-30 23:09:57 | [Mutex] isItemNotified: received:node:36bc4a39-1353-447c-ad19-a55d1e4749ef:localhost:node-b86090e3-1080-49d8-8573-81ff7fc791ba:Node b86090e3-1080-49d8-8573-81ff7fc791ba :: false 2021-09-30 23:09:57 | [Mutex] waiting for: [received:nodes:a36c9244-1426-4f0a-af08-bda417d90e62:localhost] 2021-09-30 23:09:57 | [Mutex] received everything. 2021-09-30 23:09:57 | [Mutex] isItemNotified: received:node:a36c9244-1426-4f0a-af08-bda417d90e62:localhost:node-b86090e3-1080-49d8-8573-81ff7fc791ba:Node b86090e3-1080-49d8-8573-81ff7fc791ba :: false |
publishItemsToNodes | 0.321s |
2021-09-30 23:09:54 |
2021-09-30 23:09:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:54 | ------------------------------------ 2021-09-30 23:09:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><item-id>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</item-id><entry><test>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</test></entry></data> 2021-09-30 23:09:54 | 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-4ba423f8-aab9-4a47-964c-d1a3015481e8</value></item-id></result> 2021-09-30 23:09:54 | [Mutex] received everything. 2021-09-30 23:09:54 | [Mutex] isItemNotified: published:item:notifieditem-4ba423f8-aab9-4a47-964c-d1a3015481e8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.276s |
2021-09-30 23:09:55 |
2021-09-30 23:09:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:55 | ------------------------------------ 2021-09-30 23:09:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><item-id>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</item-id></data> 2021-09-30 23:09:55 | 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-4ba423f8-aab9-4a47-964c-d1a3015481e8</value></item-id></result> 2021-09-30 23:09:55 | [Mutex] waiting for: [retracted:item:notifieditem-4ba423f8-aab9-4a47-964c-d1a3015481e8:admin@test-domain.com] 2021-09-30 23:09:55 | [Mutex] received everything. 2021-09-30 23:09:55 | [Mutex] isItemNotified: retracted:item:notifieditem-4ba423f8-aab9-4a47-964c-d1a3015481e8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.307s |
2021-09-30 23:09:54 |
2021-09-30 23:09:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:54 | ------------------------------------ 2021-09-30 23:09:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><item-id>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</item-id></data> 2021-09-30 23:09:54 | 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-b86090e3-1080-49d8-8573-81ff7fc791ba</value></node><item-id type="text-single" label="Item ID"><value>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</value></item-id><item type="text-multi" label="Item"><value><item id="item-4ba423f8-aab9-4a47-964c-d1a3015481e8"><test>item-4ba423f8-aab9-4a47-964c-d1a3015481e8</test></item></value></item></result> 2021-09-30 23:09:54 | [Mutex] notify: [retrieved:item:item-4ba423f8-aab9-4a47-964c-d1a3015481e8:payload-matches:true:localhost] 2021-09-30 23:09:54 | [Mutex] received everything. 2021-09-30 23:09:54 | [Mutex] isItemNotified: retrieved:item:item-4ba423f8-aab9-4a47-964c-d1a3015481e8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-09-30 23:09:54 |
2021-09-30 23:09:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:54 | ------------------------------------ 2021-09-30 23:09:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-30 23:09:54 | 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-b86090e3-1080-49d8-8573-81ff7fc791ba</value><value>node-09e6b6af-9e94-44e3-89fb-2b99a145c706</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-30 23:09:54 |
2021-09-30 23:09:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:54 | ------------------------------------ 2021-09-30 23:09:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b86090e3-1080-49d8-8573-81ff7fc791ba)</node-pattern></data> 2021-09-30 23:09:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.193s |
2021-09-30 23:09:53 |
2021-09-30 23:09:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:53 | ------------------------------------ 2021-09-30 23:09:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-30 23:09:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.263s |
2021-09-30 23:09:55 |
2021-09-30 23:09:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-30 23:09:55 | ------------------------------------ 2021-09-30 23:09:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b86090e3-1080-49d8-8573-81ff7fc791ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-30 23:09:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |