Generated by TestNG with ReportNG at 22:21 PDT on Monday 16 May 2022
root@61c39d2ed70d / 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.643s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-05-16 22:36:10 |

2022-05-16 22:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:10 | ------------------------------------

2022-05-16 22:36:10 | [Mutex] waiting for: [configured:node:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef]

2022-05-16 22:36:10 | [Mutex] received everything.

2022-05-16 22:36:10 | [Mutex] isItemNotified: configured:node:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef :: true

2022-05-16 22:36:11 | [Mutex] waiting for: [received:nodes:3238248c-c198-469f-80dd-94bb9b72539f:localhost]

2022-05-16 22:36:11 | [Mutex] received everything.

2022-05-16 22:36:11 | [Mutex] isItemNotified: received:node:3238248c-c198-469f-80dd-94bb9b72539f:localhost:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db :: true

2022-05-16 22:36:11 | [Mutex] waiting for: [received:nodes:3a38ce98-b8e8-4a06-9360-39d9fd3d46f3:localhost]

2022-05-16 22:36:11 | [Mutex] received everything.

2022-05-16 22:36:11 | [Mutex] isItemNotified: received:node:3a38ce98-b8e8-4a06-9360-39d9fd3d46f3:localhost:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db :: false

createNodes 1.483s
2022-05-16 22:36:07 |

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

2022-05-16 22:36:07 | ------------------------------------

2022-05-16 22:36:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db</title></pubsub></data>

2022-05-16 22:36:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 22:36:09 | [Mutex] waiting for: [received:nodes:1ba09a40-5782-4c60-a222-d724faa2442c:localhost]

2022-05-16 22:36:09 | [Mutex] waiting for: [received:nodes:1ba09a40-5782-4c60-a222-d724faa2442c:localhost]

2022-05-16 22:36:09 | [Mutex] received everything.

2022-05-16 22:36:09 | [Mutex] isItemNotified: received:node:1ba09a40-5782-4c60-a222-d724faa2442c:localhost:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db :: true

createSubnodes 1.023s
2022-05-16 22:36:09 |

2022-05-16 22:36:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:09 | ------------------------------------

2022-05-16 22:36:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8cdbef00-ea3b-4781-9d2b-b5c504e9eeef</title></pubsub></data>

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

2022-05-16 22:36:10 | [Mutex] waiting for: [received:nodes:a0231155-682d-44bc-acc0-cd2b45820c20:localhost]

2022-05-16 22:36:10 | [Mutex] waiting for: [received:nodes:a0231155-682d-44bc-acc0-cd2b45820c20:localhost]

2022-05-16 22:36:10 | [Mutex] received everything.

2022-05-16 22:36:10 | [Mutex] isItemNotified: received:node:a0231155-682d-44bc-acc0-cd2b45820c20:localhost:node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef:Node 8cdbef00-ea3b-4781-9d2b-b5c504e9eeef :: true

deleteNodes 1.017s
2022-05-16 22:36:15 |

2022-05-16 22:36:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:15 | ------------------------------------

2022-05-16 22:36:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef</node></data>

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

2022-05-16 22:36:16 | [Mutex] waiting for: [received:nodes:374fab09-7be3-4e05-931f-d0b86c34aa5f:localhost]

2022-05-16 22:36:16 | [Mutex] received everything.

2022-05-16 22:36:16 | [Mutex] isItemNotified: received:node:374fab09-7be3-4e05-931f-d0b86c34aa5f:localhost:node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef:Node 8cdbef00-ea3b-4781-9d2b-b5c504e9eeef :: false

deleteSubnodes 1.151s
2022-05-16 22:36:14 |

2022-05-16 22:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:14 | ------------------------------------

2022-05-16 22:36:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node></data>

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

2022-05-16 22:36:15 | [Mutex] waiting for: [received:nodes:a71d85aa-a904-4143-964f-faf97c56d2c4:localhost]

2022-05-16 22:36:15 | [Mutex] received everything.

2022-05-16 22:36:15 | [Mutex] isItemNotified: received:node:a71d85aa-a904-4143-964f-faf97c56d2c4:localhost:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db :: false

2022-05-16 22:36:15 | [Mutex] waiting for: [received:nodes:f85121f9-6229-4920-a761-b9659249b229:localhost]

2022-05-16 22:36:15 | [Mutex] received everything.

2022-05-16 22:36:15 | [Mutex] isItemNotified: received:node:f85121f9-6229-4920-a761-b9659249b229:localhost:node-00bdb8c3-eee5-42a1-9895-e0e5daa001db:Node 00bdb8c3-eee5-42a1-9895-e0e5daa001db :: false

publishItemsToNodes 0.279s
2022-05-16 22:36:12 |

2022-05-16 22:36:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:12 | ------------------------------------

2022-05-16 22:36:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><item-id>item-8b840422-f910-42be-8029-e2ec7483bebf</item-id><entry><test>item-8b840422-f910-42be-8029-e2ec7483bebf</test></entry></data>

2022-05-16 22:36:12 | 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-8b840422-f910-42be-8029-e2ec7483bebf</value></item-id></result>

2022-05-16 22:36:12 | [Mutex] received everything.

2022-05-16 22:36:12 | [Mutex] isItemNotified: published:item:notifieditem-8b840422-f910-42be-8029-e2ec7483bebf:admin@test-domain.com :: true

retractItemsFromNodes 0.192s
2022-05-16 22:36:13 |

2022-05-16 22:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:13 | ------------------------------------

2022-05-16 22:36:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><item-id>item-8b840422-f910-42be-8029-e2ec7483bebf</item-id></data>

2022-05-16 22:36:13 | 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-8b840422-f910-42be-8029-e2ec7483bebf</value></item-id></result>

2022-05-16 22:36:13 | [Mutex] waiting for: [retracted:item:notifieditem-8b840422-f910-42be-8029-e2ec7483bebf:admin@test-domain.com]

2022-05-16 22:36:13 | [Mutex] received everything.

2022-05-16 22:36:13 | [Mutex] isItemNotified: retracted:item:notifieditem-8b840422-f910-42be-8029-e2ec7483bebf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.220s
2022-05-16 22:36:12 |

2022-05-16 22:36:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:12 | ------------------------------------

2022-05-16 22:36:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><item-id>item-8b840422-f910-42be-8029-e2ec7483bebf</item-id></data>

2022-05-16 22:36: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-00bdb8c3-eee5-42a1-9895-e0e5daa001db</value></node><item-id label="Item ID" type="text-single"><value>item-8b840422-f910-42be-8029-e2ec7483bebf</value></item-id><item label="Item" type="text-multi"><value><item id="item-8b840422-f910-42be-8029-e2ec7483bebf"><test>item-8b840422-f910-42be-8029-e2ec7483bebf</test></item></value></item></result>

2022-05-16 22:36:13 | [Mutex] notify: [retrieved:item:item-8b840422-f910-42be-8029-e2ec7483bebf:payload-matches:true:localhost]

2022-05-16 22:36:13 | [Mutex] received everything.

2022-05-16 22:36:13 | [Mutex] isItemNotified: retrieved:item:item-8b840422-f910-42be-8029-e2ec7483bebf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-16 22:36:13 |

2022-05-16 22:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:13 | ------------------------------------

2022-05-16 22:36:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-16 22:36:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</value><value>test</value><value>node-8cdbef00-ea3b-4781-9d2b-b5c504e9eeef</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-16 22:36:13 |

2022-05-16 22:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:13 | ------------------------------------

2022-05-16 22:36: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-00bdb8c3-eee5-42a1-9895-e0e5daa001db)</node-pattern></data>

2022-05-16 22:36:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.109s
2022-05-16 22:36:11 |

2022-05-16 22:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:11 | ------------------------------------

2022-05-16 22:36:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-16 22:36:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.238s
2022-05-16 22:36:13 |

2022-05-16 22:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:36:13 | ------------------------------------

2022-05-16 22:36:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-00bdb8c3-eee5-42a1-9895-e0e5daa001db</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-16 22:36:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>