Generated by TestNG with ReportNG at 21:13 PST on Thursday 26 November 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 : 10.444s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2020-11-26 21:28:17 |

2020-11-26 21:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:17 | ------------------------------------

2020-11-26 21:28:17 | [Mutex] waiting for: [configured:node:node-4540ad9a-a652-4646-be63-2f2d7b972a43:node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a]

2020-11-26 21:28:17 | [Mutex] received everything.

2020-11-26 21:28:17 | [Mutex] isItemNotified: configured:node:node-4540ad9a-a652-4646-be63-2f2d7b972a43:node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a :: true

2020-11-26 21:28:18 | [Mutex] waiting for: [received:nodes:a3834570-4f42-4600-8f73-6873ba71852b:localhost]

2020-11-26 21:28:18 | [Mutex] received everything.

2020-11-26 21:28:18 | [Mutex] isItemNotified: received:node:a3834570-4f42-4600-8f73-6873ba71852b:localhost:node-4540ad9a-a652-4646-be63-2f2d7b972a43:Node 4540ad9a-a652-4646-be63-2f2d7b972a43 :: true

2020-11-26 21:28:18 | [Mutex] waiting for: [received:nodes:b7cf6523-ab25-4629-83bf-d938bf2e1792:localhost]

2020-11-26 21:28:18 | [Mutex] received everything.

2020-11-26 21:28:18 | [Mutex] isItemNotified: received:node:b7cf6523-ab25-4629-83bf-d938bf2e1792:localhost:node-4540ad9a-a652-4646-be63-2f2d7b972a43:Node 4540ad9a-a652-4646-be63-2f2d7b972a43 :: false

createNodes 1.585s
2020-11-26 21:28:15 |

2020-11-26 21:28:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:15 | ------------------------------------

2020-11-26 21:28:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4540ad9a-a652-4646-be63-2f2d7b972a43</title></pubsub></data>

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

2020-11-26 21:28:16 | [Mutex] waiting for: [received:nodes:3deb7c6d-920e-4143-9314-19cdae47da43:localhost]

2020-11-26 21:28:16 | [Mutex] received everything.

2020-11-26 21:28:16 | [Mutex] isItemNotified: received:node:3deb7c6d-920e-4143-9314-19cdae47da43:localhost:node-4540ad9a-a652-4646-be63-2f2d7b972a43:Node 4540ad9a-a652-4646-be63-2f2d7b972a43 :: true

createSubnodes 1.033s
2020-11-26 21:28:16 |

2020-11-26 21:28:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:16 | ------------------------------------

2020-11-26 21:28:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a</title></pubsub></data>

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

2020-11-26 21:28:17 | [Mutex] waiting for: [received:nodes:1be131b1-d78a-4362-a124-04369ad86a1e:localhost]

2020-11-26 21:28:17 | [Mutex] received everything.

2020-11-26 21:28:17 | [Mutex] isItemNotified: received:node:1be131b1-d78a-4362-a124-04369ad86a1e:localhost:node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a:Node 5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a :: true

deleteNodes 1.020s
2020-11-26 21:28:23 |

2020-11-26 21:28:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:23 | ------------------------------------

2020-11-26 21:28:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a</node></data>

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

2020-11-26 21:28:24 | [Mutex] waiting for: [received:nodes:66aedb46-5da5-4d2a-b964-12389aac4732:localhost]

2020-11-26 21:28:24 | [Mutex] received everything.

2020-11-26 21:28:24 | [Mutex] isItemNotified: received:node:66aedb46-5da5-4d2a-b964-12389aac4732:localhost:node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a:Node 5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a :: false

deleteSubnodes 1.166s
2020-11-26 21:28:22 |

2020-11-26 21:28:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:22 | ------------------------------------

2020-11-26 21:28:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node></data>

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

2020-11-26 21:28:23 | [Mutex] waiting for: [received:nodes:a41d3093-ac61-4f5c-b36f-2daacc94a4d5:localhost]

2020-11-26 21:28:23 | [Mutex] received everything.

2020-11-26 21:28:23 | [Mutex] isItemNotified: received:node:a41d3093-ac61-4f5c-b36f-2daacc94a4d5:localhost:node-4540ad9a-a652-4646-be63-2f2d7b972a43:Node 4540ad9a-a652-4646-be63-2f2d7b972a43 :: false

2020-11-26 21:28:23 | [Mutex] waiting for: [received:nodes:9382c5de-9240-45f9-9bff-d168e530b5ac:localhost]

2020-11-26 21:28:23 | [Mutex] received everything.

2020-11-26 21:28:23 | [Mutex] isItemNotified: received:node:9382c5de-9240-45f9-9bff-d168e530b5ac:localhost:node-4540ad9a-a652-4646-be63-2f2d7b972a43:Node 4540ad9a-a652-4646-be63-2f2d7b972a43 :: false

publishItemsToNodes 0.250s
2020-11-26 21:28:20 |

2020-11-26 21:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:20 | ------------------------------------

2020-11-26 21:28:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><item-id>item-1f43119f-5260-4043-bced-527957c7b0af</item-id><entry><test>item-1f43119f-5260-4043-bced-527957c7b0af</test></entry></data>

2020-11-26 21:28:20 | 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-1f43119f-5260-4043-bced-527957c7b0af</value></item-id></result>

2020-11-26 21:28:20 | [Mutex] received everything.

2020-11-26 21:28:20 | [Mutex] isItemNotified: published:item:notifieditem-1f43119f-5260-4043-bced-527957c7b0af:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2020-11-26 21:28:20 |

2020-11-26 21:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:20 | ------------------------------------

2020-11-26 21:28:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><item-id>item-1f43119f-5260-4043-bced-527957c7b0af</item-id></data>

2020-11-26 21:28:21 | 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-1f43119f-5260-4043-bced-527957c7b0af</value></item-id></result>

2020-11-26 21:28:21 | [Mutex] received everything.

2020-11-26 21:28:21 | [Mutex] isItemNotified: retracted:item:notifieditem-1f43119f-5260-4043-bced-527957c7b0af:admin@test-domain.com :: true

retrieveItemsFromNodes 0.383s
2020-11-26 21:28:20 |

2020-11-26 21:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:20 | ------------------------------------

2020-11-26 21:28:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><item-id>item-1f43119f-5260-4043-bced-527957c7b0af</item-id></data>

2020-11-26 21:28:20 | 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-4540ad9a-a652-4646-be63-2f2d7b972a43</value></node><item-id label="Item ID" type="text-single"><value>item-1f43119f-5260-4043-bced-527957c7b0af</value></item-id><item label="Item" type="text-multi"><value><item id="item-1f43119f-5260-4043-bced-527957c7b0af"><test>item-1f43119f-5260-4043-bced-527957c7b0af</test></item></value></item></result>

2020-11-26 21:28:20 | [Mutex] notify: [retrieved:item:item-1f43119f-5260-4043-bced-527957c7b0af:payload-matches:true:localhost]

2020-11-26 21:28:20 | [Mutex] received everything.

2020-11-26 21:28:20 | [Mutex] isItemNotified: retrieved:item:item-1f43119f-5260-4043-bced-527957c7b0af:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-11-26 21:28:20 |

2020-11-26 21:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:20 | ------------------------------------

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

2020-11-26 21:28:20 | 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-4540ad9a-a652-4646-be63-2f2d7b972a43</value><value>node-5781d171-3ebb-4c7b-b16d-1f3b21a8cf4a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-26 21:28:20 |

2020-11-26 21:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:20 | ------------------------------------

2020-11-26 21:28:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4540ad9a-a652-4646-be63-2f2d7b972a43)</node-pattern></data>

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

subscribeNodes 1.128s
2020-11-26 21:28:18 |

2020-11-26 21:28:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:18 | ------------------------------------

2020-11-26 21:28:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.247s
2020-11-26 21:28:21 |

2020-11-26 21:28:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 21:28:21 | ------------------------------------

2020-11-26 21:28:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4540ad9a-a652-4646-be63-2f2d7b972a43</node><jids><value>admin@test-domain.com</value></jids></data>

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