Generated by TestNG with ReportNG at 21:19 PST on Sunday 20 February 2022
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.262s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.125s
2022-02-20 21:34:19 |

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

2022-02-20 21:34:19 | ------------------------------------

2022-02-20 21:34:19 | [Mutex] waiting for: [configured:node:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:node-b5959b84-7dc9-496d-9916-302bdaf3bb6c]

2022-02-20 21:34:19 | [Mutex] received everything.

2022-02-20 21:34:19 | [Mutex] isItemNotified: configured:node:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:node-b5959b84-7dc9-496d-9916-302bdaf3bb6c :: true

2022-02-20 21:34:20 | [Mutex] waiting for: [received:nodes:872ebdc7-6a79-4c1d-81ab-ba19055a3fe4:localhost]

2022-02-20 21:34:20 | [Mutex] received everything.

2022-02-20 21:34:20 | [Mutex] isItemNotified: received:node:872ebdc7-6a79-4c1d-81ab-ba19055a3fe4:localhost:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:Node b0fb13b9-65cd-4a36-97f2-f581b081f82f :: true

2022-02-20 21:34:20 | [Mutex] waiting for: [received:nodes:fcc691b9-879c-4c10-8b86-0188e7aaaf4d:localhost]

2022-02-20 21:34:20 | [Mutex] waiting for: [received:nodes:fcc691b9-879c-4c10-8b86-0188e7aaaf4d:localhost]

2022-02-20 21:34:20 | [Mutex] waiting for: [received:nodes:fcc691b9-879c-4c10-8b86-0188e7aaaf4d:localhost]

2022-02-20 21:34:20 | [Mutex] waiting for: [received:nodes:fcc691b9-879c-4c10-8b86-0188e7aaaf4d:localhost]

2022-02-20 21:34:20 | [Mutex] received everything.

2022-02-20 21:34:20 | [Mutex] isItemNotified: received:node:fcc691b9-879c-4c10-8b86-0188e7aaaf4d:localhost:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:Node b0fb13b9-65cd-4a36-97f2-f581b081f82f :: false

createNodes 1.517s
2022-02-20 21:34:17 |

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

2022-02-20 21:34:17 | ------------------------------------

2022-02-20 21:34:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b0fb13b9-65cd-4a36-97f2-f581b081f82f</title></pubsub></data>

2022-02-20 21:34: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-20 21:34:18 | [Mutex] waiting for: [received:nodes:4387b5c4-1020-42d4-bfbf-9602033a6e6a:localhost]

2022-02-20 21:34:18 | [Mutex] received everything.

2022-02-20 21:34:18 | [Mutex] isItemNotified: received:node:4387b5c4-1020-42d4-bfbf-9602033a6e6a:localhost:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:Node b0fb13b9-65cd-4a36-97f2-f581b081f82f :: true

createSubnodes 1.023s
2022-02-20 21:34:18 |

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

2022-02-20 21:34:18 | ------------------------------------

2022-02-20 21:34:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b5959b84-7dc9-496d-9916-302bdaf3bb6c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b5959b84-7dc9-496d-9916-302bdaf3bb6c</title></pubsub></data>

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

2022-02-20 21:34:19 | [Mutex] waiting for: [received:nodes:f6b860a0-bb4b-4834-9f70-2f25f48464cb:localhost]

2022-02-20 21:34:19 | [Mutex] received everything.

2022-02-20 21:34:19 | [Mutex] isItemNotified: received:node:f6b860a0-bb4b-4834-9f70-2f25f48464cb:localhost:node-b5959b84-7dc9-496d-9916-302bdaf3bb6c:Node b5959b84-7dc9-496d-9916-302bdaf3bb6c :: true

deleteNodes 1.022s
2022-02-20 21:34:25 |

2022-02-20 21:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-20 21:34:25 | ------------------------------------

2022-02-20 21:34:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b5959b84-7dc9-496d-9916-302bdaf3bb6c</node></data>

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

2022-02-20 21:34:26 | [Mutex] waiting for: [received:nodes:3f7eae17-f547-443c-8301-fc870fdcbd60:localhost]

2022-02-20 21:34:26 | [Mutex] received everything.

2022-02-20 21:34:26 | [Mutex] isItemNotified: received:node:3f7eae17-f547-443c-8301-fc870fdcbd60:localhost:node-b5959b84-7dc9-496d-9916-302bdaf3bb6c:Node b5959b84-7dc9-496d-9916-302bdaf3bb6c :: false

deleteSubnodes 1.135s
2022-02-20 21:34:24 |

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

2022-02-20 21:34:24 | ------------------------------------

2022-02-20 21:34:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node></data>

2022-02-20 21:34: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-20 21:34:25 | [Mutex] waiting for: [received:nodes:b4ce292e-5e0b-4620-aae1-2bd858f91952:localhost]

2022-02-20 21:34:25 | [Mutex] waiting for: [received:nodes:b4ce292e-5e0b-4620-aae1-2bd858f91952:localhost]

2022-02-20 21:34:25 | [Mutex] received everything.

2022-02-20 21:34:25 | [Mutex] isItemNotified: received:node:b4ce292e-5e0b-4620-aae1-2bd858f91952:localhost:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:Node b0fb13b9-65cd-4a36-97f2-f581b081f82f :: false

2022-02-20 21:34:25 | [Mutex] waiting for: [received:nodes:5eb6c31b-e1bd-4a55-947d-0df6d5c379c9:localhost]

2022-02-20 21:34:25 | [Mutex] received everything.

2022-02-20 21:34:25 | [Mutex] isItemNotified: received:node:5eb6c31b-e1bd-4a55-947d-0df6d5c379c9:localhost:node-b0fb13b9-65cd-4a36-97f2-f581b081f82f:Node b0fb13b9-65cd-4a36-97f2-f581b081f82f :: false

publishItemsToNodes 0.315s
2022-02-20 21:34:22 |

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

2022-02-20 21:34:22 | ------------------------------------

2022-02-20 21:34:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><item-id>item-41f936c8-a381-411d-9fe9-6723a29803d4</item-id><entry><test>item-41f936c8-a381-411d-9fe9-6723a29803d4</test></entry></data>

2022-02-20 21:34:22 | 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-41f936c8-a381-411d-9fe9-6723a29803d4</value></item-id></result>

2022-02-20 21:34:22 | [Mutex] received everything.

2022-02-20 21:34:22 | [Mutex] isItemNotified: published:item:notifieditem-41f936c8-a381-411d-9fe9-6723a29803d4:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2022-02-20 21:34:22 |

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

2022-02-20 21:34:22 | ------------------------------------

2022-02-20 21:34:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><item-id>item-41f936c8-a381-411d-9fe9-6723a29803d4</item-id></data>

2022-02-20 21:34:23 | 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-41f936c8-a381-411d-9fe9-6723a29803d4</value></item-id></result>

2022-02-20 21:34:23 | [Mutex] received everything.

2022-02-20 21:34:23 | [Mutex] isItemNotified: retracted:item:notifieditem-41f936c8-a381-411d-9fe9-6723a29803d4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.386s
2022-02-20 21:34:22 |

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

2022-02-20 21:34:22 | ------------------------------------

2022-02-20 21:34:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><item-id>item-41f936c8-a381-411d-9fe9-6723a29803d4</item-id></data>

2022-02-20 21:34:22 | 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-b0fb13b9-65cd-4a36-97f2-f581b081f82f</value></node><item-id label="Item ID" type="text-single"><value>item-41f936c8-a381-411d-9fe9-6723a29803d4</value></item-id><item label="Item" type="text-multi"><value><item id="item-41f936c8-a381-411d-9fe9-6723a29803d4"><test>item-41f936c8-a381-411d-9fe9-6723a29803d4</test></item></value></item></result>

2022-02-20 21:34:22 | [Mutex] notify: [retrieved:item:item-41f936c8-a381-411d-9fe9-6723a29803d4:payload-matches:true:localhost]

2022-02-20 21:34:22 | [Mutex] received everything.

2022-02-20 21:34:22 | [Mutex] isItemNotified: retrieved:item:item-41f936c8-a381-411d-9fe9-6723a29803d4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-20 21:34:22 |

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

2022-02-20 21:34:22 | ------------------------------------

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

2022-02-20 21:34:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</value><value>node-b5959b84-7dc9-496d-9916-302bdaf3bb6c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.066s
2022-02-20 21:34:22 |

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

2022-02-20 21:34:22 | ------------------------------------

2022-02-20 21:34:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b0fb13b9-65cd-4a36-97f2-f581b081f82f)</node-pattern></data>

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

subscribeNodes 1.201s
2022-02-20 21:34:20 |

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

2022-02-20 21:34:20 | ------------------------------------

2022-02-20 21:34:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-20 21:34:21 | 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
2022-02-20 21:34:23 |

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

2022-02-20 21:34:23 | ------------------------------------

2022-02-20 21:34:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b0fb13b9-65cd-4a36-97f2-f581b081f82f</node><jids><value>admin@test-domain.com</value></jids></data>

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