Generated by TestNG with ReportNG at 22:36 PST on Monday 15 November 2021
root@f29ef40080b5 / 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.271s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2021-11-15 22:51:24 |

2021-11-15 22:51:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:24 | ------------------------------------

2021-11-15 22:51:24 | [Mutex] waiting for: [configured:node:node-88286c57-7ae2-42a1-b773-938adabae958:node-909914f4-ef19-4141-9ffa-737d2b89edee]

2021-11-15 22:51:24 | [Mutex] received everything.

2021-11-15 22:51:24 | [Mutex] isItemNotified: configured:node:node-88286c57-7ae2-42a1-b773-938adabae958:node-909914f4-ef19-4141-9ffa-737d2b89edee :: true

2021-11-15 22:51:25 | [Mutex] waiting for: [received:nodes:f7e5a65b-dfe5-4e6f-82be-f351436ffd20:localhost]

2021-11-15 22:51:25 | [Mutex] received everything.

2021-11-15 22:51:25 | [Mutex] isItemNotified: received:node:f7e5a65b-dfe5-4e6f-82be-f351436ffd20:localhost:node-88286c57-7ae2-42a1-b773-938adabae958:Node 88286c57-7ae2-42a1-b773-938adabae958 :: true

2021-11-15 22:51:25 | [Mutex] waiting for: [received:nodes:9b09c378-5f4f-4166-8fb8-b48a19ae8ae5:localhost]

2021-11-15 22:51:25 | [Mutex] received everything.

2021-11-15 22:51:25 | [Mutex] isItemNotified: received:node:9b09c378-5f4f-4166-8fb8-b48a19ae8ae5:localhost:node-88286c57-7ae2-42a1-b773-938adabae958:Node 88286c57-7ae2-42a1-b773-938adabae958 :: false

createNodes 1.510s
2021-11-15 22:51:22 |

2021-11-15 22:51:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:22 | ------------------------------------

2021-11-15 22:51:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 88286c57-7ae2-42a1-b773-938adabae958</title></pubsub></data>

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

2021-11-15 22:51:23 | [Mutex] waiting for: [received:nodes:8916cca2-b1c9-4090-8326-2b37dbab33a9:localhost]

2021-11-15 22:51:23 | [Mutex] received everything.

2021-11-15 22:51:23 | [Mutex] isItemNotified: received:node:8916cca2-b1c9-4090-8326-2b37dbab33a9:localhost:node-88286c57-7ae2-42a1-b773-938adabae958:Node 88286c57-7ae2-42a1-b773-938adabae958 :: true

createSubnodes 1.029s
2021-11-15 22:51:23 |

2021-11-15 22:51:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:23 | ------------------------------------

2021-11-15 22:51:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-909914f4-ef19-4141-9ffa-737d2b89edee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 909914f4-ef19-4141-9ffa-737d2b89edee</title></pubsub></data>

2021-11-15 22:51:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-15 22:51:24 | [Mutex] waiting for: [received:nodes:d27b455e-41d9-406d-b141-63fd9ffc94cb:localhost]

2021-11-15 22:51:24 | [Mutex] received everything.

2021-11-15 22:51:24 | [Mutex] isItemNotified: received:node:d27b455e-41d9-406d-b141-63fd9ffc94cb:localhost:node-909914f4-ef19-4141-9ffa-737d2b89edee:Node 909914f4-ef19-4141-9ffa-737d2b89edee :: true

deleteNodes 1.029s
2021-11-15 22:51:30 |

2021-11-15 22:51:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:30 | ------------------------------------

2021-11-15 22:51:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-909914f4-ef19-4141-9ffa-737d2b89edee</node></data>

2021-11-15 22:51:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-15 22:51:31 | [Mutex] waiting for: [received:nodes:459da80a-e996-424f-921f-3258a68a837e:localhost]

2021-11-15 22:51:31 | [Mutex] received everything.

2021-11-15 22:51:31 | [Mutex] isItemNotified: received:node:459da80a-e996-424f-921f-3258a68a837e:localhost:node-909914f4-ef19-4141-9ffa-737d2b89edee:Node 909914f4-ef19-4141-9ffa-737d2b89edee :: false

deleteSubnodes 1.163s
2021-11-15 22:51:29 |

2021-11-15 22:51:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:29 | ------------------------------------

2021-11-15 22:51:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node></data>

2021-11-15 22:51:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-15 22:51:30 | [Mutex] waiting for: [received:nodes:959eca84-140c-4aba-adf4-e0f84122f6e6:localhost]

2021-11-15 22:51:30 | [Mutex] received everything.

2021-11-15 22:51:30 | [Mutex] isItemNotified: received:node:959eca84-140c-4aba-adf4-e0f84122f6e6:localhost:node-88286c57-7ae2-42a1-b773-938adabae958:Node 88286c57-7ae2-42a1-b773-938adabae958 :: false

2021-11-15 22:51:30 | [Mutex] waiting for: [received:nodes:1a8fe006-44c1-4c26-a83b-7779c07fd1c9:localhost]

2021-11-15 22:51:30 | [Mutex] received everything.

2021-11-15 22:51:30 | [Mutex] isItemNotified: received:node:1a8fe006-44c1-4c26-a83b-7779c07fd1c9:localhost:node-88286c57-7ae2-42a1-b773-938adabae958:Node 88286c57-7ae2-42a1-b773-938adabae958 :: false

publishItemsToNodes 0.217s
2021-11-15 22:51:27 |

2021-11-15 22:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:27 | ------------------------------------

2021-11-15 22:51:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><item-id>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</item-id><entry><test>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</test></entry></data>

2021-11-15 22:51:27 | 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-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</value></item-id></result>

2021-11-15 22:51:27 | [Mutex] waiting for: [published:item:notifieditem-3c7a9b40-3497-41ad-967a-20c8c9bf0f50:admin@test-domain.com]

2021-11-15 22:51:27 | [Mutex] received everything.

2021-11-15 22:51:27 | [Mutex] isItemNotified: published:item:notifieditem-3c7a9b40-3497-41ad-967a-20c8c9bf0f50:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2021-11-15 22:51:27 |

2021-11-15 22:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:27 | ------------------------------------

2021-11-15 22:51:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><item-id>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</item-id></data>

2021-11-15 22:51:28 | 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-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</value></item-id></result>

2021-11-15 22:51:28 | [Mutex] received everything.

2021-11-15 22:51:28 | [Mutex] isItemNotified: retracted:item:notifieditem-3c7a9b40-3497-41ad-967a-20c8c9bf0f50:admin@test-domain.com :: true

retrieveItemsFromNodes 0.383s
2021-11-15 22:51:27 |

2021-11-15 22:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:27 | ------------------------------------

2021-11-15 22:51:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><item-id>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</item-id></data>

2021-11-15 22:51:27 | 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-88286c57-7ae2-42a1-b773-938adabae958</value></node><item-id type="text-single" label="Item ID"><value>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</value></item-id><item type="text-multi" label="Item"><value><item id="item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50"><test>item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50</test></item></value></item></result>

2021-11-15 22:51:27 | [Mutex] notify: [retrieved:item:item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50:payload-matches:true:localhost]

2021-11-15 22:51:27 | [Mutex] received everything.

2021-11-15 22:51:27 | [Mutex] isItemNotified: retrieved:item:item-3c7a9b40-3497-41ad-967a-20c8c9bf0f50:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-11-15 22:51:27 |

2021-11-15 22:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:27 | ------------------------------------

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

2021-11-15 22:51:27 | 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-909914f4-ef19-4141-9ffa-737d2b89edee</value><value>node-88286c57-7ae2-42a1-b773-938adabae958</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-15 22:51:27 |

2021-11-15 22:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:27 | ------------------------------------

2021-11-15 22:51:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-88286c57-7ae2-42a1-b773-938adabae958)</node-pattern></data>

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

subscribeNodes 1.203s
2021-11-15 22:51:25 |

2021-11-15 22:51:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:51:25 | ------------------------------------

2021-11-15 22:51:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-15 22:51:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2021-11-15 22:51:28 |

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

2021-11-15 22:51:28 | ------------------------------------

2021-11-15 22:51:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-88286c57-7ae2-42a1-b773-938adabae958</node><jids><value>admin@test-domain.com</value></jids></data>

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