Generated by TestNG with ReportNG at 10:14 PDT on Friday 23 April 2021
root@785cf647a4ab / 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.270s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2021-04-23 10:31:15 |

2021-04-23 10:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:15 | ------------------------------------

2021-04-23 10:31:15 | [Mutex] waiting for: [configured:node:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:node-f54e0d21-cd29-45f7-8d3a-bb2eda810006]

2021-04-23 10:31:15 | [Mutex] received everything.

2021-04-23 10:31:15 | [Mutex] isItemNotified: configured:node:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:node-f54e0d21-cd29-45f7-8d3a-bb2eda810006 :: true

2021-04-23 10:31:16 | [Mutex] waiting for: [received:nodes:f4c7c946-01d7-4ce1-a6d4-2d3f284669e8:localhost]

2021-04-23 10:31:16 | [Mutex] received everything.

2021-04-23 10:31:16 | [Mutex] isItemNotified: received:node:f4c7c946-01d7-4ce1-a6d4-2d3f284669e8:localhost:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940 :: true

2021-04-23 10:31:16 | [Mutex] waiting for: [received:nodes:382ae7c6-1f19-44ad-9ea6-a49cd086b579:localhost]

2021-04-23 10:31:16 | [Mutex] received everything.

2021-04-23 10:31:16 | [Mutex] isItemNotified: received:node:382ae7c6-1f19-44ad-9ea6-a49cd086b579:localhost:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940 :: false

createNodes 1.537s
2021-04-23 10:31:12 |

2021-04-23 10:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:12 | ------------------------------------

2021-04-23 10:31:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940</title></pubsub></data>

2021-04-23 10:31:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:31:14 | [Mutex] waiting for: [received:nodes:8142b90f-8588-4c81-ba18-1f14061613e0:localhost]

2021-04-23 10:31:14 | [Mutex] waiting for: [received:nodes:8142b90f-8588-4c81-ba18-1f14061613e0:localhost]

2021-04-23 10:31:14 | [Mutex] received everything.

2021-04-23 10:31:14 | [Mutex] isItemNotified: received:node:8142b90f-8588-4c81-ba18-1f14061613e0:localhost:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940 :: true

createSubnodes 1.027s
2021-04-23 10:31:14 |

2021-04-23 10:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:14 | ------------------------------------

2021-04-23 10:31:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f54e0d21-cd29-45f7-8d3a-bb2eda810006</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f54e0d21-cd29-45f7-8d3a-bb2eda810006</title></pubsub></data>

2021-04-23 10:31:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:31:15 | [Mutex] waiting for: [received:nodes:d1805fcb-fc67-4f85-a6c5-8583c75537ab:localhost]

2021-04-23 10:31:15 | [Mutex] received everything.

2021-04-23 10:31:15 | [Mutex] isItemNotified: received:node:d1805fcb-fc67-4f85-a6c5-8583c75537ab:localhost:node-f54e0d21-cd29-45f7-8d3a-bb2eda810006:Node f54e0d21-cd29-45f7-8d3a-bb2eda810006 :: true

deleteNodes 1.026s
2021-04-23 10:31:21 |

2021-04-23 10:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:21 | ------------------------------------

2021-04-23 10:31:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f54e0d21-cd29-45f7-8d3a-bb2eda810006</node></data>

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

2021-04-23 10:31:22 | [Mutex] waiting for: [received:nodes:a0a86be0-48e6-4b1d-a3ad-b856d8b06fa5:localhost]

2021-04-23 10:31:22 | [Mutex] received everything.

2021-04-23 10:31:22 | [Mutex] isItemNotified: received:node:a0a86be0-48e6-4b1d-a3ad-b856d8b06fa5:localhost:node-f54e0d21-cd29-45f7-8d3a-bb2eda810006:Node f54e0d21-cd29-45f7-8d3a-bb2eda810006 :: false

deleteSubnodes 1.187s
2021-04-23 10:31:19 |

2021-04-23 10:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:19 | ------------------------------------

2021-04-23 10:31:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node></data>

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

2021-04-23 10:31:21 | [Mutex] waiting for: [received:nodes:f6b9cd55-e881-4068-9422-cdf6a48577b5:localhost]

2021-04-23 10:31:21 | [Mutex] waiting for: [received:nodes:f6b9cd55-e881-4068-9422-cdf6a48577b5:localhost]

2021-04-23 10:31:21 | [Mutex] received everything.

2021-04-23 10:31:21 | [Mutex] isItemNotified: received:node:f6b9cd55-e881-4068-9422-cdf6a48577b5:localhost:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940 :: false

2021-04-23 10:31:21 | [Mutex] waiting for: [received:nodes:cab8c084-d236-4556-bf81-781845a6f527:localhost]

2021-04-23 10:31:21 | [Mutex] received everything.

2021-04-23 10:31:21 | [Mutex] isItemNotified: received:node:cab8c084-d236-4556-bf81-781845a6f527:localhost:node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940:Node c048fc8e-2e6a-470f-ad8d-ebfdfc809940 :: false

publishItemsToNodes 0.255s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

2021-04-23 10:31:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><item-id>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</item-id><entry><test>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</test></entry></data>

2021-04-23 10:31:17 | 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-98af17d8-c6d7-4611-8296-cdf1d541f34b</value></item-id></result>

2021-04-23 10:31:17 | [Mutex] received everything.

2021-04-23 10:31:17 | [Mutex] isItemNotified: published:item:notifieditem-98af17d8-c6d7-4611-8296-cdf1d541f34b:admin@test-domain.com :: true

retractItemsFromNodes 0.177s
2021-04-23 10:31:18 |

2021-04-23 10:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:18 | ------------------------------------

2021-04-23 10:31:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><item-id>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</item-id></data>

2021-04-23 10:31:18 | 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-98af17d8-c6d7-4611-8296-cdf1d541f34b</value></item-id></result>

2021-04-23 10:31:18 | [Mutex] waiting for: [retracted:item:notifieditem-98af17d8-c6d7-4611-8296-cdf1d541f34b:admin@test-domain.com]

2021-04-23 10:31:18 | [Mutex] received everything.

2021-04-23 10:31:18 | [Mutex] isItemNotified: retracted:item:notifieditem-98af17d8-c6d7-4611-8296-cdf1d541f34b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.347s
2021-04-23 10:31:17 |

2021-04-23 10:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:17 | ------------------------------------

2021-04-23 10:31:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><item-id>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</item-id></data>

2021-04-23 10:31:18 | 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-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</value></node><item-id label="Item ID" type="text-single"><value>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</value></item-id><item label="Item" type="text-multi"><value><item id="item-98af17d8-c6d7-4611-8296-cdf1d541f34b"><test>item-98af17d8-c6d7-4611-8296-cdf1d541f34b</test></item></value></item></result>

2021-04-23 10:31:18 | [Mutex] notify: [retrieved:item:item-98af17d8-c6d7-4611-8296-cdf1d541f34b:payload-matches:true:localhost]

2021-04-23 10:31:18 | [Mutex] received everything.

2021-04-23 10:31:18 | [Mutex] isItemNotified: retrieved:item:item-98af17d8-c6d7-4611-8296-cdf1d541f34b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-23 10:31:18 |

2021-04-23 10:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:18 | ------------------------------------

2021-04-23 10:31:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-23 10:31:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f54e0d21-cd29-45f7-8d3a-bb2eda810006</value><value>test</value><value>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-23 10:31:18 |

2021-04-23 10:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:18 | ------------------------------------

2021-04-23 10:31:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940)</node-pattern></data>

2021-04-23 10:31:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.189s
2021-04-23 10:31:16 |

2021-04-23 10:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:16 | ------------------------------------

2021-04-23 10:31:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.325s
2021-04-23 10:31:18 |

2021-04-23 10:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:31:18 | ------------------------------------

2021-04-23 10:31:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c048fc8e-2e6a-470f-ad8d-ebfdfc809940</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-23 10:31:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>