Generated by TestNG with ReportNG at 22:43 PDT on Thursday 24 June 2021
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.492s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2021-06-24 22:57:15 |

2021-06-24 22:57:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:15 | ------------------------------------

2021-06-24 22:57:15 | [Mutex] waiting for: [configured:node:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe]

2021-06-24 22:57:15 | [Mutex] received everything.

2021-06-24 22:57:15 | [Mutex] isItemNotified: configured:node:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe :: true

2021-06-24 22:57:16 | [Mutex] waiting for: [received:nodes:81b76139-4ad9-4414-9713-cd943d801cf5:localhost]

2021-06-24 22:57:16 | [Mutex] received everything.

2021-06-24 22:57:16 | [Mutex] isItemNotified: received:node:81b76139-4ad9-4414-9713-cd943d801cf5:localhost:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:Node a9d1839a-f62a-4b43-a3fc-bd70f6262771 :: true

2021-06-24 22:57:16 | [Mutex] waiting for: [received:nodes:884e2647-8a74-4e6d-8e82-a69495e52db1:localhost]

2021-06-24 22:57:16 | [Mutex] received everything.

2021-06-24 22:57:16 | [Mutex] isItemNotified: received:node:884e2647-8a74-4e6d-8e82-a69495e52db1:localhost:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:Node a9d1839a-f62a-4b43-a3fc-bd70f6262771 :: false

createNodes 1.547s
2021-06-24 22:57:13 |

2021-06-24 22:57:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:13 | ------------------------------------

2021-06-24 22:57:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a9d1839a-f62a-4b43-a3fc-bd70f6262771</title></pubsub></data>

2021-06-24 22:57:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:57:14 | [Mutex] waiting for: [received:nodes:65e44e74-9771-46ee-a646-50f285980dd9:localhost]

2021-06-24 22:57:14 | [Mutex] received everything.

2021-06-24 22:57:14 | [Mutex] isItemNotified: received:node:65e44e74-9771-46ee-a646-50f285980dd9:localhost:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:Node a9d1839a-f62a-4b43-a3fc-bd70f6262771 :: true

createSubnodes 1.026s
2021-06-24 22:57:14 |

2021-06-24 22:57:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:14 | ------------------------------------

2021-06-24 22:57:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f6fced3b-83b8-4948-bbf9-ef39df14b5fe</title></pubsub></data>

2021-06-24 22:57:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:57:15 | [Mutex] waiting for: [received:nodes:032f1f37-da9a-4cee-b8b8-8ad0a770d25f:localhost]

2021-06-24 22:57:15 | [Mutex] received everything.

2021-06-24 22:57:15 | [Mutex] isItemNotified: received:node:032f1f37-da9a-4cee-b8b8-8ad0a770d25f:localhost:node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe:Node f6fced3b-83b8-4948-bbf9-ef39df14b5fe :: true

deleteNodes 1.019s
2021-06-24 22:57:21 |

2021-06-24 22:57:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:21 | ------------------------------------

2021-06-24 22:57:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe</node></data>

2021-06-24 22:57:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:57:22 | [Mutex] waiting for: [received:nodes:37fcd9b2-e727-4d88-9318-5f650a75f7a7:localhost]

2021-06-24 22:57:22 | [Mutex] received everything.

2021-06-24 22:57:22 | [Mutex] isItemNotified: received:node:37fcd9b2-e727-4d88-9318-5f650a75f7a7:localhost:node-f6fced3b-83b8-4948-bbf9-ef39df14b5fe:Node f6fced3b-83b8-4948-bbf9-ef39df14b5fe :: false

deleteSubnodes 1.145s
2021-06-24 22:57:20 |

2021-06-24 22:57:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:20 | ------------------------------------

2021-06-24 22:57:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node></data>

2021-06-24 22:57:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:57:21 | [Mutex] waiting for: [received:nodes:32ed2f6c-3b1b-43f1-b487-7eae3cb7c30a:localhost]

2021-06-24 22:57:21 | [Mutex] received everything.

2021-06-24 22:57:21 | [Mutex] isItemNotified: received:node:32ed2f6c-3b1b-43f1-b487-7eae3cb7c30a:localhost:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:Node a9d1839a-f62a-4b43-a3fc-bd70f6262771 :: false

2021-06-24 22:57:21 | [Mutex] waiting for: [received:nodes:18bf41d3-1b80-4391-90e2-44c416777a2e:localhost]

2021-06-24 22:57:21 | [Mutex] received everything.

2021-06-24 22:57:21 | [Mutex] isItemNotified: received:node:18bf41d3-1b80-4391-90e2-44c416777a2e:localhost:node-a9d1839a-f62a-4b43-a3fc-bd70f6262771:Node a9d1839a-f62a-4b43-a3fc-bd70f6262771 :: false

publishItemsToNodes 0.332s
2021-06-24 22:57:18 |

2021-06-24 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:18 | ------------------------------------

2021-06-24 22:57:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><item-id>item-23cae656-8a1f-4a6f-85be-1a620d005216</item-id><entry><test>item-23cae656-8a1f-4a6f-85be-1a620d005216</test></entry></data>

2021-06-24 22:57:18 | 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-23cae656-8a1f-4a6f-85be-1a620d005216</value></item-id></result>

2021-06-24 22:57:18 | [Mutex] waiting for: [published:item:notifieditem-23cae656-8a1f-4a6f-85be-1a620d005216:admin@test-domain.com]

2021-06-24 22:57:18 | [Mutex] received everything.

2021-06-24 22:57:18 | [Mutex] isItemNotified: published:item:notifieditem-23cae656-8a1f-4a6f-85be-1a620d005216:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2021-06-24 22:57:18 |

2021-06-24 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:18 | ------------------------------------

2021-06-24 22:57:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><item-id>item-23cae656-8a1f-4a6f-85be-1a620d005216</item-id></data>

2021-06-24 22:57:19 | 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-23cae656-8a1f-4a6f-85be-1a620d005216</value></item-id></result>

2021-06-24 22:57:19 | [Mutex] received everything.

2021-06-24 22:57:19 | [Mutex] isItemNotified: retracted:item:notifieditem-23cae656-8a1f-4a6f-85be-1a620d005216:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2021-06-24 22:57:18 |

2021-06-24 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:18 | ------------------------------------

2021-06-24 22:57:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><item-id>item-23cae656-8a1f-4a6f-85be-1a620d005216</item-id></data>

2021-06-24 22:57:18 | 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-a9d1839a-f62a-4b43-a3fc-bd70f6262771</value></node><item-id label="Item ID" type="text-single"><value>item-23cae656-8a1f-4a6f-85be-1a620d005216</value></item-id><item label="Item" type="text-multi"><value><item id="item-23cae656-8a1f-4a6f-85be-1a620d005216"><test>item-23cae656-8a1f-4a6f-85be-1a620d005216</test></item></value></item></result>

2021-06-24 22:57:18 | [Mutex] notify: [retrieved:item:item-23cae656-8a1f-4a6f-85be-1a620d005216:payload-matches:true:localhost]

2021-06-24 22:57:18 | [Mutex] received everything.

2021-06-24 22:57:18 | [Mutex] isItemNotified: retrieved:item:item-23cae656-8a1f-4a6f-85be-1a620d005216:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-24 22:57:18 |

2021-06-24 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:18 | ------------------------------------

2021-06-24 22:57:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-24 22:57:18 | 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-f6fced3b-83b8-4948-bbf9-ef39df14b5fe</value><value>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-24 22:57:18 |

2021-06-24 22:57:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:18 | ------------------------------------

2021-06-24 22:57:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a9d1839a-f62a-4b43-a3fc-bd70f6262771)</node-pattern></data>

2021-06-24 22:57:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.208s
2021-06-24 22:57:16 |

2021-06-24 22:57:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:16 | ------------------------------------

2021-06-24 22:57:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:57:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.383s
2021-06-24 22:57:19 |

2021-06-24 22:57:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:57:19 | ------------------------------------

2021-06-24 22:57:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a9d1839a-f62a-4b43-a3fc-bd70f6262771</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:57:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>