Generated by TestNG with ReportNG at 22:17 PDT on Friday 09 October 2020
root@eaa73862192b / 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.008s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2020-10-09 22:33:24 |

2020-10-09 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:24 | ------------------------------------

2020-10-09 22:33:24 | [Mutex] waiting for: [configured:node:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:node-10936322-a55c-4ad3-ad00-d7874132bfd0]

2020-10-09 22:33:24 | [Mutex] received everything.

2020-10-09 22:33:24 | [Mutex] isItemNotified: configured:node:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:node-10936322-a55c-4ad3-ad00-d7874132bfd0 :: true

2020-10-09 22:33:25 | [Mutex] waiting for: [received:nodes:470b5412-966a-4b9c-968b-6a08f8e561a7:localhost]

2020-10-09 22:33:25 | [Mutex] received everything.

2020-10-09 22:33:25 | [Mutex] isItemNotified: received:node:470b5412-966a-4b9c-968b-6a08f8e561a7:localhost:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080 :: true

2020-10-09 22:33:25 | [Mutex] waiting for: [received:nodes:c2ab7f50-c367-4b6f-a878-bc157bef10cc:localhost]

2020-10-09 22:33:25 | [Mutex] waiting for: [received:nodes:c2ab7f50-c367-4b6f-a878-bc157bef10cc:localhost]

2020-10-09 22:33:25 | [Mutex] received everything.

2020-10-09 22:33:25 | [Mutex] isItemNotified: received:node:c2ab7f50-c367-4b6f-a878-bc157bef10cc:localhost:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080 :: false

createNodes 1.430s
2020-10-09 22:33:22 |

2020-10-09 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:22 | ------------------------------------

2020-10-09 22:33:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080</title></pubsub></data>

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

2020-10-09 22:33:23 | [Mutex] waiting for: [received:nodes:4c6640fd-223a-4266-946d-8d3eec54fb44:localhost]

2020-10-09 22:33:23 | [Mutex] received everything.

2020-10-09 22:33:23 | [Mutex] isItemNotified: received:node:4c6640fd-223a-4266-946d-8d3eec54fb44:localhost:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080 :: true

createSubnodes 1.030s
2020-10-09 22:33:23 |

2020-10-09 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:23 | ------------------------------------

2020-10-09 22:33:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-10936322-a55c-4ad3-ad00-d7874132bfd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 10936322-a55c-4ad3-ad00-d7874132bfd0</title></pubsub></data>

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

2020-10-09 22:33:24 | [Mutex] waiting for: [received:nodes:85097b31-dcfb-4e7d-90d0-bf5088a7e1a7:localhost]

2020-10-09 22:33:24 | [Mutex] received everything.

2020-10-09 22:33:24 | [Mutex] isItemNotified: received:node:85097b31-dcfb-4e7d-90d0-bf5088a7e1a7:localhost:node-10936322-a55c-4ad3-ad00-d7874132bfd0:Node 10936322-a55c-4ad3-ad00-d7874132bfd0 :: true

deleteNodes 1.023s
2020-10-09 22:33:30 |

2020-10-09 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:30 | ------------------------------------

2020-10-09 22:33:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-10936322-a55c-4ad3-ad00-d7874132bfd0</node></data>

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

2020-10-09 22:33:31 | [Mutex] waiting for: [received:nodes:f904a435-4a84-4739-adc5-1b3ba87399fc:localhost]

2020-10-09 22:33:31 | [Mutex] received everything.

2020-10-09 22:33:31 | [Mutex] isItemNotified: received:node:f904a435-4a84-4739-adc5-1b3ba87399fc:localhost:node-10936322-a55c-4ad3-ad00-d7874132bfd0:Node 10936322-a55c-4ad3-ad00-d7874132bfd0 :: false

deleteSubnodes 1.115s
2020-10-09 22:33:28 |

2020-10-09 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:28 | ------------------------------------

2020-10-09 22:33:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node></data>

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

2020-10-09 22:33:29 | [Mutex] waiting for: [received:nodes:85077404-fbf5-4c97-a832-9cb1a18e5ffc:localhost]

2020-10-09 22:33:29 | [Mutex] received everything.

2020-10-09 22:33:29 | [Mutex] isItemNotified: received:node:85077404-fbf5-4c97-a832-9cb1a18e5ffc:localhost:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080 :: false

2020-10-09 22:33:29 | [Mutex] waiting for: [received:nodes:6bd47bc7-0223-46d0-8d9f-aeb727828875:localhost]

2020-10-09 22:33:30 | [Mutex] received everything.

2020-10-09 22:33:30 | [Mutex] isItemNotified: received:node:6bd47bc7-0223-46d0-8d9f-aeb727828875:localhost:node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080:Node 9c0de441-6cbd-41a1-aec1-2d91dc0eb080 :: false

publishItemsToNodes 0.231s
2020-10-09 22:33:26 |

2020-10-09 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:26 | ------------------------------------

2020-10-09 22:33:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><item-id>item-5023e6e5-db35-4570-9625-5ac919225c5b</item-id><entry><test>item-5023e6e5-db35-4570-9625-5ac919225c5b</test></entry></data>

2020-10-09 22:33:26 | 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-5023e6e5-db35-4570-9625-5ac919225c5b</value></item-id></result>

2020-10-09 22:33:26 | [Mutex] received everything.

2020-10-09 22:33:26 | [Mutex] isItemNotified: published:item:notifieditem-5023e6e5-db35-4570-9625-5ac919225c5b:admin@test-domain.com :: true

retractItemsFromNodes 0.228s
2020-10-09 22:33:27 |

2020-10-09 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:27 | ------------------------------------

2020-10-09 22:33:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><item-id>item-5023e6e5-db35-4570-9625-5ac919225c5b</item-id></data>

2020-10-09 22:33:27 | 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-5023e6e5-db35-4570-9625-5ac919225c5b</value></item-id></result>

2020-10-09 22:33:27 | [Mutex] received everything.

2020-10-09 22:33:27 | [Mutex] isItemNotified: retracted:item:notifieditem-5023e6e5-db35-4570-9625-5ac919225c5b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.287s
2020-10-09 22:33:26 |

2020-10-09 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:26 | ------------------------------------

2020-10-09 22:33:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><item-id>item-5023e6e5-db35-4570-9625-5ac919225c5b</item-id></data>

2020-10-09 22:33:27 | 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-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</value></node><item-id label="Item ID" type="text-single"><value>item-5023e6e5-db35-4570-9625-5ac919225c5b</value></item-id><item label="Item" type="text-multi"><value><item id="item-5023e6e5-db35-4570-9625-5ac919225c5b"><test>item-5023e6e5-db35-4570-9625-5ac919225c5b</test></item></value></item></result>

2020-10-09 22:33:27 | [Mutex] notify: [retrieved:item:item-5023e6e5-db35-4570-9625-5ac919225c5b:payload-matches:true:localhost]

2020-10-09 22:33:27 | [Mutex] received everything.

2020-10-09 22:33:27 | [Mutex] isItemNotified: retrieved:item:item-5023e6e5-db35-4570-9625-5ac919225c5b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-09 22:33:27 |

2020-10-09 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:27 | ------------------------------------

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

2020-10-09 22:33:27 | 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-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</value><value>node-10936322-a55c-4ad3-ad00-d7874132bfd0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-09 22:33:27 |

2020-10-09 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:27 | ------------------------------------

2020-10-09 22:33:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080)</node-pattern></data>

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

subscribeNodes 1.090s
2020-10-09 22:33:25 |

2020-10-09 22:33:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:25 | ------------------------------------

2020-10-09 22:33:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.299s
2020-10-09 22:33:27 |

2020-10-09 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:33:27 | ------------------------------------

2020-10-09 22:33:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9c0de441-6cbd-41a1-aec1-2d91dc0eb080</node><jids><value>admin@test-domain.com</value></jids></data>

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