Generated by TestNG with ReportNG at 22:14 PDT on Friday 14 May 2021
root@785cf647a4ab / 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.554s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-05-14 22:29:51 |

2021-05-14 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:51 | ------------------------------------

2021-05-14 22:29:51 | [Mutex] waiting for: [configured:node:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:node-a79dee3e-bc35-4d02-96ba-35826fd50925]

2021-05-14 22:29:51 | [Mutex] received everything.

2021-05-14 22:29:51 | [Mutex] isItemNotified: configured:node:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:node-a79dee3e-bc35-4d02-96ba-35826fd50925 :: true

2021-05-14 22:29:52 | [Mutex] waiting for: [received:nodes:b6b7a1e2-ae9f-4cc2-ac14-c07c543e4029:localhost]

2021-05-14 22:29:52 | [Mutex] received everything.

2021-05-14 22:29:52 | [Mutex] isItemNotified: received:node:b6b7a1e2-ae9f-4cc2-ac14-c07c543e4029:localhost:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496 :: true

2021-05-14 22:29:52 | [Mutex] waiting for: [received:nodes:e728513b-68d6-4943-902f-ea8b69c6f4f5:localhost]

2021-05-14 22:29:53 | [Mutex] received everything.

2021-05-14 22:29:53 | [Mutex] isItemNotified: received:node:e728513b-68d6-4943-902f-ea8b69c6f4f5:localhost:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496 :: false

createNodes 1.741s
2021-05-14 22:29:49 |

2021-05-14 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:49 | ------------------------------------

2021-05-14 22:29:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</title></pubsub></data>

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

2021-05-14 22:29:50 | [Mutex] waiting for: [received:nodes:42ec1b88-2df9-4670-a99d-c5ecfe677af4:localhost]

2021-05-14 22:29:50 | [Mutex] received everything.

2021-05-14 22:29:50 | [Mutex] isItemNotified: received:node:42ec1b88-2df9-4670-a99d-c5ecfe677af4:localhost:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496 :: true

createSubnodes 1.031s
2021-05-14 22:29:50 |

2021-05-14 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:50 | ------------------------------------

2021-05-14 22:29:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a79dee3e-bc35-4d02-96ba-35826fd50925</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a79dee3e-bc35-4d02-96ba-35826fd50925</title></pubsub></data>

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

2021-05-14 22:29:51 | [Mutex] waiting for: [received:nodes:3da614df-3268-451a-95ce-c0ce317b2cdf:localhost]

2021-05-14 22:29:51 | [Mutex] received everything.

2021-05-14 22:29:51 | [Mutex] isItemNotified: received:node:3da614df-3268-451a-95ce-c0ce317b2cdf:localhost:node-a79dee3e-bc35-4d02-96ba-35826fd50925:Node a79dee3e-bc35-4d02-96ba-35826fd50925 :: true

deleteNodes 1.023s
2021-05-14 22:29:57 |

2021-05-14 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:57 | ------------------------------------

2021-05-14 22:29:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a79dee3e-bc35-4d02-96ba-35826fd50925</node></data>

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

2021-05-14 22:29:58 | [Mutex] waiting for: [received:nodes:0b3ac660-80e8-46ce-949d-f60188c46a51:localhost]

2021-05-14 22:29:58 | [Mutex] received everything.

2021-05-14 22:29:58 | [Mutex] isItemNotified: received:node:0b3ac660-80e8-46ce-949d-f60188c46a51:localhost:node-a79dee3e-bc35-4d02-96ba-35826fd50925:Node a79dee3e-bc35-4d02-96ba-35826fd50925 :: false

deleteSubnodes 1.166s
2021-05-14 22:29:56 |

2021-05-14 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:56 | ------------------------------------

2021-05-14 22:29:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node></data>

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

2021-05-14 22:29:57 | [Mutex] waiting for: [received:nodes:69c1bdf4-f9bd-47b0-9183-34d1df17903c:localhost]

2021-05-14 22:29:57 | [Mutex] received everything.

2021-05-14 22:29:57 | [Mutex] isItemNotified: received:node:69c1bdf4-f9bd-47b0-9183-34d1df17903c:localhost:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496 :: false

2021-05-14 22:29:57 | [Mutex] waiting for: [received:nodes:10c12b6c-d8e4-4825-93e5-75eed036b43c:localhost]

2021-05-14 22:29:57 | [Mutex] received everything.

2021-05-14 22:29:57 | [Mutex] isItemNotified: received:node:10c12b6c-d8e4-4825-93e5-75eed036b43c:localhost:node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496:Node 27a860e9-0fa8-4ea0-86b6-06ae0fe8a496 :: false

publishItemsToNodes 0.237s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

2021-05-14 22:29:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><item-id>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</item-id><entry><test>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</test></entry></data>

2021-05-14 22:29:54 | 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-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</value></item-id></result>

2021-05-14 22:29:54 | [Mutex] received everything.

2021-05-14 22:29:54 | [Mutex] isItemNotified: published:item:notifieditem-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d:admin@test-domain.com :: true

retractItemsFromNodes 0.375s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

2021-05-14 22:29:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><item-id>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</item-id></data>

2021-05-14 22:29:55 | 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-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</value></item-id></result>

2021-05-14 22:29:55 | [Mutex] received everything.

2021-05-14 22:29:55 | [Mutex] isItemNotified: retracted:item:notifieditem-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

2021-05-14 22:29:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><item-id>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</item-id></data>

2021-05-14 22:29:54 | 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-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</value></node><item-id type="text-single" label="Item ID"><value>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d"><test>item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d</test></item></value></item></result>

2021-05-14 22:29:54 | [Mutex] notify: [retrieved:item:item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d:payload-matches:true:localhost]

2021-05-14 22:29:54 | [Mutex] received everything.

2021-05-14 22:29:54 | [Mutex] isItemNotified: retrieved:item:item-9d3a2312-ee9f-44e4-8c37-6b6c23f9b79d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

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

2021-05-14 22:29:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-a79dee3e-bc35-4d02-96ba-35826fd50925</value><value>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-05-14 22:29:54 |

2021-05-14 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:54 | ------------------------------------

2021-05-14 22:29:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496)</node-pattern></data>

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

subscribeNodes 1.200s
2021-05-14 22:29:53 |

2021-05-14 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:53 | ------------------------------------

2021-05-14 22:29:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 22:29:53 | 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-05-14 22:29:55 |

2021-05-14 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:29:55 | ------------------------------------

2021-05-14 22:29:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-27a860e9-0fa8-4ea0-86b6-06ae0fe8a496</node><jids><value>admin@test-domain.com</value></jids></data>

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