Generated by TestNG with ReportNG at 21:13 PST on Monday 21 December 2020
root@43fec6d4badf / 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 : 9.920s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.135s
2020-12-21 21:30:38 |

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

2020-12-21 21:30:38 | ------------------------------------

2020-12-21 21:30:38 | [Mutex] waiting for: [configured:node:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:node-3b0e0519-e299-49b9-8e34-3df6aedd8350]

2020-12-21 21:30:38 | [Mutex] received everything.

2020-12-21 21:30:38 | [Mutex] isItemNotified: configured:node:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:node-3b0e0519-e299-49b9-8e34-3df6aedd8350 :: true

2020-12-21 21:30:39 | [Mutex] waiting for: [received:nodes:b7e1a96c-3b66-4899-8e7f-dd8101b2be65:localhost]

2020-12-21 21:30:39 | [Mutex] received everything.

2020-12-21 21:30:39 | [Mutex] isItemNotified: received:node:b7e1a96c-3b66-4899-8e7f-dd8101b2be65:localhost:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:Node ae09c67c-8df1-47c0-855d-d33d89a870a0 :: true

2020-12-21 21:30:39 | [Mutex] waiting for: [received:nodes:dbd68a9e-81c0-4284-88d5-45f75433bf92:localhost]

2020-12-21 21:30:39 | [Mutex] received everything.

2020-12-21 21:30:39 | [Mutex] isItemNotified: received:node:dbd68a9e-81c0-4284-88d5-45f75433bf92:localhost:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:Node ae09c67c-8df1-47c0-855d-d33d89a870a0 :: false

createNodes 1.422s
2020-12-21 21:30:35 |

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

2020-12-21 21:30:35 | ------------------------------------

2020-12-21 21:30:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ae09c67c-8df1-47c0-855d-d33d89a870a0</title></pubsub></data>

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

2020-12-21 21:30:37 | [Mutex] waiting for: [received:nodes:d6d9e642-b9da-4e25-8ece-6871ec18df2a:localhost]

2020-12-21 21:30:37 | [Mutex] received everything.

2020-12-21 21:30:37 | [Mutex] isItemNotified: received:node:d6d9e642-b9da-4e25-8ece-6871ec18df2a:localhost:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:Node ae09c67c-8df1-47c0-855d-d33d89a870a0 :: true

createSubnodes 1.030s
2020-12-21 21:30:37 |

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

2020-12-21 21:30:37 | ------------------------------------

2020-12-21 21:30:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b0e0519-e299-49b9-8e34-3df6aedd8350</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b0e0519-e299-49b9-8e34-3df6aedd8350</title></pubsub></data>

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

2020-12-21 21:30:38 | [Mutex] waiting for: [received:nodes:711c9220-24c9-4614-9b41-d65e4a9f3a22:localhost]

2020-12-21 21:30:38 | [Mutex] received everything.

2020-12-21 21:30:38 | [Mutex] isItemNotified: received:node:711c9220-24c9-4614-9b41-d65e4a9f3a22:localhost:node-3b0e0519-e299-49b9-8e34-3df6aedd8350:Node 3b0e0519-e299-49b9-8e34-3df6aedd8350 :: true

deleteNodes 1.034s
2020-12-21 21:30:43 |

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

2020-12-21 21:30:43 | ------------------------------------

2020-12-21 21:30:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b0e0519-e299-49b9-8e34-3df6aedd8350</node></data>

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

2020-12-21 21:30:44 | [Mutex] waiting for: [received:nodes:90e86874-46b9-440c-a1c4-d3c6122ddea8:localhost]

2020-12-21 21:30:44 | [Mutex] received everything.

2020-12-21 21:30:44 | [Mutex] isItemNotified: received:node:90e86874-46b9-440c-a1c4-d3c6122ddea8:localhost:node-3b0e0519-e299-49b9-8e34-3df6aedd8350:Node 3b0e0519-e299-49b9-8e34-3df6aedd8350 :: false

deleteSubnodes 1.117s
2020-12-21 21:30:42 |

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

2020-12-21 21:30:42 | ------------------------------------

2020-12-21 21:30:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node></data>

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

2020-12-21 21:30:43 | [Mutex] waiting for: [received:nodes:775b6698-d0cc-48a7-86bf-7d384f56264e:localhost]

2020-12-21 21:30:43 | [Mutex] received everything.

2020-12-21 21:30:43 | [Mutex] isItemNotified: received:node:775b6698-d0cc-48a7-86bf-7d384f56264e:localhost:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:Node ae09c67c-8df1-47c0-855d-d33d89a870a0 :: false

2020-12-21 21:30:43 | [Mutex] waiting for: [received:nodes:12364ada-84a5-48bd-a84a-5a3c2486b1d5:localhost]

2020-12-21 21:30:43 | [Mutex] received everything.

2020-12-21 21:30:43 | [Mutex] isItemNotified: received:node:12364ada-84a5-48bd-a84a-5a3c2486b1d5:localhost:node-ae09c67c-8df1-47c0-855d-d33d89a870a0:Node ae09c67c-8df1-47c0-855d-d33d89a870a0 :: false

publishItemsToNodes 0.198s
2020-12-21 21:30:40 |

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

2020-12-21 21:30:40 | ------------------------------------

2020-12-21 21:30:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><item-id>item-ad6505f7-66a9-484e-bb64-9daf15739837</item-id><entry><test>item-ad6505f7-66a9-484e-bb64-9daf15739837</test></entry></data>

2020-12-21 21:30:40 | 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-ad6505f7-66a9-484e-bb64-9daf15739837</value></item-id></result>

2020-12-21 21:30:40 | [Mutex] waiting for: [published:item:notifieditem-ad6505f7-66a9-484e-bb64-9daf15739837:admin@test-domain.com]

2020-12-21 21:30:40 | [Mutex] received everything.

2020-12-21 21:30:40 | [Mutex] isItemNotified: published:item:notifieditem-ad6505f7-66a9-484e-bb64-9daf15739837:admin@test-domain.com :: true

retractItemsFromNodes 0.171s
2020-12-21 21:30:41 |

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

2020-12-21 21:30:41 | ------------------------------------

2020-12-21 21:30:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><item-id>item-ad6505f7-66a9-484e-bb64-9daf15739837</item-id></data>

2020-12-21 21:30:41 | 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-ad6505f7-66a9-484e-bb64-9daf15739837</value></item-id></result>

2020-12-21 21:30:41 | [Mutex] waiting for: [retracted:item:notifieditem-ad6505f7-66a9-484e-bb64-9daf15739837:admin@test-domain.com]

2020-12-21 21:30:41 | [Mutex] received everything.

2020-12-21 21:30:41 | [Mutex] isItemNotified: retracted:item:notifieditem-ad6505f7-66a9-484e-bb64-9daf15739837:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2020-12-21 21:30:40 |

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

2020-12-21 21:30:40 | ------------------------------------

2020-12-21 21:30:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><item-id>item-ad6505f7-66a9-484e-bb64-9daf15739837</item-id></data>

2020-12-21 21:30:40 | 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-ae09c67c-8df1-47c0-855d-d33d89a870a0</value></node><item-id label="Item ID" type="text-single"><value>item-ad6505f7-66a9-484e-bb64-9daf15739837</value></item-id><item label="Item" type="text-multi"><value><item id="item-ad6505f7-66a9-484e-bb64-9daf15739837"><test>item-ad6505f7-66a9-484e-bb64-9daf15739837</test></item></value></item></result>

2020-12-21 21:30:40 | [Mutex] notify: [retrieved:item:item-ad6505f7-66a9-484e-bb64-9daf15739837:payload-matches:true:localhost]

2020-12-21 21:30:40 | [Mutex] received everything.

2020-12-21 21:30:40 | [Mutex] isItemNotified: retrieved:item:item-ad6505f7-66a9-484e-bb64-9daf15739837:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-21 21:30:40 |

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

2020-12-21 21:30:40 | ------------------------------------

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

2020-12-21 21:30:41 | 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-ae09c67c-8df1-47c0-855d-d33d89a870a0</value><value>node-3b0e0519-e299-49b9-8e34-3df6aedd8350</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-12-21 21:30:41 |

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

2020-12-21 21:30:41 | ------------------------------------

2020-12-21 21:30:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ae09c67c-8df1-47c0-855d-d33d89a870a0)</node-pattern></data>

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

subscribeNodes 1.140s
2020-12-21 21:30:39 |

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

2020-12-21 21:30:39 | ------------------------------------

2020-12-21 21:30:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.375s
2020-12-21 21:30:41 |

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

2020-12-21 21:30:41 | ------------------------------------

2020-12-21 21:30:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ae09c67c-8df1-47c0-855d-d33d89a870a0</node><jids><value>admin@test-domain.com</value></jids></data>

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