Generated by TestNG with ReportNG at 03:24 PST on Monday 26 December 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.362s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-12-26 03:40:26 |

2022-12-26 03:40:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:26 | ------------------------------------

2022-12-26 03:40:26 | [Mutex] waiting for: [configured:node:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f]

2022-12-26 03:40:26 | [Mutex] received everything.

2022-12-26 03:40:26 | [Mutex] isItemNotified: configured:node:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f :: true

2022-12-26 03:40:27 | [Mutex] waiting for: [received:nodes:4aab4307-2292-44bc-a98b-ce973a2a76ff:localhost]

2022-12-26 03:40:27 | [Mutex] received everything.

2022-12-26 03:40:27 | [Mutex] isItemNotified: received:node:4aab4307-2292-44bc-a98b-ce973a2a76ff:localhost:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d :: true

2022-12-26 03:40:27 | [Mutex] waiting for: [received:nodes:e26e0ddd-4904-4705-a66a-b0d0bc2166a8:localhost]

2022-12-26 03:40:27 | [Mutex] waiting for: [received:nodes:e26e0ddd-4904-4705-a66a-b0d0bc2166a8:localhost]

2022-12-26 03:40:27 | [Mutex] waiting for: [received:nodes:e26e0ddd-4904-4705-a66a-b0d0bc2166a8:localhost]

2022-12-26 03:40:27 | [Mutex] received everything.

2022-12-26 03:40:27 | [Mutex] isItemNotified: received:node:e26e0ddd-4904-4705-a66a-b0d0bc2166a8:localhost:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d :: false

createNodes 1.396s
2022-12-26 03:40:24 |

2022-12-26 03:40:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:24 | ------------------------------------

2022-12-26 03:40:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</title></pubsub></data>

2022-12-26 03:40:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:40:25 | [Mutex] waiting for: [received:nodes:37b3560d-a51c-4c7f-b54a-403fccacb8a8:localhost]

2022-12-26 03:40:25 | [Mutex] waiting for: [received:nodes:37b3560d-a51c-4c7f-b54a-403fccacb8a8:localhost]

2022-12-26 03:40:25 | [Mutex] waiting for: [received:nodes:37b3560d-a51c-4c7f-b54a-403fccacb8a8:localhost]

2022-12-26 03:40:25 | [Mutex] waiting for: [received:nodes:37b3560d-a51c-4c7f-b54a-403fccacb8a8:localhost]

2022-12-26 03:40:25 | [Mutex] received everything.

2022-12-26 03:40:25 | [Mutex] isItemNotified: received:node:37b3560d-a51c-4c7f-b54a-403fccacb8a8:localhost:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d :: true

createSubnodes 1.021s
2022-12-26 03:40:25 |

2022-12-26 03:40:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:25 | ------------------------------------

2022-12-26 03:40:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f</title></pubsub></data>

2022-12-26 03:40:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:40:26 | [Mutex] waiting for: [received:nodes:d9775440-7edd-4a26-a010-ba819917a709:localhost]

2022-12-26 03:40:26 | [Mutex] waiting for: [received:nodes:d9775440-7edd-4a26-a010-ba819917a709:localhost]

2022-12-26 03:40:26 | [Mutex] waiting for: [received:nodes:d9775440-7edd-4a26-a010-ba819917a709:localhost]

2022-12-26 03:40:26 | [Mutex] received everything.

2022-12-26 03:40:26 | [Mutex] isItemNotified: received:node:d9775440-7edd-4a26-a010-ba819917a709:localhost:node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f:Node 056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f :: true

deleteNodes 1.017s
2022-12-26 03:40:31 |

2022-12-26 03:40:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:31 | ------------------------------------

2022-12-26 03:40:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f</node></data>

2022-12-26 03:40:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:40:32 | [Mutex] waiting for: [received:nodes:c2585618-9588-4482-9d61-d0a086f30e04:localhost]

2022-12-26 03:40:32 | [Mutex] waiting for: [received:nodes:c2585618-9588-4482-9d61-d0a086f30e04:localhost]

2022-12-26 03:40:32 | [Mutex] waiting for: [received:nodes:c2585618-9588-4482-9d61-d0a086f30e04:localhost]

2022-12-26 03:40:32 | [Mutex] received everything.

2022-12-26 03:40:32 | [Mutex] isItemNotified: received:node:c2585618-9588-4482-9d61-d0a086f30e04:localhost:node-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f:Node 056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f :: false

deleteSubnodes 1.117s
2022-12-26 03:40:30 |

2022-12-26 03:40:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:30 | ------------------------------------

2022-12-26 03:40:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node></data>

2022-12-26 03:40:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:40:31 | [Mutex] waiting for: [received:nodes:4b10d5e5-3170-467d-ad63-c29864d60271:localhost]

2022-12-26 03:40:31 | [Mutex] waiting for: [received:nodes:4b10d5e5-3170-467d-ad63-c29864d60271:localhost]

2022-12-26 03:40:31 | [Mutex] waiting for: [received:nodes:4b10d5e5-3170-467d-ad63-c29864d60271:localhost]

2022-12-26 03:40:31 | [Mutex] waiting for: [received:nodes:4b10d5e5-3170-467d-ad63-c29864d60271:localhost]

2022-12-26 03:40:31 | [Mutex] received everything.

2022-12-26 03:40:31 | [Mutex] isItemNotified: received:node:4b10d5e5-3170-467d-ad63-c29864d60271:localhost:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d :: false

2022-12-26 03:40:31 | [Mutex] waiting for: [received:nodes:5a44df3c-cab2-4f77-8ab0-a025070e336d:localhost]

2022-12-26 03:40:31 | [Mutex] received everything.

2022-12-26 03:40:31 | [Mutex] isItemNotified: received:node:5a44df3c-cab2-4f77-8ab0-a025070e336d:localhost:node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d:Node 6287d0ac-46d8-48fe-b03c-1c1f17e62e0d :: false

publishItemsToNodes 0.237s
2022-12-26 03:40:28 |

2022-12-26 03:40:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:28 | ------------------------------------

2022-12-26 03:40:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><item-id>item-b77b5297-2259-4b4d-b23b-c146891d09a2</item-id><entry><test>item-b77b5297-2259-4b4d-b23b-c146891d09a2</test></entry></data>

2022-12-26 03:40:29 | 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-b77b5297-2259-4b4d-b23b-c146891d09a2</value></item-id></result>

2022-12-26 03:40:29 | [Mutex] waiting for: [published:item:notifieditem-b77b5297-2259-4b4d-b23b-c146891d09a2:admin@test-domain.com]

2022-12-26 03:40:29 | [Mutex] received everything.

2022-12-26 03:40:29 | [Mutex] isItemNotified: published:item:notifieditem-b77b5297-2259-4b4d-b23b-c146891d09a2:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-12-26 03:40:29 |

2022-12-26 03:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:29 | ------------------------------------

2022-12-26 03:40:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><item-id>item-b77b5297-2259-4b4d-b23b-c146891d09a2</item-id></data>

2022-12-26 03:40:29 | 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-b77b5297-2259-4b4d-b23b-c146891d09a2</value></item-id></result>

2022-12-26 03:40:29 | [Mutex] received everything.

2022-12-26 03:40:29 | [Mutex] isItemNotified: retracted:item:notifieditem-b77b5297-2259-4b4d-b23b-c146891d09a2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.192s
2022-12-26 03:40:29 |

2022-12-26 03:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:29 | ------------------------------------

2022-12-26 03:40:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><item-id>item-b77b5297-2259-4b4d-b23b-c146891d09a2</item-id></data>

2022-12-26 03:40:29 | 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-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</value></node><item-id label="Item ID" type="text-single"><value>item-b77b5297-2259-4b4d-b23b-c146891d09a2</value></item-id><item label="Item" type="text-multi"><value><item id="item-b77b5297-2259-4b4d-b23b-c146891d09a2"><test>item-b77b5297-2259-4b4d-b23b-c146891d09a2</test></item></value></item></result>

2022-12-26 03:40:29 | [Mutex] notify: [retrieved:item:item-b77b5297-2259-4b4d-b23b-c146891d09a2:payload-matches:true:localhost]

2022-12-26 03:40:29 | [Mutex] received everything.

2022-12-26 03:40:29 | [Mutex] isItemNotified: retrieved:item:item-b77b5297-2259-4b4d-b23b-c146891d09a2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-26 03:40:29 |

2022-12-26 03:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:29 | ------------------------------------

2022-12-26 03:40:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-26 03:40:29 | 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-056f2cb6-4eb0-439d-b11d-7ea1b64c4c6f</value><value>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-12-26 03:40:29 |

2022-12-26 03:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:29 | ------------------------------------

2022-12-26 03:40:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d)</node-pattern></data>

2022-12-26 03:40:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2022-12-26 03:40:27 |

2022-12-26 03:40:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:27 | ------------------------------------

2022-12-26 03:40:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-26 03:40:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2022-12-26 03:40:29 |

2022-12-26 03:40:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:40:29 | ------------------------------------

2022-12-26 03:40:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6287d0ac-46d8-48fe-b03c-1c1f17e62e0d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-26 03:40:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>