Generated by TestNG with ReportNG at 03:55 PST on Thursday 17 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.279s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2022-02-17 04:10:36 |

2022-02-17 04:10:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:36 | ------------------------------------

2022-02-17 04:10:36 | [Mutex] waiting for: [configured:node:node-d5a56529-32ce-473c-ade4-730080d684a6:node-6df0ab96-dcec-47b4-95e4-515a47c435fe]

2022-02-17 04:10:36 | [Mutex] received everything.

2022-02-17 04:10:36 | [Mutex] isItemNotified: configured:node:node-d5a56529-32ce-473c-ade4-730080d684a6:node-6df0ab96-dcec-47b4-95e4-515a47c435fe :: true

2022-02-17 04:10:37 | [Mutex] waiting for: [received:nodes:fc79622b-8975-409e-9e84-2fb35930c4a5:localhost]

2022-02-17 04:10:37 | [Mutex] received everything.

2022-02-17 04:10:37 | [Mutex] isItemNotified: received:node:fc79622b-8975-409e-9e84-2fb35930c4a5:localhost:node-d5a56529-32ce-473c-ade4-730080d684a6:Node d5a56529-32ce-473c-ade4-730080d684a6 :: true

2022-02-17 04:10:37 | [Mutex] waiting for: [received:nodes:be3a4361-1c86-4284-84be-1ed936182acc:localhost]

2022-02-17 04:10:37 | [Mutex] waiting for: [received:nodes:be3a4361-1c86-4284-84be-1ed936182acc:localhost]

2022-02-17 04:10:37 | [Mutex] waiting for: [received:nodes:be3a4361-1c86-4284-84be-1ed936182acc:localhost]

2022-02-17 04:10:37 | [Mutex] received everything.

2022-02-17 04:10:37 | [Mutex] isItemNotified: received:node:be3a4361-1c86-4284-84be-1ed936182acc:localhost:node-d5a56529-32ce-473c-ade4-730080d684a6:Node d5a56529-32ce-473c-ade4-730080d684a6 :: false

createNodes 1.510s
2022-02-17 04:10:34 |

2022-02-17 04:10:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:34 | ------------------------------------

2022-02-17 04:10:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d5a56529-32ce-473c-ade4-730080d684a6</title></pubsub></data>

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

2022-02-17 04:10:35 | [Mutex] waiting for: [received:nodes:aaa1bd01-294a-479a-9173-04e395aa3db5:localhost]

2022-02-17 04:10:35 | [Mutex] received everything.

2022-02-17 04:10:35 | [Mutex] isItemNotified: received:node:aaa1bd01-294a-479a-9173-04e395aa3db5:localhost:node-d5a56529-32ce-473c-ade4-730080d684a6:Node d5a56529-32ce-473c-ade4-730080d684a6 :: true

createSubnodes 1.042s
2022-02-17 04:10:35 |

2022-02-17 04:10:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:35 | ------------------------------------

2022-02-17 04:10:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6df0ab96-dcec-47b4-95e4-515a47c435fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6df0ab96-dcec-47b4-95e4-515a47c435fe</title></pubsub></data>

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

2022-02-17 04:10:36 | [Mutex] waiting for: [received:nodes:5b8078e5-475f-49c9-a92d-54afea2432bf:localhost]

2022-02-17 04:10:36 | [Mutex] received everything.

2022-02-17 04:10:36 | [Mutex] isItemNotified: received:node:5b8078e5-475f-49c9-a92d-54afea2432bf:localhost:node-6df0ab96-dcec-47b4-95e4-515a47c435fe:Node 6df0ab96-dcec-47b4-95e4-515a47c435fe :: true

deleteNodes 1.022s
2022-02-17 04:10:42 |

2022-02-17 04:10:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:42 | ------------------------------------

2022-02-17 04:10:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6df0ab96-dcec-47b4-95e4-515a47c435fe</node></data>

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

2022-02-17 04:10:43 | [Mutex] waiting for: [received:nodes:0a6fd9ff-5961-4a86-bc5b-95aeaed068e9:localhost]

2022-02-17 04:10:43 | [Mutex] waiting for: [received:nodes:0a6fd9ff-5961-4a86-bc5b-95aeaed068e9:localhost]

2022-02-17 04:10:43 | [Mutex] received everything.

2022-02-17 04:10:43 | [Mutex] isItemNotified: received:node:0a6fd9ff-5961-4a86-bc5b-95aeaed068e9:localhost:node-6df0ab96-dcec-47b4-95e4-515a47c435fe:Node 6df0ab96-dcec-47b4-95e4-515a47c435fe :: false

deleteSubnodes 1.216s
2022-02-17 04:10:41 |

2022-02-17 04:10:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:41 | ------------------------------------

2022-02-17 04:10:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node></data>

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

2022-02-17 04:10:42 | [Mutex] waiting for: [received:nodes:23afc547-cfe1-4d99-a876-834d9ed0f21c:localhost]

2022-02-17 04:10:42 | [Mutex] waiting for: [received:nodes:23afc547-cfe1-4d99-a876-834d9ed0f21c:localhost]

2022-02-17 04:10:42 | [Mutex] received everything.

2022-02-17 04:10:42 | [Mutex] isItemNotified: received:node:23afc547-cfe1-4d99-a876-834d9ed0f21c:localhost:node-d5a56529-32ce-473c-ade4-730080d684a6:Node d5a56529-32ce-473c-ade4-730080d684a6 :: false

2022-02-17 04:10:42 | [Mutex] waiting for: [received:nodes:6c37146b-4d45-4c1e-a1a0-fa6fa5891c20:localhost]

2022-02-17 04:10:42 | [Mutex] received everything.

2022-02-17 04:10:42 | [Mutex] isItemNotified: received:node:6c37146b-4d45-4c1e-a1a0-fa6fa5891c20:localhost:node-d5a56529-32ce-473c-ade4-730080d684a6:Node d5a56529-32ce-473c-ade4-730080d684a6 :: false

publishItemsToNodes 0.242s
2022-02-17 04:10:38 |

2022-02-17 04:10:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:38 | ------------------------------------

2022-02-17 04:10:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><item-id>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</item-id><entry><test>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</test></entry></data>

2022-02-17 04:10:39 | 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-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</value></item-id></result>

2022-02-17 04:10:39 | [Mutex] waiting for: [published:item:notifieditem-1f16f8fb-7b84-4f28-87a5-e1b482a1b227:admin@test-domain.com]

2022-02-17 04:10:39 | [Mutex] received everything.

2022-02-17 04:10:39 | [Mutex] isItemNotified: published:item:notifieditem-1f16f8fb-7b84-4f28-87a5-e1b482a1b227:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-02-17 04:10:39 |

2022-02-17 04:10:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:39 | ------------------------------------

2022-02-17 04:10:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><item-id>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</item-id></data>

2022-02-17 04:10:40 | 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-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</value></item-id></result>

2022-02-17 04:10:40 | [Mutex] received everything.

2022-02-17 04:10:40 | [Mutex] isItemNotified: retracted:item:notifieditem-1f16f8fb-7b84-4f28-87a5-e1b482a1b227:admin@test-domain.com :: true

retrieveItemsFromNodes 0.385s
2022-02-17 04:10:39 |

2022-02-17 04:10:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:39 | ------------------------------------

2022-02-17 04:10:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><item-id>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</item-id></data>

2022-02-17 04:10:39 | 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-d5a56529-32ce-473c-ade4-730080d684a6</value></node><item-id label="Item ID" type="text-single"><value>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</value></item-id><item label="Item" type="text-multi"><value><item id="item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227"><test>item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227</test></item></value></item></result>

2022-02-17 04:10:39 | [Mutex] notify: [retrieved:item:item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227:payload-matches:true:localhost]

2022-02-17 04:10:39 | [Mutex] received everything.

2022-02-17 04:10:39 | [Mutex] isItemNotified: retrieved:item:item-1f16f8fb-7b84-4f28-87a5-e1b482a1b227:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-17 04:10:39 |

2022-02-17 04:10:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:39 | ------------------------------------

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

2022-02-17 04:10:39 | 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-d5a56529-32ce-473c-ade4-730080d684a6</value><value>node-6df0ab96-dcec-47b4-95e4-515a47c435fe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-17 04:10:39 |

2022-02-17 04:10:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:39 | ------------------------------------

2022-02-17 04:10:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d5a56529-32ce-473c-ade4-730080d684a6)</node-pattern></data>

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

subscribeNodes 1.178s
2022-02-17 04:10:37 |

2022-02-17 04:10:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:37 | ------------------------------------

2022-02-17 04:10:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.331s
2022-02-17 04:10:40 |

2022-02-17 04:10:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:10:40 | ------------------------------------

2022-02-17 04:10:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d5a56529-32ce-473c-ade4-730080d684a6</node><jids><value>admin@test-domain.com</value></jids></data>

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