Generated by TestNG with ReportNG at 21:15 PST on Sunday 18 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.461s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-12-18 21:30:28 |

2022-12-18 21:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:28 | ------------------------------------

2022-12-18 21:30:28 | [Mutex] waiting for: [configured:node:node-998ad7af-7710-40db-93a1-33474860e853:node-0c5b03fa-cb06-4586-b788-d4c5c847b137]

2022-12-18 21:30:28 | [Mutex] received everything.

2022-12-18 21:30:28 | [Mutex] isItemNotified: configured:node:node-998ad7af-7710-40db-93a1-33474860e853:node-0c5b03fa-cb06-4586-b788-d4c5c847b137 :: true

2022-12-18 21:30:29 | [Mutex] waiting for: [received:nodes:ed5d772a-443c-4c70-9d21-0daf759451ac:localhost]

2022-12-18 21:30:29 | [Mutex] received everything.

2022-12-18 21:30:29 | [Mutex] isItemNotified: received:node:ed5d772a-443c-4c70-9d21-0daf759451ac:localhost:node-998ad7af-7710-40db-93a1-33474860e853:Node 998ad7af-7710-40db-93a1-33474860e853 :: true

2022-12-18 21:30:29 | [Mutex] waiting for: [received:nodes:af0f6865-ac1b-4268-8e3d-e6fccda4a44f:localhost]

2022-12-18 21:30:29 | [Mutex] waiting for: [received:nodes:af0f6865-ac1b-4268-8e3d-e6fccda4a44f:localhost]

2022-12-18 21:30:29 | [Mutex] waiting for: [received:nodes:af0f6865-ac1b-4268-8e3d-e6fccda4a44f:localhost]

2022-12-18 21:30:29 | [Mutex] received everything.

2022-12-18 21:30:29 | [Mutex] isItemNotified: received:node:af0f6865-ac1b-4268-8e3d-e6fccda4a44f:localhost:node-998ad7af-7710-40db-93a1-33474860e853:Node 998ad7af-7710-40db-93a1-33474860e853 :: false

createNodes 1.360s
2022-12-18 21:30:25 |

2022-12-18 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:25 | ------------------------------------

2022-12-18 21:30:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 998ad7af-7710-40db-93a1-33474860e853</title></pubsub></data>

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

2022-12-18 21:30:27 | [Mutex] waiting for: [received:nodes:c4e59c71-16b3-406b-807b-f414e8c1eda3:localhost]

2022-12-18 21:30:27 | [Mutex] received everything.

2022-12-18 21:30:27 | [Mutex] isItemNotified: received:node:c4e59c71-16b3-406b-807b-f414e8c1eda3:localhost:node-998ad7af-7710-40db-93a1-33474860e853:Node 998ad7af-7710-40db-93a1-33474860e853 :: true

createSubnodes 1.032s
2022-12-18 21:30:27 |

2022-12-18 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:27 | ------------------------------------

2022-12-18 21:30:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0c5b03fa-cb06-4586-b788-d4c5c847b137</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c5b03fa-cb06-4586-b788-d4c5c847b137</title></pubsub></data>

2022-12-18 21:30:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 21:30:28 | [Mutex] waiting for: [received:nodes:06623abf-5454-4c3f-bcc8-e5fefa301805:localhost]

2022-12-18 21:30:28 | [Mutex] waiting for: [received:nodes:06623abf-5454-4c3f-bcc8-e5fefa301805:localhost]

2022-12-18 21:30:28 | [Mutex] waiting for: [received:nodes:06623abf-5454-4c3f-bcc8-e5fefa301805:localhost]

2022-12-18 21:30:28 | [Mutex] received everything.

2022-12-18 21:30:28 | [Mutex] isItemNotified: received:node:06623abf-5454-4c3f-bcc8-e5fefa301805:localhost:node-0c5b03fa-cb06-4586-b788-d4c5c847b137:Node 0c5b03fa-cb06-4586-b788-d4c5c847b137 :: true

deleteNodes 1.021s
2022-12-18 21:30:33 |

2022-12-18 21:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:33 | ------------------------------------

2022-12-18 21:30:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0c5b03fa-cb06-4586-b788-d4c5c847b137</node></data>

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

2022-12-18 21:30:34 | [Mutex] waiting for: [received:nodes:ebe2e997-dfa4-434b-a229-689f34fe87ea:localhost]

2022-12-18 21:30:34 | [Mutex] waiting for: [received:nodes:ebe2e997-dfa4-434b-a229-689f34fe87ea:localhost]

2022-12-18 21:30:34 | [Mutex] waiting for: [received:nodes:ebe2e997-dfa4-434b-a229-689f34fe87ea:localhost]

2022-12-18 21:30:34 | [Mutex] received everything.

2022-12-18 21:30:34 | [Mutex] isItemNotified: received:node:ebe2e997-dfa4-434b-a229-689f34fe87ea:localhost:node-0c5b03fa-cb06-4586-b788-d4c5c847b137:Node 0c5b03fa-cb06-4586-b788-d4c5c847b137 :: false

deleteSubnodes 1.172s
2022-12-18 21:30:32 |

2022-12-18 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:32 | ------------------------------------

2022-12-18 21:30:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node></data>

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

2022-12-18 21:30:33 | [Mutex] waiting for: [received:nodes:c689982c-4300-4b2e-84e9-da24109ec1c2:localhost]

2022-12-18 21:30:33 | [Mutex] waiting for: [received:nodes:c689982c-4300-4b2e-84e9-da24109ec1c2:localhost]

2022-12-18 21:30:33 | [Mutex] waiting for: [received:nodes:c689982c-4300-4b2e-84e9-da24109ec1c2:localhost]

2022-12-18 21:30:33 | [Mutex] waiting for: [received:nodes:c689982c-4300-4b2e-84e9-da24109ec1c2:localhost]

2022-12-18 21:30:33 | [Mutex] received everything.

2022-12-18 21:30:33 | [Mutex] isItemNotified: received:node:c689982c-4300-4b2e-84e9-da24109ec1c2:localhost:node-998ad7af-7710-40db-93a1-33474860e853:Node 998ad7af-7710-40db-93a1-33474860e853 :: false

2022-12-18 21:30:33 | [Mutex] waiting for: [received:nodes:90e25bb3-29a1-4061-895f-c62c81527fb4:localhost]

2022-12-18 21:30:33 | [Mutex] received everything.

2022-12-18 21:30:33 | [Mutex] isItemNotified: received:node:90e25bb3-29a1-4061-895f-c62c81527fb4:localhost:node-998ad7af-7710-40db-93a1-33474860e853:Node 998ad7af-7710-40db-93a1-33474860e853 :: false

publishItemsToNodes 0.190s
2022-12-18 21:30:30 |

2022-12-18 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:30 | ------------------------------------

2022-12-18 21:30:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><item-id>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</item-id><entry><test>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</test></entry></data>

2022-12-18 21:30:30 | 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-c53eae08-9d3e-4772-b2d2-32a64603fa83</value></item-id></result>

2022-12-18 21:30:30 | [Mutex] received everything.

2022-12-18 21:30:30 | [Mutex] isItemNotified: published:item:notifieditem-c53eae08-9d3e-4772-b2d2-32a64603fa83:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2022-12-18 21:30:30 |

2022-12-18 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:30 | ------------------------------------

2022-12-18 21:30:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><item-id>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</item-id></data>

2022-12-18 21:30:31 | 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-c53eae08-9d3e-4772-b2d2-32a64603fa83</value></item-id></result>

2022-12-18 21:30:31 | [Mutex] received everything.

2022-12-18 21:30:31 | [Mutex] isItemNotified: retracted:item:notifieditem-c53eae08-9d3e-4772-b2d2-32a64603fa83:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2022-12-18 21:30:30 |

2022-12-18 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:30 | ------------------------------------

2022-12-18 21:30:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><item-id>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</item-id></data>

2022-12-18 21:30:30 | 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-998ad7af-7710-40db-93a1-33474860e853</value></node><item-id label="Item ID" type="text-single"><value>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</value></item-id><item label="Item" type="text-multi"><value><item id="item-c53eae08-9d3e-4772-b2d2-32a64603fa83"><test>item-c53eae08-9d3e-4772-b2d2-32a64603fa83</test></item></value></item></result>

2022-12-18 21:30:30 | [Mutex] notify: [retrieved:item:item-c53eae08-9d3e-4772-b2d2-32a64603fa83:payload-matches:true:localhost]

2022-12-18 21:30:30 | [Mutex] received everything.

2022-12-18 21:30:30 | [Mutex] isItemNotified: retrieved:item:item-c53eae08-9d3e-4772-b2d2-32a64603fa83:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2022-12-18 21:30:30 |

2022-12-18 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:30 | ------------------------------------

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

2022-12-18 21:30:30 | 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-998ad7af-7710-40db-93a1-33474860e853</value><value>node-0c5b03fa-cb06-4586-b788-d4c5c847b137</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-12-18 21:30:30 |

2022-12-18 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:30 | ------------------------------------

2022-12-18 21:30:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-998ad7af-7710-40db-93a1-33474860e853)</node-pattern></data>

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

subscribeNodes 1.132s
2022-12-18 21:30:29 |

2022-12-18 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:29 | ------------------------------------

2022-12-18 21:30:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 21:30:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2022-12-18 21:30:31 |

2022-12-18 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 21:30:31 | ------------------------------------

2022-12-18 21:30:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-998ad7af-7710-40db-93a1-33474860e853</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 21:30:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>