Generated by TestNG with ReportNG at 22:17 PDT on Sunday 14 March 2021
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.059s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2021-03-14 22:34:14 |

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

2021-03-14 22:34:14 | ------------------------------------

2021-03-14 22:34:14 | [Mutex] waiting for: [configured:node:node-eb54a85d-53ff-43b4-a595-479cafb8d482:node-e2862b25-b2f0-4a78-8049-38d331750762]

2021-03-14 22:34:14 | [Mutex] received everything.

2021-03-14 22:34:14 | [Mutex] isItemNotified: configured:node:node-eb54a85d-53ff-43b4-a595-479cafb8d482:node-e2862b25-b2f0-4a78-8049-38d331750762 :: true

2021-03-14 22:34:15 | [Mutex] waiting for: [received:nodes:3d85a5b9-d149-4951-bcec-e917eb822142:localhost]

2021-03-14 22:34:15 | [Mutex] received everything.

2021-03-14 22:34:15 | [Mutex] isItemNotified: received:node:3d85a5b9-d149-4951-bcec-e917eb822142:localhost:node-eb54a85d-53ff-43b4-a595-479cafb8d482:Node eb54a85d-53ff-43b4-a595-479cafb8d482 :: true

2021-03-14 22:34:15 | [Mutex] waiting for: [received:nodes:8f6773e8-d625-406e-b7ae-043816e1f4f5:localhost]

2021-03-14 22:34:15 | [Mutex] waiting for: [received:nodes:8f6773e8-d625-406e-b7ae-043816e1f4f5:localhost]

2021-03-14 22:34:15 | [Mutex] received everything.

2021-03-14 22:34:15 | [Mutex] isItemNotified: received:node:8f6773e8-d625-406e-b7ae-043816e1f4f5:localhost:node-eb54a85d-53ff-43b4-a595-479cafb8d482:Node eb54a85d-53ff-43b4-a595-479cafb8d482 :: false

createNodes 1.565s
2021-03-14 22:34:12 |

2021-03-14 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:12 | ------------------------------------

2021-03-14 22:34:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eb54a85d-53ff-43b4-a595-479cafb8d482</title></pubsub></data>

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

2021-03-14 22:34:13 | [Mutex] waiting for: [received:nodes:e1fd30f4-4c33-48ad-97e5-2df0d9c6a59c:localhost]

2021-03-14 22:34:13 | [Mutex] received everything.

2021-03-14 22:34:13 | [Mutex] isItemNotified: received:node:e1fd30f4-4c33-48ad-97e5-2df0d9c6a59c:localhost:node-eb54a85d-53ff-43b4-a595-479cafb8d482:Node eb54a85d-53ff-43b4-a595-479cafb8d482 :: true

createSubnodes 1.038s
2021-03-14 22:34:13 |

2021-03-14 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:13 | ------------------------------------

2021-03-14 22:34:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2862b25-b2f0-4a78-8049-38d331750762</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e2862b25-b2f0-4a78-8049-38d331750762</title></pubsub></data>

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

2021-03-14 22:34:14 | [Mutex] waiting for: [received:nodes:d4d47fe3-c5af-4c96-b350-50d6aa321fde:localhost]

2021-03-14 22:34:14 | [Mutex] received everything.

2021-03-14 22:34:14 | [Mutex] isItemNotified: received:node:d4d47fe3-c5af-4c96-b350-50d6aa321fde:localhost:node-e2862b25-b2f0-4a78-8049-38d331750762:Node e2862b25-b2f0-4a78-8049-38d331750762 :: true

deleteNodes 1.030s
2021-03-14 22:34:20 |

2021-03-14 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:20 | ------------------------------------

2021-03-14 22:34:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2862b25-b2f0-4a78-8049-38d331750762</node></data>

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

2021-03-14 22:34:21 | [Mutex] waiting for: [received:nodes:6fb41751-1555-4788-87a2-6fa48004a1e3:localhost]

2021-03-14 22:34:21 | [Mutex] waiting for: [received:nodes:6fb41751-1555-4788-87a2-6fa48004a1e3:localhost]

2021-03-14 22:34:21 | [Mutex] received everything.

2021-03-14 22:34:21 | [Mutex] isItemNotified: received:node:6fb41751-1555-4788-87a2-6fa48004a1e3:localhost:node-e2862b25-b2f0-4a78-8049-38d331750762:Node e2862b25-b2f0-4a78-8049-38d331750762 :: false

deleteSubnodes 1.139s
2021-03-14 22:34:19 |

2021-03-14 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:19 | ------------------------------------

2021-03-14 22:34:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node></data>

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

2021-03-14 22:34:20 | [Mutex] waiting for: [received:nodes:ddee55b0-4b39-458d-b33d-d1296312b0b1:localhost]

2021-03-14 22:34:20 | [Mutex] received everything.

2021-03-14 22:34:20 | [Mutex] isItemNotified: received:node:ddee55b0-4b39-458d-b33d-d1296312b0b1:localhost:node-eb54a85d-53ff-43b4-a595-479cafb8d482:Node eb54a85d-53ff-43b4-a595-479cafb8d482 :: false

2021-03-14 22:34:20 | [Mutex] waiting for: [received:nodes:cbea917d-fb7d-4c11-8b52-4768ae0c1e46:localhost]

2021-03-14 22:34:20 | [Mutex] received everything.

2021-03-14 22:34:20 | [Mutex] isItemNotified: received:node:cbea917d-fb7d-4c11-8b52-4768ae0c1e46:localhost:node-eb54a85d-53ff-43b4-a595-479cafb8d482:Node eb54a85d-53ff-43b4-a595-479cafb8d482 :: false

publishItemsToNodes 0.226s
2021-03-14 22:34:17 |

2021-03-14 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:17 | ------------------------------------

2021-03-14 22:34:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><item-id>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</item-id><entry><test>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</test></entry></data>

2021-03-14 22:34:17 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</value></item-id></result>

2021-03-14 22:34:17 | [Mutex] waiting for: [published:item:notifieditem-f8144ff6-caf8-4559-912f-ccb91640fc9d:admin@test-domain.com]

2021-03-14 22:34:17 | [Mutex] received everything.

2021-03-14 22:34:17 | [Mutex] isItemNotified: published:item:notifieditem-f8144ff6-caf8-4559-912f-ccb91640fc9d:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2021-03-14 22:34:17 |

2021-03-14 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:17 | ------------------------------------

2021-03-14 22:34:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><item-id>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</item-id></data>

2021-03-14 22:34:18 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</value></item-id></result>

2021-03-14 22:34:18 | [Mutex] received everything.

2021-03-14 22:34:18 | [Mutex] isItemNotified: retracted:item:notifieditem-f8144ff6-caf8-4559-912f-ccb91640fc9d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.299s
2021-03-14 22:34:17 |

2021-03-14 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:17 | ------------------------------------

2021-03-14 22:34:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><item-id>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</item-id></data>

2021-03-14 22:34:17 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-eb54a85d-53ff-43b4-a595-479cafb8d482</value></node><item-id type="text-single" label="Item ID"><value>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</value></item-id><item type="text-multi" label="Item"><value><item id="item-f8144ff6-caf8-4559-912f-ccb91640fc9d"><test>item-f8144ff6-caf8-4559-912f-ccb91640fc9d</test></item></value></item></result>

2021-03-14 22:34:17 | [Mutex] notify: [retrieved:item:item-f8144ff6-caf8-4559-912f-ccb91640fc9d:payload-matches:true:localhost]

2021-03-14 22:34:17 | [Mutex] received everything.

2021-03-14 22:34:17 | [Mutex] isItemNotified: retrieved:item:item-f8144ff6-caf8-4559-912f-ccb91640fc9d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-14 22:34:17 |

2021-03-14 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:17 | ------------------------------------

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

2021-03-14 22:34:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-eb54a85d-53ff-43b4-a595-479cafb8d482</value><value>test</value><value>node-e2862b25-b2f0-4a78-8049-38d331750762</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-03-14 22:34:17 |

2021-03-14 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:17 | ------------------------------------

2021-03-14 22:34:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eb54a85d-53ff-43b4-a595-479cafb8d482)</node-pattern></data>

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

subscribeNodes 1.153s
2021-03-14 22:34:15 |

2021-03-14 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:15 | ------------------------------------

2021-03-14 22:34:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-14 22:34: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.235s
2021-03-14 22:34:18 |

2021-03-14 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-14 22:34:18 | ------------------------------------

2021-03-14 22:34:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-eb54a85d-53ff-43b4-a595-479cafb8d482</node><jids><value>admin@test-domain.com</value></jids></data>

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