Generated by TestNG with ReportNG at 07:53 PST on Tuesday 24 November 2020
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 : 9.867s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2020-11-24 08:09:36 |

2020-11-24 08:09:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:36 | ------------------------------------

2020-11-24 08:09:36 | [Mutex] waiting for: [configured:node:node-614de9b3-6260-43c1-87f7-d640511124d6:node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155]

2020-11-24 08:09:36 | [Mutex] received everything.

2020-11-24 08:09:36 | [Mutex] isItemNotified: configured:node:node-614de9b3-6260-43c1-87f7-d640511124d6:node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155 :: true

2020-11-24 08:09:37 | [Mutex] waiting for: [received:nodes:d1200eda-5fd2-4d2c-b967-3101cc0b389f:localhost]

2020-11-24 08:09:37 | [Mutex] received everything.

2020-11-24 08:09:37 | [Mutex] isItemNotified: received:node:d1200eda-5fd2-4d2c-b967-3101cc0b389f:localhost:node-614de9b3-6260-43c1-87f7-d640511124d6:Node 614de9b3-6260-43c1-87f7-d640511124d6 :: true

2020-11-24 08:09:37 | [Mutex] waiting for: [received:nodes:90153e82-0d93-4c61-bb4c-46c6e01800c1:localhost]

2020-11-24 08:09:37 | [Mutex] received everything.

2020-11-24 08:09:37 | [Mutex] isItemNotified: received:node:90153e82-0d93-4c61-bb4c-46c6e01800c1:localhost:node-614de9b3-6260-43c1-87f7-d640511124d6:Node 614de9b3-6260-43c1-87f7-d640511124d6 :: false

createNodes 1.440s
2020-11-24 08:09:34 |

2020-11-24 08:09:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:34 | ------------------------------------

2020-11-24 08:09:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 614de9b3-6260-43c1-87f7-d640511124d6</title></pubsub></data>

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

2020-11-24 08:09:35 | [Mutex] waiting for: [received:nodes:af30780a-fb42-4ef4-815b-7ebe63928e77:localhost]

2020-11-24 08:09:35 | [Mutex] received everything.

2020-11-24 08:09:35 | [Mutex] isItemNotified: received:node:af30780a-fb42-4ef4-815b-7ebe63928e77:localhost:node-614de9b3-6260-43c1-87f7-d640511124d6:Node 614de9b3-6260-43c1-87f7-d640511124d6 :: true

createSubnodes 1.022s
2020-11-24 08:09:35 |

2020-11-24 08:09:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:35 | ------------------------------------

2020-11-24 08:09:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155</title></pubsub></data>

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

2020-11-24 08:09:36 | [Mutex] waiting for: [received:nodes:808ba8a3-cd27-4c9b-b118-cc53002a00a2:localhost]

2020-11-24 08:09:36 | [Mutex] received everything.

2020-11-24 08:09:36 | [Mutex] isItemNotified: received:node:808ba8a3-cd27-4c9b-b118-cc53002a00a2:localhost:node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155:Node a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155 :: true

deleteNodes 1.018s
2020-11-24 08:09:41 |

2020-11-24 08:09:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:41 | ------------------------------------

2020-11-24 08:09:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155</node></data>

2020-11-24 08:09:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-24 08:09:43 | [Mutex] waiting for: [received:nodes:9ed38a1f-705e-4e57-a44c-148d5d4221fe:localhost]

2020-11-24 08:09:43 | [Mutex] received everything.

2020-11-24 08:09:43 | [Mutex] isItemNotified: received:node:9ed38a1f-705e-4e57-a44c-148d5d4221fe:localhost:node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155:Node a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155 :: false

deleteSubnodes 1.117s
2020-11-24 08:09:40 |

2020-11-24 08:09:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:40 | ------------------------------------

2020-11-24 08:09:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node></data>

2020-11-24 08:09:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-24 08:09:41 | [Mutex] waiting for: [received:nodes:ef1a07af-eb74-40d0-877c-09607c3b427d:localhost]

2020-11-24 08:09:41 | [Mutex] waiting for: [received:nodes:ef1a07af-eb74-40d0-877c-09607c3b427d:localhost]

2020-11-24 08:09:41 | [Mutex] received everything.

2020-11-24 08:09:41 | [Mutex] isItemNotified: received:node:ef1a07af-eb74-40d0-877c-09607c3b427d:localhost:node-614de9b3-6260-43c1-87f7-d640511124d6:Node 614de9b3-6260-43c1-87f7-d640511124d6 :: false

2020-11-24 08:09:41 | [Mutex] waiting for: [received:nodes:01b75215-4ac9-49c4-a857-67afd6283744:localhost]

2020-11-24 08:09:41 | [Mutex] received everything.

2020-11-24 08:09:41 | [Mutex] isItemNotified: received:node:01b75215-4ac9-49c4-a857-67afd6283744:localhost:node-614de9b3-6260-43c1-87f7-d640511124d6:Node 614de9b3-6260-43c1-87f7-d640511124d6 :: false

publishItemsToNodes 0.252s
2020-11-24 08:09:38 |

2020-11-24 08:09:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:38 | ------------------------------------

2020-11-24 08:09:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><item-id>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</item-id><entry><test>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</test></entry></data>

2020-11-24 08:09:38 | 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-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</value></item-id></result>

2020-11-24 08:09:38 | [Mutex] received everything.

2020-11-24 08:09:38 | [Mutex] isItemNotified: published:item:notifieditem-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-11-24 08:09:39 |

2020-11-24 08:09:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:39 | ------------------------------------

2020-11-24 08:09:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><item-id>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</item-id></data>

2020-11-24 08:09:39 | 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-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</value></item-id></result>

2020-11-24 08:09:39 | [Mutex] received everything.

2020-11-24 08:09:39 | [Mutex] isItemNotified: retracted:item:notifieditem-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49:admin@test-domain.com :: true

retrieveItemsFromNodes 0.315s
2020-11-24 08:09:38 |

2020-11-24 08:09:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:38 | ------------------------------------

2020-11-24 08:09:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><item-id>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</item-id></data>

2020-11-24 08:09:39 | 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-614de9b3-6260-43c1-87f7-d640511124d6</value></node><item-id label="Item ID" type="text-single"><value>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</value></item-id><item label="Item" type="text-multi"><value><item id="item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49"><test>item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49</test></item></value></item></result>

2020-11-24 08:09:39 | [Mutex] notify: [retrieved:item:item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49:payload-matches:true:localhost]

2020-11-24 08:09:39 | [Mutex] received everything.

2020-11-24 08:09:39 | [Mutex] isItemNotified: retrieved:item:item-a440f2f5-8e0e-4b99-81e8-6eea99ff5b49:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-24 08:09:39 |

2020-11-24 08:09:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:39 | ------------------------------------

2020-11-24 08:09:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-24 08:09:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a6bb1ff3-7640-4aec-a9dd-76fa1f6f0155</value><value>test</value><value>node-614de9b3-6260-43c1-87f7-d640511124d6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-24 08:09:39 |

2020-11-24 08:09:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:39 | ------------------------------------

2020-11-24 08:09:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-614de9b3-6260-43c1-87f7-d640511124d6)</node-pattern></data>

2020-11-24 08:09:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.103s
2020-11-24 08:09:37 |

2020-11-24 08:09:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:37 | ------------------------------------

2020-11-24 08:09:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2020-11-24 08:09:39 |

2020-11-24 08:09:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:09:39 | ------------------------------------

2020-11-24 08:09:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-614de9b3-6260-43c1-87f7-d640511124d6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-24 08:09:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>