Generated by TestNG with ReportNG at 21:18 PST on Monday 14 February 2022
root@785cf647a4ab / 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.505s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-02-14 21:36:18 |

2022-02-14 21:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:18 | ------------------------------------

2022-02-14 21:36:18 | [Mutex] waiting for: [configured:node:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:node-20785da7-8b5b-4521-99f7-b4d297b71659]

2022-02-14 21:36:18 | [Mutex] received everything.

2022-02-14 21:36:18 | [Mutex] isItemNotified: configured:node:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:node-20785da7-8b5b-4521-99f7-b4d297b71659 :: true

2022-02-14 21:36:19 | [Mutex] waiting for: [received:nodes:d73bc3c0-8c82-4c72-ad5a-49bbcf373871:localhost]

2022-02-14 21:36:19 | [Mutex] received everything.

2022-02-14 21:36:19 | [Mutex] isItemNotified: received:node:d73bc3c0-8c82-4c72-ad5a-49bbcf373871:localhost:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a :: true

2022-02-14 21:36:19 | [Mutex] waiting for: [received:nodes:3ea08498-f5ab-4cd6-9dfa-871e6a928bdb:localhost]

2022-02-14 21:36:19 | [Mutex] received everything.

2022-02-14 21:36:19 | [Mutex] isItemNotified: received:node:3ea08498-f5ab-4cd6-9dfa-871e6a928bdb:localhost:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a :: false

createNodes 1.621s
2022-02-14 21:36:16 |

2022-02-14 21:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:16 | ------------------------------------

2022-02-14 21:36:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</title></pubsub></data>

2022-02-14 21:36:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 21:36:17 | [Mutex] waiting for: [received:nodes:42aed92a-9bf8-463c-b55e-7b5aa86ecda7:localhost]

2022-02-14 21:36:17 | [Mutex] received everything.

2022-02-14 21:36:17 | [Mutex] isItemNotified: received:node:42aed92a-9bf8-463c-b55e-7b5aa86ecda7:localhost:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a :: true

createSubnodes 1.027s
2022-02-14 21:36:17 |

2022-02-14 21:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:17 | ------------------------------------

2022-02-14 21:36:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20785da7-8b5b-4521-99f7-b4d297b71659</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 20785da7-8b5b-4521-99f7-b4d297b71659</title></pubsub></data>

2022-02-14 21:36:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 21:36:18 | [Mutex] waiting for: [received:nodes:e03312dc-4893-411d-ba80-568f7d14e207:localhost]

2022-02-14 21:36:18 | [Mutex] waiting for: [received:nodes:e03312dc-4893-411d-ba80-568f7d14e207:localhost]

2022-02-14 21:36:18 | [Mutex] received everything.

2022-02-14 21:36:18 | [Mutex] isItemNotified: received:node:e03312dc-4893-411d-ba80-568f7d14e207:localhost:node-20785da7-8b5b-4521-99f7-b4d297b71659:Node 20785da7-8b5b-4521-99f7-b4d297b71659 :: true

deleteNodes 1.019s
2022-02-14 21:36:24 |

2022-02-14 21:36:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:24 | ------------------------------------

2022-02-14 21:36:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20785da7-8b5b-4521-99f7-b4d297b71659</node></data>

2022-02-14 21:36:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 21:36:25 | [Mutex] waiting for: [received:nodes:9e6f58a4-0e4d-4fda-b233-bff7196c0efd:localhost]

2022-02-14 21:36:25 | [Mutex] received everything.

2022-02-14 21:36:25 | [Mutex] isItemNotified: received:node:9e6f58a4-0e4d-4fda-b233-bff7196c0efd:localhost:node-20785da7-8b5b-4521-99f7-b4d297b71659:Node 20785da7-8b5b-4521-99f7-b4d297b71659 :: false

deleteSubnodes 1.193s
2022-02-14 21:36:23 |

2022-02-14 21:36:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:23 | ------------------------------------

2022-02-14 21:36:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node></data>

2022-02-14 21:36:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-14 21:36:24 | [Mutex] waiting for: [received:nodes:535e24ac-facd-4add-ad47-1f76436f1931:localhost]

2022-02-14 21:36:24 | [Mutex] waiting for: [received:nodes:535e24ac-facd-4add-ad47-1f76436f1931:localhost]

2022-02-14 21:36:24 | [Mutex] waiting for: [received:nodes:535e24ac-facd-4add-ad47-1f76436f1931:localhost]

2022-02-14 21:36:24 | [Mutex] received everything.

2022-02-14 21:36:24 | [Mutex] isItemNotified: received:node:535e24ac-facd-4add-ad47-1f76436f1931:localhost:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a :: false

2022-02-14 21:36:24 | [Mutex] waiting for: [received:nodes:c2db9416-0149-45da-b5fe-7645e3149174:localhost]

2022-02-14 21:36:24 | [Mutex] received everything.

2022-02-14 21:36:24 | [Mutex] isItemNotified: received:node:c2db9416-0149-45da-b5fe-7645e3149174:localhost:node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a:Node b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a :: false

publishItemsToNodes 0.335s
2022-02-14 21:36:21 |

2022-02-14 21:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:21 | ------------------------------------

2022-02-14 21:36:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><item-id>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</item-id><entry><test>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</test></entry></data>

2022-02-14 21:36:21 | 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-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</value></item-id></result>

2022-02-14 21:36:21 | [Mutex] waiting for: [published:item:notifieditem-c68fc29c-3e16-4d04-85d9-46b2f6b93f25:admin@test-domain.com]

2022-02-14 21:36:21 | [Mutex] received everything.

2022-02-14 21:36:21 | [Mutex] isItemNotified: published:item:notifieditem-c68fc29c-3e16-4d04-85d9-46b2f6b93f25:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2022-02-14 21:36:22 |

2022-02-14 21:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:22 | ------------------------------------

2022-02-14 21:36:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><item-id>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</item-id></data>

2022-02-14 21:36:22 | 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-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</value></item-id></result>

2022-02-14 21:36:22 | [Mutex] received everything.

2022-02-14 21:36:22 | [Mutex] isItemNotified: retracted:item:notifieditem-c68fc29c-3e16-4d04-85d9-46b2f6b93f25:admin@test-domain.com :: true

retrieveItemsFromNodes 0.430s
2022-02-14 21:36:21 |

2022-02-14 21:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:21 | ------------------------------------

2022-02-14 21:36:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><item-id>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</item-id></data>

2022-02-14 21:36:21 | 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-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</value></node><item-id type="text-single" label="Item ID"><value>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</value></item-id><item type="text-multi" label="Item"><value><item id="item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25"><test>item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25</test></item></value></item></result>

2022-02-14 21:36:21 | [Mutex] notify: [retrieved:item:item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25:payload-matches:true:localhost]

2022-02-14 21:36:21 | [Mutex] received everything.

2022-02-14 21:36:21 | [Mutex] isItemNotified: retrieved:item:item-c68fc29c-3e16-4d04-85d9-46b2f6b93f25:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-14 21:36:21 |

2022-02-14 21:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:21 | ------------------------------------

2022-02-14 21:36:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-14 21:36:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</value><value>test</value><value>node-20785da7-8b5b-4521-99f7-b4d297b71659</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-14 21:36:21 |

2022-02-14 21:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:21 | ------------------------------------

2022-02-14 21:36:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a)</node-pattern></data>

2022-02-14 21:36:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.143s
2022-02-14 21:36:19 |

2022-02-14 21:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:19 | ------------------------------------

2022-02-14 21:36:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-14 21:36:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.263s
2022-02-14 21:36:22 |

2022-02-14 21:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-14 21:36:22 | ------------------------------------

2022-02-14 21:36:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b5a9ccb9-63cd-4da3-b1d9-7e0c09486a9a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-14 21:36:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>