Generated by TestNG with ReportNG at 22:18 PDT on Saturday 25 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.409s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2022-06-25 22:32:11 |

2022-06-25 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:11 | ------------------------------------

2022-06-25 22:32:11 | [Mutex] waiting for: [configured:node:node-b2732400-17c3-4f35-807c-dbcf327bed35:node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9]

2022-06-25 22:32:11 | [Mutex] received everything.

2022-06-25 22:32:11 | [Mutex] isItemNotified: configured:node:node-b2732400-17c3-4f35-807c-dbcf327bed35:node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9 :: true

2022-06-25 22:32:12 | [Mutex] waiting for: [received:nodes:62c49a32-5cd5-4d8c-8124-a8e31f8f5e68:localhost]

2022-06-25 22:32:12 | [Mutex] received everything.

2022-06-25 22:32:12 | [Mutex] isItemNotified: received:node:62c49a32-5cd5-4d8c-8124-a8e31f8f5e68:localhost:node-b2732400-17c3-4f35-807c-dbcf327bed35:Node b2732400-17c3-4f35-807c-dbcf327bed35 :: true

2022-06-25 22:32:12 | [Mutex] waiting for: [received:nodes:6abb2700-561f-457d-9275-6cfedc4aef77:localhost]

2022-06-25 22:32:12 | [Mutex] waiting for: [received:nodes:6abb2700-561f-457d-9275-6cfedc4aef77:localhost]

2022-06-25 22:32:12 | [Mutex] received everything.

2022-06-25 22:32:12 | [Mutex] isItemNotified: received:node:6abb2700-561f-457d-9275-6cfedc4aef77:localhost:node-b2732400-17c3-4f35-807c-dbcf327bed35:Node b2732400-17c3-4f35-807c-dbcf327bed35 :: false

createNodes 1.488s
2022-06-25 22:32:09 |

2022-06-25 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:09 | ------------------------------------

2022-06-25 22:32:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b2732400-17c3-4f35-807c-dbcf327bed35</title></pubsub></data>

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

2022-06-25 22:32:10 | [Mutex] waiting for: [received:nodes:390d75f5-b433-44ec-a3a0-c6732afce320:localhost]

2022-06-25 22:32:10 | [Mutex] waiting for: [received:nodes:390d75f5-b433-44ec-a3a0-c6732afce320:localhost]

2022-06-25 22:32:10 | [Mutex] received everything.

2022-06-25 22:32:10 | [Mutex] isItemNotified: received:node:390d75f5-b433-44ec-a3a0-c6732afce320:localhost:node-b2732400-17c3-4f35-807c-dbcf327bed35:Node b2732400-17c3-4f35-807c-dbcf327bed35 :: true

createSubnodes 1.024s
2022-06-25 22:32:10 |

2022-06-25 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:10 | ------------------------------------

2022-06-25 22:32:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9</title></pubsub></data>

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

2022-06-25 22:32:11 | [Mutex] waiting for: [received:nodes:68a0fddf-141b-4304-9619-eb1ce7875dc4:localhost]

2022-06-25 22:32:11 | [Mutex] received everything.

2022-06-25 22:32:11 | [Mutex] isItemNotified: received:node:68a0fddf-141b-4304-9619-eb1ce7875dc4:localhost:node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9:Node b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9 :: true

deleteNodes 1.016s
2022-06-25 22:32:17 |

2022-06-25 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:17 | ------------------------------------

2022-06-25 22:32:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9</node></data>

2022-06-25 22:32:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 22:32:18 | [Mutex] waiting for: [received:nodes:081b78ec-88b9-4122-b1f4-0a1806a58c46:localhost]

2022-06-25 22:32:18 | [Mutex] waiting for: [received:nodes:081b78ec-88b9-4122-b1f4-0a1806a58c46:localhost]

2022-06-25 22:32:18 | [Mutex] received everything.

2022-06-25 22:32:18 | [Mutex] isItemNotified: received:node:081b78ec-88b9-4122-b1f4-0a1806a58c46:localhost:node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9:Node b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9 :: false

deleteSubnodes 1.123s
2022-06-25 22:32:16 |

2022-06-25 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:16 | ------------------------------------

2022-06-25 22:32:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node></data>

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

2022-06-25 22:32:17 | [Mutex] waiting for: [received:nodes:b922de3d-6cff-465a-a45d-2396b700e2b3:localhost]

2022-06-25 22:32:17 | [Mutex] waiting for: [received:nodes:b922de3d-6cff-465a-a45d-2396b700e2b3:localhost]

2022-06-25 22:32:17 | [Mutex] waiting for: [received:nodes:b922de3d-6cff-465a-a45d-2396b700e2b3:localhost]

2022-06-25 22:32:17 | [Mutex] received everything.

2022-06-25 22:32:17 | [Mutex] isItemNotified: received:node:b922de3d-6cff-465a-a45d-2396b700e2b3:localhost:node-b2732400-17c3-4f35-807c-dbcf327bed35:Node b2732400-17c3-4f35-807c-dbcf327bed35 :: false

2022-06-25 22:32:17 | [Mutex] waiting for: [received:nodes:57233080-fa8a-4134-a5b0-8335d9eae7ef:localhost]

2022-06-25 22:32:17 | [Mutex] received everything.

2022-06-25 22:32:17 | [Mutex] isItemNotified: received:node:57233080-fa8a-4134-a5b0-8335d9eae7ef:localhost:node-b2732400-17c3-4f35-807c-dbcf327bed35:Node b2732400-17c3-4f35-807c-dbcf327bed35 :: false

publishItemsToNodes 0.202s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

2022-06-25 22:32:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><item-id>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</item-id><entry><test>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</test></entry></data>

2022-06-25 22:32:14 | 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-f467186a-5e19-4ddc-a049-620cfe0e08b3</value></item-id></result>

2022-06-25 22:32:14 | [Mutex] received everything.

2022-06-25 22:32:14 | [Mutex] isItemNotified: published:item:notifieditem-f467186a-5e19-4ddc-a049-620cfe0e08b3:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

2022-06-25 22:32:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><item-id>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</item-id></data>

2022-06-25 22:32:14 | 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-f467186a-5e19-4ddc-a049-620cfe0e08b3</value></item-id></result>

2022-06-25 22:32:14 | [Mutex] waiting for: [retracted:item:notifieditem-f467186a-5e19-4ddc-a049-620cfe0e08b3:admin@test-domain.com]

2022-06-25 22:32:14 | [Mutex] received everything.

2022-06-25 22:32:14 | [Mutex] isItemNotified: retracted:item:notifieditem-f467186a-5e19-4ddc-a049-620cfe0e08b3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

2022-06-25 22:32:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><item-id>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</item-id></data>

2022-06-25 22:32:14 | 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-b2732400-17c3-4f35-807c-dbcf327bed35</value></node><item-id label="Item ID" type="text-single"><value>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</value></item-id><item label="Item" type="text-multi"><value><item id="item-f467186a-5e19-4ddc-a049-620cfe0e08b3"><test>item-f467186a-5e19-4ddc-a049-620cfe0e08b3</test></item></value></item></result>

2022-06-25 22:32:14 | [Mutex] notify: [retrieved:item:item-f467186a-5e19-4ddc-a049-620cfe0e08b3:payload-matches:true:localhost]

2022-06-25 22:32:14 | [Mutex] received everything.

2022-06-25 22:32:14 | [Mutex] isItemNotified: retrieved:item:item-f467186a-5e19-4ddc-a049-620cfe0e08b3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

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

2022-06-25 22:32:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b06e0ff3-a78b-4967-8e15-a9edb5cb1ea9</value><value>node-b2732400-17c3-4f35-807c-dbcf327bed35</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

2022-06-25 22:32: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-b2732400-17c3-4f35-807c-dbcf327bed35)</node-pattern></data>

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

subscribeNodes 1.113s
2022-06-25 22:32:12 |

2022-06-25 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:12 | ------------------------------------

2022-06-25 22:32:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 22:32:13 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.108s
2022-06-25 22:32:14 |

2022-06-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 22:32:14 | ------------------------------------

2022-06-25 22:32:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b2732400-17c3-4f35-807c-dbcf327bed35</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 22:32:15 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>