Generated by TestNG with ReportNG at 22:20 PDT on Thursday 07 October 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.351s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-10-07 22:37:13 |

2021-10-07 22:37:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:13 | ------------------------------------

2021-10-07 22:37:13 | [Mutex] waiting for: [configured:node:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:node-6fb479ba-f91c-46e2-8488-5d2e4f423cba]

2021-10-07 22:37:13 | [Mutex] received everything.

2021-10-07 22:37:13 | [Mutex] isItemNotified: configured:node:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:node-6fb479ba-f91c-46e2-8488-5d2e4f423cba :: true

2021-10-07 22:37:14 | [Mutex] waiting for: [received:nodes:a71d0b6a-fc17-471e-9227-1d9ba923f749:localhost]

2021-10-07 22:37:14 | [Mutex] received everything.

2021-10-07 22:37:14 | [Mutex] isItemNotified: received:node:a71d0b6a-fc17-471e-9227-1d9ba923f749:localhost:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:Node a4995a6d-6c18-43c8-a583-ecebf2a9e196 :: true

2021-10-07 22:37:14 | [Mutex] waiting for: [received:nodes:bf5771f9-0234-43b8-a938-5a1f0fdb7c20:localhost]

2021-10-07 22:37:14 | [Mutex] received everything.

2021-10-07 22:37:14 | [Mutex] isItemNotified: received:node:bf5771f9-0234-43b8-a938-5a1f0fdb7c20:localhost:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:Node a4995a6d-6c18-43c8-a583-ecebf2a9e196 :: false

createNodes 1.676s
2021-10-07 22:37:10 |

2021-10-07 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:10 | ------------------------------------

2021-10-07 22:37:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a4995a6d-6c18-43c8-a583-ecebf2a9e196</title></pubsub></data>

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

2021-10-07 22:37:11 | [Mutex] waiting for: [received:nodes:066a3f98-6693-4da4-aefe-6c601ac571c4:localhost]

2021-10-07 22:37:11 | [Mutex] waiting for: [received:nodes:066a3f98-6693-4da4-aefe-6c601ac571c4:localhost]

2021-10-07 22:37:11 | [Mutex] received everything.

2021-10-07 22:37:11 | [Mutex] isItemNotified: received:node:066a3f98-6693-4da4-aefe-6c601ac571c4:localhost:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:Node a4995a6d-6c18-43c8-a583-ecebf2a9e196 :: true

createSubnodes 1.039s
2021-10-07 22:37:11 |

2021-10-07 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:11 | ------------------------------------

2021-10-07 22:37:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6fb479ba-f91c-46e2-8488-5d2e4f423cba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6fb479ba-f91c-46e2-8488-5d2e4f423cba</title></pubsub></data>

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

2021-10-07 22:37:13 | [Mutex] waiting for: [received:nodes:0eadef88-7640-4332-9e13-a616b265c23b:localhost]

2021-10-07 22:37:13 | [Mutex] received everything.

2021-10-07 22:37:13 | [Mutex] isItemNotified: received:node:0eadef88-7640-4332-9e13-a616b265c23b:localhost:node-6fb479ba-f91c-46e2-8488-5d2e4f423cba:Node 6fb479ba-f91c-46e2-8488-5d2e4f423cba :: true

deleteNodes 1.019s
2021-10-07 22:37:18 |

2021-10-07 22:37:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:18 | ------------------------------------

2021-10-07 22:37:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6fb479ba-f91c-46e2-8488-5d2e4f423cba</node></data>

2021-10-07 22:37:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 22:37:19 | [Mutex] waiting for: [received:nodes:f224cbfb-ff5e-4052-8d14-f663f50548b1:localhost]

2021-10-07 22:37:19 | [Mutex] received everything.

2021-10-07 22:37:19 | [Mutex] isItemNotified: received:node:f224cbfb-ff5e-4052-8d14-f663f50548b1:localhost:node-6fb479ba-f91c-46e2-8488-5d2e4f423cba:Node 6fb479ba-f91c-46e2-8488-5d2e4f423cba :: false

deleteSubnodes 1.142s
2021-10-07 22:37:17 |

2021-10-07 22:37:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:17 | ------------------------------------

2021-10-07 22:37:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node></data>

2021-10-07 22:37:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 22:37:18 | [Mutex] waiting for: [received:nodes:4acb15dc-99c5-41e9-8965-594c03ac3438:localhost]

2021-10-07 22:37:18 | [Mutex] waiting for: [received:nodes:4acb15dc-99c5-41e9-8965-594c03ac3438:localhost]

2021-10-07 22:37:18 | [Mutex] received everything.

2021-10-07 22:37:18 | [Mutex] isItemNotified: received:node:4acb15dc-99c5-41e9-8965-594c03ac3438:localhost:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:Node a4995a6d-6c18-43c8-a583-ecebf2a9e196 :: false

2021-10-07 22:37:18 | [Mutex] waiting for: [received:nodes:4fd03003-a0de-4327-88c7-aaff1d18ed4b:localhost]

2021-10-07 22:37:18 | [Mutex] received everything.

2021-10-07 22:37:18 | [Mutex] isItemNotified: received:node:4fd03003-a0de-4327-88c7-aaff1d18ed4b:localhost:node-a4995a6d-6c18-43c8-a583-ecebf2a9e196:Node a4995a6d-6c18-43c8-a583-ecebf2a9e196 :: false

publishItemsToNodes 0.275s
2021-10-07 22:37:15 |

2021-10-07 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:15 | ------------------------------------

2021-10-07 22:37:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><item-id>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</item-id><entry><test>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</test></entry></data>

2021-10-07 22:37:15 | 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-8fe32a09-9ebb-4087-9f67-8341385bd3fa</value></item-id></result>

2021-10-07 22:37:15 | [Mutex] waiting for: [published:item:notifieditem-8fe32a09-9ebb-4087-9f67-8341385bd3fa:admin@test-domain.com]

2021-10-07 22:37:15 | [Mutex] received everything.

2021-10-07 22:37:15 | [Mutex] isItemNotified: published:item:notifieditem-8fe32a09-9ebb-4087-9f67-8341385bd3fa:admin@test-domain.com :: true

retractItemsFromNodes 0.363s
2021-10-07 22:37:15 |

2021-10-07 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:15 | ------------------------------------

2021-10-07 22:37:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><item-id>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</item-id></data>

2021-10-07 22:37:16 | 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-8fe32a09-9ebb-4087-9f67-8341385bd3fa</value></item-id></result>

2021-10-07 22:37:16 | [Mutex] received everything.

2021-10-07 22:37:16 | [Mutex] isItemNotified: retracted:item:notifieditem-8fe32a09-9ebb-4087-9f67-8341385bd3fa:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2021-10-07 22:37:15 |

2021-10-07 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:15 | ------------------------------------

2021-10-07 22:37:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><item-id>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</item-id></data>

2021-10-07 22:37:15 | 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-a4995a6d-6c18-43c8-a583-ecebf2a9e196</value></node><item-id label="Item ID" type="text-single"><value>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</value></item-id><item label="Item" type="text-multi"><value><item id="item-8fe32a09-9ebb-4087-9f67-8341385bd3fa"><test>item-8fe32a09-9ebb-4087-9f67-8341385bd3fa</test></item></value></item></result>

2021-10-07 22:37:15 | [Mutex] notify: [retrieved:item:item-8fe32a09-9ebb-4087-9f67-8341385bd3fa:payload-matches:true:localhost]

2021-10-07 22:37:15 | [Mutex] received everything.

2021-10-07 22:37:15 | [Mutex] isItemNotified: retrieved:item:item-8fe32a09-9ebb-4087-9f67-8341385bd3fa:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-10-07 22:37:15 |

2021-10-07 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:15 | ------------------------------------

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

2021-10-07 22:37:15 | 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-a4995a6d-6c18-43c8-a583-ecebf2a9e196</value><value>node-6fb479ba-f91c-46e2-8488-5d2e4f423cba</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-07 22:37:15 |

2021-10-07 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:15 | ------------------------------------

2021-10-07 22:37:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a4995a6d-6c18-43c8-a583-ecebf2a9e196)</node-pattern></data>

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

subscribeNodes 1.171s
2021-10-07 22:37:14 |

2021-10-07 22:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:14 | ------------------------------------

2021-10-07 22:37:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-07 22:37:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2021-10-07 22:37:16 |

2021-10-07 22:37:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 22:37:16 | ------------------------------------

2021-10-07 22:37:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a4995a6d-6c18-43c8-a583-ecebf2a9e196</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-07 22:37:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>