Generated by TestNG with ReportNG at 21:43 PST on Tuesday 01 February 2022
root@b2c2a8eba6e6 / 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.344s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2022-02-01 21:58:01 |

2022-02-01 21:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:01 | ------------------------------------

2022-02-01 21:58:01 | [Mutex] waiting for: [configured:node:node-be28a26c-319c-4c42-aa88-da65ffb04b66:node-7bdb5973-8a7b-4515-842c-9ee987317d06]

2022-02-01 21:58:01 | [Mutex] received everything.

2022-02-01 21:58:01 | [Mutex] isItemNotified: configured:node:node-be28a26c-319c-4c42-aa88-da65ffb04b66:node-7bdb5973-8a7b-4515-842c-9ee987317d06 :: true

2022-02-01 21:58:02 | [Mutex] waiting for: [received:nodes:98c4552d-82f5-44c3-936c-d2afda090e33:localhost]

2022-02-01 21:58:02 | [Mutex] waiting for: [received:nodes:98c4552d-82f5-44c3-936c-d2afda090e33:localhost]

2022-02-01 21:58:02 | [Mutex] received everything.

2022-02-01 21:58:02 | [Mutex] isItemNotified: received:node:98c4552d-82f5-44c3-936c-d2afda090e33:localhost:node-be28a26c-319c-4c42-aa88-da65ffb04b66:Node be28a26c-319c-4c42-aa88-da65ffb04b66 :: true

2022-02-01 21:58:02 | [Mutex] waiting for: [received:nodes:3432466f-f485-48cc-9a1c-28064632fa74:localhost]

2022-02-01 21:58:02 | [Mutex] received everything.

2022-02-01 21:58:02 | [Mutex] isItemNotified: received:node:3432466f-f485-48cc-9a1c-28064632fa74:localhost:node-be28a26c-319c-4c42-aa88-da65ffb04b66:Node be28a26c-319c-4c42-aa88-da65ffb04b66 :: false

createNodes 1.697s
2022-02-01 21:57:58 |

2022-02-01 21:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:57:58 | ------------------------------------

2022-02-01 21:57:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be28a26c-319c-4c42-aa88-da65ffb04b66</title></pubsub></data>

2022-02-01 21:57:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-01 21:58:00 | [Mutex] waiting for: [received:nodes:d31912ec-ad14-445b-8371-0acb2c1384c1:localhost]

2022-02-01 21:58:00 | [Mutex] received everything.

2022-02-01 21:58:00 | [Mutex] isItemNotified: received:node:d31912ec-ad14-445b-8371-0acb2c1384c1:localhost:node-be28a26c-319c-4c42-aa88-da65ffb04b66:Node be28a26c-319c-4c42-aa88-da65ffb04b66 :: true

createSubnodes 1.034s
2022-02-01 21:58:00 |

2022-02-01 21:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:00 | ------------------------------------

2022-02-01 21:58:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7bdb5973-8a7b-4515-842c-9ee987317d06</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7bdb5973-8a7b-4515-842c-9ee987317d06</title></pubsub></data>

2022-02-01 21:58:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-01 21:58:01 | [Mutex] waiting for: [received:nodes:45fe6b77-b189-4d9e-a389-7a1fa45ef54b:localhost]

2022-02-01 21:58:01 | [Mutex] received everything.

2022-02-01 21:58:01 | [Mutex] isItemNotified: received:node:45fe6b77-b189-4d9e-a389-7a1fa45ef54b:localhost:node-7bdb5973-8a7b-4515-842c-9ee987317d06:Node 7bdb5973-8a7b-4515-842c-9ee987317d06 :: true

deleteNodes 1.025s
2022-02-01 21:58:07 |

2022-02-01 21:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:07 | ------------------------------------

2022-02-01 21:58:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7bdb5973-8a7b-4515-842c-9ee987317d06</node></data>

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

2022-02-01 21:58:08 | [Mutex] waiting for: [received:nodes:78446716-bdc3-48dc-943d-5e8f3786b600:localhost]

2022-02-01 21:58:08 | [Mutex] received everything.

2022-02-01 21:58:08 | [Mutex] isItemNotified: received:node:78446716-bdc3-48dc-943d-5e8f3786b600:localhost:node-7bdb5973-8a7b-4515-842c-9ee987317d06:Node 7bdb5973-8a7b-4515-842c-9ee987317d06 :: false

deleteSubnodes 1.139s
2022-02-01 21:58:06 |

2022-02-01 21:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:06 | ------------------------------------

2022-02-01 21:58:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node></data>

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

2022-02-01 21:58:07 | [Mutex] waiting for: [received:nodes:f615ceed-3663-4142-b252-12ab7b9d3b4a:localhost]

2022-02-01 21:58:07 | [Mutex] received everything.

2022-02-01 21:58:07 | [Mutex] isItemNotified: received:node:f615ceed-3663-4142-b252-12ab7b9d3b4a:localhost:node-be28a26c-319c-4c42-aa88-da65ffb04b66:Node be28a26c-319c-4c42-aa88-da65ffb04b66 :: false

2022-02-01 21:58:07 | [Mutex] waiting for: [received:nodes:378b88a9-9127-42c7-ad7c-adc9918c1d42:localhost]

2022-02-01 21:58:07 | [Mutex] received everything.

2022-02-01 21:58:07 | [Mutex] isItemNotified: received:node:378b88a9-9127-42c7-ad7c-adc9918c1d42:localhost:node-be28a26c-319c-4c42-aa88-da65ffb04b66:Node be28a26c-319c-4c42-aa88-da65ffb04b66 :: false

publishItemsToNodes 0.264s
2022-02-01 21:58:03 |

2022-02-01 21:58:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:03 | ------------------------------------

2022-02-01 21:58:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><item-id>item-bfb35a52-c5c0-41de-9619-462173280abb</item-id><entry><test>item-bfb35a52-c5c0-41de-9619-462173280abb</test></entry></data>

2022-02-01 21:58:04 | 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-bfb35a52-c5c0-41de-9619-462173280abb</value></item-id></result>

2022-02-01 21:58:04 | [Mutex] received everything.

2022-02-01 21:58:04 | [Mutex] isItemNotified: published:item:notifieditem-bfb35a52-c5c0-41de-9619-462173280abb:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2022-02-01 21:58:04 |

2022-02-01 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:04 | ------------------------------------

2022-02-01 21:58:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><item-id>item-bfb35a52-c5c0-41de-9619-462173280abb</item-id></data>

2022-02-01 21:58:04 | 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-bfb35a52-c5c0-41de-9619-462173280abb</value></item-id></result>

2022-02-01 21:58:04 | [Mutex] received everything.

2022-02-01 21:58:04 | [Mutex] isItemNotified: retracted:item:notifieditem-bfb35a52-c5c0-41de-9619-462173280abb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.352s
2022-02-01 21:58:04 |

2022-02-01 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:04 | ------------------------------------

2022-02-01 21:58:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><item-id>item-bfb35a52-c5c0-41de-9619-462173280abb</item-id></data>

2022-02-01 21:58:04 | 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-be28a26c-319c-4c42-aa88-da65ffb04b66</value></node><item-id label="Item ID" type="text-single"><value>item-bfb35a52-c5c0-41de-9619-462173280abb</value></item-id><item label="Item" type="text-multi"><value><item id="item-bfb35a52-c5c0-41de-9619-462173280abb"><test>item-bfb35a52-c5c0-41de-9619-462173280abb</test></item></value></item></result>

2022-02-01 21:58:04 | [Mutex] notify: [retrieved:item:item-bfb35a52-c5c0-41de-9619-462173280abb:payload-matches:true:localhost]

2022-02-01 21:58:04 | [Mutex] received everything.

2022-02-01 21:58:04 | [Mutex] isItemNotified: retrieved:item:item-bfb35a52-c5c0-41de-9619-462173280abb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-01 21:58:04 |

2022-02-01 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:04 | ------------------------------------

2022-02-01 21:58:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-01 21:58:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-be28a26c-319c-4c42-aa88-da65ffb04b66</value><value>test</value><value>node-7bdb5973-8a7b-4515-842c-9ee987317d06</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-01 21:58:04 |

2022-02-01 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:04 | ------------------------------------

2022-02-01 21:58:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be28a26c-319c-4c42-aa88-da65ffb04b66)</node-pattern></data>

2022-02-01 21:58:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.168s
2022-02-01 21:58:02 |

2022-02-01 21:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:02 | ------------------------------------

2022-02-01 21:58:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.291s
2022-02-01 21:58:04 |

2022-02-01 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-01 21:58:04 | ------------------------------------

2022-02-01 21:58:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-be28a26c-319c-4c42-aa88-da65ffb04b66</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-01 21:58:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>