Generated by TestNG with ReportNG at 21:47 PST on Wednesday 16 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.425s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.135s
2022-02-16 22:01:49 |

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

2022-02-16 22:01:49 | ------------------------------------

2022-02-16 22:01:49 | [Mutex] waiting for: [configured:node:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:node-f4c3db94-fd28-4730-88de-68cbd607e95e]

2022-02-16 22:01:49 | [Mutex] received everything.

2022-02-16 22:01:49 | [Mutex] isItemNotified: configured:node:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:node-f4c3db94-fd28-4730-88de-68cbd607e95e :: true

2022-02-16 22:01:50 | [Mutex] waiting for: [received:nodes:b7d3d2a0-f2cd-4c62-833a-6eba30974c4c:localhost]

2022-02-16 22:01:50 | [Mutex] waiting for: [received:nodes:b7d3d2a0-f2cd-4c62-833a-6eba30974c4c:localhost]

2022-02-16 22:01:50 | [Mutex] received everything.

2022-02-16 22:01:50 | [Mutex] isItemNotified: received:node:b7d3d2a0-f2cd-4c62-833a-6eba30974c4c:localhost:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c :: true

2022-02-16 22:01:50 | [Mutex] waiting for: [received:nodes:ce5ec491-6baa-4f05-8087-01dd9a1e8522:localhost]

2022-02-16 22:01:50 | [Mutex] received everything.

2022-02-16 22:01:50 | [Mutex] isItemNotified: received:node:ce5ec491-6baa-4f05-8087-01dd9a1e8522:localhost:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c :: false

createNodes 1.517s
2022-02-16 22:01:47 |

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

2022-02-16 22:01:47 | ------------------------------------

2022-02-16 22:01:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</title></pubsub></data>

2022-02-16 22:01:47 | 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 22:01:48 | [Mutex] waiting for: [received:nodes:24391a9b-2e97-43a9-9ac4-fbfc3421e864:localhost]

2022-02-16 22:01:48 | [Mutex] received everything.

2022-02-16 22:01:48 | [Mutex] isItemNotified: received:node:24391a9b-2e97-43a9-9ac4-fbfc3421e864:localhost:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c :: true

createSubnodes 1.027s
2022-02-16 22:01:48 |

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

2022-02-16 22:01:48 | ------------------------------------

2022-02-16 22:01:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f4c3db94-fd28-4730-88de-68cbd607e95e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f4c3db94-fd28-4730-88de-68cbd607e95e</title></pubsub></data>

2022-02-16 22:01:48 | 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 22:01:49 | [Mutex] waiting for: [received:nodes:af69a1d8-06e0-439a-a539-a1bee40b6a67:localhost]

2022-02-16 22:01:49 | [Mutex] received everything.

2022-02-16 22:01:49 | [Mutex] isItemNotified: received:node:af69a1d8-06e0-439a-a539-a1bee40b6a67:localhost:node-f4c3db94-fd28-4730-88de-68cbd607e95e:Node f4c3db94-fd28-4730-88de-68cbd607e95e :: true

deleteNodes 1.024s
2022-02-16 22:01:55 |

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

2022-02-16 22:01:55 | ------------------------------------

2022-02-16 22:01:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f4c3db94-fd28-4730-88de-68cbd607e95e</node></data>

2022-02-16 22:01:55 | 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 22:01:56 | [Mutex] waiting for: [received:nodes:61e870c4-c09a-4f65-a86c-3c6f3e3aa684:localhost]

2022-02-16 22:01:56 | [Mutex] waiting for: [received:nodes:61e870c4-c09a-4f65-a86c-3c6f3e3aa684:localhost]

2022-02-16 22:01:56 | [Mutex] received everything.

2022-02-16 22:01:56 | [Mutex] isItemNotified: received:node:61e870c4-c09a-4f65-a86c-3c6f3e3aa684:localhost:node-f4c3db94-fd28-4730-88de-68cbd607e95e:Node f4c3db94-fd28-4730-88de-68cbd607e95e :: false

deleteSubnodes 1.182s
2022-02-16 22:01:54 |

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

2022-02-16 22:01:54 | ------------------------------------

2022-02-16 22:01:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node></data>

2022-02-16 22:01:54 | 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 22:01:55 | [Mutex] waiting for: [received:nodes:01239888-264d-491d-baf1-617077e5085d:localhost]

2022-02-16 22:01:55 | [Mutex] received everything.

2022-02-16 22:01:55 | [Mutex] isItemNotified: received:node:01239888-264d-491d-baf1-617077e5085d:localhost:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c :: false

2022-02-16 22:01:55 | [Mutex] waiting for: [received:nodes:9ca6a134-db9d-4797-abd5-90d5bfbe9ec8:localhost]

2022-02-16 22:01:55 | [Mutex] received everything.

2022-02-16 22:01:55 | [Mutex] isItemNotified: received:node:9ca6a134-db9d-4797-abd5-90d5bfbe9ec8:localhost:node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c:Node 99e2a0e6-9c9d-4b3d-ae90-316e5eed243c :: false

publishItemsToNodes 0.254s
2022-02-16 22:01:51 |

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

2022-02-16 22:01:51 | ------------------------------------

2022-02-16 22:01:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><item-id>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</item-id><entry><test>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</test></entry></data>

2022-02-16 22:01:52 | 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-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</value></item-id></result>

2022-02-16 22:01:52 | [Mutex] waiting for: [published:item:notifieditem-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:admin@test-domain.com]

2022-02-16 22:01:52 | [Mutex] received everything.

2022-02-16 22:01:52 | [Mutex] isItemNotified: published:item:notifieditem-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2022-02-16 22:01:52 |

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

2022-02-16 22:01:52 | ------------------------------------

2022-02-16 22:01:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><item-id>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</item-id></data>

2022-02-16 22:01:52 | 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-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</value></item-id></result>

2022-02-16 22:01:52 | [Mutex] waiting for: [retracted:item:notifieditem-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:admin@test-domain.com]

2022-02-16 22:01:52 | [Mutex] received everything.

2022-02-16 22:01:52 | [Mutex] isItemNotified: retracted:item:notifieditem-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.429s
2022-02-16 22:01:52 |

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

2022-02-16 22:01:52 | ------------------------------------

2022-02-16 22:01:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><item-id>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</item-id></data>

2022-02-16 22:01:52 | 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-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</value></node><item-id label="Item ID" type="text-single"><value>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</value></item-id><item label="Item" type="text-multi"><value><item id="item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7"><test>item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7</test></item></value></item></result>

2022-02-16 22:01:52 | [Mutex] notify: [retrieved:item:item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:payload-matches:true:localhost]

2022-02-16 22:01:52 | [Mutex] received everything.

2022-02-16 22:01:52 | [Mutex] isItemNotified: retrieved:item:item-a066ffce-70f3-4e9f-8ee9-16b2689ebcf7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-16 22:01:52 |

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

2022-02-16 22:01:52 | ------------------------------------

2022-02-16 22:01:52 | 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 22:01:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f4c3db94-fd28-4730-88de-68cbd607e95e</value><value>test</value><value>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-16 22:01:52 |

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

2022-02-16 22:01:52 | ------------------------------------

2022-02-16 22:01:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c)</node-pattern></data>

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

subscribeNodes 1.188s
2022-02-16 22:01:50 |

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

2022-02-16 22:01:50 | ------------------------------------

2022-02-16 22:01:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.372s
2022-02-16 22:01:53 |

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

2022-02-16 22:01:53 | ------------------------------------

2022-02-16 22:01:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-99e2a0e6-9c9d-4b3d-ae90-316e5eed243c</node><jids><value>admin@test-domain.com</value></jids></data>

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