Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 27 July 2022
root@ed1b7dd8a1b3 / 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.513s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-07-27 23:01:46 |

2022-07-27 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:46 | ------------------------------------

2022-07-27 23:01:46 | [Mutex] waiting for: [configured:node:node-1febc945-19ff-4330-b77f-b922e23fe71f:node-0de7996e-cf78-4c1d-834d-3455326531ed]

2022-07-27 23:01:46 | [Mutex] received everything.

2022-07-27 23:01:46 | [Mutex] isItemNotified: configured:node:node-1febc945-19ff-4330-b77f-b922e23fe71f:node-0de7996e-cf78-4c1d-834d-3455326531ed :: true

2022-07-27 23:01:47 | [Mutex] waiting for: [received:nodes:6dcbcb0b-f796-4e8f-b4bb-2d89b567c866:localhost]

2022-07-27 23:01:47 | [Mutex] waiting for: [received:nodes:6dcbcb0b-f796-4e8f-b4bb-2d89b567c866:localhost]

2022-07-27 23:01:47 | [Mutex] received everything.

2022-07-27 23:01:47 | [Mutex] isItemNotified: received:node:6dcbcb0b-f796-4e8f-b4bb-2d89b567c866:localhost:node-1febc945-19ff-4330-b77f-b922e23fe71f:Node 1febc945-19ff-4330-b77f-b922e23fe71f :: true

2022-07-27 23:01:47 | [Mutex] waiting for: [received:nodes:0b078959-d265-453b-8b2a-18e5692c0e7e:localhost]

2022-07-27 23:01:47 | [Mutex] waiting for: [received:nodes:0b078959-d265-453b-8b2a-18e5692c0e7e:localhost]

2022-07-27 23:01:47 | [Mutex] received everything.

2022-07-27 23:01:47 | [Mutex] isItemNotified: received:node:0b078959-d265-453b-8b2a-18e5692c0e7e:localhost:node-1febc945-19ff-4330-b77f-b922e23fe71f:Node 1febc945-19ff-4330-b77f-b922e23fe71f :: false

createNodes 1.407s
2022-07-27 23:01:44 |

2022-07-27 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:44 | ------------------------------------

2022-07-27 23:01:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1febc945-19ff-4330-b77f-b922e23fe71f</title></pubsub></data>

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

2022-07-27 23:01:45 | [Mutex] waiting for: [received:nodes:ca6a31a5-a3fc-4cd1-85ad-f3aeb5b7924a:localhost]

2022-07-27 23:01:45 | [Mutex] waiting for: [received:nodes:ca6a31a5-a3fc-4cd1-85ad-f3aeb5b7924a:localhost]

2022-07-27 23:01:45 | [Mutex] received everything.

2022-07-27 23:01:45 | [Mutex] isItemNotified: received:node:ca6a31a5-a3fc-4cd1-85ad-f3aeb5b7924a:localhost:node-1febc945-19ff-4330-b77f-b922e23fe71f:Node 1febc945-19ff-4330-b77f-b922e23fe71f :: true

createSubnodes 1.024s
2022-07-27 23:01:45 |

2022-07-27 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:45 | ------------------------------------

2022-07-27 23:01:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0de7996e-cf78-4c1d-834d-3455326531ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0de7996e-cf78-4c1d-834d-3455326531ed</title></pubsub></data>

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

2022-07-27 23:01:46 | [Mutex] waiting for: [received:nodes:d2c86f02-f5f4-4982-bb33-9a1fa42833f6:localhost]

2022-07-27 23:01:46 | [Mutex] waiting for: [received:nodes:d2c86f02-f5f4-4982-bb33-9a1fa42833f6:localhost]

2022-07-27 23:01:46 | [Mutex] received everything.

2022-07-27 23:01:46 | [Mutex] isItemNotified: received:node:d2c86f02-f5f4-4982-bb33-9a1fa42833f6:localhost:node-0de7996e-cf78-4c1d-834d-3455326531ed:Node 0de7996e-cf78-4c1d-834d-3455326531ed :: true

deleteNodes 1.016s
2022-07-27 23:01:51 |

2022-07-27 23:01:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:51 | ------------------------------------

2022-07-27 23:01:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0de7996e-cf78-4c1d-834d-3455326531ed</node></data>

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

2022-07-27 23:01:52 | [Mutex] waiting for: [received:nodes:784530e7-1350-4d84-9fc8-bdaa12b7d376:localhost]

2022-07-27 23:01:52 | [Mutex] waiting for: [received:nodes:784530e7-1350-4d84-9fc8-bdaa12b7d376:localhost]

2022-07-27 23:01:52 | [Mutex] received everything.

2022-07-27 23:01:52 | [Mutex] isItemNotified: received:node:784530e7-1350-4d84-9fc8-bdaa12b7d376:localhost:node-0de7996e-cf78-4c1d-834d-3455326531ed:Node 0de7996e-cf78-4c1d-834d-3455326531ed :: false

deleteSubnodes 1.215s
2022-07-27 23:01:50 |

2022-07-27 23:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:50 | ------------------------------------

2022-07-27 23:01:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node></data>

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

2022-07-27 23:01:51 | [Mutex] waiting for: [received:nodes:28199ccf-7bcb-48a8-a567-0a01d3c62012:localhost]

2022-07-27 23:01:51 | [Mutex] waiting for: [received:nodes:28199ccf-7bcb-48a8-a567-0a01d3c62012:localhost]

2022-07-27 23:01:51 | [Mutex] received everything.

2022-07-27 23:01:51 | [Mutex] isItemNotified: received:node:28199ccf-7bcb-48a8-a567-0a01d3c62012:localhost:node-1febc945-19ff-4330-b77f-b922e23fe71f:Node 1febc945-19ff-4330-b77f-b922e23fe71f :: false

2022-07-27 23:01:51 | [Mutex] waiting for: [received:nodes:f5d27c83-5b2a-4049-bd90-b2a2945031cc:localhost]

2022-07-27 23:01:51 | [Mutex] received everything.

2022-07-27 23:01:51 | [Mutex] isItemNotified: received:node:f5d27c83-5b2a-4049-bd90-b2a2945031cc:localhost:node-1febc945-19ff-4330-b77f-b922e23fe71f:Node 1febc945-19ff-4330-b77f-b922e23fe71f :: false

publishItemsToNodes 0.199s
2022-07-27 23:01:48 |

2022-07-27 23:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:48 | ------------------------------------

2022-07-27 23:01:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><item-id>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</item-id><entry><test>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</test></entry></data>

2022-07-27 23:01:48 | 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-db26f35e-74c3-4f26-8d1a-c20d77f77422</value></item-id></result>

2022-07-27 23:01:48 | [Mutex] received everything.

2022-07-27 23:01:48 | [Mutex] isItemNotified: published:item:notifieditem-db26f35e-74c3-4f26-8d1a-c20d77f77422:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-07-27 23:01:49 |

2022-07-27 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:49 | ------------------------------------

2022-07-27 23:01:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><item-id>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</item-id></data>

2022-07-27 23:01:49 | 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-db26f35e-74c3-4f26-8d1a-c20d77f77422</value></item-id></result>

2022-07-27 23:01:49 | [Mutex] received everything.

2022-07-27 23:01:49 | [Mutex] isItemNotified: retracted:item:notifieditem-db26f35e-74c3-4f26-8d1a-c20d77f77422:admin@test-domain.com :: true

retrieveItemsFromNodes 0.184s
2022-07-27 23:01:48 |

2022-07-27 23:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:48 | ------------------------------------

2022-07-27 23:01:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><item-id>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</item-id></data>

2022-07-27 23:01:49 | 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-1febc945-19ff-4330-b77f-b922e23fe71f</value></node><item-id type="text-single" label="Item ID"><value>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</value></item-id><item type="text-multi" label="Item"><value><item id="item-db26f35e-74c3-4f26-8d1a-c20d77f77422"><test>item-db26f35e-74c3-4f26-8d1a-c20d77f77422</test></item></value></item></result>

2022-07-27 23:01:49 | [Mutex] notify: [retrieved:item:item-db26f35e-74c3-4f26-8d1a-c20d77f77422:payload-matches:true:localhost]

2022-07-27 23:01:49 | [Mutex] received everything.

2022-07-27 23:01:49 | [Mutex] isItemNotified: retrieved:item:item-db26f35e-74c3-4f26-8d1a-c20d77f77422:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-27 23:01:49 |

2022-07-27 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:49 | ------------------------------------

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

2022-07-27 23:01:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-1febc945-19ff-4330-b77f-b922e23fe71f</value><value>node-0de7996e-cf78-4c1d-834d-3455326531ed</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-27 23:01:49 |

2022-07-27 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:49 | ------------------------------------

2022-07-27 23:01:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1febc945-19ff-4330-b77f-b922e23fe71f)</node-pattern></data>

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

subscribeNodes 1.110s
2022-07-27 23:01:47 |

2022-07-27 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:47 | ------------------------------------

2022-07-27 23:01:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-27 23:01:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.210s
2022-07-27 23:01:49 |

2022-07-27 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-27 23:01:49 | ------------------------------------

2022-07-27 23:01:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1febc945-19ff-4330-b77f-b922e23fe71f</node><jids><value>admin@test-domain.com</value></jids></data>

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