Generated by TestNG with ReportNG at 22:51 PDT on Thursday 27 May 2021
root@b2c2a8eba6e6 / 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 : 10.276s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-05-27 23:06:46 |

2021-05-27 23:06:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:46 | ------------------------------------

2021-05-27 23:06:46 | [Mutex] waiting for: [configured:node:node-22302ffb-2f92-4286-80ad-ab1916b9103d:node-df36dc7c-b105-4eba-80bb-89cfd24d693a]

2021-05-27 23:06:46 | [Mutex] received everything.

2021-05-27 23:06:46 | [Mutex] isItemNotified: configured:node:node-22302ffb-2f92-4286-80ad-ab1916b9103d:node-df36dc7c-b105-4eba-80bb-89cfd24d693a :: true

2021-05-27 23:06:47 | [Mutex] waiting for: [received:nodes:e1ce14f6-8d6e-4258-9a89-59e0a17000f0:localhost]

2021-05-27 23:06:47 | [Mutex] received everything.

2021-05-27 23:06:47 | [Mutex] isItemNotified: received:node:e1ce14f6-8d6e-4258-9a89-59e0a17000f0:localhost:node-22302ffb-2f92-4286-80ad-ab1916b9103d:Node 22302ffb-2f92-4286-80ad-ab1916b9103d :: true

2021-05-27 23:06:47 | [Mutex] waiting for: [received:nodes:be343a85-d6a4-47b0-9c2d-4588525b6494:localhost]

2021-05-27 23:06:47 | [Mutex] received everything.

2021-05-27 23:06:47 | [Mutex] isItemNotified: received:node:be343a85-d6a4-47b0-9c2d-4588525b6494:localhost:node-22302ffb-2f92-4286-80ad-ab1916b9103d:Node 22302ffb-2f92-4286-80ad-ab1916b9103d :: false

createNodes 1.568s
2021-05-27 23:06:43 |

2021-05-27 23:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:43 | ------------------------------------

2021-05-27 23:06:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 22302ffb-2f92-4286-80ad-ab1916b9103d</title></pubsub></data>

2021-05-27 23:06:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 23:06:45 | [Mutex] waiting for: [received:nodes:cd078be1-d5d6-4172-8323-96db92b68636:localhost]

2021-05-27 23:06:45 | [Mutex] received everything.

2021-05-27 23:06:45 | [Mutex] isItemNotified: received:node:cd078be1-d5d6-4172-8323-96db92b68636:localhost:node-22302ffb-2f92-4286-80ad-ab1916b9103d:Node 22302ffb-2f92-4286-80ad-ab1916b9103d :: true

createSubnodes 1.031s
2021-05-27 23:06:45 |

2021-05-27 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:45 | ------------------------------------

2021-05-27 23:06:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df36dc7c-b105-4eba-80bb-89cfd24d693a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node df36dc7c-b105-4eba-80bb-89cfd24d693a</title></pubsub></data>

2021-05-27 23:06:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 23:06:46 | [Mutex] waiting for: [received:nodes:97aa78e4-0083-4a68-b1d2-55f8df84f245:localhost]

2021-05-27 23:06:46 | [Mutex] received everything.

2021-05-27 23:06:46 | [Mutex] isItemNotified: received:node:97aa78e4-0083-4a68-b1d2-55f8df84f245:localhost:node-df36dc7c-b105-4eba-80bb-89cfd24d693a:Node df36dc7c-b105-4eba-80bb-89cfd24d693a :: true

deleteNodes 1.019s
2021-05-27 23:06:52 |

2021-05-27 23:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:52 | ------------------------------------

2021-05-27 23:06:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df36dc7c-b105-4eba-80bb-89cfd24d693a</node></data>

2021-05-27 23:06:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 23:06:53 | [Mutex] waiting for: [received:nodes:7fd5fb86-2309-4f09-9975-414d157f1c2b:localhost]

2021-05-27 23:06:53 | [Mutex] received everything.

2021-05-27 23:06:53 | [Mutex] isItemNotified: received:node:7fd5fb86-2309-4f09-9975-414d157f1c2b:localhost:node-df36dc7c-b105-4eba-80bb-89cfd24d693a:Node df36dc7c-b105-4eba-80bb-89cfd24d693a :: false

deleteSubnodes 1.204s
2021-05-27 23:06:50 |

2021-05-27 23:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:50 | ------------------------------------

2021-05-27 23:06:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node></data>

2021-05-27 23:06:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 23:06:52 | [Mutex] waiting for: [received:nodes:90a5df0e-dc5f-45f8-b324-1efaf175b23c:localhost]

2021-05-27 23:06:52 | [Mutex] received everything.

2021-05-27 23:06:52 | [Mutex] isItemNotified: received:node:90a5df0e-dc5f-45f8-b324-1efaf175b23c:localhost:node-22302ffb-2f92-4286-80ad-ab1916b9103d:Node 22302ffb-2f92-4286-80ad-ab1916b9103d :: false

2021-05-27 23:06:52 | [Mutex] waiting for: [received:nodes:bb3919c6-0f26-4e40-9934-2115c5191458:localhost]

2021-05-27 23:06:52 | [Mutex] received everything.

2021-05-27 23:06:52 | [Mutex] isItemNotified: received:node:bb3919c6-0f26-4e40-9934-2115c5191458:localhost:node-22302ffb-2f92-4286-80ad-ab1916b9103d:Node 22302ffb-2f92-4286-80ad-ab1916b9103d :: false

publishItemsToNodes 0.221s
2021-05-27 23:06:48 |

2021-05-27 23:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:48 | ------------------------------------

2021-05-27 23:06:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><item-id>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</item-id><entry><test>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</test></entry></data>

2021-05-27 23:06:48 | 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-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</value></item-id></result>

2021-05-27 23:06:48 | [Mutex] waiting for: [published:item:notifieditem-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d:admin@test-domain.com]

2021-05-27 23:06:48 | [Mutex] received everything.

2021-05-27 23:06:48 | [Mutex] isItemNotified: published:item:notifieditem-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d:admin@test-domain.com :: true

retractItemsFromNodes 0.306s
2021-05-27 23:06:49 |

2021-05-27 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:49 | ------------------------------------

2021-05-27 23:06:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><item-id>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</item-id></data>

2021-05-27 23:06:49 | 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-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</value></item-id></result>

2021-05-27 23:06:49 | [Mutex] received everything.

2021-05-27 23:06:49 | [Mutex] isItemNotified: retracted:item:notifieditem-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2021-05-27 23:06:48 |

2021-05-27 23:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:48 | ------------------------------------

2021-05-27 23:06:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><item-id>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</item-id></data>

2021-05-27 23:06:49 | 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-22302ffb-2f92-4286-80ad-ab1916b9103d</value></node><item-id label="Item ID" type="text-single"><value>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</value></item-id><item label="Item" type="text-multi"><value><item id="item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d"><test>item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d</test></item></value></item></result>

2021-05-27 23:06:49 | [Mutex] notify: [retrieved:item:item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d:payload-matches:true:localhost]

2021-05-27 23:06:49 | [Mutex] received everything.

2021-05-27 23:06:49 | [Mutex] isItemNotified: retrieved:item:item-6e59fd76-d567-4ec3-a18b-dfff1a4d1b0d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-27 23:06:49 |

2021-05-27 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:49 | ------------------------------------

2021-05-27 23:06:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-27 23:06:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-df36dc7c-b105-4eba-80bb-89cfd24d693a</value><value>test</value><value>node-22302ffb-2f92-4286-80ad-ab1916b9103d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 23:06:49 |

2021-05-27 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:49 | ------------------------------------

2021-05-27 23:06:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-22302ffb-2f92-4286-80ad-ab1916b9103d)</node-pattern></data>

2021-05-27 23:06:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.216s
2021-05-27 23:06:47 |

2021-05-27 23:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:47 | ------------------------------------

2021-05-27 23:06:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 23:06:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2021-05-27 23:06:49 |

2021-05-27 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 23:06:49 | ------------------------------------

2021-05-27 23:06:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-22302ffb-2f92-4286-80ad-ab1916b9103d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 23:06:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>