Generated by TestNG with ReportNG at 22:21 PDT on Tuesday 06 April 2021
root@43fec6d4badf / 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.280s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2021-04-06 22:38:10 |

2021-04-06 22:38:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:10 | ------------------------------------

2021-04-06 22:38:10 | [Mutex] waiting for: [configured:node:node-738c9c10-bb53-42c5-852e-8afbd16013bd:node-351778b2-d4a1-4c22-b030-b59c42ab96be]

2021-04-06 22:38:10 | [Mutex] received everything.

2021-04-06 22:38:10 | [Mutex] isItemNotified: configured:node:node-738c9c10-bb53-42c5-852e-8afbd16013bd:node-351778b2-d4a1-4c22-b030-b59c42ab96be :: true

2021-04-06 22:38:11 | [Mutex] waiting for: [received:nodes:94103c42-4bea-4140-a2f3-20cb0b39e0ba:localhost]

2021-04-06 22:38:11 | [Mutex] received everything.

2021-04-06 22:38:11 | [Mutex] isItemNotified: received:node:94103c42-4bea-4140-a2f3-20cb0b39e0ba:localhost:node-738c9c10-bb53-42c5-852e-8afbd16013bd:Node 738c9c10-bb53-42c5-852e-8afbd16013bd :: true

2021-04-06 22:38:11 | [Mutex] waiting for: [received:nodes:5ee5f90d-6e1c-45f5-bbc2-00c926bd9846:localhost]

2021-04-06 22:38:11 | [Mutex] received everything.

2021-04-06 22:38:11 | [Mutex] isItemNotified: received:node:5ee5f90d-6e1c-45f5-bbc2-00c926bd9846:localhost:node-738c9c10-bb53-42c5-852e-8afbd16013bd:Node 738c9c10-bb53-42c5-852e-8afbd16013bd :: false

createNodes 1.473s
2021-04-06 22:38:08 |

2021-04-06 22:38:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:08 | ------------------------------------

2021-04-06 22:38:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 738c9c10-bb53-42c5-852e-8afbd16013bd</title></pubsub></data>

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

2021-04-06 22:38:09 | [Mutex] waiting for: [received:nodes:dca958ab-aa2f-4cf8-9e93-220dfb43b463:localhost]

2021-04-06 22:38:09 | [Mutex] received everything.

2021-04-06 22:38:09 | [Mutex] isItemNotified: received:node:dca958ab-aa2f-4cf8-9e93-220dfb43b463:localhost:node-738c9c10-bb53-42c5-852e-8afbd16013bd:Node 738c9c10-bb53-42c5-852e-8afbd16013bd :: true

createSubnodes 1.029s
2021-04-06 22:38:09 |

2021-04-06 22:38:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:09 | ------------------------------------

2021-04-06 22:38:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-351778b2-d4a1-4c22-b030-b59c42ab96be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 351778b2-d4a1-4c22-b030-b59c42ab96be</title></pubsub></data>

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

2021-04-06 22:38:10 | [Mutex] waiting for: [received:nodes:8de0da1d-b2ff-49d9-a490-96168cbe9337:localhost]

2021-04-06 22:38:10 | [Mutex] received everything.

2021-04-06 22:38:10 | [Mutex] isItemNotified: received:node:8de0da1d-b2ff-49d9-a490-96168cbe9337:localhost:node-351778b2-d4a1-4c22-b030-b59c42ab96be:Node 351778b2-d4a1-4c22-b030-b59c42ab96be :: true

deleteNodes 1.027s
2021-04-06 22:38:16 |

2021-04-06 22:38:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:16 | ------------------------------------

2021-04-06 22:38:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-351778b2-d4a1-4c22-b030-b59c42ab96be</node></data>

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

2021-04-06 22:38:17 | [Mutex] waiting for: [received:nodes:f5affba0-5c60-4ab1-811f-2f952f8d1d69:localhost]

2021-04-06 22:38:17 | [Mutex] waiting for: [received:nodes:f5affba0-5c60-4ab1-811f-2f952f8d1d69:localhost]

2021-04-06 22:38:17 | [Mutex] received everything.

2021-04-06 22:38:17 | [Mutex] isItemNotified: received:node:f5affba0-5c60-4ab1-811f-2f952f8d1d69:localhost:node-351778b2-d4a1-4c22-b030-b59c42ab96be:Node 351778b2-d4a1-4c22-b030-b59c42ab96be :: false

deleteSubnodes 1.141s
2021-04-06 22:38:15 |

2021-04-06 22:38:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:15 | ------------------------------------

2021-04-06 22:38:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node></data>

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

2021-04-06 22:38:16 | [Mutex] waiting for: [received:nodes:4db88066-b926-4b7e-bbf7-4fc9af009581:localhost]

2021-04-06 22:38:16 | [Mutex] received everything.

2021-04-06 22:38:16 | [Mutex] isItemNotified: received:node:4db88066-b926-4b7e-bbf7-4fc9af009581:localhost:node-738c9c10-bb53-42c5-852e-8afbd16013bd:Node 738c9c10-bb53-42c5-852e-8afbd16013bd :: false

2021-04-06 22:38:16 | [Mutex] waiting for: [received:nodes:e85371df-d18b-4380-be6c-da41489b5dc1:localhost]

2021-04-06 22:38:16 | [Mutex] received everything.

2021-04-06 22:38:16 | [Mutex] isItemNotified: received:node:e85371df-d18b-4380-be6c-da41489b5dc1:localhost:node-738c9c10-bb53-42c5-852e-8afbd16013bd:Node 738c9c10-bb53-42c5-852e-8afbd16013bd :: false

publishItemsToNodes 0.211s
2021-04-06 22:38:13 |

2021-04-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:13 | ------------------------------------

2021-04-06 22:38:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><item-id>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</item-id><entry><test>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</test></entry></data>

2021-04-06 22:38:13 | 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-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</value></item-id></result>

2021-04-06 22:38:13 | [Mutex] waiting for: [published:item:notifieditem-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a:admin@test-domain.com]

2021-04-06 22:38:13 | [Mutex] received everything.

2021-04-06 22:38:13 | [Mutex] isItemNotified: published:item:notifieditem-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-04-06 22:38:13 |

2021-04-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:13 | ------------------------------------

2021-04-06 22:38:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><item-id>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</item-id></data>

2021-04-06 22:38: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-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</value></item-id></result>

2021-04-06 22:38:14 | [Mutex] received everything.

2021-04-06 22:38:14 | [Mutex] isItemNotified: retracted:item:notifieditem-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.339s
2021-04-06 22:38:13 |

2021-04-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:13 | ------------------------------------

2021-04-06 22:38:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><item-id>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</item-id></data>

2021-04-06 22:38:13 | 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-738c9c10-bb53-42c5-852e-8afbd16013bd</value></node><item-id label="Item ID" type="text-single"><value>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</value></item-id><item label="Item" type="text-multi"><value><item id="item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a"><test>item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a</test></item></value></item></result>

2021-04-06 22:38:13 | [Mutex] notify: [retrieved:item:item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a:payload-matches:true:localhost]

2021-04-06 22:38:13 | [Mutex] received everything.

2021-04-06 22:38:13 | [Mutex] isItemNotified: retrieved:item:item-2ee51e4e-6e3e-4053-a727-5a0e37b03a3a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-04-06 22:38:13 |

2021-04-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:13 | ------------------------------------

2021-04-06 22:38:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-06 22:38:13 | 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-351778b2-d4a1-4c22-b030-b59c42ab96be</value><value>node-738c9c10-bb53-42c5-852e-8afbd16013bd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-06 22:38:13 |

2021-04-06 22:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:13 | ------------------------------------

2021-04-06 22:38:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-738c9c10-bb53-42c5-852e-8afbd16013bd)</node-pattern></data>

2021-04-06 22:38:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.189s
2021-04-06 22:38:11 |

2021-04-06 22:38:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:11 | ------------------------------------

2021-04-06 22:38:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-06 22:38: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.339s
2021-04-06 22:38:14 |

2021-04-06 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-06 22:38:14 | ------------------------------------

2021-04-06 22:38:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-738c9c10-bb53-42c5-852e-8afbd16013bd</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-06 22:38:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>