Generated by TestNG with ReportNG at 22:19 PDT on Monday 29 August 2022
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.499s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-08-29 22:33:30 |

2022-08-29 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:30 | ------------------------------------

2022-08-29 22:33:30 | [Mutex] waiting for: [configured:node:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:node-0c015130-ab3b-4e04-b63e-2f71b974dcfd]

2022-08-29 22:33:31 | [Mutex] received everything.

2022-08-29 22:33:31 | [Mutex] isItemNotified: configured:node:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:node-0c015130-ab3b-4e04-b63e-2f71b974dcfd :: true

2022-08-29 22:33:32 | [Mutex] waiting for: [received:nodes:a470b40f-80bc-41a3-a207-5dd4dcc4b5d6:localhost]

2022-08-29 22:33:32 | [Mutex] received everything.

2022-08-29 22:33:32 | [Mutex] isItemNotified: received:node:a470b40f-80bc-41a3-a207-5dd4dcc4b5d6:localhost:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df :: true

2022-08-29 22:33:32 | [Mutex] waiting for: [received:nodes:087a4f22-87a6-48e6-894c-c85ba32a4637:localhost]

2022-08-29 22:33:32 | [Mutex] waiting for: [received:nodes:087a4f22-87a6-48e6-894c-c85ba32a4637:localhost]

2022-08-29 22:33:32 | [Mutex] received everything.

2022-08-29 22:33:32 | [Mutex] isItemNotified: received:node:087a4f22-87a6-48e6-894c-c85ba32a4637:localhost:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df :: false

createNodes 1.451s
2022-08-29 22:33:28 |

2022-08-29 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:28 | ------------------------------------

2022-08-29 22:33:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</title></pubsub></data>

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

2022-08-29 22:33:29 | [Mutex] waiting for: [received:nodes:b2928178-3b22-4019-bf26-b9fd4a6a1eab:localhost]

2022-08-29 22:33:29 | [Mutex] received everything.

2022-08-29 22:33:29 | [Mutex] isItemNotified: received:node:b2928178-3b22-4019-bf26-b9fd4a6a1eab:localhost:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df :: true

createSubnodes 1.024s
2022-08-29 22:33:29 |

2022-08-29 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:29 | ------------------------------------

2022-08-29 22:33:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0c015130-ab3b-4e04-b63e-2f71b974dcfd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c015130-ab3b-4e04-b63e-2f71b974dcfd</title></pubsub></data>

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

2022-08-29 22:33:30 | [Mutex] waiting for: [received:nodes:abfbbf30-cc48-4b80-9b6b-685d5a09ac91:localhost]

2022-08-29 22:33:30 | [Mutex] received everything.

2022-08-29 22:33:30 | [Mutex] isItemNotified: received:node:abfbbf30-cc48-4b80-9b6b-685d5a09ac91:localhost:node-0c015130-ab3b-4e04-b63e-2f71b974dcfd:Node 0c015130-ab3b-4e04-b63e-2f71b974dcfd :: true

deleteNodes 1.018s
2022-08-29 22:33:36 |

2022-08-29 22:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:36 | ------------------------------------

2022-08-29 22:33:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0c015130-ab3b-4e04-b63e-2f71b974dcfd</node></data>

2022-08-29 22:33:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-29 22:33:37 | [Mutex] waiting for: [received:nodes:6c939e38-5922-447d-992b-1bcc58f5faa9:localhost]

2022-08-29 22:33:37 | [Mutex] received everything.

2022-08-29 22:33:37 | [Mutex] isItemNotified: received:node:6c939e38-5922-447d-992b-1bcc58f5faa9:localhost:node-0c015130-ab3b-4e04-b63e-2f71b974dcfd:Node 0c015130-ab3b-4e04-b63e-2f71b974dcfd :: false

deleteSubnodes 1.144s
2022-08-29 22:33:35 |

2022-08-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:35 | ------------------------------------

2022-08-29 22:33:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node></data>

2022-08-29 22:33:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-29 22:33:36 | [Mutex] waiting for: [received:nodes:4fe24fe5-173f-4619-b239-317f195b25c7:localhost]

2022-08-29 22:33:36 | [Mutex] received everything.

2022-08-29 22:33:36 | [Mutex] isItemNotified: received:node:4fe24fe5-173f-4619-b239-317f195b25c7:localhost:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df :: false

2022-08-29 22:33:36 | [Mutex] waiting for: [received:nodes:0274b07b-151e-4c97-a15e-5f467c06532d:localhost]

2022-08-29 22:33:36 | [Mutex] received everything.

2022-08-29 22:33:36 | [Mutex] isItemNotified: received:node:0274b07b-151e-4c97-a15e-5f467c06532d:localhost:node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df:Node b60ddaa7-6bbf-428c-81c5-4a20c5ec74df :: false

publishItemsToNodes 0.195s
2022-08-29 22:33:33 |

2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:33 | ------------------------------------

2022-08-29 22:33:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><item-id>item-830ab02e-5209-49ba-89e4-be4e93c1326c</item-id><entry><test>item-830ab02e-5209-49ba-89e4-be4e93c1326c</test></entry></data>

2022-08-29 22:33:33 | 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-830ab02e-5209-49ba-89e4-be4e93c1326c</value></item-id></result>

2022-08-29 22:33:33 | [Mutex] received everything.

2022-08-29 22:33:33 | [Mutex] isItemNotified: published:item:notifieditem-830ab02e-5209-49ba-89e4-be4e93c1326c:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-08-29 22:33:33 |

2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:33 | ------------------------------------

2022-08-29 22:33:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><item-id>item-830ab02e-5209-49ba-89e4-be4e93c1326c</item-id></data>

2022-08-29 22:33:34 | 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-830ab02e-5209-49ba-89e4-be4e93c1326c</value></item-id></result>

2022-08-29 22:33:34 | [Mutex] received everything.

2022-08-29 22:33:34 | [Mutex] isItemNotified: retracted:item:notifieditem-830ab02e-5209-49ba-89e4-be4e93c1326c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.226s
2022-08-29 22:33:33 |

2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:33 | ------------------------------------

2022-08-29 22:33:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><item-id>item-830ab02e-5209-49ba-89e4-be4e93c1326c</item-id></data>

2022-08-29 22:33:33 | 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-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</value></node><item-id type="text-single" label="Item ID"><value>item-830ab02e-5209-49ba-89e4-be4e93c1326c</value></item-id><item type="text-multi" label="Item"><value><item id="item-830ab02e-5209-49ba-89e4-be4e93c1326c"><test>item-830ab02e-5209-49ba-89e4-be4e93c1326c</test></item></value></item></result>

2022-08-29 22:33:33 | [Mutex] notify: [retrieved:item:item-830ab02e-5209-49ba-89e4-be4e93c1326c:payload-matches:true:localhost]

2022-08-29 22:33:33 | [Mutex] received everything.

2022-08-29 22:33:33 | [Mutex] isItemNotified: retrieved:item:item-830ab02e-5209-49ba-89e4-be4e93c1326c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-29 22:33:33 |

2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:33 | ------------------------------------

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

2022-08-29 22:33:33 | 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-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</value><value>node-0c015130-ab3b-4e04-b63e-2f71b974dcfd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-29 22:33:33 |

2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:33 | ------------------------------------

2022-08-29 22:33:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df)</node-pattern></data>

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

subscribeNodes 1.129s
2022-08-29 22:33:32 |

2022-08-29 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:32 | ------------------------------------

2022-08-29 22:33:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-29 22:33:32 | 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
2022-08-29 22:33:34 |

2022-08-29 22:33:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 22:33:34 | ------------------------------------

2022-08-29 22:33:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b60ddaa7-6bbf-428c-81c5-4a20c5ec74df</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-29 22:33:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>