Generated by TestNG with ReportNG at 22:49 PDT on Tuesday 05 July 2022
root@f9c07ffec79b / 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.535s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-07-05 23:03:49 |

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

2022-07-05 23:03:49 | ------------------------------------

2022-07-05 23:03:49 | [Mutex] waiting for: [configured:node:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:node-18be2463-9a03-4666-a864-e8f16c0edc02]

2022-07-05 23:03:49 | [Mutex] received everything.

2022-07-05 23:03:49 | [Mutex] isItemNotified: configured:node:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:node-18be2463-9a03-4666-a864-e8f16c0edc02 :: true

2022-07-05 23:03:50 | [Mutex] waiting for: [received:nodes:ee2111b1-4a49-4db6-9c3c-957cf347bae0:localhost]

2022-07-05 23:03:50 | [Mutex] received everything.

2022-07-05 23:03:50 | [Mutex] isItemNotified: received:node:ee2111b1-4a49-4db6-9c3c-957cf347bae0:localhost:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce :: true

2022-07-05 23:03:50 | [Mutex] waiting for: [received:nodes:53dccf41-0209-440e-901c-3224d181acbb:localhost]

2022-07-05 23:03:50 | [Mutex] received everything.

2022-07-05 23:03:50 | [Mutex] isItemNotified: received:node:53dccf41-0209-440e-901c-3224d181acbb:localhost:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce :: false

createNodes 1.497s
2022-07-05 23:03:46 |

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

2022-07-05 23:03:46 | ------------------------------------

2022-07-05 23:03:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce</title></pubsub></data>

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

2022-07-05 23:03:48 | [Mutex] waiting for: [received:nodes:049fc610-3980-455b-9b83-3faf5ddc2fea:localhost]

2022-07-05 23:03:48 | [Mutex] received everything.

2022-07-05 23:03:48 | [Mutex] isItemNotified: received:node:049fc610-3980-455b-9b83-3faf5ddc2fea:localhost:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce :: true

createSubnodes 1.026s
2022-07-05 23:03:48 |

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

2022-07-05 23:03:48 | ------------------------------------

2022-07-05 23:03:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-18be2463-9a03-4666-a864-e8f16c0edc02</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 18be2463-9a03-4666-a864-e8f16c0edc02</title></pubsub></data>

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

2022-07-05 23:03:49 | [Mutex] waiting for: [received:nodes:12ce9c4b-d179-4bbd-b8b9-0f4ef30c51f7:localhost]

2022-07-05 23:03:49 | [Mutex] received everything.

2022-07-05 23:03:49 | [Mutex] isItemNotified: received:node:12ce9c4b-d179-4bbd-b8b9-0f4ef30c51f7:localhost:node-18be2463-9a03-4666-a864-e8f16c0edc02:Node 18be2463-9a03-4666-a864-e8f16c0edc02 :: true

deleteNodes 1.015s
2022-07-05 23:03:54 |

2022-07-05 23:03:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:54 | ------------------------------------

2022-07-05 23:03:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-18be2463-9a03-4666-a864-e8f16c0edc02</node></data>

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

2022-07-05 23:03:55 | [Mutex] waiting for: [received:nodes:49e3c3be-1df3-48c7-9adc-c0f83412bb89:localhost]

2022-07-05 23:03:55 | [Mutex] received everything.

2022-07-05 23:03:55 | [Mutex] isItemNotified: received:node:49e3c3be-1df3-48c7-9adc-c0f83412bb89:localhost:node-18be2463-9a03-4666-a864-e8f16c0edc02:Node 18be2463-9a03-4666-a864-e8f16c0edc02 :: false

deleteSubnodes 1.114s
2022-07-05 23:03:53 |

2022-07-05 23:03:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:53 | ------------------------------------

2022-07-05 23:03:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node></data>

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

2022-07-05 23:03:54 | [Mutex] waiting for: [received:nodes:ca8c93b2-7e10-4ac5-953a-39043331d7e1:localhost]

2022-07-05 23:03:54 | [Mutex] received everything.

2022-07-05 23:03:54 | [Mutex] isItemNotified: received:node:ca8c93b2-7e10-4ac5-953a-39043331d7e1:localhost:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce :: false

2022-07-05 23:03:54 | [Mutex] waiting for: [received:nodes:71566b92-4c77-4ffc-b591-7cb48d3b3bba:localhost]

2022-07-05 23:03:54 | [Mutex] received everything.

2022-07-05 23:03:54 | [Mutex] isItemNotified: received:node:71566b92-4c77-4ffc-b591-7cb48d3b3bba:localhost:node-6ade08a8-36b7-4907-ab04-85a9327cd3ce:Node 6ade08a8-36b7-4907-ab04-85a9327cd3ce :: false

publishItemsToNodes 0.262s
2022-07-05 23:03:51 |

2022-07-05 23:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:51 | ------------------------------------

2022-07-05 23:03:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><item-id>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</item-id><entry><test>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</test></entry></data>

2022-07-05 23:03:51 | 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-4e2b2c75-894f-4f6a-9c94-b5d968767945</value></item-id></result>

2022-07-05 23:03:51 | [Mutex] waiting for: [published:item:notifieditem-4e2b2c75-894f-4f6a-9c94-b5d968767945:admin@test-domain.com]

2022-07-05 23:03:51 | [Mutex] received everything.

2022-07-05 23:03:51 | [Mutex] isItemNotified: published:item:notifieditem-4e2b2c75-894f-4f6a-9c94-b5d968767945:admin@test-domain.com :: true

retractItemsFromNodes 0.261s
2022-07-05 23:03:51 |

2022-07-05 23:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:51 | ------------------------------------

2022-07-05 23:03:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><item-id>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</item-id></data>

2022-07-05 23:03:52 | 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-4e2b2c75-894f-4f6a-9c94-b5d968767945</value></item-id></result>

2022-07-05 23:03:52 | [Mutex] waiting for: [retracted:item:notifieditem-4e2b2c75-894f-4f6a-9c94-b5d968767945:admin@test-domain.com]

2022-07-05 23:03:52 | [Mutex] received everything.

2022-07-05 23:03:52 | [Mutex] isItemNotified: retracted:item:notifieditem-4e2b2c75-894f-4f6a-9c94-b5d968767945:admin@test-domain.com :: true

retrieveItemsFromNodes 0.145s
2022-07-05 23:03:51 |

2022-07-05 23:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:51 | ------------------------------------

2022-07-05 23:03:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><item-id>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</item-id></data>

2022-07-05 23:03:51 | 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-6ade08a8-36b7-4907-ab04-85a9327cd3ce</value></node><item-id type="text-single" label="Item ID"><value>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</value></item-id><item type="text-multi" label="Item"><value><item id="item-4e2b2c75-894f-4f6a-9c94-b5d968767945"><test>item-4e2b2c75-894f-4f6a-9c94-b5d968767945</test></item></value></item></result>

2022-07-05 23:03:51 | [Mutex] notify: [retrieved:item:item-4e2b2c75-894f-4f6a-9c94-b5d968767945:payload-matches:true:localhost]

2022-07-05 23:03:51 | [Mutex] received everything.

2022-07-05 23:03:51 | [Mutex] isItemNotified: retrieved:item:item-4e2b2c75-894f-4f6a-9c94-b5d968767945:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-07-05 23:03:51 |

2022-07-05 23:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:51 | ------------------------------------

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

2022-07-05 23:03:51 | 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-6ade08a8-36b7-4907-ab04-85a9327cd3ce</value><value>node-18be2463-9a03-4666-a864-e8f16c0edc02</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-05 23:03:51 |

2022-07-05 23:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:51 | ------------------------------------

2022-07-05 23:03:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6ade08a8-36b7-4907-ab04-85a9327cd3ce)</node-pattern></data>

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

subscribeNodes 1.095s
2022-07-05 23:03:50 |

2022-07-05 23:03:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:50 | ------------------------------------

2022-07-05 23:03:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.245s
2022-07-05 23:03:52 |

2022-07-05 23:03:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 23:03:52 | ------------------------------------

2022-07-05 23:03:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6ade08a8-36b7-4907-ab04-85a9327cd3ce</node><jids><value>admin@test-domain.com</value></jids></data>

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