Generated by TestNG with ReportNG at 21:21 PST on Wednesday 30 December 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 : 9.953s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2020-12-30 21:37:20 |

2020-12-30 21:37:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:20 | ------------------------------------

2020-12-30 21:37:20 | [Mutex] waiting for: [configured:node:node-56a32940-eaa4-4024-a60a-8e9a4147d473:node-567f6fed-e1da-41d4-a426-150de95e96ec]

2020-12-30 21:37:20 | [Mutex] received everything.

2020-12-30 21:37:20 | [Mutex] isItemNotified: configured:node:node-56a32940-eaa4-4024-a60a-8e9a4147d473:node-567f6fed-e1da-41d4-a426-150de95e96ec :: true

2020-12-30 21:37:21 | [Mutex] waiting for: [received:nodes:595bff53-e262-4520-a96f-e28d843b6da1:localhost]

2020-12-30 21:37:21 | [Mutex] received everything.

2020-12-30 21:37:21 | [Mutex] isItemNotified: received:node:595bff53-e262-4520-a96f-e28d843b6da1:localhost:node-56a32940-eaa4-4024-a60a-8e9a4147d473:Node 56a32940-eaa4-4024-a60a-8e9a4147d473 :: true

2020-12-30 21:37:21 | [Mutex] waiting for: [received:nodes:6d177f32-0d10-4aad-a17f-85c32617524b:localhost]

2020-12-30 21:37:21 | [Mutex] received everything.

2020-12-30 21:37:21 | [Mutex] isItemNotified: received:node:6d177f32-0d10-4aad-a17f-85c32617524b:localhost:node-56a32940-eaa4-4024-a60a-8e9a4147d473:Node 56a32940-eaa4-4024-a60a-8e9a4147d473 :: false

createNodes 1.402s
2020-12-30 21:37:17 |

2020-12-30 21:37:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:17 | ------------------------------------

2020-12-30 21:37:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56a32940-eaa4-4024-a60a-8e9a4147d473</title></pubsub></data>

2020-12-30 21:37:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:37:18 | [Mutex] waiting for: [received:nodes:2dc262a1-d3cd-4d41-bf2a-4fbc424afedc:localhost]

2020-12-30 21:37:18 | [Mutex] waiting for: [received:nodes:2dc262a1-d3cd-4d41-bf2a-4fbc424afedc:localhost]

2020-12-30 21:37:18 | [Mutex] waiting for: [received:nodes:2dc262a1-d3cd-4d41-bf2a-4fbc424afedc:localhost]

2020-12-30 21:37:18 | [Mutex] received everything.

2020-12-30 21:37:18 | [Mutex] isItemNotified: received:node:2dc262a1-d3cd-4d41-bf2a-4fbc424afedc:localhost:node-56a32940-eaa4-4024-a60a-8e9a4147d473:Node 56a32940-eaa4-4024-a60a-8e9a4147d473 :: true

createSubnodes 1.026s
2020-12-30 21:37:18 |

2020-12-30 21:37:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:18 | ------------------------------------

2020-12-30 21:37:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-567f6fed-e1da-41d4-a426-150de95e96ec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 567f6fed-e1da-41d4-a426-150de95e96ec</title></pubsub></data>

2020-12-30 21:37:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:37:19 | [Mutex] waiting for: [received:nodes:cd8cdf07-6b89-4d62-b224-8783a7e3f1cf:localhost]

2020-12-30 21:37:20 | [Mutex] received everything.

2020-12-30 21:37:20 | [Mutex] isItemNotified: received:node:cd8cdf07-6b89-4d62-b224-8783a7e3f1cf:localhost:node-567f6fed-e1da-41d4-a426-150de95e96ec:Node 567f6fed-e1da-41d4-a426-150de95e96ec :: true

deleteNodes 1.018s
2020-12-30 21:37:25 |

2020-12-30 21:37:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:25 | ------------------------------------

2020-12-30 21:37:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-567f6fed-e1da-41d4-a426-150de95e96ec</node></data>

2020-12-30 21:37:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:37:26 | [Mutex] waiting for: [received:nodes:1cfa8935-c573-4106-8846-1f432fa60c62:localhost]

2020-12-30 21:37:26 | [Mutex] received everything.

2020-12-30 21:37:26 | [Mutex] isItemNotified: received:node:1cfa8935-c573-4106-8846-1f432fa60c62:localhost:node-567f6fed-e1da-41d4-a426-150de95e96ec:Node 567f6fed-e1da-41d4-a426-150de95e96ec :: false

deleteSubnodes 1.176s
2020-12-30 21:37:24 |

2020-12-30 21:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:24 | ------------------------------------

2020-12-30 21:37:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node></data>

2020-12-30 21:37:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-30 21:37:25 | [Mutex] waiting for: [received:nodes:09a68024-f07e-456d-9057-63970613de57:localhost]

2020-12-30 21:37:25 | [Mutex] received everything.

2020-12-30 21:37:25 | [Mutex] isItemNotified: received:node:09a68024-f07e-456d-9057-63970613de57:localhost:node-56a32940-eaa4-4024-a60a-8e9a4147d473:Node 56a32940-eaa4-4024-a60a-8e9a4147d473 :: false

2020-12-30 21:37:25 | [Mutex] waiting for: [received:nodes:8ef0e35c-6e51-4eb2-ae50-57764763b407:localhost]

2020-12-30 21:37:25 | [Mutex] received everything.

2020-12-30 21:37:25 | [Mutex] isItemNotified: received:node:8ef0e35c-6e51-4eb2-ae50-57764763b407:localhost:node-56a32940-eaa4-4024-a60a-8e9a4147d473:Node 56a32940-eaa4-4024-a60a-8e9a4147d473 :: false

publishItemsToNodes 0.318s
2020-12-30 21:37:22 |

2020-12-30 21:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:22 | ------------------------------------

2020-12-30 21:37:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><item-id>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</item-id><entry><test>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</test></entry></data>

2020-12-30 21:37:22 | 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-94144e9f-0bd0-406d-b957-df5ef488bc3f</value></item-id></result>

2020-12-30 21:37:22 | [Mutex] received everything.

2020-12-30 21:37:22 | [Mutex] isItemNotified: published:item:notifieditem-94144e9f-0bd0-406d-b957-df5ef488bc3f:admin@test-domain.com :: true

retractItemsFromNodes 0.216s
2020-12-30 21:37:22 |

2020-12-30 21:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:22 | ------------------------------------

2020-12-30 21:37:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><item-id>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</item-id></data>

2020-12-30 21:37:23 | 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-94144e9f-0bd0-406d-b957-df5ef488bc3f</value></item-id></result>

2020-12-30 21:37:23 | [Mutex] received everything.

2020-12-30 21:37:23 | [Mutex] isItemNotified: retracted:item:notifieditem-94144e9f-0bd0-406d-b957-df5ef488bc3f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2020-12-30 21:37:22 |

2020-12-30 21:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:22 | ------------------------------------

2020-12-30 21:37:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><item-id>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</item-id></data>

2020-12-30 21:37:22 | 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-56a32940-eaa4-4024-a60a-8e9a4147d473</value></node><item-id label="Item ID" type="text-single"><value>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</value></item-id><item label="Item" type="text-multi"><value><item id="item-94144e9f-0bd0-406d-b957-df5ef488bc3f"><test>item-94144e9f-0bd0-406d-b957-df5ef488bc3f</test></item></value></item></result>

2020-12-30 21:37:22 | [Mutex] notify: [retrieved:item:item-94144e9f-0bd0-406d-b957-df5ef488bc3f:payload-matches:true:localhost]

2020-12-30 21:37:22 | [Mutex] received everything.

2020-12-30 21:37:22 | [Mutex] isItemNotified: retrieved:item:item-94144e9f-0bd0-406d-b957-df5ef488bc3f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-30 21:37:22 |

2020-12-30 21:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:22 | ------------------------------------

2020-12-30 21:37:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-30 21:37:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-56a32940-eaa4-4024-a60a-8e9a4147d473</value><value>test</value><value>node-567f6fed-e1da-41d4-a426-150de95e96ec</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-12-30 21:37:22 |

2020-12-30 21:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:22 | ------------------------------------

2020-12-30 21:37:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56a32940-eaa4-4024-a60a-8e9a4147d473)</node-pattern></data>

2020-12-30 21:37:22 | 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-12-30 21:37:21 |

2020-12-30 21:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:21 | ------------------------------------

2020-12-30 21:37:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 21:37:21 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.294s
2020-12-30 21:37:23 |

2020-12-30 21:37:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-30 21:37:23 | ------------------------------------

2020-12-30 21:37:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56a32940-eaa4-4024-a60a-8e9a4147d473</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-30 21:37:23 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>