Generated by TestNG with ReportNG at 03:59 PST on Friday 05 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 : 9.962s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-03-05 04:13:59 |

2021-03-05 04:13:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:13:59 | ------------------------------------

2021-03-05 04:13:59 | [Mutex] waiting for: [configured:node:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:node-b880275d-36c9-4d33-9306-753ebddf3423]

2021-03-05 04:13:59 | [Mutex] received everything.

2021-03-05 04:13:59 | [Mutex] isItemNotified: configured:node:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:node-b880275d-36c9-4d33-9306-753ebddf3423 :: true

2021-03-05 04:14:00 | [Mutex] waiting for: [received:nodes:67e2963e-0874-4a9d-8229-358c09c5626f:localhost]

2021-03-05 04:14:00 | [Mutex] received everything.

2021-03-05 04:14:00 | [Mutex] isItemNotified: received:node:67e2963e-0874-4a9d-8229-358c09c5626f:localhost:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:Node 68b8f935-32e4-4f11-920b-5b6cadcdab22 :: true

2021-03-05 04:14:00 | [Mutex] waiting for: [received:nodes:1f5291bc-0c96-46e7-a9ff-c60203debf0f:localhost]

2021-03-05 04:14:00 | [Mutex] received everything.

2021-03-05 04:14:00 | [Mutex] isItemNotified: received:node:1f5291bc-0c96-46e7-a9ff-c60203debf0f:localhost:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:Node 68b8f935-32e4-4f11-920b-5b6cadcdab22 :: false

createNodes 1.460s
2021-03-05 04:13:57 |

2021-03-05 04:13:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:13:57 | ------------------------------------

2021-03-05 04:13:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 68b8f935-32e4-4f11-920b-5b6cadcdab22</title></pubsub></data>

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

2021-03-05 04:13:58 | [Mutex] waiting for: [received:nodes:96d270e1-51e4-4fc3-a46b-d9e2a31eab52:localhost]

2021-03-05 04:13:58 | [Mutex] received everything.

2021-03-05 04:13:58 | [Mutex] isItemNotified: received:node:96d270e1-51e4-4fc3-a46b-d9e2a31eab52:localhost:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:Node 68b8f935-32e4-4f11-920b-5b6cadcdab22 :: true

createSubnodes 1.031s
2021-03-05 04:13:58 |

2021-03-05 04:13:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:13:58 | ------------------------------------

2021-03-05 04:13:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b880275d-36c9-4d33-9306-753ebddf3423</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b880275d-36c9-4d33-9306-753ebddf3423</title></pubsub></data>

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

2021-03-05 04:13:59 | [Mutex] waiting for: [received:nodes:220d4569-4f88-495e-bfca-35cf534f4a66:localhost]

2021-03-05 04:13:59 | [Mutex] received everything.

2021-03-05 04:13:59 | [Mutex] isItemNotified: received:node:220d4569-4f88-495e-bfca-35cf534f4a66:localhost:node-b880275d-36c9-4d33-9306-753ebddf3423:Node b880275d-36c9-4d33-9306-753ebddf3423 :: true

deleteNodes 1.018s
2021-03-05 04:14:05 |

2021-03-05 04:14:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:05 | ------------------------------------

2021-03-05 04:14:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b880275d-36c9-4d33-9306-753ebddf3423</node></data>

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

2021-03-05 04:14:06 | [Mutex] waiting for: [received:nodes:d612d178-9952-4ba3-a9ba-b2f4539779fd:localhost]

2021-03-05 04:14:06 | [Mutex] received everything.

2021-03-05 04:14:06 | [Mutex] isItemNotified: received:node:d612d178-9952-4ba3-a9ba-b2f4539779fd:localhost:node-b880275d-36c9-4d33-9306-753ebddf3423:Node b880275d-36c9-4d33-9306-753ebddf3423 :: false

deleteSubnodes 1.125s
2021-03-05 04:14:04 |

2021-03-05 04:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:04 | ------------------------------------

2021-03-05 04:14:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node></data>

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

2021-03-05 04:14:05 | [Mutex] waiting for: [received:nodes:f20bd76e-5f6e-47e2-8d71-4e677b0ae2c0:localhost]

2021-03-05 04:14:05 | [Mutex] waiting for: [received:nodes:f20bd76e-5f6e-47e2-8d71-4e677b0ae2c0:localhost]

2021-03-05 04:14:05 | [Mutex] received everything.

2021-03-05 04:14:05 | [Mutex] isItemNotified: received:node:f20bd76e-5f6e-47e2-8d71-4e677b0ae2c0:localhost:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:Node 68b8f935-32e4-4f11-920b-5b6cadcdab22 :: false

2021-03-05 04:14:05 | [Mutex] waiting for: [received:nodes:fc3fa2bf-4c09-4989-a1ea-c21eed6b7b6d:localhost]

2021-03-05 04:14:05 | [Mutex] received everything.

2021-03-05 04:14:05 | [Mutex] isItemNotified: received:node:fc3fa2bf-4c09-4989-a1ea-c21eed6b7b6d:localhost:node-68b8f935-32e4-4f11-920b-5b6cadcdab22:Node 68b8f935-32e4-4f11-920b-5b6cadcdab22 :: false

publishItemsToNodes 0.205s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><item-id>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</item-id><entry><test>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</test></entry></data>

2021-03-05 04:14:02 | 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-cf1177be-a4e8-42a6-98e5-0950126c5d21</value></item-id></result>

2021-03-05 04:14:02 | [Mutex] waiting for: [published:item:notifieditem-cf1177be-a4e8-42a6-98e5-0950126c5d21:admin@test-domain.com]

2021-03-05 04:14:02 | [Mutex] received everything.

2021-03-05 04:14:02 | [Mutex] isItemNotified: published:item:notifieditem-cf1177be-a4e8-42a6-98e5-0950126c5d21:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><item-id>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</item-id></data>

2021-03-05 04:14:02 | 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-cf1177be-a4e8-42a6-98e5-0950126c5d21</value></item-id></result>

2021-03-05 04:14:02 | [Mutex] waiting for: [retracted:item:notifieditem-cf1177be-a4e8-42a6-98e5-0950126c5d21:admin@test-domain.com]

2021-03-05 04:14:02 | [Mutex] received everything.

2021-03-05 04:14:02 | [Mutex] isItemNotified: retracted:item:notifieditem-cf1177be-a4e8-42a6-98e5-0950126c5d21:admin@test-domain.com :: true

retrieveItemsFromNodes 0.270s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><item-id>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</item-id></data>

2021-03-05 04:14:02 | 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-68b8f935-32e4-4f11-920b-5b6cadcdab22</value></node><item-id label="Item ID" type="text-single"><value>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</value></item-id><item label="Item" type="text-multi"><value><item id="item-cf1177be-a4e8-42a6-98e5-0950126c5d21"><test>item-cf1177be-a4e8-42a6-98e5-0950126c5d21</test></item></value></item></result>

2021-03-05 04:14:02 | [Mutex] notify: [retrieved:item:item-cf1177be-a4e8-42a6-98e5-0950126c5d21:payload-matches:true:localhost]

2021-03-05 04:14:02 | [Mutex] received everything.

2021-03-05 04:14:02 | [Mutex] isItemNotified: retrieved:item:item-cf1177be-a4e8-42a6-98e5-0950126c5d21:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-05 04:14:02 | 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-b880275d-36c9-4d33-9306-753ebddf3423</value><value>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-68b8f935-32e4-4f11-920b-5b6cadcdab22)</node-pattern></data>

2021-03-05 04:14:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.090s
2021-03-05 04:14:00 |

2021-03-05 04:14:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:00 | ------------------------------------

2021-03-05 04:14:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:14:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.365s
2021-03-05 04:14:02 |

2021-03-05 04:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:14:02 | ------------------------------------

2021-03-05 04:14:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-68b8f935-32e4-4f11-920b-5b6cadcdab22</node><jids><value>admin@test-domain.com</value></jids></data>

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