Generated by TestNG with ReportNG at 22:06 PST on Monday 07 February 2022
root@785cf647a4ab / 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.563s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2022-02-07 22:20:24 |

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

2022-02-07 22:20:24 | ------------------------------------

2022-02-07 22:20:24 | [Mutex] waiting for: [configured:node:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:node-24acdbe0-3327-4170-8b6a-760efd3ba3b6]

2022-02-07 22:20:24 | [Mutex] received everything.

2022-02-07 22:20:24 | [Mutex] isItemNotified: configured:node:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:node-24acdbe0-3327-4170-8b6a-760efd3ba3b6 :: true

2022-02-07 22:20:25 | [Mutex] waiting for: [received:nodes:67dba5fe-3232-4b42-9d5d-cfc9cd909d7f:localhost]

2022-02-07 22:20:25 | [Mutex] received everything.

2022-02-07 22:20:25 | [Mutex] isItemNotified: received:node:67dba5fe-3232-4b42-9d5d-cfc9cd909d7f:localhost:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:Node e440883d-f332-4fea-81fe-84f2e2f5cdab :: true

2022-02-07 22:20:25 | [Mutex] waiting for: [received:nodes:3104ef8a-9d1f-4fb2-b772-db8f3a3a7528:localhost]

2022-02-07 22:20:25 | [Mutex] waiting for: [received:nodes:3104ef8a-9d1f-4fb2-b772-db8f3a3a7528:localhost]

2022-02-07 22:20:25 | [Mutex] waiting for: [received:nodes:3104ef8a-9d1f-4fb2-b772-db8f3a3a7528:localhost]

2022-02-07 22:20:25 | [Mutex] received everything.

2022-02-07 22:20:25 | [Mutex] isItemNotified: received:node:3104ef8a-9d1f-4fb2-b772-db8f3a3a7528:localhost:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:Node e440883d-f332-4fea-81fe-84f2e2f5cdab :: false

createNodes 1.730s
2022-02-07 22:20:21 |

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

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

2022-02-07 22:20:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e440883d-f332-4fea-81fe-84f2e2f5cdab</title></pubsub></data>

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

2022-02-07 22:20:23 | [Mutex] waiting for: [received:nodes:0a67ec3d-c803-46d3-97dc-8a85a40c645c:localhost]

2022-02-07 22:20:23 | [Mutex] received everything.

2022-02-07 22:20:23 | [Mutex] isItemNotified: received:node:0a67ec3d-c803-46d3-97dc-8a85a40c645c:localhost:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:Node e440883d-f332-4fea-81fe-84f2e2f5cdab :: true

createSubnodes 1.023s
2022-02-07 22:20:23 |

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

2022-02-07 22:20:23 | ------------------------------------

2022-02-07 22:20:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-24acdbe0-3327-4170-8b6a-760efd3ba3b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 24acdbe0-3327-4170-8b6a-760efd3ba3b6</title></pubsub></data>

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

2022-02-07 22:20:24 | [Mutex] waiting for: [received:nodes:49dccb3f-74b5-4f92-9d71-93449a81c3df:localhost]

2022-02-07 22:20:24 | [Mutex] received everything.

2022-02-07 22:20:24 | [Mutex] isItemNotified: received:node:49dccb3f-74b5-4f92-9d71-93449a81c3df:localhost:node-24acdbe0-3327-4170-8b6a-760efd3ba3b6:Node 24acdbe0-3327-4170-8b6a-760efd3ba3b6 :: true

deleteNodes 1.021s
2022-02-07 22:20:30 |

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

2022-02-07 22:20:30 | ------------------------------------

2022-02-07 22:20:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-24acdbe0-3327-4170-8b6a-760efd3ba3b6</node></data>

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

2022-02-07 22:20:31 | [Mutex] waiting for: [received:nodes:b103215c-fb9e-4856-bf64-cd388578976a:localhost]

2022-02-07 22:20:31 | [Mutex] waiting for: [received:nodes:b103215c-fb9e-4856-bf64-cd388578976a:localhost]

2022-02-07 22:20:31 | [Mutex] received everything.

2022-02-07 22:20:31 | [Mutex] isItemNotified: received:node:b103215c-fb9e-4856-bf64-cd388578976a:localhost:node-24acdbe0-3327-4170-8b6a-760efd3ba3b6:Node 24acdbe0-3327-4170-8b6a-760efd3ba3b6 :: false

deleteSubnodes 1.175s
2022-02-07 22:20:28 |

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

2022-02-07 22:20:28 | ------------------------------------

2022-02-07 22:20:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node></data>

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

2022-02-07 22:20:30 | [Mutex] waiting for: [received:nodes:147b8aa2-58b3-4d18-b3c3-a75d8f48ed26:localhost]

2022-02-07 22:20:30 | [Mutex] waiting for: [received:nodes:147b8aa2-58b3-4d18-b3c3-a75d8f48ed26:localhost]

2022-02-07 22:20:30 | [Mutex] received everything.

2022-02-07 22:20:30 | [Mutex] isItemNotified: received:node:147b8aa2-58b3-4d18-b3c3-a75d8f48ed26:localhost:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:Node e440883d-f332-4fea-81fe-84f2e2f5cdab :: false

2022-02-07 22:20:30 | [Mutex] waiting for: [received:nodes:2d4df57c-ac47-4509-8364-81f0c6c807fa:localhost]

2022-02-07 22:20:30 | [Mutex] received everything.

2022-02-07 22:20:30 | [Mutex] isItemNotified: received:node:2d4df57c-ac47-4509-8364-81f0c6c807fa:localhost:node-e440883d-f332-4fea-81fe-84f2e2f5cdab:Node e440883d-f332-4fea-81fe-84f2e2f5cdab :: false

publishItemsToNodes 0.284s
2022-02-07 22:20:26 |

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

2022-02-07 22:20:26 | ------------------------------------

2022-02-07 22:20:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><item-id>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</item-id><entry><test>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</test></entry></data>

2022-02-07 22:20:26 | 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-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</value></item-id></result>

2022-02-07 22:20:26 | [Mutex] waiting for: [published:item:notifieditem-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:admin@test-domain.com]

2022-02-07 22:20:26 | [Mutex] received everything.

2022-02-07 22:20:26 | [Mutex] isItemNotified: published:item:notifieditem-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:admin@test-domain.com :: true

retractItemsFromNodes 0.304s
2022-02-07 22:20:27 |

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

2022-02-07 22:20:27 | ------------------------------------

2022-02-07 22:20:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><item-id>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</item-id></data>

2022-02-07 22:20:27 | 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-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</value></item-id></result>

2022-02-07 22:20:27 | [Mutex] waiting for: [retracted:item:notifieditem-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:admin@test-domain.com]

2022-02-07 22:20:27 | [Mutex] received everything.

2022-02-07 22:20:27 | [Mutex] isItemNotified: retracted:item:notifieditem-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:admin@test-domain.com :: true

retrieveItemsFromNodes 0.395s
2022-02-07 22:20:26 |

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

2022-02-07 22:20:26 | ------------------------------------

2022-02-07 22:20:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><item-id>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</item-id></data>

2022-02-07 22:20:27 | 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-e440883d-f332-4fea-81fe-84f2e2f5cdab</value></node><item-id label="Item ID" type="text-single"><value>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</value></item-id><item label="Item" type="text-multi"><value><item id="item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae"><test>item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae</test></item></value></item></result>

2022-02-07 22:20:27 | [Mutex] notify: [retrieved:item:item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:payload-matches:true:localhost]

2022-02-07 22:20:27 | [Mutex] received everything.

2022-02-07 22:20:27 | [Mutex] isItemNotified: retrieved:item:item-2cb6ce3f-d0df-4eef-aef8-d1fdc7d1cdae:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-07 22:20:27 |

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

2022-02-07 22:20:27 | ------------------------------------

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

2022-02-07 22:20:27 | 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-24acdbe0-3327-4170-8b6a-760efd3ba3b6</value><value>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-07 22:20:27 |

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

2022-02-07 22:20:27 | ------------------------------------

2022-02-07 22:20:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e440883d-f332-4fea-81fe-84f2e2f5cdab)</node-pattern></data>

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

subscribeNodes 1.155s
2022-02-07 22:20:25 |

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

2022-02-07 22:20:25 | ------------------------------------

2022-02-07 22:20:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.358s
2022-02-07 22:20:27 |

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

2022-02-07 22:20:27 | ------------------------------------

2022-02-07 22:20:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e440883d-f332-4fea-81fe-84f2e2f5cdab</node><jids><value>admin@test-domain.com</value></jids></data>

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