Generated by TestNG with ReportNG at 21:57 PST on Monday 15 November 2021
root@b2c2a8eba6e6 / 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.526s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2021-11-15 22:12:10 |

2021-11-15 22:12:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:10 | ------------------------------------

2021-11-15 22:12:10 | [Mutex] waiting for: [configured:node:node-00ea6068-1924-46b2-9c67-db52477b765c:node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3]

2021-11-15 22:12:10 | [Mutex] received everything.

2021-11-15 22:12:10 | [Mutex] isItemNotified: configured:node:node-00ea6068-1924-46b2-9c67-db52477b765c:node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3 :: true

2021-11-15 22:12:11 | [Mutex] waiting for: [received:nodes:1c531429-5ad1-412b-b2f2-83d1460755a7:localhost]

2021-11-15 22:12:11 | [Mutex] received everything.

2021-11-15 22:12:11 | [Mutex] isItemNotified: received:node:1c531429-5ad1-412b-b2f2-83d1460755a7:localhost:node-00ea6068-1924-46b2-9c67-db52477b765c:Node 00ea6068-1924-46b2-9c67-db52477b765c :: true

2021-11-15 22:12:11 | [Mutex] waiting for: [received:nodes:67e5bbd1-6c82-49f4-8f9f-a9bcd534855f:localhost]

2021-11-15 22:12:11 | [Mutex] waiting for: [received:nodes:67e5bbd1-6c82-49f4-8f9f-a9bcd534855f:localhost]

2021-11-15 22:12:11 | [Mutex] waiting for: [received:nodes:67e5bbd1-6c82-49f4-8f9f-a9bcd534855f:localhost]

2021-11-15 22:12:11 | [Mutex] waiting for: [received:nodes:67e5bbd1-6c82-49f4-8f9f-a9bcd534855f:localhost]

2021-11-15 22:12:11 | [Mutex] received everything.

2021-11-15 22:12:11 | [Mutex] isItemNotified: received:node:67e5bbd1-6c82-49f4-8f9f-a9bcd534855f:localhost:node-00ea6068-1924-46b2-9c67-db52477b765c:Node 00ea6068-1924-46b2-9c67-db52477b765c :: false

createNodes 1.519s
2021-11-15 22:12:08 |

2021-11-15 22:12:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:08 | ------------------------------------

2021-11-15 22:12:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 00ea6068-1924-46b2-9c67-db52477b765c</title></pubsub></data>

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

2021-11-15 22:12:09 | [Mutex] waiting for: [received:nodes:314116a3-8c82-41fa-bb4a-fba6dd3c69a0:localhost]

2021-11-15 22:12:09 | [Mutex] received everything.

2021-11-15 22:12:09 | [Mutex] isItemNotified: received:node:314116a3-8c82-41fa-bb4a-fba6dd3c69a0:localhost:node-00ea6068-1924-46b2-9c67-db52477b765c:Node 00ea6068-1924-46b2-9c67-db52477b765c :: true

createSubnodes 1.031s
2021-11-15 22:12:09 |

2021-11-15 22:12:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:09 | ------------------------------------

2021-11-15 22:12:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3</title></pubsub></data>

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

2021-11-15 22:12:10 | [Mutex] waiting for: [received:nodes:79f3607e-3f28-43ca-ba28-75928d087d03:localhost]

2021-11-15 22:12:10 | [Mutex] waiting for: [received:nodes:79f3607e-3f28-43ca-ba28-75928d087d03:localhost]

2021-11-15 22:12:10 | [Mutex] received everything.

2021-11-15 22:12:10 | [Mutex] isItemNotified: received:node:79f3607e-3f28-43ca-ba28-75928d087d03:localhost:node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3:Node 2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3 :: true

deleteNodes 1.017s
2021-11-15 22:12:16 |

2021-11-15 22:12:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:16 | ------------------------------------

2021-11-15 22:12:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3</node></data>

2021-11-15 22:12:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-15 22:12:17 | [Mutex] waiting for: [received:nodes:bb08fbd2-1165-4f37-a8f2-ee370812c5d5:localhost]

2021-11-15 22:12:17 | [Mutex] received everything.

2021-11-15 22:12:17 | [Mutex] isItemNotified: received:node:bb08fbd2-1165-4f37-a8f2-ee370812c5d5:localhost:node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3:Node 2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3 :: false

deleteSubnodes 1.330s
2021-11-15 22:12:15 |

2021-11-15 22:12:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:15 | ------------------------------------

2021-11-15 22:12:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node></data>

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

2021-11-15 22:12:16 | [Mutex] waiting for: [received:nodes:50b76d87-9a21-4270-b68f-623b7d42174a:localhost]

2021-11-15 22:12:16 | [Mutex] received everything.

2021-11-15 22:12:16 | [Mutex] isItemNotified: received:node:50b76d87-9a21-4270-b68f-623b7d42174a:localhost:node-00ea6068-1924-46b2-9c67-db52477b765c:Node 00ea6068-1924-46b2-9c67-db52477b765c :: false

2021-11-15 22:12:16 | [Mutex] waiting for: [received:nodes:429e8c22-4b6a-4cc6-9bed-859720bd9925:localhost]

2021-11-15 22:12:16 | [Mutex] received everything.

2021-11-15 22:12:16 | [Mutex] isItemNotified: received:node:429e8c22-4b6a-4cc6-9bed-859720bd9925:localhost:node-00ea6068-1924-46b2-9c67-db52477b765c:Node 00ea6068-1924-46b2-9c67-db52477b765c :: false

publishItemsToNodes 0.365s
2021-11-15 22:12:12 |

2021-11-15 22:12:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:12 | ------------------------------------

2021-11-15 22:12:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><item-id>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</item-id><entry><test>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</test></entry></data>

2021-11-15 22:12:13 | 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-f0cbf086-baf1-41db-86d9-3870001bcc0b</value></item-id></result>

2021-11-15 22:12:13 | [Mutex] waiting for: [published:item:notifieditem-f0cbf086-baf1-41db-86d9-3870001bcc0b:admin@test-domain.com]

2021-11-15 22:12:13 | [Mutex] received everything.

2021-11-15 22:12:13 | [Mutex] isItemNotified: published:item:notifieditem-f0cbf086-baf1-41db-86d9-3870001bcc0b:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2021-11-15 22:12:13 |

2021-11-15 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:13 | ------------------------------------

2021-11-15 22:12:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><item-id>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</item-id></data>

2021-11-15 22:12:13 | 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-f0cbf086-baf1-41db-86d9-3870001bcc0b</value></item-id></result>

2021-11-15 22:12:13 | [Mutex] received everything.

2021-11-15 22:12:13 | [Mutex] isItemNotified: retracted:item:notifieditem-f0cbf086-baf1-41db-86d9-3870001bcc0b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.222s
2021-11-15 22:12:13 |

2021-11-15 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:13 | ------------------------------------

2021-11-15 22:12:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><item-id>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</item-id></data>

2021-11-15 22:12:13 | 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-00ea6068-1924-46b2-9c67-db52477b765c</value></node><item-id type="text-single" label="Item ID"><value>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</value></item-id><item type="text-multi" label="Item"><value><item id="item-f0cbf086-baf1-41db-86d9-3870001bcc0b"><test>item-f0cbf086-baf1-41db-86d9-3870001bcc0b</test></item></value></item></result>

2021-11-15 22:12:13 | [Mutex] notify: [retrieved:item:item-f0cbf086-baf1-41db-86d9-3870001bcc0b:payload-matches:true:localhost]

2021-11-15 22:12:13 | [Mutex] received everything.

2021-11-15 22:12:13 | [Mutex] isItemNotified: retrieved:item:item-f0cbf086-baf1-41db-86d9-3870001bcc0b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-15 22:12:13 |

2021-11-15 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:13 | ------------------------------------

2021-11-15 22:12:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-15 22:12:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2f58aaa6-4a5c-4608-b6b2-2afe07c5b5c3</value><value>test</value><value>node-00ea6068-1924-46b2-9c67-db52477b765c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-15 22:12:13 |

2021-11-15 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:13 | ------------------------------------

2021-11-15 22:12:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-00ea6068-1924-46b2-9c67-db52477b765c)</node-pattern></data>

2021-11-15 22:12:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.146s
2021-11-15 22:12:11 |

2021-11-15 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:11 | ------------------------------------

2021-11-15 22:12:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.383s
2021-11-15 22:12:13 |

2021-11-15 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:12:13 | ------------------------------------

2021-11-15 22:12:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-00ea6068-1924-46b2-9c67-db52477b765c</node><jids><value>admin@test-domain.com</value></jids></data>

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