Generated by TestNG with ReportNG at 22:26 PDT on Sunday 13 September 2020
root@bb2e6c1b4ae6 / 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 : 9.965s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2020-09-13 22:41:00 |

2020-09-13 22:41:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:00 | ------------------------------------

2020-09-13 22:41:00 | [Mutex] waiting for: [configured:node:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:node-ece51388-64d8-4d9d-ab71-e467102c092a]

2020-09-13 22:41:00 | [Mutex] received everything.

2020-09-13 22:41:00 | [Mutex] isItemNotified: configured:node:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:node-ece51388-64d8-4d9d-ab71-e467102c092a :: true

2020-09-13 22:41:01 | [Mutex] waiting for: [received:nodes:6e060468-64f6-476e-a6c5-9d3919b18bec:localhost]

2020-09-13 22:41:01 | [Mutex] received everything.

2020-09-13 22:41:01 | [Mutex] isItemNotified: received:node:6e060468-64f6-476e-a6c5-9d3919b18bec:localhost:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:Node 775503c1-cb6a-44c6-938a-5beae4cf2e20 :: true

2020-09-13 22:41:01 | [Mutex] waiting for: [received:nodes:c47a66a4-fdf0-4fff-a474-0b3be58f293d:localhost]

2020-09-13 22:41:01 | [Mutex] waiting for: [received:nodes:c47a66a4-fdf0-4fff-a474-0b3be58f293d:localhost]

2020-09-13 22:41:01 | [Mutex] received everything.

2020-09-13 22:41:01 | [Mutex] isItemNotified: received:node:c47a66a4-fdf0-4fff-a474-0b3be58f293d:localhost:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:Node 775503c1-cb6a-44c6-938a-5beae4cf2e20 :: false

createNodes 1.358s
2020-09-13 22:40:57 |

2020-09-13 22:40:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:40:57 | ------------------------------------

2020-09-13 22:40:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 775503c1-cb6a-44c6-938a-5beae4cf2e20</title></pubsub></data>

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

2020-09-13 22:40:59 | [Mutex] waiting for: [received:nodes:60fbba28-a135-4f15-aed5-a8ac4d3aa85d:localhost]

2020-09-13 22:40:59 | [Mutex] received everything.

2020-09-13 22:40:59 | [Mutex] isItemNotified: received:node:60fbba28-a135-4f15-aed5-a8ac4d3aa85d:localhost:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:Node 775503c1-cb6a-44c6-938a-5beae4cf2e20 :: true

createSubnodes 1.026s
2020-09-13 22:40:59 |

2020-09-13 22:40:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:40:59 | ------------------------------------

2020-09-13 22:40:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ece51388-64d8-4d9d-ab71-e467102c092a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ece51388-64d8-4d9d-ab71-e467102c092a</title></pubsub></data>

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

2020-09-13 22:41:00 | [Mutex] waiting for: [received:nodes:96e30667-1822-4e55-a380-0e40f3289124:localhost]

2020-09-13 22:41:00 | [Mutex] received everything.

2020-09-13 22:41:00 | [Mutex] isItemNotified: received:node:96e30667-1822-4e55-a380-0e40f3289124:localhost:node-ece51388-64d8-4d9d-ab71-e467102c092a:Node ece51388-64d8-4d9d-ab71-e467102c092a :: true

deleteNodes 1.038s
2020-09-13 22:41:05 |

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

2020-09-13 22:41:05 | ------------------------------------

2020-09-13 22:41:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ece51388-64d8-4d9d-ab71-e467102c092a</node></data>

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

2020-09-13 22:41:06 | [Mutex] waiting for: [received:nodes:3a5d703e-f95d-44bb-b885-fcb1892b6d94:localhost]

2020-09-13 22:41:06 | [Mutex] received everything.

2020-09-13 22:41:06 | [Mutex] isItemNotified: received:node:3a5d703e-f95d-44bb-b885-fcb1892b6d94:localhost:node-ece51388-64d8-4d9d-ab71-e467102c092a:Node ece51388-64d8-4d9d-ab71-e467102c092a :: false

deleteSubnodes 1.139s
2020-09-13 22:41:04 |

2020-09-13 22:41:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:04 | ------------------------------------

2020-09-13 22:41:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node></data>

2020-09-13 22:41:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-13 22:41:05 | [Mutex] waiting for: [received:nodes:b81a5625-9778-4a5d-a4de-03a990c2a479:localhost]

2020-09-13 22:41:05 | [Mutex] received everything.

2020-09-13 22:41:05 | [Mutex] isItemNotified: received:node:b81a5625-9778-4a5d-a4de-03a990c2a479:localhost:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:Node 775503c1-cb6a-44c6-938a-5beae4cf2e20 :: false

2020-09-13 22:41:05 | [Mutex] waiting for: [received:nodes:38cb8968-d88d-40bf-925c-2a62a98fc68d:localhost]

2020-09-13 22:41:05 | [Mutex] received everything.

2020-09-13 22:41:05 | [Mutex] isItemNotified: received:node:38cb8968-d88d-40bf-925c-2a62a98fc68d:localhost:node-775503c1-cb6a-44c6-938a-5beae4cf2e20:Node 775503c1-cb6a-44c6-938a-5beae4cf2e20 :: false

publishItemsToNodes 0.271s
2020-09-13 22:41:02 |

2020-09-13 22:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:02 | ------------------------------------

2020-09-13 22:41:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><item-id>item-def2657b-b6d1-4e05-ad77-fce1260174e7</item-id><entry><test>item-def2657b-b6d1-4e05-ad77-fce1260174e7</test></entry></data>

2020-09-13 22:41:02 | 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-def2657b-b6d1-4e05-ad77-fce1260174e7</value></item-id></result>

2020-09-13 22:41:02 | [Mutex] received everything.

2020-09-13 22:41:02 | [Mutex] isItemNotified: published:item:notifieditem-def2657b-b6d1-4e05-ad77-fce1260174e7:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2020-09-13 22:41:02 |

2020-09-13 22:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:02 | ------------------------------------

2020-09-13 22:41:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><item-id>item-def2657b-b6d1-4e05-ad77-fce1260174e7</item-id></data>

2020-09-13 22:41:03 | 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-def2657b-b6d1-4e05-ad77-fce1260174e7</value></item-id></result>

2020-09-13 22:41:03 | [Mutex] received everything.

2020-09-13 22:41:03 | [Mutex] isItemNotified: retracted:item:notifieditem-def2657b-b6d1-4e05-ad77-fce1260174e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.231s
2020-09-13 22:41:02 |

2020-09-13 22:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:02 | ------------------------------------

2020-09-13 22:41:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><item-id>item-def2657b-b6d1-4e05-ad77-fce1260174e7</item-id></data>

2020-09-13 22:41:02 | 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-775503c1-cb6a-44c6-938a-5beae4cf2e20</value></node><item-id label="Item ID" type="text-single"><value>item-def2657b-b6d1-4e05-ad77-fce1260174e7</value></item-id><item label="Item" type="text-multi"><value><item id="item-def2657b-b6d1-4e05-ad77-fce1260174e7"><test>item-def2657b-b6d1-4e05-ad77-fce1260174e7</test></item></value></item></result>

2020-09-13 22:41:02 | [Mutex] notify: [retrieved:item:item-def2657b-b6d1-4e05-ad77-fce1260174e7:payload-matches:true:localhost]

2020-09-13 22:41:02 | [Mutex] received everything.

2020-09-13 22:41:02 | [Mutex] isItemNotified: retrieved:item:item-def2657b-b6d1-4e05-ad77-fce1260174e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-13 22:41:02 |

2020-09-13 22:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:02 | ------------------------------------

2020-09-13 22:41:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-13 22:41:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-ece51388-64d8-4d9d-ab71-e467102c092a</value><value>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-13 22:41:02 |

2020-09-13 22:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:02 | ------------------------------------

2020-09-13 22:41:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-775503c1-cb6a-44c6-938a-5beae4cf2e20)</node-pattern></data>

2020-09-13 22:41:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.145s
2020-09-13 22:41:01 |

2020-09-13 22:41:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:01 | ------------------------------------

2020-09-13 22:41:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-13 22:41:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.308s
2020-09-13 22:41:03 |

2020-09-13 22:41:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-13 22:41:03 | ------------------------------------

2020-09-13 22:41:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-775503c1-cb6a-44c6-938a-5beae4cf2e20</node><jids><value>admin@test-domain.com</value></jids></data>

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