Generated by TestNG with ReportNG at 07:41 PST on Wednesday 16 February 2022
root@b2c2a8eba6e6 / 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.201s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-02-16 07:57:21 |

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

2022-02-16 07:57:21 | ------------------------------------

2022-02-16 07:57:21 | [Mutex] waiting for: [configured:node:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:node-dd15b36c-8762-455c-96e8-b218b3f216fd]

2022-02-16 07:57:21 | [Mutex] received everything.

2022-02-16 07:57:21 | [Mutex] isItemNotified: configured:node:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:node-dd15b36c-8762-455c-96e8-b218b3f216fd :: true

2022-02-16 07:57:22 | [Mutex] waiting for: [received:nodes:dc524dc1-aa8d-48dd-8306-3dfae830aac1:localhost]

2022-02-16 07:57:22 | [Mutex] received everything.

2022-02-16 07:57:22 | [Mutex] isItemNotified: received:node:dc524dc1-aa8d-48dd-8306-3dfae830aac1:localhost:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:Node 56bfcd65-9b91-4554-95e5-3a5b19e74510 :: true

2022-02-16 07:57:22 | [Mutex] waiting for: [received:nodes:d7ba9e74-55f8-43ef-ae7d-beb3318b535e:localhost]

2022-02-16 07:57:22 | [Mutex] received everything.

2022-02-16 07:57:22 | [Mutex] isItemNotified: received:node:d7ba9e74-55f8-43ef-ae7d-beb3318b535e:localhost:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:Node 56bfcd65-9b91-4554-95e5-3a5b19e74510 :: false

createNodes 1.571s
2022-02-16 07:57:18 |

2022-02-16 07:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 07:57:18 | ------------------------------------

2022-02-16 07:57:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56bfcd65-9b91-4554-95e5-3a5b19e74510</title></pubsub></data>

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

2022-02-16 07:57:20 | [Mutex] waiting for: [received:nodes:13af2be4-7d71-4e88-ba3f-17b12ed2f625:localhost]

2022-02-16 07:57:20 | [Mutex] received everything.

2022-02-16 07:57:20 | [Mutex] isItemNotified: received:node:13af2be4-7d71-4e88-ba3f-17b12ed2f625:localhost:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:Node 56bfcd65-9b91-4554-95e5-3a5b19e74510 :: true

createSubnodes 1.025s
2022-02-16 07:57:20 |

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

2022-02-16 07:57:20 | ------------------------------------

2022-02-16 07:57:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd15b36c-8762-455c-96e8-b218b3f216fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dd15b36c-8762-455c-96e8-b218b3f216fd</title></pubsub></data>

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

2022-02-16 07:57:21 | [Mutex] waiting for: [received:nodes:024fa31a-4bc4-4050-92db-fa0878779a7b:localhost]

2022-02-16 07:57:21 | [Mutex] received everything.

2022-02-16 07:57:21 | [Mutex] isItemNotified: received:node:024fa31a-4bc4-4050-92db-fa0878779a7b:localhost:node-dd15b36c-8762-455c-96e8-b218b3f216fd:Node dd15b36c-8762-455c-96e8-b218b3f216fd :: true

deleteNodes 1.022s
2022-02-16 07:57:27 |

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

2022-02-16 07:57:27 | ------------------------------------

2022-02-16 07:57:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd15b36c-8762-455c-96e8-b218b3f216fd</node></data>

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

2022-02-16 07:57:28 | [Mutex] waiting for: [received:nodes:3ab76592-4af4-47a2-aedd-e49472a738ff:localhost]

2022-02-16 07:57:28 | [Mutex] received everything.

2022-02-16 07:57:28 | [Mutex] isItemNotified: received:node:3ab76592-4af4-47a2-aedd-e49472a738ff:localhost:node-dd15b36c-8762-455c-96e8-b218b3f216fd:Node dd15b36c-8762-455c-96e8-b218b3f216fd :: false

deleteSubnodes 1.198s
2022-02-16 07:57:25 |

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

2022-02-16 07:57:25 | ------------------------------------

2022-02-16 07:57:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node></data>

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

2022-02-16 07:57:27 | [Mutex] waiting for: [received:nodes:049439c9-b973-42cf-b834-9ce10a03c6fb:localhost]

2022-02-16 07:57:27 | [Mutex] received everything.

2022-02-16 07:57:27 | [Mutex] isItemNotified: received:node:049439c9-b973-42cf-b834-9ce10a03c6fb:localhost:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:Node 56bfcd65-9b91-4554-95e5-3a5b19e74510 :: false

2022-02-16 07:57:27 | [Mutex] waiting for: [received:nodes:be003912-b768-43fa-8ad1-18c021cec62e:localhost]

2022-02-16 07:57:27 | [Mutex] received everything.

2022-02-16 07:57:27 | [Mutex] isItemNotified: received:node:be003912-b768-43fa-8ad1-18c021cec62e:localhost:node-56bfcd65-9b91-4554-95e5-3a5b19e74510:Node 56bfcd65-9b91-4554-95e5-3a5b19e74510 :: false

publishItemsToNodes 0.350s
2022-02-16 07:57:23 |

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

2022-02-16 07:57:23 | ------------------------------------

2022-02-16 07:57:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><item-id>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</item-id><entry><test>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</test></entry></data>

2022-02-16 07:57:24 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</value></item-id></result>

2022-02-16 07:57:24 | [Mutex] received everything.

2022-02-16 07:57:24 | [Mutex] isItemNotified: published:item:notifieditem-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d:admin@test-domain.com :: true

retractItemsFromNodes 0.183s
2022-02-16 07:57:24 |

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

2022-02-16 07:57:24 | ------------------------------------

2022-02-16 07:57:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><item-id>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</item-id></data>

2022-02-16 07:57:24 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</value></item-id></result>

2022-02-16 07:57:24 | [Mutex] received everything.

2022-02-16 07:57:24 | [Mutex] isItemNotified: retracted:item:notifieditem-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.254s
2022-02-16 07:57:24 |

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

2022-02-16 07:57:24 | ------------------------------------

2022-02-16 07:57:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><item-id>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</item-id></data>

2022-02-16 07:57:24 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</value></node><item-id type="text-single" label="Item ID"><value>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d"><test>item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d</test></item></value></item></result>

2022-02-16 07:57:24 | [Mutex] notify: [retrieved:item:item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d:payload-matches:true:localhost]

2022-02-16 07:57:24 | [Mutex] received everything.

2022-02-16 07:57:24 | [Mutex] isItemNotified: retrieved:item:item-8bc35bd0-f0c9-4b3c-8e49-ba88b94b1b8d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-16 07:57:24 |

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

2022-02-16 07:57:24 | ------------------------------------

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

2022-02-16 07:57:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-dd15b36c-8762-455c-96e8-b218b3f216fd</value><value>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-02-16 07:57:24 |

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

2022-02-16 07:57:24 | ------------------------------------

2022-02-16 07:57:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56bfcd65-9b91-4554-95e5-3a5b19e74510)</node-pattern></data>

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

subscribeNodes 1.128s
2022-02-16 07:57:22 |

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

2022-02-16 07:57:22 | ------------------------------------

2022-02-16 07:57:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.275s
2022-02-16 07:57:24 |

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

2022-02-16 07:57:24 | ------------------------------------

2022-02-16 07:57:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56bfcd65-9b91-4554-95e5-3a5b19e74510</node><jids><value>admin@test-domain.com</value></jids></data>

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