Generated by TestNG with ReportNG at 21:30 PST on Tuesday 01 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-02-01 21:45:42 |

2022-02-01 21:45:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:42 | ------------------------------------

2022-02-01 21:45:42 | [Mutex] waiting for: [configured:node:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:node-ee4a3dac-686f-4599-ad78-3bef1037ad6f]

2022-02-01 21:45:42 | [Mutex] received everything.

2022-02-01 21:45:42 | [Mutex] isItemNotified: configured:node:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:node-ee4a3dac-686f-4599-ad78-3bef1037ad6f :: true

2022-02-01 21:45:43 | [Mutex] waiting for: [received:nodes:b6454a28-7ba7-4bb3-a275-a10364a58f08:localhost]

2022-02-01 21:45:43 | [Mutex] received everything.

2022-02-01 21:45:43 | [Mutex] isItemNotified: received:node:b6454a28-7ba7-4bb3-a275-a10364a58f08:localhost:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53 :: true

2022-02-01 21:45:43 | [Mutex] waiting for: [received:nodes:6015362d-6707-46e6-a7bb-855349e1562c:localhost]

2022-02-01 21:45:43 | [Mutex] received everything.

2022-02-01 21:45:43 | [Mutex] isItemNotified: received:node:6015362d-6707-46e6-a7bb-855349e1562c:localhost:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53 :: false

createNodes 1.486s
2022-02-01 21:45:40 |

2022-02-01 21:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:40 | ------------------------------------

2022-02-01 21:45:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53</title></pubsub></data>

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

2022-02-01 21:45:41 | [Mutex] waiting for: [received:nodes:92e94dba-7cb2-4dc8-b8ff-cfb474454e00:localhost]

2022-02-01 21:45:41 | [Mutex] received everything.

2022-02-01 21:45:41 | [Mutex] isItemNotified: received:node:92e94dba-7cb2-4dc8-b8ff-cfb474454e00:localhost:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53 :: true

createSubnodes 1.026s
2022-02-01 21:45:41 |

2022-02-01 21:45:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:41 | ------------------------------------

2022-02-01 21:45:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee4a3dac-686f-4599-ad78-3bef1037ad6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ee4a3dac-686f-4599-ad78-3bef1037ad6f</title></pubsub></data>

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

2022-02-01 21:45:42 | [Mutex] waiting for: [received:nodes:fd0a58b9-dfbf-4d46-8d1c-00c844f294d3:localhost]

2022-02-01 21:45:42 | [Mutex] received everything.

2022-02-01 21:45:42 | [Mutex] isItemNotified: received:node:fd0a58b9-dfbf-4d46-8d1c-00c844f294d3:localhost:node-ee4a3dac-686f-4599-ad78-3bef1037ad6f:Node ee4a3dac-686f-4599-ad78-3bef1037ad6f :: true

deleteNodes 1.020s
2022-02-01 21:45:48 |

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

2022-02-01 21:45:48 | ------------------------------------

2022-02-01 21:45:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee4a3dac-686f-4599-ad78-3bef1037ad6f</node></data>

2022-02-01 21:45:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-01 21:45:49 | [Mutex] waiting for: [received:nodes:1d0c015f-71de-4367-acc8-b676987b1b33:localhost]

2022-02-01 21:45:49 | [Mutex] received everything.

2022-02-01 21:45:49 | [Mutex] isItemNotified: received:node:1d0c015f-71de-4367-acc8-b676987b1b33:localhost:node-ee4a3dac-686f-4599-ad78-3bef1037ad6f:Node ee4a3dac-686f-4599-ad78-3bef1037ad6f :: false

deleteSubnodes 1.145s
2022-02-01 21:45:47 |

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

2022-02-01 21:45:47 | ------------------------------------

2022-02-01 21:45:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node></data>

2022-02-01 21:45:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-01 21:45:48 | [Mutex] waiting for: [received:nodes:bf542d85-6311-4cba-bbc6-51b6fae592cd:localhost]

2022-02-01 21:45:48 | [Mutex] waiting for: [received:nodes:bf542d85-6311-4cba-bbc6-51b6fae592cd:localhost]

2022-02-01 21:45:48 | [Mutex] received everything.

2022-02-01 21:45:48 | [Mutex] isItemNotified: received:node:bf542d85-6311-4cba-bbc6-51b6fae592cd:localhost:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53 :: false

2022-02-01 21:45:48 | [Mutex] waiting for: [received:nodes:8657a69f-ca6a-4cc5-99eb-17e1324e5cec:localhost]

2022-02-01 21:45:48 | [Mutex] received everything.

2022-02-01 21:45:48 | [Mutex] isItemNotified: received:node:8657a69f-ca6a-4cc5-99eb-17e1324e5cec:localhost:node-6a55bfd0-d2de-422e-bda7-ba2e221acc53:Node 6a55bfd0-d2de-422e-bda7-ba2e221acc53 :: false

publishItemsToNodes 0.311s
2022-02-01 21:45:44 |

2022-02-01 21:45:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:44 | ------------------------------------

2022-02-01 21:45:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><item-id>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</item-id><entry><test>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</test></entry></data>

2022-02-01 21:45:45 | 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-9077c929-a1b5-4af0-9195-c1d8775d52a0</value></item-id></result>

2022-02-01 21:45:45 | [Mutex] waiting for: [published:item:notifieditem-9077c929-a1b5-4af0-9195-c1d8775d52a0:admin@test-domain.com]

2022-02-01 21:45:45 | [Mutex] received everything.

2022-02-01 21:45:45 | [Mutex] isItemNotified: published:item:notifieditem-9077c929-a1b5-4af0-9195-c1d8775d52a0:admin@test-domain.com :: true

retractItemsFromNodes 0.261s
2022-02-01 21:45:45 |

2022-02-01 21:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:45 | ------------------------------------

2022-02-01 21:45:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><item-id>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</item-id></data>

2022-02-01 21:45:45 | 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-9077c929-a1b5-4af0-9195-c1d8775d52a0</value></item-id></result>

2022-02-01 21:45:45 | [Mutex] received everything.

2022-02-01 21:45:45 | [Mutex] isItemNotified: retracted:item:notifieditem-9077c929-a1b5-4af0-9195-c1d8775d52a0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-02-01 21:45:45 |

2022-02-01 21:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:45 | ------------------------------------

2022-02-01 21:45:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><item-id>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</item-id></data>

2022-02-01 21:45:45 | 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-6a55bfd0-d2de-422e-bda7-ba2e221acc53</value></node><item-id label="Item ID" type="text-single"><value>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</value></item-id><item label="Item" type="text-multi"><value><item id="item-9077c929-a1b5-4af0-9195-c1d8775d52a0"><test>item-9077c929-a1b5-4af0-9195-c1d8775d52a0</test></item></value></item></result>

2022-02-01 21:45:45 | [Mutex] notify: [retrieved:item:item-9077c929-a1b5-4af0-9195-c1d8775d52a0:payload-matches:true:localhost]

2022-02-01 21:45:45 | [Mutex] received everything.

2022-02-01 21:45:45 | [Mutex] isItemNotified: retrieved:item:item-9077c929-a1b5-4af0-9195-c1d8775d52a0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-01 21:45:45 |

2022-02-01 21:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:45 | ------------------------------------

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

2022-02-01 21:45:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ee4a3dac-686f-4599-ad78-3bef1037ad6f</value><value>test</value><value>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-01 21:45:45 |

2022-02-01 21:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:45 | ------------------------------------

2022-02-01 21:45:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6a55bfd0-d2de-422e-bda7-ba2e221acc53)</node-pattern></data>

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

subscribeNodes 1.159s
2022-02-01 21:45:43 |

2022-02-01 21:45:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:43 | ------------------------------------

2022-02-01 21:45:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.317s
2022-02-01 21:45:45 |

2022-02-01 21:45:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:45:45 | ------------------------------------

2022-02-01 21:45:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6a55bfd0-d2de-422e-bda7-ba2e221acc53</node><jids><value>admin@test-domain.com</value></jids></data>

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