Generated by TestNG with ReportNG at 21:57 PST on Sunday 16 January 2022
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.179s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-01-16 22:12:52 |

2022-01-16 22:12:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:52 | ------------------------------------

2022-01-16 22:12:52 | [Mutex] waiting for: [configured:node:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:node-07051fec-1b67-4542-bd34-b9e95acb7766]

2022-01-16 22:12:52 | [Mutex] received everything.

2022-01-16 22:12:52 | [Mutex] isItemNotified: configured:node:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:node-07051fec-1b67-4542-bd34-b9e95acb7766 :: true

2022-01-16 22:12:53 | [Mutex] waiting for: [received:nodes:088bc895-a4db-495b-b061-7c86624fb215:localhost]

2022-01-16 22:12:53 | [Mutex] received everything.

2022-01-16 22:12:53 | [Mutex] isItemNotified: received:node:088bc895-a4db-495b-b061-7c86624fb215:localhost:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:Node ed1ba4c1-afd8-4a28-b691-e83c24356f04 :: true

2022-01-16 22:12:53 | [Mutex] waiting for: [received:nodes:b3cd1062-6965-4bdd-8836-e59af02a2793:localhost]

2022-01-16 22:12:53 | [Mutex] received everything.

2022-01-16 22:12:53 | [Mutex] isItemNotified: received:node:b3cd1062-6965-4bdd-8836-e59af02a2793:localhost:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:Node ed1ba4c1-afd8-4a28-b691-e83c24356f04 :: false

createNodes 1.567s
2022-01-16 22:12:50 |

2022-01-16 22:12:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:50 | ------------------------------------

2022-01-16 22:12:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ed1ba4c1-afd8-4a28-b691-e83c24356f04</title></pubsub></data>

2022-01-16 22:12:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:12:51 | [Mutex] waiting for: [received:nodes:e3a89f57-4455-4f9f-ad05-336cc639237e:localhost]

2022-01-16 22:12:51 | [Mutex] waiting for: [received:nodes:e3a89f57-4455-4f9f-ad05-336cc639237e:localhost]

2022-01-16 22:12:51 | [Mutex] waiting for: [received:nodes:e3a89f57-4455-4f9f-ad05-336cc639237e:localhost]

2022-01-16 22:12:51 | [Mutex] received everything.

2022-01-16 22:12:51 | [Mutex] isItemNotified: received:node:e3a89f57-4455-4f9f-ad05-336cc639237e:localhost:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:Node ed1ba4c1-afd8-4a28-b691-e83c24356f04 :: true

createSubnodes 1.027s
2022-01-16 22:12:51 |

2022-01-16 22:12:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:51 | ------------------------------------

2022-01-16 22:12:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-07051fec-1b67-4542-bd34-b9e95acb7766</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 07051fec-1b67-4542-bd34-b9e95acb7766</title></pubsub></data>

2022-01-16 22:12:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:12:52 | [Mutex] waiting for: [received:nodes:5aa6181f-ce88-4961-b1e3-b8e2b3da2974:localhost]

2022-01-16 22:12:52 | [Mutex] received everything.

2022-01-16 22:12:52 | [Mutex] isItemNotified: received:node:5aa6181f-ce88-4961-b1e3-b8e2b3da2974:localhost:node-07051fec-1b67-4542-bd34-b9e95acb7766:Node 07051fec-1b67-4542-bd34-b9e95acb7766 :: true

deleteNodes 1.027s
2022-01-16 22:12:58 |

2022-01-16 22:12:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:58 | ------------------------------------

2022-01-16 22:12:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-07051fec-1b67-4542-bd34-b9e95acb7766</node></data>

2022-01-16 22:12:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:12:59 | [Mutex] waiting for: [received:nodes:1d8d41ce-8e86-4f94-b7fa-15dc423ed045:localhost]

2022-01-16 22:12:59 | [Mutex] waiting for: [received:nodes:1d8d41ce-8e86-4f94-b7fa-15dc423ed045:localhost]

2022-01-16 22:12:59 | [Mutex] received everything.

2022-01-16 22:12:59 | [Mutex] isItemNotified: received:node:1d8d41ce-8e86-4f94-b7fa-15dc423ed045:localhost:node-07051fec-1b67-4542-bd34-b9e95acb7766:Node 07051fec-1b67-4542-bd34-b9e95acb7766 :: false

deleteSubnodes 1.160s
2022-01-16 22:12:57 |

2022-01-16 22:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:57 | ------------------------------------

2022-01-16 22:12:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node></data>

2022-01-16 22:12:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:12:58 | [Mutex] waiting for: [received:nodes:381854b2-7a84-47bf-9011-09bc0a5af2ea:localhost]

2022-01-16 22:12:58 | [Mutex] waiting for: [received:nodes:381854b2-7a84-47bf-9011-09bc0a5af2ea:localhost]

2022-01-16 22:12:58 | [Mutex] received everything.

2022-01-16 22:12:58 | [Mutex] isItemNotified: received:node:381854b2-7a84-47bf-9011-09bc0a5af2ea:localhost:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:Node ed1ba4c1-afd8-4a28-b691-e83c24356f04 :: false

2022-01-16 22:12:58 | [Mutex] waiting for: [received:nodes:3440b1e5-1c69-4565-8b4b-568beff27d1e:localhost]

2022-01-16 22:12:58 | [Mutex] received everything.

2022-01-16 22:12:58 | [Mutex] isItemNotified: received:node:3440b1e5-1c69-4565-8b4b-568beff27d1e:localhost:node-ed1ba4c1-afd8-4a28-b691-e83c24356f04:Node ed1ba4c1-afd8-4a28-b691-e83c24356f04 :: false

publishItemsToNodes 0.287s
2022-01-16 22:12:55 |

2022-01-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:55 | ------------------------------------

2022-01-16 22:12:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><item-id>item-5e46696c-e536-487e-853d-cd194f25a7ae</item-id><entry><test>item-5e46696c-e536-487e-853d-cd194f25a7ae</test></entry></data>

2022-01-16 22:12:55 | 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-5e46696c-e536-487e-853d-cd194f25a7ae</value></item-id></result>

2022-01-16 22:12:55 | [Mutex] received everything.

2022-01-16 22:12:55 | [Mutex] isItemNotified: published:item:notifieditem-5e46696c-e536-487e-853d-cd194f25a7ae:admin@test-domain.com :: true

retractItemsFromNodes 0.170s
2022-01-16 22:12:55 |

2022-01-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:55 | ------------------------------------

2022-01-16 22:12:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><item-id>item-5e46696c-e536-487e-853d-cd194f25a7ae</item-id></data>

2022-01-16 22:12:56 | 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-5e46696c-e536-487e-853d-cd194f25a7ae</value></item-id></result>

2022-01-16 22:12:56 | [Mutex] received everything.

2022-01-16 22:12:56 | [Mutex] isItemNotified: retracted:item:notifieditem-5e46696c-e536-487e-853d-cd194f25a7ae:admin@test-domain.com :: true

retrieveItemsFromNodes 0.366s
2022-01-16 22:12:55 |

2022-01-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:55 | ------------------------------------

2022-01-16 22:12:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><item-id>item-5e46696c-e536-487e-853d-cd194f25a7ae</item-id></data>

2022-01-16 22:12:55 | 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-ed1ba4c1-afd8-4a28-b691-e83c24356f04</value></node><item-id label="Item ID" type="text-single"><value>item-5e46696c-e536-487e-853d-cd194f25a7ae</value></item-id><item label="Item" type="text-multi"><value><item id="item-5e46696c-e536-487e-853d-cd194f25a7ae"><test>item-5e46696c-e536-487e-853d-cd194f25a7ae</test></item></value></item></result>

2022-01-16 22:12:55 | [Mutex] notify: [retrieved:item:item-5e46696c-e536-487e-853d-cd194f25a7ae:payload-matches:true:localhost]

2022-01-16 22:12:55 | [Mutex] received everything.

2022-01-16 22:12:55 | [Mutex] isItemNotified: retrieved:item:item-5e46696c-e536-487e-853d-cd194f25a7ae:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-01-16 22:12:55 |

2022-01-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:55 | ------------------------------------

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

2022-01-16 22:12:55 | 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-07051fec-1b67-4542-bd34-b9e95acb7766</value><value>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-01-16 22:12:55 |

2022-01-16 22:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:55 | ------------------------------------

2022-01-16 22:12:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ed1ba4c1-afd8-4a28-b691-e83c24356f04)</node-pattern></data>

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

subscribeNodes 1.179s
2022-01-16 22:12:53 |

2022-01-16 22:12:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:53 | ------------------------------------

2022-01-16 22:12:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><jids><value>admin@test-domain.com</value></jids></data>

2022-01-16 22:12:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2022-01-16 22:12:56 |

2022-01-16 22:12:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:12:56 | ------------------------------------

2022-01-16 22:12:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ed1ba4c1-afd8-4a28-b691-e83c24356f04</node><jids><value>admin@test-domain.com</value></jids></data>

2022-01-16 22:12:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>