Test duration : 9.860s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2020-09-02 23:14:42 |
2020-09-02 23:14:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:42 | ------------------------------------ 2020-09-02 23:14:42 | [Mutex] waiting for: [configured:node:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:node-aed22596-71b7-4e70-9ec2-268f042ef4d7] 2020-09-02 23:14:42 | [Mutex] received everything. 2020-09-02 23:14:42 | [Mutex] isItemNotified: configured:node:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:node-aed22596-71b7-4e70-9ec2-268f042ef4d7 :: true 2020-09-02 23:14:43 | [Mutex] waiting for: [received:nodes:530a37a3-7ce3-4fc4-b5ce-731853f102b9:localhost] 2020-09-02 23:14:43 | [Mutex] received everything. 2020-09-02 23:14:43 | [Mutex] isItemNotified: received:node:530a37a3-7ce3-4fc4-b5ce-731853f102b9:localhost:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2 :: true 2020-09-02 23:14:43 | [Mutex] waiting for: [received:nodes:2605e6fb-dcb4-4ac4-9ec7-61af9b7c810b:localhost] 2020-09-02 23:14:43 | [Mutex] received everything. 2020-09-02 23:14:43 | [Mutex] isItemNotified: received:node:2605e6fb-dcb4-4ac4-9ec7-61af9b7c810b:localhost:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2 :: false |
createNodes | 1.444s |
2020-09-02 23:14:40 |
2020-09-02 23:14:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:40 | ------------------------------------ 2020-09-02 23:14:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2</title></pubsub></data> 2020-09-02 23:14:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 23:14:41 | [Mutex] waiting for: [received:nodes:d5a28e71-a1a8-427f-889f-47a9d742c89c:localhost] 2020-09-02 23:14:41 | [Mutex] received everything. 2020-09-02 23:14:41 | [Mutex] isItemNotified: received:node:d5a28e71-a1a8-427f-889f-47a9d742c89c:localhost:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2 :: true |
createSubnodes | 1.025s |
2020-09-02 23:14:41 |
2020-09-02 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:41 | ------------------------------------ 2020-09-02 23:14:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aed22596-71b7-4e70-9ec2-268f042ef4d7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aed22596-71b7-4e70-9ec2-268f042ef4d7</title></pubsub></data> 2020-09-02 23:14:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 23:14:42 | [Mutex] waiting for: [received:nodes:53795fcf-db45-49c5-91c5-75e3a039ea30:localhost] 2020-09-02 23:14:42 | [Mutex] received everything. 2020-09-02 23:14:42 | [Mutex] isItemNotified: received:node:53795fcf-db45-49c5-91c5-75e3a039ea30:localhost:node-aed22596-71b7-4e70-9ec2-268f042ef4d7:Node aed22596-71b7-4e70-9ec2-268f042ef4d7 :: true |
deleteNodes | 1.020s |
2020-09-02 23:14:48 |
2020-09-02 23:14:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:48 | ------------------------------------ 2020-09-02 23:14:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aed22596-71b7-4e70-9ec2-268f042ef4d7</node></data> 2020-09-02 23:14:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 23:14:49 | [Mutex] waiting for: [received:nodes:b72d787d-ae7a-4c6c-8705-6e185bae1f1a:localhost] 2020-09-02 23:14:49 | [Mutex] waiting for: [received:nodes:b72d787d-ae7a-4c6c-8705-6e185bae1f1a:localhost] 2020-09-02 23:14:49 | [Mutex] received everything. 2020-09-02 23:14:49 | [Mutex] isItemNotified: received:node:b72d787d-ae7a-4c6c-8705-6e185bae1f1a:localhost:node-aed22596-71b7-4e70-9ec2-268f042ef4d7:Node aed22596-71b7-4e70-9ec2-268f042ef4d7 :: false |
deleteSubnodes | 1.160s |
2020-09-02 23:14:46 |
2020-09-02 23:14:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:46 | ------------------------------------ 2020-09-02 23:14:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node></data> 2020-09-02 23:14:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 23:14:48 | [Mutex] waiting for: [received:nodes:8e41c28b-7502-4791-b44f-e923c3c05c17:localhost] 2020-09-02 23:14:48 | [Mutex] received everything. 2020-09-02 23:14:48 | [Mutex] isItemNotified: received:node:8e41c28b-7502-4791-b44f-e923c3c05c17:localhost:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2 :: false 2020-09-02 23:14:48 | [Mutex] waiting for: [received:nodes:7003b95b-4613-4c24-9fe7-03eeaf357b04:localhost] 2020-09-02 23:14:48 | [Mutex] received everything. 2020-09-02 23:14:48 | [Mutex] isItemNotified: received:node:7003b95b-4613-4c24-9fe7-03eeaf357b04:localhost:node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2:Node b8ac508f-cecb-44a0-a0b8-a269c64cceb2 :: false |
publishItemsToNodes | 0.254s |
2020-09-02 23:14:44 |
2020-09-02 23:14:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:44 | ------------------------------------ 2020-09-02 23:14:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><item-id>item-daee565c-5ee8-4270-a1cd-0752017180d9</item-id><entry><test>item-daee565c-5ee8-4270-a1cd-0752017180d9</test></entry></data> 2020-09-02 23:14:45 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-daee565c-5ee8-4270-a1cd-0752017180d9</value></item-id></result> 2020-09-02 23:14:45 | [Mutex] received everything. 2020-09-02 23:14:45 | [Mutex] isItemNotified: published:item:notifieditem-daee565c-5ee8-4270-a1cd-0752017180d9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.180s |
2020-09-02 23:14:45 |
2020-09-02 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:45 | ------------------------------------ 2020-09-02 23:14:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><item-id>item-daee565c-5ee8-4270-a1cd-0752017180d9</item-id></data> 2020-09-02 23:14:45 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-daee565c-5ee8-4270-a1cd-0752017180d9</value></item-id></result> 2020-09-02 23:14:45 | [Mutex] received everything. 2020-09-02 23:14:45 | [Mutex] isItemNotified: retracted:item:notifieditem-daee565c-5ee8-4270-a1cd-0752017180d9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.204s |
2020-09-02 23:14:45 |
2020-09-02 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:45 | ------------------------------------ 2020-09-02 23:14:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><item-id>item-daee565c-5ee8-4270-a1cd-0752017180d9</item-id></data> 2020-09-02 23:14:45 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</value></node><item-id label="Item ID" type="text-single"><value>item-daee565c-5ee8-4270-a1cd-0752017180d9</value></item-id><item label="Item" type="text-multi"><value><item id="item-daee565c-5ee8-4270-a1cd-0752017180d9"><test>item-daee565c-5ee8-4270-a1cd-0752017180d9</test></item></value></item></result> 2020-09-02 23:14:45 | [Mutex] notify: [retrieved:item:item-daee565c-5ee8-4270-a1cd-0752017180d9:payload-matches:true:localhost] 2020-09-02 23:14:45 | [Mutex] received everything. 2020-09-02 23:14:45 | [Mutex] isItemNotified: retrieved:item:item-daee565c-5ee8-4270-a1cd-0752017180d9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-02 23:14:45 |
2020-09-02 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:45 | ------------------------------------ 2020-09-02 23:14:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-02 23:14:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-aed22596-71b7-4e70-9ec2-268f042ef4d7</value><value>test</value><value>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-02 23:14:45 |
2020-09-02 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:45 | ------------------------------------ 2020-09-02 23:14:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2)</node-pattern></data> 2020-09-02 23:14:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.124s |
2020-09-02 23:14:43 |
2020-09-02 23:14:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:43 | ------------------------------------ 2020-09-02 23:14:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 23:14: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.286s |
2020-09-02 23:14:45 |
2020-09-02 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 23:14:45 | ------------------------------------ 2020-09-02 23:14:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b8ac508f-cecb-44a0-a0b8-a269c64cceb2</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 23:14:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |