Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 31 March 2021
root@87f6aca6b6f2 / 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.084s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.140s
2021-03-31 22:28:22 |

2021-03-31 22:28:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:22 | ------------------------------------

2021-03-31 22:28:22 | [Mutex] waiting for: [configured:node:node-f9101074-deb2-4327-848a-720063ef9146:node-dc290c98-dabd-40d4-a493-1ff452d2ec53]

2021-03-31 22:28:22 | [Mutex] received everything.

2021-03-31 22:28:22 | [Mutex] isItemNotified: configured:node:node-f9101074-deb2-4327-848a-720063ef9146:node-dc290c98-dabd-40d4-a493-1ff452d2ec53 :: true

2021-03-31 22:28:23 | [Mutex] waiting for: [received:nodes:5fefb97b-c811-494a-b084-8491523d0a07:localhost]

2021-03-31 22:28:23 | [Mutex] received everything.

2021-03-31 22:28:23 | [Mutex] isItemNotified: received:node:5fefb97b-c811-494a-b084-8491523d0a07:localhost:node-f9101074-deb2-4327-848a-720063ef9146:Node f9101074-deb2-4327-848a-720063ef9146 :: true

2021-03-31 22:28:23 | [Mutex] waiting for: [received:nodes:3ffaecf6-5c41-4330-866b-e11a7958b313:localhost]

2021-03-31 22:28:23 | [Mutex] waiting for: [received:nodes:3ffaecf6-5c41-4330-866b-e11a7958b313:localhost]

2021-03-31 22:28:23 | [Mutex] waiting for: [received:nodes:3ffaecf6-5c41-4330-866b-e11a7958b313:localhost]

2021-03-31 22:28:23 | [Mutex] received everything.

2021-03-31 22:28:23 | [Mutex] isItemNotified: received:node:3ffaecf6-5c41-4330-866b-e11a7958b313:localhost:node-f9101074-deb2-4327-848a-720063ef9146:Node f9101074-deb2-4327-848a-720063ef9146 :: false

createNodes 1.444s
2021-03-31 22:28:19 |

2021-03-31 22:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:19 | ------------------------------------

2021-03-31 22:28:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f9101074-deb2-4327-848a-720063ef9146</title></pubsub></data>

2021-03-31 22:28:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:28:21 | [Mutex] waiting for: [received:nodes:f06166b1-286b-467e-8a15-ffb3d573ba97:localhost]

2021-03-31 22:28:21 | [Mutex] received everything.

2021-03-31 22:28:21 | [Mutex] isItemNotified: received:node:f06166b1-286b-467e-8a15-ffb3d573ba97:localhost:node-f9101074-deb2-4327-848a-720063ef9146:Node f9101074-deb2-4327-848a-720063ef9146 :: true

createSubnodes 1.031s
2021-03-31 22:28:21 |

2021-03-31 22:28:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:21 | ------------------------------------

2021-03-31 22:28:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc290c98-dabd-40d4-a493-1ff452d2ec53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dc290c98-dabd-40d4-a493-1ff452d2ec53</title></pubsub></data>

2021-03-31 22:28:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:28:22 | [Mutex] waiting for: [received:nodes:398ef109-695d-4e97-813f-f0ce026cb1f1:localhost]

2021-03-31 22:28:22 | [Mutex] received everything.

2021-03-31 22:28:22 | [Mutex] isItemNotified: received:node:398ef109-695d-4e97-813f-f0ce026cb1f1:localhost:node-dc290c98-dabd-40d4-a493-1ff452d2ec53:Node dc290c98-dabd-40d4-a493-1ff452d2ec53 :: true

deleteNodes 1.023s
2021-03-31 22:28:28 |

2021-03-31 22:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:28 | ------------------------------------

2021-03-31 22:28:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc290c98-dabd-40d4-a493-1ff452d2ec53</node></data>

2021-03-31 22:28:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:28:29 | [Mutex] waiting for: [received:nodes:336b9eb6-d574-4a6a-8753-67b05daa7153:localhost]

2021-03-31 22:28:29 | [Mutex] received everything.

2021-03-31 22:28:29 | [Mutex] isItemNotified: received:node:336b9eb6-d574-4a6a-8753-67b05daa7153:localhost:node-dc290c98-dabd-40d4-a493-1ff452d2ec53:Node dc290c98-dabd-40d4-a493-1ff452d2ec53 :: false

deleteSubnodes 1.137s
2021-03-31 22:28:26 |

2021-03-31 22:28:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:26 | ------------------------------------

2021-03-31 22:28:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node></data>

2021-03-31 22:28:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-31 22:28:28 | [Mutex] waiting for: [received:nodes:418a834b-7d28-47cc-ba01-50e9e2c3b51c:localhost]

2021-03-31 22:28:28 | [Mutex] waiting for: [received:nodes:418a834b-7d28-47cc-ba01-50e9e2c3b51c:localhost]

2021-03-31 22:28:28 | [Mutex] received everything.

2021-03-31 22:28:28 | [Mutex] isItemNotified: received:node:418a834b-7d28-47cc-ba01-50e9e2c3b51c:localhost:node-f9101074-deb2-4327-848a-720063ef9146:Node f9101074-deb2-4327-848a-720063ef9146 :: false

2021-03-31 22:28:28 | [Mutex] waiting for: [received:nodes:b1ea585b-3e9b-4ccd-a902-a232e3356556:localhost]

2021-03-31 22:28:28 | [Mutex] received everything.

2021-03-31 22:28:28 | [Mutex] isItemNotified: received:node:b1ea585b-3e9b-4ccd-a902-a232e3356556:localhost:node-f9101074-deb2-4327-848a-720063ef9146:Node f9101074-deb2-4327-848a-720063ef9146 :: false

publishItemsToNodes 0.269s
2021-03-31 22:28:24 |

2021-03-31 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:24 | ------------------------------------

2021-03-31 22:28:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><item-id>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</item-id><entry><test>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</test></entry></data>

2021-03-31 22:28:24 | 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-6026ba1a-bb89-495e-8137-0b90ebaffe7c</value></item-id></result>

2021-03-31 22:28:24 | [Mutex] waiting for: [published:item:notifieditem-6026ba1a-bb89-495e-8137-0b90ebaffe7c:admin@test-domain.com]

2021-03-31 22:28:24 | [Mutex] received everything.

2021-03-31 22:28:24 | [Mutex] isItemNotified: published:item:notifieditem-6026ba1a-bb89-495e-8137-0b90ebaffe7c:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2021-03-31 22:28:25 |

2021-03-31 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:25 | ------------------------------------

2021-03-31 22:28:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><item-id>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</item-id></data>

2021-03-31 22:28:25 | 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-6026ba1a-bb89-495e-8137-0b90ebaffe7c</value></item-id></result>

2021-03-31 22:28:25 | [Mutex] received everything.

2021-03-31 22:28:25 | [Mutex] isItemNotified: retracted:item:notifieditem-6026ba1a-bb89-495e-8137-0b90ebaffe7c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2021-03-31 22:28:24 |

2021-03-31 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:24 | ------------------------------------

2021-03-31 22:28:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><item-id>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</item-id></data>

2021-03-31 22:28:25 | 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-f9101074-deb2-4327-848a-720063ef9146</value></node><item-id label="Item ID" type="text-single"><value>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</value></item-id><item label="Item" type="text-multi"><value><item id="item-6026ba1a-bb89-495e-8137-0b90ebaffe7c"><test>item-6026ba1a-bb89-495e-8137-0b90ebaffe7c</test></item></value></item></result>

2021-03-31 22:28:25 | [Mutex] notify: [retrieved:item:item-6026ba1a-bb89-495e-8137-0b90ebaffe7c:payload-matches:true:localhost]

2021-03-31 22:28:25 | [Mutex] received everything.

2021-03-31 22:28:25 | [Mutex] isItemNotified: retrieved:item:item-6026ba1a-bb89-495e-8137-0b90ebaffe7c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-31 22:28:25 |

2021-03-31 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:25 | ------------------------------------

2021-03-31 22:28:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-31 22:28:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-dc290c98-dabd-40d4-a493-1ff452d2ec53</value><value>test</value><value>node-f9101074-deb2-4327-848a-720063ef9146</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.065s
2021-03-31 22:28:25 |

2021-03-31 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:25 | ------------------------------------

2021-03-31 22:28:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f9101074-deb2-4327-848a-720063ef9146)</node-pattern></data>

2021-03-31 22:28:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2021-03-31 22:28:23 |

2021-03-31 22:28:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:23 | ------------------------------------

2021-03-31 22:28:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 22:28:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.253s
2021-03-31 22:28:25 |

2021-03-31 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-31 22:28:25 | ------------------------------------

2021-03-31 22:28:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f9101074-deb2-4327-848a-720063ef9146</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-31 22:28:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>