Generated by TestNG with ReportNG at 22:50 PDT on Sunday 08 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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.732s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-05-08 23:12:43 |

2022-05-08 23:12:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:43 | ------------------------------------

2022-05-08 23:12:43 | [Mutex] waiting for: [configured:node:node-5b91e8c3-29e7-4621-80f9-88005305583f:node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe]

2022-05-08 23:12:43 | [Mutex] received everything.

2022-05-08 23:12:43 | [Mutex] isItemNotified: configured:node:node-5b91e8c3-29e7-4621-80f9-88005305583f:node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe :: true

2022-05-08 23:12:44 | [Mutex] waiting for: [received:nodes:cc3ed878-b534-47e7-a9ef-514bcda8f489:localhost]

2022-05-08 23:12:44 | [Mutex] received everything.

2022-05-08 23:12:44 | [Mutex] isItemNotified: received:node:cc3ed878-b534-47e7-a9ef-514bcda8f489:localhost:node-5b91e8c3-29e7-4621-80f9-88005305583f:Node 5b91e8c3-29e7-4621-80f9-88005305583f :: true

2022-05-08 23:12:44 | [Mutex] waiting for: [received:nodes:74867df5-730a-4afe-8f04-6dedfde636a5:localhost]

2022-05-08 23:12:44 | [Mutex] received everything.

2022-05-08 23:12:44 | [Mutex] isItemNotified: received:node:74867df5-730a-4afe-8f04-6dedfde636a5:localhost:node-5b91e8c3-29e7-4621-80f9-88005305583f:Node 5b91e8c3-29e7-4621-80f9-88005305583f :: false

createNodes 1.455s
2022-05-08 23:12:41 |

2022-05-08 23:12:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:41 | ------------------------------------

2022-05-08 23:12:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b91e8c3-29e7-4621-80f9-88005305583f</title></pubsub></data>

2022-05-08 23:12:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 23:12:42 | [Mutex] waiting for: [received:nodes:5c309497-7710-44a4-8011-89ba4aa7abc1:localhost]

2022-05-08 23:12:42 | [Mutex] waiting for: [received:nodes:5c309497-7710-44a4-8011-89ba4aa7abc1:localhost]

2022-05-08 23:12:42 | [Mutex] received everything.

2022-05-08 23:12:42 | [Mutex] isItemNotified: received:node:5c309497-7710-44a4-8011-89ba4aa7abc1:localhost:node-5b91e8c3-29e7-4621-80f9-88005305583f:Node 5b91e8c3-29e7-4621-80f9-88005305583f :: true

createSubnodes 1.022s
2022-05-08 23:12:42 |

2022-05-08 23:12:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:42 | ------------------------------------

2022-05-08 23:12:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9f21249e-ecf4-4a0f-b9e4-bb83d54939fe</title></pubsub></data>

2022-05-08 23:12:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 23:12:43 | [Mutex] waiting for: [received:nodes:a7bce3d0-f7e7-40d7-82b0-7e72b8bdc500:localhost]

2022-05-08 23:12:43 | [Mutex] received everything.

2022-05-08 23:12:43 | [Mutex] isItemNotified: received:node:a7bce3d0-f7e7-40d7-82b0-7e72b8bdc500:localhost:node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe:Node 9f21249e-ecf4-4a0f-b9e4-bb83d54939fe :: true

deleteNodes 1.021s
2022-05-08 23:12:49 |

2022-05-08 23:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:49 | ------------------------------------

2022-05-08 23:12:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe</node></data>

2022-05-08 23:12:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 23:12:50 | [Mutex] waiting for: [received:nodes:65446a60-0ac9-4266-b0ce-5a9b2b299ef8:localhost]

2022-05-08 23:12:50 | [Mutex] received everything.

2022-05-08 23:12:50 | [Mutex] isItemNotified: received:node:65446a60-0ac9-4266-b0ce-5a9b2b299ef8:localhost:node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe:Node 9f21249e-ecf4-4a0f-b9e4-bb83d54939fe :: false

deleteSubnodes 1.115s
2022-05-08 23:12:48 |

2022-05-08 23:12:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:48 | ------------------------------------

2022-05-08 23:12:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node></data>

2022-05-08 23:12:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 23:12:49 | [Mutex] waiting for: [received:nodes:caaa49b2-8640-4d26-bcad-e4f8e62c452a:localhost]

2022-05-08 23:12:49 | [Mutex] received everything.

2022-05-08 23:12:49 | [Mutex] isItemNotified: received:node:caaa49b2-8640-4d26-bcad-e4f8e62c452a:localhost:node-5b91e8c3-29e7-4621-80f9-88005305583f:Node 5b91e8c3-29e7-4621-80f9-88005305583f :: false

2022-05-08 23:12:49 | [Mutex] waiting for: [received:nodes:439086f4-bba6-41d9-a54d-e205b56e4a14:localhost]

2022-05-08 23:12:49 | [Mutex] received everything.

2022-05-08 23:12:49 | [Mutex] isItemNotified: received:node:439086f4-bba6-41d9-a54d-e205b56e4a14:localhost:node-5b91e8c3-29e7-4621-80f9-88005305583f:Node 5b91e8c3-29e7-4621-80f9-88005305583f :: false

publishItemsToNodes 0.285s
2022-05-08 23:12:45 |

2022-05-08 23:12:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:45 | ------------------------------------

2022-05-08 23:12:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><item-id>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</item-id><entry><test>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</test></entry></data>

2022-05-08 23:12:46 | 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-1c220353-06cc-44bc-a8b3-c570ce0f60e5</value></item-id></result>

2022-05-08 23:12:46 | [Mutex] received everything.

2022-05-08 23:12:46 | [Mutex] isItemNotified: published:item:notifieditem-1c220353-06cc-44bc-a8b3-c570ce0f60e5:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-05-08 23:12:46 |

2022-05-08 23:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:46 | ------------------------------------

2022-05-08 23:12:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><item-id>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</item-id></data>

2022-05-08 23:12:46 | 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-1c220353-06cc-44bc-a8b3-c570ce0f60e5</value></item-id></result>

2022-05-08 23:12:46 | [Mutex] received everything.

2022-05-08 23:12:46 | [Mutex] isItemNotified: retracted:item:notifieditem-1c220353-06cc-44bc-a8b3-c570ce0f60e5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.211s
2022-05-08 23:12:46 |

2022-05-08 23:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:46 | ------------------------------------

2022-05-08 23:12:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><item-id>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</item-id></data>

2022-05-08 23:12:46 | 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-5b91e8c3-29e7-4621-80f9-88005305583f</value></node><item-id label="Item ID" type="text-single"><value>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</value></item-id><item label="Item" type="text-multi"><value><item id="item-1c220353-06cc-44bc-a8b3-c570ce0f60e5"><test>item-1c220353-06cc-44bc-a8b3-c570ce0f60e5</test></item></value></item></result>

2022-05-08 23:12:46 | [Mutex] notify: [retrieved:item:item-1c220353-06cc-44bc-a8b3-c570ce0f60e5:payload-matches:true:localhost]

2022-05-08 23:12:46 | [Mutex] received everything.

2022-05-08 23:12:46 | [Mutex] isItemNotified: retrieved:item:item-1c220353-06cc-44bc-a8b3-c570ce0f60e5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-08 23:12:46 |

2022-05-08 23:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:46 | ------------------------------------

2022-05-08 23:12:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-08 23:12:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9f21249e-ecf4-4a0f-b9e4-bb83d54939fe</value><value>test</value><value>node-5b91e8c3-29e7-4621-80f9-88005305583f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-08 23:12:46 |

2022-05-08 23:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:46 | ------------------------------------

2022-05-08 23:12:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5b91e8c3-29e7-4621-80f9-88005305583f)</node-pattern></data>

2022-05-08 23:12:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.165s
2022-05-08 23:12:44 |

2022-05-08 23:12:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:44 | ------------------------------------

2022-05-08 23:12:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 23:12:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-05-08 23:12:46 |

2022-05-08 23:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:12:46 | ------------------------------------

2022-05-08 23:12:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5b91e8c3-29e7-4621-80f9-88005305583f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 23:12:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>