Test duration : 9.836s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2022-04-14 23:01:42 |
2022-04-14 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:42 | ------------------------------------ 2022-04-14 23:01:42 | [Mutex] waiting for: [configured:node:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f] 2022-04-14 23:01:42 | [Mutex] received everything. 2022-04-14 23:01:42 | [Mutex] isItemNotified: configured:node:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f :: true 2022-04-14 23:01:43 | [Mutex] waiting for: [received:nodes:cc1b212c-3736-432a-acb2-b7e6e726c2b7:localhost] 2022-04-14 23:01:43 | [Mutex] received everything. 2022-04-14 23:01:43 | [Mutex] isItemNotified: received:node:cc1b212c-3736-432a-acb2-b7e6e726c2b7:localhost:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5 :: true 2022-04-14 23:01:43 | [Mutex] waiting for: [received:nodes:fbcb6339-50e2-42d5-827e-4d978ccc7a08:localhost] 2022-04-14 23:01:43 | [Mutex] received everything. 2022-04-14 23:01:43 | [Mutex] isItemNotified: received:node:fbcb6339-50e2-42d5-827e-4d978ccc7a08:localhost:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5 :: false |
createNodes | 1.523s |
2022-04-14 23:01:39 |
2022-04-14 23:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:39 | ------------------------------------ 2022-04-14 23:01:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</title></pubsub></data> 2022-04-14 23:01:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 23:01:41 | [Mutex] waiting for: [received:nodes:088bb445-726b-4c1e-972a-21e7d26c0c77:localhost] 2022-04-14 23:01:41 | [Mutex] waiting for: [received:nodes:088bb445-726b-4c1e-972a-21e7d26c0c77:localhost] 2022-04-14 23:01:41 | [Mutex] received everything. 2022-04-14 23:01:41 | [Mutex] isItemNotified: received:node:088bb445-726b-4c1e-972a-21e7d26c0c77:localhost:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5 :: true |
createSubnodes | 1.056s |
2022-04-14 23:01:41 |
2022-04-14 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:41 | ------------------------------------ 2022-04-14 23:01:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6ba3ed38-cfa0-40df-8e05-5e32ea4a268f</title></pubsub></data> 2022-04-14 23:01:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 23:01:42 | [Mutex] waiting for: [received:nodes:fce123dc-ab65-4398-a79d-e2b960fc9ecd:localhost] 2022-04-14 23:01:42 | [Mutex] received everything. 2022-04-14 23:01:42 | [Mutex] isItemNotified: received:node:fce123dc-ab65-4398-a79d-e2b960fc9ecd:localhost:node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f:Node 6ba3ed38-cfa0-40df-8e05-5e32ea4a268f :: true |
deleteNodes | 1.015s |
2022-04-14 23:01:47 |
2022-04-14 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:47 | ------------------------------------ 2022-04-14 23:01:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f</node></data> 2022-04-14 23:01:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 23:01:48 | [Mutex] waiting for: [received:nodes:19b79bbc-b985-4a6e-afff-c5ee38f4b221:localhost] 2022-04-14 23:01:48 | [Mutex] received everything. 2022-04-14 23:01:48 | [Mutex] isItemNotified: received:node:19b79bbc-b985-4a6e-afff-c5ee38f4b221:localhost:node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f:Node 6ba3ed38-cfa0-40df-8e05-5e32ea4a268f :: false |
deleteSubnodes | 1.113s |
2022-04-14 23:01:46 |
2022-04-14 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:46 | ------------------------------------ 2022-04-14 23:01:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node></data> 2022-04-14 23:01:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-04-14 23:01:47 | [Mutex] waiting for: [received:nodes:5320848b-d794-4e26-9773-21ae5d93f319:localhost] 2022-04-14 23:01:47 | [Mutex] waiting for: [received:nodes:5320848b-d794-4e26-9773-21ae5d93f319:localhost] 2022-04-14 23:01:47 | [Mutex] received everything. 2022-04-14 23:01:47 | [Mutex] isItemNotified: received:node:5320848b-d794-4e26-9773-21ae5d93f319:localhost:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5 :: false 2022-04-14 23:01:47 | [Mutex] waiting for: [received:nodes:85159aa2-8626-4c4c-999f-ed22771016cd:localhost] 2022-04-14 23:01:47 | [Mutex] received everything. 2022-04-14 23:01:47 | [Mutex] isItemNotified: received:node:85159aa2-8626-4c4c-999f-ed22771016cd:localhost:node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5:Node ac1e36e9-b4c8-4920-bd0e-4caab8510cc5 :: false |
publishItemsToNodes | 0.192s |
2022-04-14 23:01:44 |
2022-04-14 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:44 | ------------------------------------ 2022-04-14 23:01:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><item-id>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</item-id><entry><test>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</test></entry></data> 2022-04-14 23:01:44 | 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-1a931d4b-e132-4af2-844f-fa22a7bd012a</value></item-id></result> 2022-04-14 23:01:44 | [Mutex] received everything. 2022-04-14 23:01:44 | [Mutex] isItemNotified: published:item:notifieditem-1a931d4b-e132-4af2-844f-fa22a7bd012a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.302s |
2022-04-14 23:01:45 |
2022-04-14 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:45 | ------------------------------------ 2022-04-14 23:01:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><item-id>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</item-id></data> 2022-04-14 23:01:45 | 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-1a931d4b-e132-4af2-844f-fa22a7bd012a</value></item-id></result> 2022-04-14 23:01:45 | [Mutex] waiting for: [retracted:item:notifieditem-1a931d4b-e132-4af2-844f-fa22a7bd012a:admin@test-domain.com] 2022-04-14 23:01:45 | [Mutex] received everything. 2022-04-14 23:01:45 | [Mutex] isItemNotified: retracted:item:notifieditem-1a931d4b-e132-4af2-844f-fa22a7bd012a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2022-04-14 23:01:44 |
2022-04-14 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:44 | ------------------------------------ 2022-04-14 23:01:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><item-id>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</item-id></data> 2022-04-14 23:01:44 | 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-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</value></node><item-id type="text-single" label="Item ID"><value>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</value></item-id><item type="text-multi" label="Item"><value><item id="item-1a931d4b-e132-4af2-844f-fa22a7bd012a"><test>item-1a931d4b-e132-4af2-844f-fa22a7bd012a</test></item></value></item></result> 2022-04-14 23:01:44 | [Mutex] notify: [retrieved:item:item-1a931d4b-e132-4af2-844f-fa22a7bd012a:payload-matches:true:localhost] 2022-04-14 23:01:44 | [Mutex] received everything. 2022-04-14 23:01:44 | [Mutex] isItemNotified: retrieved:item:item-1a931d4b-e132-4af2-844f-fa22a7bd012a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-04-14 23:01:44 |
2022-04-14 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:44 | ------------------------------------ 2022-04-14 23:01:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-04-14 23:01:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6ba3ed38-cfa0-40df-8e05-5e32ea4a268f</value><value>test</value><value>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-04-14 23:01:44 |
2022-04-14 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:44 | ------------------------------------ 2022-04-14 23:01:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5)</node-pattern></data> 2022-04-14 23:01:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.164s |
2022-04-14 23:01:43 |
2022-04-14 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:43 | ------------------------------------ 2022-04-14 23:01:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 23:01:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.176s |
2022-04-14 23:01:45 |
2022-04-14 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-04-14 23:01:45 | ------------------------------------ 2022-04-14 23:01:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ac1e36e9-b4c8-4920-bd0e-4caab8510cc5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-04-14 23:01:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |