Test duration : 9.815s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2020-08-25 22:48:12 |
2020-08-25 22:48:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:12 | ------------------------------------ 2020-08-25 22:48:12 | [Mutex] waiting for: [configured:node:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:node-d107dd19-22c1-4a6e-9e2d-973fedec213d] 2020-08-25 22:48:12 | [Mutex] received everything. 2020-08-25 22:48:12 | [Mutex] isItemNotified: configured:node:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:node-d107dd19-22c1-4a6e-9e2d-973fedec213d :: true 2020-08-25 22:48:13 | [Mutex] waiting for: [received:nodes:d0898d3c-352e-4796-b7a3-c4ec2758610c:localhost] 2020-08-25 22:48:13 | [Mutex] waiting for: [received:nodes:d0898d3c-352e-4796-b7a3-c4ec2758610c:localhost] 2020-08-25 22:48:13 | [Mutex] received everything. 2020-08-25 22:48:13 | [Mutex] isItemNotified: received:node:d0898d3c-352e-4796-b7a3-c4ec2758610c:localhost:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:Node 8fa6b285-e907-46e0-b43c-2ba38d880b76 :: true 2020-08-25 22:48:13 | [Mutex] waiting for: [received:nodes:f1963a83-e4c2-4d22-bba6-109d31f4ccc8:localhost] 2020-08-25 22:48:13 | [Mutex] waiting for: [received:nodes:f1963a83-e4c2-4d22-bba6-109d31f4ccc8:localhost] 2020-08-25 22:48:13 | [Mutex] waiting for: [received:nodes:f1963a83-e4c2-4d22-bba6-109d31f4ccc8:localhost] 2020-08-25 22:48:13 | [Mutex] received everything. 2020-08-25 22:48:13 | [Mutex] isItemNotified: received:node:f1963a83-e4c2-4d22-bba6-109d31f4ccc8:localhost:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:Node 8fa6b285-e907-46e0-b43c-2ba38d880b76 :: false |
createNodes | 1.416s |
2020-08-25 22:48:10 |
2020-08-25 22:48:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:10 | ------------------------------------ 2020-08-25 22:48:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8fa6b285-e907-46e0-b43c-2ba38d880b76</title></pubsub></data> 2020-08-25 22:48:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 22:48:11 | [Mutex] waiting for: [received:nodes:ae869899-bcb4-439a-8cb2-d2122eea0cec:localhost] 2020-08-25 22:48:11 | [Mutex] received everything. 2020-08-25 22:48:11 | [Mutex] isItemNotified: received:node:ae869899-bcb4-439a-8cb2-d2122eea0cec:localhost:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:Node 8fa6b285-e907-46e0-b43c-2ba38d880b76 :: true |
createSubnodes | 1.040s |
2020-08-25 22:48:11 |
2020-08-25 22:48:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:11 | ------------------------------------ 2020-08-25 22:48:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d107dd19-22c1-4a6e-9e2d-973fedec213d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d107dd19-22c1-4a6e-9e2d-973fedec213d</title></pubsub></data> 2020-08-25 22:48:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 22:48:12 | [Mutex] waiting for: [received:nodes:05f88192-c771-4126-b04f-22a242a78409:localhost] 2020-08-25 22:48:12 | [Mutex] received everything. 2020-08-25 22:48:12 | [Mutex] isItemNotified: received:node:05f88192-c771-4126-b04f-22a242a78409:localhost:node-d107dd19-22c1-4a6e-9e2d-973fedec213d:Node d107dd19-22c1-4a6e-9e2d-973fedec213d :: true |
deleteNodes | 1.020s |
2020-08-25 22:48:18 |
2020-08-25 22:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:18 | ------------------------------------ 2020-08-25 22:48:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d107dd19-22c1-4a6e-9e2d-973fedec213d</node></data> 2020-08-25 22:48:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 22:48:19 | [Mutex] waiting for: [received:nodes:a6280b01-b89b-4378-8f11-371c4958971d:localhost] 2020-08-25 22:48:19 | [Mutex] received everything. 2020-08-25 22:48:19 | [Mutex] isItemNotified: received:node:a6280b01-b89b-4378-8f11-371c4958971d:localhost:node-d107dd19-22c1-4a6e-9e2d-973fedec213d:Node d107dd19-22c1-4a6e-9e2d-973fedec213d :: false |
deleteSubnodes | 1.136s |
2020-08-25 22:48:16 |
2020-08-25 22:48:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:16 | ------------------------------------ 2020-08-25 22:48:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node></data> 2020-08-25 22:48:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 22:48:18 | [Mutex] waiting for: [received:nodes:e6c2a3b6-c502-4e8b-8f13-4e4c99e58294:localhost] 2020-08-25 22:48:18 | [Mutex] waiting for: [received:nodes:e6c2a3b6-c502-4e8b-8f13-4e4c99e58294:localhost] 2020-08-25 22:48:18 | [Mutex] received everything. 2020-08-25 22:48:18 | [Mutex] isItemNotified: received:node:e6c2a3b6-c502-4e8b-8f13-4e4c99e58294:localhost:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:Node 8fa6b285-e907-46e0-b43c-2ba38d880b76 :: false 2020-08-25 22:48:18 | [Mutex] waiting for: [received:nodes:665bfe89-b32e-44cc-870b-9d24c9cd6c0f:localhost] 2020-08-25 22:48:18 | [Mutex] received everything. 2020-08-25 22:48:18 | [Mutex] isItemNotified: received:node:665bfe89-b32e-44cc-870b-9d24c9cd6c0f:localhost:node-8fa6b285-e907-46e0-b43c-2ba38d880b76:Node 8fa6b285-e907-46e0-b43c-2ba38d880b76 :: false |
publishItemsToNodes | 0.224s |
2020-08-25 22:48:14 |
2020-08-25 22:48:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:14 | ------------------------------------ 2020-08-25 22:48:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><item-id>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</item-id><entry><test>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</test></entry></data> 2020-08-25 22:48:15 | 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-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</value></item-id></result> 2020-08-25 22:48:15 | [Mutex] waiting for: [published:item:notifieditem-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5:admin@test-domain.com] 2020-08-25 22:48:15 | [Mutex] received everything. 2020-08-25 22:48:15 | [Mutex] isItemNotified: published:item:notifieditem-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.211s |
2020-08-25 22:48:15 |
2020-08-25 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:15 | ------------------------------------ 2020-08-25 22:48:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><item-id>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</item-id></data> 2020-08-25 22:48:15 | 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-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</value></item-id></result> 2020-08-25 22:48:15 | [Mutex] received everything. 2020-08-25 22:48:15 | [Mutex] isItemNotified: retracted:item:notifieditem-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.240s |
2020-08-25 22:48:15 |
2020-08-25 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:15 | ------------------------------------ 2020-08-25 22:48:15 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><item-id>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</item-id></data> 2020-08-25 22:48:15 | 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-8fa6b285-e907-46e0-b43c-2ba38d880b76</value></node><item-id type="text-single" label="Item ID"><value>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</value></item-id><item type="text-multi" label="Item"><value><item id="item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5"><test>item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5</test></item></value></item></result> 2020-08-25 22:48:15 | [Mutex] notify: [retrieved:item:item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5:payload-matches:true:localhost] 2020-08-25 22:48:15 | [Mutex] received everything. 2020-08-25 22:48:15 | [Mutex] isItemNotified: retrieved:item:item-9159024b-fb9d-4e8c-b9ef-3fcdf611a1d5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-08-25 22:48:15 |
2020-08-25 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:15 | ------------------------------------ 2020-08-25 22:48:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-25 22:48:15 | 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-d107dd19-22c1-4a6e-9e2d-973fedec213d</value><value>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-08-25 22:48:15 |
2020-08-25 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:15 | ------------------------------------ 2020-08-25 22:48:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8fa6b285-e907-46e0-b43c-2ba38d880b76)</node-pattern></data> 2020-08-25 22:48:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.152s |
2020-08-25 22:48:13 |
2020-08-25 22:48:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:13 | ------------------------------------ 2020-08-25 22:48:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 22:48:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.303s |
2020-08-25 22:48:15 |
2020-08-25 22:48:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 22:48:15 | ------------------------------------ 2020-08-25 22:48:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8fa6b285-e907-46e0-b43c-2ba38d880b76</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 22:48:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |