Generated by TestNG with ReportNG at 22:16 PDT on Saturday 18 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.389s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-03-18 22:30:41 |

2023-03-18 22:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:41 | ------------------------------------

2023-03-18 22:30:41 | [Mutex] waiting for: [configured:node:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:node-354d16aa-771c-48ad-9e05-d39379ff27b5]

2023-03-18 22:30:41 | [Mutex] received everything.

2023-03-18 22:30:41 | [Mutex] isItemNotified: configured:node:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:node-354d16aa-771c-48ad-9e05-d39379ff27b5 :: true

2023-03-18 22:30:42 | [Mutex] waiting for: [received:nodes:5978eefd-a722-451f-9a83-fa8e587fdc77:localhost]

2023-03-18 22:30:42 | [Mutex] received everything.

2023-03-18 22:30:42 | [Mutex] isItemNotified: received:node:5978eefd-a722-451f-9a83-fa8e587fdc77:localhost:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7 :: true

2023-03-18 22:30:42 | [Mutex] waiting for: [received:nodes:c0d901cb-8d1f-419a-bc05-cdb17874ead4:localhost]

2023-03-18 22:30:42 | [Mutex] waiting for: [received:nodes:c0d901cb-8d1f-419a-bc05-cdb17874ead4:localhost]

2023-03-18 22:30:42 | [Mutex] waiting for: [received:nodes:c0d901cb-8d1f-419a-bc05-cdb17874ead4:localhost]

2023-03-18 22:30:42 | [Mutex] received everything.

2023-03-18 22:30:42 | [Mutex] isItemNotified: received:node:c0d901cb-8d1f-419a-bc05-cdb17874ead4:localhost:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7 :: false

createNodes 1.345s
2023-03-18 22:30:39 |

2023-03-18 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:39 | ------------------------------------

2023-03-18 22:30:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</title></pubsub></data>

2023-03-18 22:30:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:30:40 | [Mutex] waiting for: [received:nodes:c978fce4-e7e5-4623-aff0-84cae17ae8ef:localhost]

2023-03-18 22:30:40 | [Mutex] received everything.

2023-03-18 22:30:40 | [Mutex] isItemNotified: received:node:c978fce4-e7e5-4623-aff0-84cae17ae8ef:localhost:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7 :: true

createSubnodes 1.030s
2023-03-18 22:30:40 |

2023-03-18 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:40 | ------------------------------------

2023-03-18 22:30:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-354d16aa-771c-48ad-9e05-d39379ff27b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 354d16aa-771c-48ad-9e05-d39379ff27b5</title></pubsub></data>

2023-03-18 22:30:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:30:41 | [Mutex] waiting for: [received:nodes:0b689a4b-b4f5-4235-aa07-25afa7c1d758:localhost]

2023-03-18 22:30:41 | [Mutex] waiting for: [received:nodes:0b689a4b-b4f5-4235-aa07-25afa7c1d758:localhost]

2023-03-18 22:30:41 | [Mutex] waiting for: [received:nodes:0b689a4b-b4f5-4235-aa07-25afa7c1d758:localhost]

2023-03-18 22:30:41 | [Mutex] received everything.

2023-03-18 22:30:41 | [Mutex] isItemNotified: received:node:0b689a4b-b4f5-4235-aa07-25afa7c1d758:localhost:node-354d16aa-771c-48ad-9e05-d39379ff27b5:Node 354d16aa-771c-48ad-9e05-d39379ff27b5 :: true

deleteNodes 1.022s
2023-03-18 22:30:47 |

2023-03-18 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:47 | ------------------------------------

2023-03-18 22:30:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-354d16aa-771c-48ad-9e05-d39379ff27b5</node></data>

2023-03-18 22:30:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:30:48 | [Mutex] waiting for: [received:nodes:c2676144-5782-4295-aaf6-41488ef5196a:localhost]

2023-03-18 22:30:48 | [Mutex] waiting for: [received:nodes:c2676144-5782-4295-aaf6-41488ef5196a:localhost]

2023-03-18 22:30:48 | [Mutex] waiting for: [received:nodes:c2676144-5782-4295-aaf6-41488ef5196a:localhost]

2023-03-18 22:30:48 | [Mutex] received everything.

2023-03-18 22:30:48 | [Mutex] isItemNotified: received:node:c2676144-5782-4295-aaf6-41488ef5196a:localhost:node-354d16aa-771c-48ad-9e05-d39379ff27b5:Node 354d16aa-771c-48ad-9e05-d39379ff27b5 :: false

deleteSubnodes 1.150s
2023-03-18 22:30:45 |

2023-03-18 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:45 | ------------------------------------

2023-03-18 22:30:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node></data>

2023-03-18 22:30:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:30:46 | [Mutex] waiting for: [received:nodes:7c56c41a-ff91-4320-b409-746f25b208e9:localhost]

2023-03-18 22:30:47 | [Mutex] waiting for: [received:nodes:7c56c41a-ff91-4320-b409-746f25b208e9:localhost]

2023-03-18 22:30:47 | [Mutex] waiting for: [received:nodes:7c56c41a-ff91-4320-b409-746f25b208e9:localhost]

2023-03-18 22:30:47 | [Mutex] received everything.

2023-03-18 22:30:47 | [Mutex] isItemNotified: received:node:7c56c41a-ff91-4320-b409-746f25b208e9:localhost:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7 :: false

2023-03-18 22:30:47 | [Mutex] waiting for: [received:nodes:ea7e30fe-ffec-4d22-ac1f-0da6a9908053:localhost]

2023-03-18 22:30:47 | [Mutex] received everything.

2023-03-18 22:30:47 | [Mutex] isItemNotified: received:node:ea7e30fe-ffec-4d22-ac1f-0da6a9908053:localhost:node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7:Node fe32e6cb-17a1-4849-b4dc-ac95f2f751e7 :: false

publishItemsToNodes 0.164s
2023-03-18 22:30:43 |

2023-03-18 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:43 | ------------------------------------

2023-03-18 22:30:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><item-id>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</item-id><entry><test>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</test></entry></data>

2023-03-18 22:30:43 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</value></item-id></result>

2023-03-18 22:30:43 | [Mutex] received everything.

2023-03-18 22:30:43 | [Mutex] isItemNotified: published:item:notifieditem-cbeb6043-dca1-4371-b33d-76b96aa92c62:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2023-03-18 22:30:44 |

2023-03-18 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:44 | ------------------------------------

2023-03-18 22:30:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><item-id>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</item-id></data>

2023-03-18 22:30:44 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</value></item-id></result>

2023-03-18 22:30:44 | [Mutex] received everything.

2023-03-18 22:30:44 | [Mutex] isItemNotified: retracted:item:notifieditem-cbeb6043-dca1-4371-b33d-76b96aa92c62:admin@test-domain.com :: true

retrieveItemsFromNodes 0.282s
2023-03-18 22:30:43 |

2023-03-18 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:43 | ------------------------------------

2023-03-18 22:30:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><item-id>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</item-id></data>

2023-03-18 22:30:44 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</value></node><item-id type="text-single" label="Item ID"><value>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</value></item-id><item type="text-multi" label="Item"><value><item id="item-cbeb6043-dca1-4371-b33d-76b96aa92c62"><test>item-cbeb6043-dca1-4371-b33d-76b96aa92c62</test></item></value></item></result>

2023-03-18 22:30:44 | [Mutex] notify: [retrieved:item:item-cbeb6043-dca1-4371-b33d-76b96aa92c62:payload-matches:true:localhost]

2023-03-18 22:30:44 | [Mutex] received everything.

2023-03-18 22:30:44 | [Mutex] isItemNotified: retrieved:item:item-cbeb6043-dca1-4371-b33d-76b96aa92c62:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-18 22:30:44 |

2023-03-18 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:44 | ------------------------------------

2023-03-18 22:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-18 22:30:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</value><value>test</value><value>node-354d16aa-771c-48ad-9e05-d39379ff27b5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-18 22:30:44 |

2023-03-18 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:44 | ------------------------------------

2023-03-18 22:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7)</node-pattern></data>

2023-03-18 22:30:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.112s
2023-03-18 22:30:42 |

2023-03-18 22:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:42 | ------------------------------------

2023-03-18 22:30:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:30:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2023-03-18 22:30:44 |

2023-03-18 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:30:44 | ------------------------------------

2023-03-18 22:30:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fe32e6cb-17a1-4849-b4dc-ac95f2f751e7</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:30:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>