Generated by TestNG with ReportNG at 22:23 PDT on Monday 09 May 2022
root@61c39d2ed70d / 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.511s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-05-09 22:37:10 |

2022-05-09 22:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:10 | ------------------------------------

2022-05-09 22:37:10 | [Mutex] waiting for: [configured:node:node-1106391f-a999-4b46-a9d2-431d4e057d6d:node-ccdd073e-52ad-426a-b361-1ec15d581de8]

2022-05-09 22:37:10 | [Mutex] received everything.

2022-05-09 22:37:10 | [Mutex] isItemNotified: configured:node:node-1106391f-a999-4b46-a9d2-431d4e057d6d:node-ccdd073e-52ad-426a-b361-1ec15d581de8 :: true

2022-05-09 22:37:11 | [Mutex] waiting for: [received:nodes:ea706064-9a5f-4a98-a44b-22fb1e6bbeb2:localhost]

2022-05-09 22:37:11 | [Mutex] received everything.

2022-05-09 22:37:11 | [Mutex] isItemNotified: received:node:ea706064-9a5f-4a98-a44b-22fb1e6bbeb2:localhost:node-1106391f-a999-4b46-a9d2-431d4e057d6d:Node 1106391f-a999-4b46-a9d2-431d4e057d6d :: true

2022-05-09 22:37:11 | [Mutex] waiting for: [received:nodes:1227885e-27ae-4647-9c53-a9ac20aa6c15:localhost]

2022-05-09 22:37:11 | [Mutex] received everything.

2022-05-09 22:37:11 | [Mutex] isItemNotified: received:node:1227885e-27ae-4647-9c53-a9ac20aa6c15:localhost:node-1106391f-a999-4b46-a9d2-431d4e057d6d:Node 1106391f-a999-4b46-a9d2-431d4e057d6d :: false

createNodes 1.418s
2022-05-09 22:37:07 |

2022-05-09 22:37:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:07 | ------------------------------------

2022-05-09 22:37:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1106391f-a999-4b46-a9d2-431d4e057d6d</title></pubsub></data>

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

2022-05-09 22:37:09 | [Mutex] waiting for: [received:nodes:40b60072-eec6-40b1-9997-ae6112276857:localhost]

2022-05-09 22:37:09 | [Mutex] waiting for: [received:nodes:40b60072-eec6-40b1-9997-ae6112276857:localhost]

2022-05-09 22:37:09 | [Mutex] received everything.

2022-05-09 22:37:09 | [Mutex] isItemNotified: received:node:40b60072-eec6-40b1-9997-ae6112276857:localhost:node-1106391f-a999-4b46-a9d2-431d4e057d6d:Node 1106391f-a999-4b46-a9d2-431d4e057d6d :: true

createSubnodes 1.024s
2022-05-09 22:37:09 |

2022-05-09 22:37:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:09 | ------------------------------------

2022-05-09 22:37:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ccdd073e-52ad-426a-b361-1ec15d581de8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ccdd073e-52ad-426a-b361-1ec15d581de8</title></pubsub></data>

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

2022-05-09 22:37:10 | [Mutex] waiting for: [received:nodes:e3e0d2d9-16cf-4a3b-b7ec-796aa4254584:localhost]

2022-05-09 22:37:10 | [Mutex] received everything.

2022-05-09 22:37:10 | [Mutex] isItemNotified: received:node:e3e0d2d9-16cf-4a3b-b7ec-796aa4254584:localhost:node-ccdd073e-52ad-426a-b361-1ec15d581de8:Node ccdd073e-52ad-426a-b361-1ec15d581de8 :: true

deleteNodes 1.019s
2022-05-09 22:37:15 |

2022-05-09 22:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:15 | ------------------------------------

2022-05-09 22:37:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ccdd073e-52ad-426a-b361-1ec15d581de8</node></data>

2022-05-09 22:37:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 22:37:16 | [Mutex] waiting for: [received:nodes:16816e61-1b07-4eeb-961e-d1021a443ab9:localhost]

2022-05-09 22:37:16 | [Mutex] received everything.

2022-05-09 22:37:16 | [Mutex] isItemNotified: received:node:16816e61-1b07-4eeb-961e-d1021a443ab9:localhost:node-ccdd073e-52ad-426a-b361-1ec15d581de8:Node ccdd073e-52ad-426a-b361-1ec15d581de8 :: false

deleteSubnodes 1.123s
2022-05-09 22:37:14 |

2022-05-09 22:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:14 | ------------------------------------

2022-05-09 22:37:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node></data>

2022-05-09 22:37:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 22:37:15 | [Mutex] waiting for: [received:nodes:1040a75f-5672-4f86-bf30-d1d1f66ae0e1:localhost]

2022-05-09 22:37:15 | [Mutex] received everything.

2022-05-09 22:37:15 | [Mutex] isItemNotified: received:node:1040a75f-5672-4f86-bf30-d1d1f66ae0e1:localhost:node-1106391f-a999-4b46-a9d2-431d4e057d6d:Node 1106391f-a999-4b46-a9d2-431d4e057d6d :: false

2022-05-09 22:37:15 | [Mutex] waiting for: [received:nodes:efa2fac3-dfd1-4581-8dec-a303cd667cf4:localhost]

2022-05-09 22:37:15 | [Mutex] received everything.

2022-05-09 22:37:15 | [Mutex] isItemNotified: received:node:efa2fac3-dfd1-4581-8dec-a303cd667cf4:localhost:node-1106391f-a999-4b46-a9d2-431d4e057d6d:Node 1106391f-a999-4b46-a9d2-431d4e057d6d :: false

publishItemsToNodes 0.252s
2022-05-09 22:37:12 |

2022-05-09 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:12 | ------------------------------------

2022-05-09 22:37:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><item-id>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</item-id><entry><test>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</test></entry></data>

2022-05-09 22:37:12 | 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-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</value></item-id></result>

2022-05-09 22:37:12 | [Mutex] waiting for: [published:item:notifieditem-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7:admin@test-domain.com]

2022-05-09 22:37:12 | [Mutex] received everything.

2022-05-09 22:37:12 | [Mutex] isItemNotified: published:item:notifieditem-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-05-09 22:37:12 |

2022-05-09 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:12 | ------------------------------------

2022-05-09 22:37:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><item-id>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</item-id></data>

2022-05-09 22:37:13 | 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-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</value></item-id></result>

2022-05-09 22:37:13 | [Mutex] received everything.

2022-05-09 22:37:13 | [Mutex] isItemNotified: retracted:item:notifieditem-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.179s
2022-05-09 22:37:12 |

2022-05-09 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:12 | ------------------------------------

2022-05-09 22:37:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><item-id>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</item-id></data>

2022-05-09 22:37:12 | 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-1106391f-a999-4b46-a9d2-431d4e057d6d</value></node><item-id type="text-single" label="Item ID"><value>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</value></item-id><item type="text-multi" label="Item"><value><item id="item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7"><test>item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7</test></item></value></item></result>

2022-05-09 22:37:12 | [Mutex] notify: [retrieved:item:item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7:payload-matches:true:localhost]

2022-05-09 22:37:12 | [Mutex] received everything.

2022-05-09 22:37:12 | [Mutex] isItemNotified: retrieved:item:item-1e726a4f-4de8-4467-9e49-62bb8ff3a6c7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2022-05-09 22:37:12 |

2022-05-09 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:12 | ------------------------------------

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

2022-05-09 22:37:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-ccdd073e-52ad-426a-b361-1ec15d581de8</value><value>node-1106391f-a999-4b46-a9d2-431d4e057d6d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-09 22:37:12 |

2022-05-09 22:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:12 | ------------------------------------

2022-05-09 22:37: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-1106391f-a999-4b46-a9d2-431d4e057d6d)</node-pattern></data>

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

subscribeNodes 1.178s
2022-05-09 22:37:11 |

2022-05-09 22:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:11 | ------------------------------------

2022-05-09 22:37:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-09 22:37:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2022-05-09 22:37:13 |

2022-05-09 22:37:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:13 | ------------------------------------

2022-05-09 22:37:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1106391f-a999-4b46-a9d2-431d4e057d6d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-09 22:37:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>