Generated by TestNG with ReportNG at 22:18 PDT on Sunday 24 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.498s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-07-24 22:33:11 |

2022-07-24 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:11 | ------------------------------------

2022-07-24 22:33:11 | [Mutex] waiting for: [configured:node:node-d1728378-b216-477e-99af-b2b787c8325e:node-55e030e3-5003-401e-8571-94a8bc86e63f]

2022-07-24 22:33:11 | [Mutex] received everything.

2022-07-24 22:33:11 | [Mutex] isItemNotified: configured:node:node-d1728378-b216-477e-99af-b2b787c8325e:node-55e030e3-5003-401e-8571-94a8bc86e63f :: true

2022-07-24 22:33:12 | [Mutex] waiting for: [received:nodes:5a82e90f-5ce0-4729-971c-f6ab33ed33b2:localhost]

2022-07-24 22:33:12 | [Mutex] received everything.

2022-07-24 22:33:12 | [Mutex] isItemNotified: received:node:5a82e90f-5ce0-4729-971c-f6ab33ed33b2:localhost:node-d1728378-b216-477e-99af-b2b787c8325e:Node d1728378-b216-477e-99af-b2b787c8325e :: true

2022-07-24 22:33:12 | [Mutex] waiting for: [received:nodes:5d247bf0-2436-46a0-9b48-eb4da5d9e750:localhost]

2022-07-24 22:33:12 | [Mutex] waiting for: [received:nodes:5d247bf0-2436-46a0-9b48-eb4da5d9e750:localhost]

2022-07-24 22:33:12 | [Mutex] received everything.

2022-07-24 22:33:12 | [Mutex] isItemNotified: received:node:5d247bf0-2436-46a0-9b48-eb4da5d9e750:localhost:node-d1728378-b216-477e-99af-b2b787c8325e:Node d1728378-b216-477e-99af-b2b787c8325e :: false

createNodes 1.488s
2022-07-24 22:33:09 |

2022-07-24 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:09 | ------------------------------------

2022-07-24 22:33:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d1728378-b216-477e-99af-b2b787c8325e</title></pubsub></data>

2022-07-24 22:33:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 22:33:10 | [Mutex] waiting for: [received:nodes:58beba32-2951-470e-93fb-a1ea97ba1bf3:localhost]

2022-07-24 22:33:10 | [Mutex] received everything.

2022-07-24 22:33:10 | [Mutex] isItemNotified: received:node:58beba32-2951-470e-93fb-a1ea97ba1bf3:localhost:node-d1728378-b216-477e-99af-b2b787c8325e:Node d1728378-b216-477e-99af-b2b787c8325e :: true

createSubnodes 1.021s
2022-07-24 22:33:10 |

2022-07-24 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:10 | ------------------------------------

2022-07-24 22:33:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55e030e3-5003-401e-8571-94a8bc86e63f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55e030e3-5003-401e-8571-94a8bc86e63f</title></pubsub></data>

2022-07-24 22:33:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 22:33:11 | [Mutex] waiting for: [received:nodes:12b30508-c074-4cb4-ac9e-48b70b342950:localhost]

2022-07-24 22:33:11 | [Mutex] received everything.

2022-07-24 22:33:11 | [Mutex] isItemNotified: received:node:12b30508-c074-4cb4-ac9e-48b70b342950:localhost:node-55e030e3-5003-401e-8571-94a8bc86e63f:Node 55e030e3-5003-401e-8571-94a8bc86e63f :: true

deleteNodes 1.018s
2022-07-24 22:33:16 |

2022-07-24 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:16 | ------------------------------------

2022-07-24 22:33:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55e030e3-5003-401e-8571-94a8bc86e63f</node></data>

2022-07-24 22:33:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 22:33:17 | [Mutex] waiting for: [received:nodes:6ec0b46c-9e23-429a-81b3-f29b7dd70fbb:localhost]

2022-07-24 22:33:17 | [Mutex] received everything.

2022-07-24 22:33:17 | [Mutex] isItemNotified: received:node:6ec0b46c-9e23-429a-81b3-f29b7dd70fbb:localhost:node-55e030e3-5003-401e-8571-94a8bc86e63f:Node 55e030e3-5003-401e-8571-94a8bc86e63f :: false

deleteSubnodes 1.119s
2022-07-24 22:33:15 |

2022-07-24 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:15 | ------------------------------------

2022-07-24 22:33:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node></data>

2022-07-24 22:33:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 22:33:16 | [Mutex] waiting for: [received:nodes:b113a1cc-4f26-40a3-ba6e-a78872c8ae85:localhost]

2022-07-24 22:33:16 | [Mutex] received everything.

2022-07-24 22:33:16 | [Mutex] isItemNotified: received:node:b113a1cc-4f26-40a3-ba6e-a78872c8ae85:localhost:node-d1728378-b216-477e-99af-b2b787c8325e:Node d1728378-b216-477e-99af-b2b787c8325e :: false

2022-07-24 22:33:16 | [Mutex] waiting for: [received:nodes:a977f4e1-da6c-403b-945e-3a761f50d947:localhost]

2022-07-24 22:33:16 | [Mutex] received everything.

2022-07-24 22:33:16 | [Mutex] isItemNotified: received:node:a977f4e1-da6c-403b-945e-3a761f50d947:localhost:node-d1728378-b216-477e-99af-b2b787c8325e:Node d1728378-b216-477e-99af-b2b787c8325e :: false

publishItemsToNodes 0.215s
2022-07-24 22:33:13 |

2022-07-24 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:13 | ------------------------------------

2022-07-24 22:33:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><item-id>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</item-id><entry><test>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</test></entry></data>

2022-07-24 22:33:14 | 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-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</value></item-id></result>

2022-07-24 22:33:14 | [Mutex] received everything.

2022-07-24 22:33:14 | [Mutex] isItemNotified: published:item:notifieditem-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2022-07-24 22:33:14 |

2022-07-24 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:14 | ------------------------------------

2022-07-24 22:33:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><item-id>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</item-id></data>

2022-07-24 22:33:14 | 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-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</value></item-id></result>

2022-07-24 22:33:14 | [Mutex] received everything.

2022-07-24 22:33:14 | [Mutex] isItemNotified: retracted:item:notifieditem-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.223s
2022-07-24 22:33:14 |

2022-07-24 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:14 | ------------------------------------

2022-07-24 22:33:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><item-id>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</item-id></data>

2022-07-24 22:33:14 | 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-d1728378-b216-477e-99af-b2b787c8325e</value></node><item-id type="text-single" label="Item ID"><value>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</value></item-id><item type="text-multi" label="Item"><value><item id="item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f"><test>item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f</test></item></value></item></result>

2022-07-24 22:33:14 | [Mutex] notify: [retrieved:item:item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f:payload-matches:true:localhost]

2022-07-24 22:33:14 | [Mutex] received everything.

2022-07-24 22:33:14 | [Mutex] isItemNotified: retrieved:item:item-ae9e0aea-b2db-44b9-9b1b-6c55a6ade69f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-24 22:33:14 |

2022-07-24 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:14 | ------------------------------------

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

2022-07-24 22:33:14 | 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-55e030e3-5003-401e-8571-94a8bc86e63f</value><value>node-d1728378-b216-477e-99af-b2b787c8325e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-24 22:33:14 |

2022-07-24 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:14 | ------------------------------------

2022-07-24 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d1728378-b216-477e-99af-b2b787c8325e)</node-pattern></data>

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

subscribeNodes 1.104s
2022-07-24 22:33:12 |

2022-07-24 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:12 | ------------------------------------

2022-07-24 22:33:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-24 22:33:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.151s
2022-07-24 22:33:14 |

2022-07-24 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 22:33:14 | ------------------------------------

2022-07-24 22:33:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d1728378-b216-477e-99af-b2b787c8325e</node><jids><value>admin@test-domain.com</value></jids></data>

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