Generated by TestNG with ReportNG at 04:43 PDT on Tuesday 25 October 2022
root@7c41cec37518 / 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.392s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-10-25 04:58:26 |

2022-10-25 04:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:26 | ------------------------------------

2022-10-25 04:58:26 | [Mutex] waiting for: [configured:node:node-e534647f-05fb-42da-962f-c8b8d27b6a02:node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9]

2022-10-25 04:58:26 | [Mutex] received everything.

2022-10-25 04:58:26 | [Mutex] isItemNotified: configured:node:node-e534647f-05fb-42da-962f-c8b8d27b6a02:node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9 :: true

2022-10-25 04:58:27 | [Mutex] waiting for: [received:nodes:443276ac-5472-41a4-8b25-076618b2cb59:localhost]

2022-10-25 04:58:27 | [Mutex] received everything.

2022-10-25 04:58:27 | [Mutex] isItemNotified: received:node:443276ac-5472-41a4-8b25-076618b2cb59:localhost:node-e534647f-05fb-42da-962f-c8b8d27b6a02:Node e534647f-05fb-42da-962f-c8b8d27b6a02 :: true

2022-10-25 04:58:27 | [Mutex] waiting for: [received:nodes:849fe6e3-dfac-49a7-aeef-a221a7d7c1e6:localhost]

2022-10-25 04:58:27 | [Mutex] waiting for: [received:nodes:849fe6e3-dfac-49a7-aeef-a221a7d7c1e6:localhost]

2022-10-25 04:58:27 | [Mutex] waiting for: [received:nodes:849fe6e3-dfac-49a7-aeef-a221a7d7c1e6:localhost]

2022-10-25 04:58:27 | [Mutex] received everything.

2022-10-25 04:58:27 | [Mutex] isItemNotified: received:node:849fe6e3-dfac-49a7-aeef-a221a7d7c1e6:localhost:node-e534647f-05fb-42da-962f-c8b8d27b6a02:Node e534647f-05fb-42da-962f-c8b8d27b6a02 :: false

createNodes 1.348s
2022-10-25 04:58:24 |

2022-10-25 04:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:24 | ------------------------------------

2022-10-25 04:58:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e534647f-05fb-42da-962f-c8b8d27b6a02</title></pubsub></data>

2022-10-25 04:58:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:58:25 | [Mutex] waiting for: [received:nodes:f5216412-5f68-4722-9b20-bebd0522d6a1:localhost]

2022-10-25 04:58:25 | [Mutex] waiting for: [received:nodes:f5216412-5f68-4722-9b20-bebd0522d6a1:localhost]

2022-10-25 04:58:25 | [Mutex] received everything.

2022-10-25 04:58:25 | [Mutex] isItemNotified: received:node:f5216412-5f68-4722-9b20-bebd0522d6a1:localhost:node-e534647f-05fb-42da-962f-c8b8d27b6a02:Node e534647f-05fb-42da-962f-c8b8d27b6a02 :: true

createSubnodes 1.027s
2022-10-25 04:58:25 |

2022-10-25 04:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:25 | ------------------------------------

2022-10-25 04:58:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9</title></pubsub></data>

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

2022-10-25 04:58:26 | [Mutex] waiting for: [received:nodes:378d3478-99cd-43f7-a0cc-35f68be75899:localhost]

2022-10-25 04:58:26 | [Mutex] waiting for: [received:nodes:378d3478-99cd-43f7-a0cc-35f68be75899:localhost]

2022-10-25 04:58:26 | [Mutex] received everything.

2022-10-25 04:58:26 | [Mutex] isItemNotified: received:node:378d3478-99cd-43f7-a0cc-35f68be75899:localhost:node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9:Node 57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9 :: true

deleteNodes 1.019s
2022-10-25 04:58:31 |

2022-10-25 04:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:31 | ------------------------------------

2022-10-25 04:58:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9</node></data>

2022-10-25 04:58:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:58:32 | [Mutex] waiting for: [received:nodes:0686f34d-c62f-4e77-b264-684f60fca123:localhost]

2022-10-25 04:58:32 | [Mutex] waiting for: [received:nodes:0686f34d-c62f-4e77-b264-684f60fca123:localhost]

2022-10-25 04:58:32 | [Mutex] waiting for: [received:nodes:0686f34d-c62f-4e77-b264-684f60fca123:localhost]

2022-10-25 04:58:32 | [Mutex] received everything.

2022-10-25 04:58:32 | [Mutex] isItemNotified: received:node:0686f34d-c62f-4e77-b264-684f60fca123:localhost:node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9:Node 57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9 :: false

deleteSubnodes 1.109s
2022-10-25 04:58:30 |

2022-10-25 04:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:30 | ------------------------------------

2022-10-25 04:58:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node></data>

2022-10-25 04:58:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-25 04:58:31 | [Mutex] waiting for: [received:nodes:2593cdf8-e0ab-4dcb-afdf-bf5895825821:localhost]

2022-10-25 04:58:31 | [Mutex] received everything.

2022-10-25 04:58:31 | [Mutex] isItemNotified: received:node:2593cdf8-e0ab-4dcb-afdf-bf5895825821:localhost:node-e534647f-05fb-42da-962f-c8b8d27b6a02:Node e534647f-05fb-42da-962f-c8b8d27b6a02 :: false

2022-10-25 04:58:31 | [Mutex] waiting for: [received:nodes:72111371-b266-4d2f-ae38-fcadf1ea29d7:localhost]

2022-10-25 04:58:31 | [Mutex] received everything.

2022-10-25 04:58:31 | [Mutex] isItemNotified: received:node:72111371-b266-4d2f-ae38-fcadf1ea29d7:localhost:node-e534647f-05fb-42da-962f-c8b8d27b6a02:Node e534647f-05fb-42da-962f-c8b8d27b6a02 :: false

publishItemsToNodes 0.252s
2022-10-25 04:58:28 |

2022-10-25 04:58:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:28 | ------------------------------------

2022-10-25 04:58:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><item-id>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</item-id><entry><test>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</test></entry></data>

2022-10-25 04:58:29 | 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-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</value></item-id></result>

2022-10-25 04:58:29 | [Mutex] received everything.

2022-10-25 04:58:29 | [Mutex] isItemNotified: published:item:notifieditem-0e9c07d1-6c25-4e79-a096-00b5cc9d1406:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-10-25 04:58:29 |

2022-10-25 04:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:29 | ------------------------------------

2022-10-25 04:58:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><item-id>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</item-id></data>

2022-10-25 04:58:29 | 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-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</value></item-id></result>

2022-10-25 04:58:29 | [Mutex] received everything.

2022-10-25 04:58:29 | [Mutex] isItemNotified: retracted:item:notifieditem-0e9c07d1-6c25-4e79-a096-00b5cc9d1406:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2022-10-25 04:58:29 |

2022-10-25 04:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:29 | ------------------------------------

2022-10-25 04:58:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><item-id>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</item-id></data>

2022-10-25 04:58:29 | 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-e534647f-05fb-42da-962f-c8b8d27b6a02</value></node><item-id type="text-single" label="Item ID"><value>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</value></item-id><item type="text-multi" label="Item"><value><item id="item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406"><test>item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406</test></item></value></item></result>

2022-10-25 04:58:29 | [Mutex] notify: [retrieved:item:item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406:payload-matches:true:localhost]

2022-10-25 04:58:29 | [Mutex] received everything.

2022-10-25 04:58:29 | [Mutex] isItemNotified: retrieved:item:item-0e9c07d1-6c25-4e79-a096-00b5cc9d1406:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-25 04:58:29 |

2022-10-25 04:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:29 | ------------------------------------

2022-10-25 04:58:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-25 04:58:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-57ffa3a7-f23e-4efa-a9dd-40e95c73c7b9</value><value>test</value><value>node-e534647f-05fb-42da-962f-c8b8d27b6a02</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-25 04:58:29 |

2022-10-25 04:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:29 | ------------------------------------

2022-10-25 04:58: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-e534647f-05fb-42da-962f-c8b8d27b6a02)</node-pattern></data>

2022-10-25 04:58:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.148s
2022-10-25 04:58:27 |

2022-10-25 04:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:27 | ------------------------------------

2022-10-25 04:58:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-25 04:58: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.112s
2022-10-25 04:58:29 |

2022-10-25 04:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-25 04:58:29 | ------------------------------------

2022-10-25 04:58:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e534647f-05fb-42da-962f-c8b8d27b6a02</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-25 04:58:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>