Generated by TestNG with ReportNG at 08:45 PDT on Wednesday 27 October 2021
root@f29ef40080b5 / 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.031s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2021-10-27 09:00:09 |

2021-10-27 09:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:09 | ------------------------------------

2021-10-27 09:00:09 | [Mutex] waiting for: [configured:node:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:node-d1e0732d-6824-433a-b7f5-a9b9ec74f723]

2021-10-27 09:00:09 | [Mutex] received everything.

2021-10-27 09:00:09 | [Mutex] isItemNotified: configured:node:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:node-d1e0732d-6824-433a-b7f5-a9b9ec74f723 :: true

2021-10-27 09:00:10 | [Mutex] waiting for: [received:nodes:15f80dee-f599-4f5b-8f16-9e4d7618771f:localhost]

2021-10-27 09:00:10 | [Mutex] received everything.

2021-10-27 09:00:10 | [Mutex] isItemNotified: received:node:15f80dee-f599-4f5b-8f16-9e4d7618771f:localhost:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f :: true

2021-10-27 09:00:10 | [Mutex] waiting for: [received:nodes:9dc9022c-c476-41a2-98a2-a2347bab1272:localhost]

2021-10-27 09:00:10 | [Mutex] received everything.

2021-10-27 09:00:10 | [Mutex] isItemNotified: received:node:9dc9022c-c476-41a2-98a2-a2347bab1272:localhost:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f :: false

createNodes 1.449s
2021-10-27 09:00:07 |

2021-10-27 09:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:07 | ------------------------------------

2021-10-27 09:00:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f</title></pubsub></data>

2021-10-27 09:00:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 09:00:08 | [Mutex] waiting for: [received:nodes:2fcf1328-2670-4c54-8893-f38272ef2adc:localhost]

2021-10-27 09:00:08 | [Mutex] received everything.

2021-10-27 09:00:08 | [Mutex] isItemNotified: received:node:2fcf1328-2670-4c54-8893-f38272ef2adc:localhost:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f :: true

createSubnodes 1.030s
2021-10-27 09:00:08 |

2021-10-27 09:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:08 | ------------------------------------

2021-10-27 09:00:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1e0732d-6824-433a-b7f5-a9b9ec74f723</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d1e0732d-6824-433a-b7f5-a9b9ec74f723</title></pubsub></data>

2021-10-27 09:00:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 09:00:09 | [Mutex] waiting for: [received:nodes:eefd23f4-39f9-46da-bf8e-b8c977cbbec2:localhost]

2021-10-27 09:00:09 | [Mutex] received everything.

2021-10-27 09:00:09 | [Mutex] isItemNotified: received:node:eefd23f4-39f9-46da-bf8e-b8c977cbbec2:localhost:node-d1e0732d-6824-433a-b7f5-a9b9ec74f723:Node d1e0732d-6824-433a-b7f5-a9b9ec74f723 :: true

deleteNodes 1.017s
2021-10-27 09:00:15 |

2021-10-27 09:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:15 | ------------------------------------

2021-10-27 09:00:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1e0732d-6824-433a-b7f5-a9b9ec74f723</node></data>

2021-10-27 09:00:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 09:00:16 | [Mutex] waiting for: [received:nodes:a92135b7-2a60-4cc9-a3eb-e386fb6f29f7:localhost]

2021-10-27 09:00:16 | [Mutex] received everything.

2021-10-27 09:00:16 | [Mutex] isItemNotified: received:node:a92135b7-2a60-4cc9-a3eb-e386fb6f29f7:localhost:node-d1e0732d-6824-433a-b7f5-a9b9ec74f723:Node d1e0732d-6824-433a-b7f5-a9b9ec74f723 :: false

deleteSubnodes 1.156s
2021-10-27 09:00:14 |

2021-10-27 09:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:14 | ------------------------------------

2021-10-27 09:00:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node></data>

2021-10-27 09:00:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-27 09:00:15 | [Mutex] waiting for: [received:nodes:bf9f0148-fa47-49bf-8be6-db196498b3d6:localhost]

2021-10-27 09:00:15 | [Mutex] received everything.

2021-10-27 09:00:15 | [Mutex] isItemNotified: received:node:bf9f0148-fa47-49bf-8be6-db196498b3d6:localhost:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f :: false

2021-10-27 09:00:15 | [Mutex] waiting for: [received:nodes:fc0b208c-2583-4f1e-8ad4-2da9eb8ba3c1:localhost]

2021-10-27 09:00:15 | [Mutex] received everything.

2021-10-27 09:00:15 | [Mutex] isItemNotified: received:node:fc0b208c-2583-4f1e-8ad4-2da9eb8ba3c1:localhost:node-8e4f6905-29ec-472a-bb6d-b717c53ff15f:Node 8e4f6905-29ec-472a-bb6d-b717c53ff15f :: false

publishItemsToNodes 0.258s
2021-10-27 09:00:11 |

2021-10-27 09:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:11 | ------------------------------------

2021-10-27 09:00:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><item-id>item-aaef1974-87e3-4ba0-af11-b900f623d16b</item-id><entry><test>item-aaef1974-87e3-4ba0-af11-b900f623d16b</test></entry></data>

2021-10-27 09:00:12 | 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-aaef1974-87e3-4ba0-af11-b900f623d16b</value></item-id></result>

2021-10-27 09:00:12 | [Mutex] received everything.

2021-10-27 09:00:12 | [Mutex] isItemNotified: published:item:notifieditem-aaef1974-87e3-4ba0-af11-b900f623d16b:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2021-10-27 09:00:12 |

2021-10-27 09:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:12 | ------------------------------------

2021-10-27 09:00:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><item-id>item-aaef1974-87e3-4ba0-af11-b900f623d16b</item-id></data>

2021-10-27 09:00:12 | 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-aaef1974-87e3-4ba0-af11-b900f623d16b</value></item-id></result>

2021-10-27 09:00:12 | [Mutex] received everything.

2021-10-27 09:00:12 | [Mutex] isItemNotified: retracted:item:notifieditem-aaef1974-87e3-4ba0-af11-b900f623d16b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2021-10-27 09:00:12 |

2021-10-27 09:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:12 | ------------------------------------

2021-10-27 09:00:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><item-id>item-aaef1974-87e3-4ba0-af11-b900f623d16b</item-id></data>

2021-10-27 09:00:12 | 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-8e4f6905-29ec-472a-bb6d-b717c53ff15f</value></node><item-id label="Item ID" type="text-single"><value>item-aaef1974-87e3-4ba0-af11-b900f623d16b</value></item-id><item label="Item" type="text-multi"><value><item id="item-aaef1974-87e3-4ba0-af11-b900f623d16b"><test>item-aaef1974-87e3-4ba0-af11-b900f623d16b</test></item></value></item></result>

2021-10-27 09:00:12 | [Mutex] notify: [retrieved:item:item-aaef1974-87e3-4ba0-af11-b900f623d16b:payload-matches:true:localhost]

2021-10-27 09:00:12 | [Mutex] received everything.

2021-10-27 09:00:12 | [Mutex] isItemNotified: retrieved:item:item-aaef1974-87e3-4ba0-af11-b900f623d16b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-27 09:00:12 |

2021-10-27 09:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:12 | ------------------------------------

2021-10-27 09:00:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-27 09:00:12 | 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-8e4f6905-29ec-472a-bb6d-b717c53ff15f</value><value>node-d1e0732d-6824-433a-b7f5-a9b9ec74f723</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-10-27 09:00:12 |

2021-10-27 09:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:12 | ------------------------------------

2021-10-27 09:00:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8e4f6905-29ec-472a-bb6d-b717c53ff15f)</node-pattern></data>

2021-10-27 09:00:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.189s
2021-10-27 09:00:10 |

2021-10-27 09:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:10 | ------------------------------------

2021-10-27 09:00:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 09:00:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.207s
2021-10-27 09:00:12 |

2021-10-27 09:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-27 09:00:12 | ------------------------------------

2021-10-27 09:00:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8e4f6905-29ec-472a-bb6d-b717c53ff15f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-27 09:00:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>