Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 17 March 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.837s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2021-03-17 22:28:48 |

2021-03-17 22:28:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:48 | ------------------------------------

2021-03-17 22:28:48 | [Mutex] waiting for: [configured:node:node-440511fe-8e3b-47e1-855e-c47d956a9f49:node-a234d7fc-69e0-4700-9183-08f8546a4790]

2021-03-17 22:28:48 | [Mutex] received everything.

2021-03-17 22:28:48 | [Mutex] isItemNotified: configured:node:node-440511fe-8e3b-47e1-855e-c47d956a9f49:node-a234d7fc-69e0-4700-9183-08f8546a4790 :: true

2021-03-17 22:28:49 | [Mutex] waiting for: [received:nodes:56cbef74-fd9a-4a51-87f3-adfcc09182ec:localhost]

2021-03-17 22:28:49 | [Mutex] received everything.

2021-03-17 22:28:49 | [Mutex] isItemNotified: received:node:56cbef74-fd9a-4a51-87f3-adfcc09182ec:localhost:node-440511fe-8e3b-47e1-855e-c47d956a9f49:Node 440511fe-8e3b-47e1-855e-c47d956a9f49 :: true

2021-03-17 22:28:49 | [Mutex] waiting for: [received:nodes:72b0fb7b-cd0c-453f-bfb6-270a1d690c79:localhost]

2021-03-17 22:28:49 | [Mutex] received everything.

2021-03-17 22:28:49 | [Mutex] isItemNotified: received:node:72b0fb7b-cd0c-453f-bfb6-270a1d690c79:localhost:node-440511fe-8e3b-47e1-855e-c47d956a9f49:Node 440511fe-8e3b-47e1-855e-c47d956a9f49 :: false

createNodes 1.443s
2021-03-17 22:28:46 |

2021-03-17 22:28:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:46 | ------------------------------------

2021-03-17 22:28:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 440511fe-8e3b-47e1-855e-c47d956a9f49</title></pubsub></data>

2021-03-17 22:28:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:28:47 | [Mutex] waiting for: [received:nodes:590f51ad-9fb2-499a-bd20-6c54cff14ec8:localhost]

2021-03-17 22:28:47 | [Mutex] received everything.

2021-03-17 22:28:47 | [Mutex] isItemNotified: received:node:590f51ad-9fb2-499a-bd20-6c54cff14ec8:localhost:node-440511fe-8e3b-47e1-855e-c47d956a9f49:Node 440511fe-8e3b-47e1-855e-c47d956a9f49 :: true

createSubnodes 1.028s
2021-03-17 22:28:47 |

2021-03-17 22:28:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:47 | ------------------------------------

2021-03-17 22:28:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a234d7fc-69e0-4700-9183-08f8546a4790</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a234d7fc-69e0-4700-9183-08f8546a4790</title></pubsub></data>

2021-03-17 22:28:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:28:48 | [Mutex] waiting for: [received:nodes:469741d8-6514-46ce-a4a4-a73d44e0bc42:localhost]

2021-03-17 22:28:48 | [Mutex] received everything.

2021-03-17 22:28:48 | [Mutex] isItemNotified: received:node:469741d8-6514-46ce-a4a4-a73d44e0bc42:localhost:node-a234d7fc-69e0-4700-9183-08f8546a4790:Node a234d7fc-69e0-4700-9183-08f8546a4790 :: true

deleteNodes 1.019s
2021-03-17 22:28:54 |

2021-03-17 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:54 | ------------------------------------

2021-03-17 22:28:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a234d7fc-69e0-4700-9183-08f8546a4790</node></data>

2021-03-17 22:28:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:28:55 | [Mutex] waiting for: [received:nodes:b639b829-1157-4ab2-b97f-2a4e0cf46ae1:localhost]

2021-03-17 22:28:55 | [Mutex] received everything.

2021-03-17 22:28:55 | [Mutex] isItemNotified: received:node:b639b829-1157-4ab2-b97f-2a4e0cf46ae1:localhost:node-a234d7fc-69e0-4700-9183-08f8546a4790:Node a234d7fc-69e0-4700-9183-08f8546a4790 :: false

deleteSubnodes 1.115s
2021-03-17 22:28:53 |

2021-03-17 22:28:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:53 | ------------------------------------

2021-03-17 22:28:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node></data>

2021-03-17 22:28:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:28:54 | [Mutex] waiting for: [received:nodes:e4398f16-c094-4daf-8737-f578886d1198:localhost]

2021-03-17 22:28:54 | [Mutex] received everything.

2021-03-17 22:28:54 | [Mutex] isItemNotified: received:node:e4398f16-c094-4daf-8737-f578886d1198:localhost:node-440511fe-8e3b-47e1-855e-c47d956a9f49:Node 440511fe-8e3b-47e1-855e-c47d956a9f49 :: false

2021-03-17 22:28:54 | [Mutex] waiting for: [received:nodes:a9a3acf3-ba82-42c5-b158-9e08639f4c43:localhost]

2021-03-17 22:28:54 | [Mutex] received everything.

2021-03-17 22:28:54 | [Mutex] isItemNotified: received:node:a9a3acf3-ba82-42c5-b158-9e08639f4c43:localhost:node-440511fe-8e3b-47e1-855e-c47d956a9f49:Node 440511fe-8e3b-47e1-855e-c47d956a9f49 :: false

publishItemsToNodes 0.203s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><item-id>item-dad70424-0b67-41e7-a26d-89c0103694ff</item-id><entry><test>item-dad70424-0b67-41e7-a26d-89c0103694ff</test></entry></data>

2021-03-17 22:28:51 | 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-dad70424-0b67-41e7-a26d-89c0103694ff</value></item-id></result>

2021-03-17 22:28:51 | [Mutex] waiting for: [published:item:notifieditem-dad70424-0b67-41e7-a26d-89c0103694ff:admin@test-domain.com]

2021-03-17 22:28:51 | [Mutex] received everything.

2021-03-17 22:28:51 | [Mutex] isItemNotified: published:item:notifieditem-dad70424-0b67-41e7-a26d-89c0103694ff:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><item-id>item-dad70424-0b67-41e7-a26d-89c0103694ff</item-id></data>

2021-03-17 22:28:51 | 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-dad70424-0b67-41e7-a26d-89c0103694ff</value></item-id></result>

2021-03-17 22:28:51 | [Mutex] received everything.

2021-03-17 22:28:51 | [Mutex] isItemNotified: retracted:item:notifieditem-dad70424-0b67-41e7-a26d-89c0103694ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.331s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><item-id>item-dad70424-0b67-41e7-a26d-89c0103694ff</item-id></data>

2021-03-17 22:28:51 | 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-440511fe-8e3b-47e1-855e-c47d956a9f49</value></node><item-id type="text-single" label="Item ID"><value>item-dad70424-0b67-41e7-a26d-89c0103694ff</value></item-id><item type="text-multi" label="Item"><value><item id="item-dad70424-0b67-41e7-a26d-89c0103694ff"><test>item-dad70424-0b67-41e7-a26d-89c0103694ff</test></item></value></item></result>

2021-03-17 22:28:51 | [Mutex] notify: [retrieved:item:item-dad70424-0b67-41e7-a26d-89c0103694ff:payload-matches:true:localhost]

2021-03-17 22:28:51 | [Mutex] received everything.

2021-03-17 22:28:51 | [Mutex] isItemNotified: retrieved:item:item-dad70424-0b67-41e7-a26d-89c0103694ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.058s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-17 22:28:51 | 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-440511fe-8e3b-47e1-855e-c47d956a9f49</value><value>node-a234d7fc-69e0-4700-9183-08f8546a4790</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-440511fe-8e3b-47e1-855e-c47d956a9f49)</node-pattern></data>

2021-03-17 22:28:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.115s
2021-03-17 22:28:49 |

2021-03-17 22:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:49 | ------------------------------------

2021-03-17 22:28:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:28:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.199s
2021-03-17 22:28:51 |

2021-03-17 22:28:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:28:51 | ------------------------------------

2021-03-17 22:28:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-440511fe-8e3b-47e1-855e-c47d956a9f49</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:28:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>