Test duration : 9.944s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2020-10-19 22:52:51 |
2020-10-19 22:52:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:51 | ------------------------------------ 2020-10-19 22:52:51 | [Mutex] waiting for: [configured:node:node-67479b2c-df48-44b6-aeb2-3e684432cdad:node-6e47a304-4580-450f-b870-8ef92de8bbf3] 2020-10-19 22:52:51 | [Mutex] received everything. 2020-10-19 22:52:51 | [Mutex] isItemNotified: configured:node:node-67479b2c-df48-44b6-aeb2-3e684432cdad:node-6e47a304-4580-450f-b870-8ef92de8bbf3 :: true 2020-10-19 22:52:52 | [Mutex] waiting for: [received:nodes:6c1d79ae-35ba-4683-ab41-869d9ff4b1f9:localhost] 2020-10-19 22:52:52 | [Mutex] received everything. 2020-10-19 22:52:52 | [Mutex] isItemNotified: received:node:6c1d79ae-35ba-4683-ab41-869d9ff4b1f9:localhost:node-67479b2c-df48-44b6-aeb2-3e684432cdad:Node 67479b2c-df48-44b6-aeb2-3e684432cdad :: true 2020-10-19 22:52:52 | [Mutex] waiting for: [received:nodes:d389d0cb-b038-428c-8b46-eecfb1084575:localhost] 2020-10-19 22:52:52 | [Mutex] received everything. 2020-10-19 22:52:52 | [Mutex] isItemNotified: received:node:d389d0cb-b038-428c-8b46-eecfb1084575:localhost:node-67479b2c-df48-44b6-aeb2-3e684432cdad:Node 67479b2c-df48-44b6-aeb2-3e684432cdad :: false |
createNodes | 1.348s |
2020-10-19 22:52:48 |
2020-10-19 22:52:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:48 | ------------------------------------ 2020-10-19 22:52:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 67479b2c-df48-44b6-aeb2-3e684432cdad</title></pubsub></data> 2020-10-19 22:52:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:52:50 | [Mutex] waiting for: [received:nodes:cdf6efb7-9ee7-4828-abc1-b349d411c997:localhost] 2020-10-19 22:52:50 | [Mutex] received everything. 2020-10-19 22:52:50 | [Mutex] isItemNotified: received:node:cdf6efb7-9ee7-4828-abc1-b349d411c997:localhost:node-67479b2c-df48-44b6-aeb2-3e684432cdad:Node 67479b2c-df48-44b6-aeb2-3e684432cdad :: true |
createSubnodes | 1.031s |
2020-10-19 22:52:50 |
2020-10-19 22:52:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:50 | ------------------------------------ 2020-10-19 22:52:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6e47a304-4580-450f-b870-8ef92de8bbf3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6e47a304-4580-450f-b870-8ef92de8bbf3</title></pubsub></data> 2020-10-19 22:52:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:52:51 | [Mutex] waiting for: [received:nodes:5b76e568-d707-4180-ad8d-785c588405db:localhost] 2020-10-19 22:52:51 | [Mutex] received everything. 2020-10-19 22:52:51 | [Mutex] isItemNotified: received:node:5b76e568-d707-4180-ad8d-785c588405db:localhost:node-6e47a304-4580-450f-b870-8ef92de8bbf3:Node 6e47a304-4580-450f-b870-8ef92de8bbf3 :: true |
deleteNodes | 1.020s |
2020-10-19 22:52:56 |
2020-10-19 22:52:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:56 | ------------------------------------ 2020-10-19 22:52:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6e47a304-4580-450f-b870-8ef92de8bbf3</node></data> 2020-10-19 22:52:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:52:57 | [Mutex] waiting for: [received:nodes:f6cb5f69-1d12-45ac-8622-76d9e14598b4:localhost] 2020-10-19 22:52:57 | [Mutex] received everything. 2020-10-19 22:52:57 | [Mutex] isItemNotified: received:node:f6cb5f69-1d12-45ac-8622-76d9e14598b4:localhost:node-6e47a304-4580-450f-b870-8ef92de8bbf3:Node 6e47a304-4580-450f-b870-8ef92de8bbf3 :: false |
deleteSubnodes | 1.166s |
2020-10-19 22:52:55 |
2020-10-19 22:52:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:55 | ------------------------------------ 2020-10-19 22:52:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node></data> 2020-10-19 22:52:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:52:56 | [Mutex] waiting for: [received:nodes:00774f4f-3e56-41a7-bacc-70a3c0ba5d78:localhost] 2020-10-19 22:52:56 | [Mutex] received everything. 2020-10-19 22:52:56 | [Mutex] isItemNotified: received:node:00774f4f-3e56-41a7-bacc-70a3c0ba5d78:localhost:node-67479b2c-df48-44b6-aeb2-3e684432cdad:Node 67479b2c-df48-44b6-aeb2-3e684432cdad :: false 2020-10-19 22:52:56 | [Mutex] waiting for: [received:nodes:3b291bb8-3472-4866-a9b2-9848d635828c:localhost] 2020-10-19 22:52:56 | [Mutex] received everything. 2020-10-19 22:52:56 | [Mutex] isItemNotified: received:node:3b291bb8-3472-4866-a9b2-9848d635828c:localhost:node-67479b2c-df48-44b6-aeb2-3e684432cdad:Node 67479b2c-df48-44b6-aeb2-3e684432cdad :: false |
publishItemsToNodes | 0.234s |
2020-10-19 22:52:53 |
2020-10-19 22:52:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:53 | ------------------------------------ 2020-10-19 22:52:53 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><item-id>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</item-id><entry><test>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</test></entry></data> 2020-10-19 22:52:53 | 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-5ea04059-0279-4a53-a04a-bcc93825b3d9</value></item-id></result> 2020-10-19 22:52:53 | [Mutex] waiting for: [published:item:notifieditem-5ea04059-0279-4a53-a04a-bcc93825b3d9:admin@test-domain.com] 2020-10-19 22:52:53 | [Mutex] received everything. 2020-10-19 22:52:53 | [Mutex] isItemNotified: published:item:notifieditem-5ea04059-0279-4a53-a04a-bcc93825b3d9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.181s |
2020-10-19 22:52:54 |
2020-10-19 22:52:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:54 | ------------------------------------ 2020-10-19 22:52:54 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><item-id>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</item-id></data> 2020-10-19 22:52:54 | 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-5ea04059-0279-4a53-a04a-bcc93825b3d9</value></item-id></result> 2020-10-19 22:52:54 | [Mutex] waiting for: [retracted:item:notifieditem-5ea04059-0279-4a53-a04a-bcc93825b3d9:admin@test-domain.com] 2020-10-19 22:52:54 | [Mutex] received everything. 2020-10-19 22:52:54 | [Mutex] isItemNotified: retracted:item:notifieditem-5ea04059-0279-4a53-a04a-bcc93825b3d9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2020-10-19 22:52:53 |
2020-10-19 22:52:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:53 | ------------------------------------ 2020-10-19 22:52:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><item-id>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</item-id></data> 2020-10-19 22:52:53 | 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-67479b2c-df48-44b6-aeb2-3e684432cdad</value></node><item-id type="text-single" label="Item ID"><value>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</value></item-id><item type="text-multi" label="Item"><value><item id="item-5ea04059-0279-4a53-a04a-bcc93825b3d9"><test>item-5ea04059-0279-4a53-a04a-bcc93825b3d9</test></item></value></item></result> 2020-10-19 22:52:53 | [Mutex] notify: [retrieved:item:item-5ea04059-0279-4a53-a04a-bcc93825b3d9:payload-matches:true:localhost] 2020-10-19 22:52:53 | [Mutex] received everything. 2020-10-19 22:52:53 | [Mutex] isItemNotified: retrieved:item:item-5ea04059-0279-4a53-a04a-bcc93825b3d9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-19 22:52:53 |
2020-10-19 22:52:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:53 | ------------------------------------ 2020-10-19 22:52:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-19 22:52:53 | 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-67479b2c-df48-44b6-aeb2-3e684432cdad</value><value>node-6e47a304-4580-450f-b870-8ef92de8bbf3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-10-19 22:52:53 |
2020-10-19 22:52:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:53 | ------------------------------------ 2020-10-19 22:52:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-67479b2c-df48-44b6-aeb2-3e684432cdad)</node-pattern></data> 2020-10-19 22:52:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.140s |
2020-10-19 22:52:52 |
2020-10-19 22:52:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:52 | ------------------------------------ 2020-10-19 22:52:52 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-19 22:52:52 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.281s |
2020-10-19 22:52:54 |
2020-10-19 22:52:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:52:54 | ------------------------------------ 2020-10-19 22:52:54 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-67479b2c-df48-44b6-aeb2-3e684432cdad</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-19 22:52:54 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |