Generated by TestNG with ReportNG at 09:45 PDT on Thursday 27 May 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.201s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-05-27 10:00:49 |

2021-05-27 10:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:49 | ------------------------------------

2021-05-27 10:00:49 | [Mutex] waiting for: [configured:node:node-2bd97a6b-8522-4d52-b360-298127670c62:node-ba62eb51-dc09-4571-a89b-914ff7118128]

2021-05-27 10:00:49 | [Mutex] received everything.

2021-05-27 10:00:49 | [Mutex] isItemNotified: configured:node:node-2bd97a6b-8522-4d52-b360-298127670c62:node-ba62eb51-dc09-4571-a89b-914ff7118128 :: true

2021-05-27 10:00:50 | [Mutex] waiting for: [received:nodes:4345108a-c6fb-422a-81b5-40b74a5f1a23:localhost]

2021-05-27 10:00:50 | [Mutex] waiting for: [received:nodes:4345108a-c6fb-422a-81b5-40b74a5f1a23:localhost]

2021-05-27 10:00:50 | [Mutex] received everything.

2021-05-27 10:00:50 | [Mutex] isItemNotified: received:node:4345108a-c6fb-422a-81b5-40b74a5f1a23:localhost:node-2bd97a6b-8522-4d52-b360-298127670c62:Node 2bd97a6b-8522-4d52-b360-298127670c62 :: true

2021-05-27 10:00:50 | [Mutex] waiting for: [received:nodes:f14c4ab1-08cd-47e7-86d2-642615ceb196:localhost]

2021-05-27 10:00:50 | [Mutex] waiting for: [received:nodes:f14c4ab1-08cd-47e7-86d2-642615ceb196:localhost]

2021-05-27 10:00:50 | [Mutex] received everything.

2021-05-27 10:00:50 | [Mutex] isItemNotified: received:node:f14c4ab1-08cd-47e7-86d2-642615ceb196:localhost:node-2bd97a6b-8522-4d52-b360-298127670c62:Node 2bd97a6b-8522-4d52-b360-298127670c62 :: false

createNodes 1.427s
2021-05-27 10:00:46 |

2021-05-27 10:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:46 | ------------------------------------

2021-05-27 10:00:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2bd97a6b-8522-4d52-b360-298127670c62</title></pubsub></data>

2021-05-27 10:00:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:00:47 | [Mutex] waiting for: [received:nodes:3d3e86fc-829e-4524-be70-7f2645bd34f1:localhost]

2021-05-27 10:00:47 | [Mutex] received everything.

2021-05-27 10:00:47 | [Mutex] isItemNotified: received:node:3d3e86fc-829e-4524-be70-7f2645bd34f1:localhost:node-2bd97a6b-8522-4d52-b360-298127670c62:Node 2bd97a6b-8522-4d52-b360-298127670c62 :: true

createSubnodes 1.031s
2021-05-27 10:00:47 |

2021-05-27 10:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:47 | ------------------------------------

2021-05-27 10:00:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ba62eb51-dc09-4571-a89b-914ff7118128</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ba62eb51-dc09-4571-a89b-914ff7118128</title></pubsub></data>

2021-05-27 10:00:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:00:49 | [Mutex] waiting for: [received:nodes:b6499349-1e08-4801-9858-a1f0e7f381c1:localhost]

2021-05-27 10:00:49 | [Mutex] received everything.

2021-05-27 10:00:49 | [Mutex] isItemNotified: received:node:b6499349-1e08-4801-9858-a1f0e7f381c1:localhost:node-ba62eb51-dc09-4571-a89b-914ff7118128:Node ba62eb51-dc09-4571-a89b-914ff7118128 :: true

deleteNodes 1.025s
2021-05-27 10:00:54 |

2021-05-27 10:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:54 | ------------------------------------

2021-05-27 10:00:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ba62eb51-dc09-4571-a89b-914ff7118128</node></data>

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

2021-05-27 10:00:55 | [Mutex] waiting for: [received:nodes:54a6a3ee-142a-49db-aaa1-77458fd73523:localhost]

2021-05-27 10:00:55 | [Mutex] waiting for: [received:nodes:54a6a3ee-142a-49db-aaa1-77458fd73523:localhost]

2021-05-27 10:00:55 | [Mutex] received everything.

2021-05-27 10:00:55 | [Mutex] isItemNotified: received:node:54a6a3ee-142a-49db-aaa1-77458fd73523:localhost:node-ba62eb51-dc09-4571-a89b-914ff7118128:Node ba62eb51-dc09-4571-a89b-914ff7118128 :: false

deleteSubnodes 1.185s
2021-05-27 10:00:53 |

2021-05-27 10:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:53 | ------------------------------------

2021-05-27 10:00:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node></data>

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

2021-05-27 10:00:54 | [Mutex] waiting for: [received:nodes:b0a5287b-8950-4cce-92db-4548c36da056:localhost]

2021-05-27 10:00:54 | [Mutex] received everything.

2021-05-27 10:00:54 | [Mutex] isItemNotified: received:node:b0a5287b-8950-4cce-92db-4548c36da056:localhost:node-2bd97a6b-8522-4d52-b360-298127670c62:Node 2bd97a6b-8522-4d52-b360-298127670c62 :: false

2021-05-27 10:00:54 | [Mutex] waiting for: [received:nodes:00e2d889-adc2-4aeb-8d2e-de019e1e4c96:localhost]

2021-05-27 10:00:54 | [Mutex] received everything.

2021-05-27 10:00:54 | [Mutex] isItemNotified: received:node:00e2d889-adc2-4aeb-8d2e-de019e1e4c96:localhost:node-2bd97a6b-8522-4d52-b360-298127670c62:Node 2bd97a6b-8522-4d52-b360-298127670c62 :: false

publishItemsToNodes 0.287s
2021-05-27 10:00:51 |

2021-05-27 10:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:51 | ------------------------------------

2021-05-27 10:00:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><item-id>item-ab01c356-d583-46ee-bf34-882649b16777</item-id><entry><test>item-ab01c356-d583-46ee-bf34-882649b16777</test></entry></data>

2021-05-27 10:00:51 | 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-ab01c356-d583-46ee-bf34-882649b16777</value></item-id></result>

2021-05-27 10:00:51 | [Mutex] received everything.

2021-05-27 10:00:51 | [Mutex] isItemNotified: published:item:notifieditem-ab01c356-d583-46ee-bf34-882649b16777:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2021-05-27 10:00:52 |

2021-05-27 10:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:52 | ------------------------------------

2021-05-27 10:00:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><item-id>item-ab01c356-d583-46ee-bf34-882649b16777</item-id></data>

2021-05-27 10:00:52 | 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-ab01c356-d583-46ee-bf34-882649b16777</value></item-id></result>

2021-05-27 10:00:52 | [Mutex] received everything.

2021-05-27 10:00:52 | [Mutex] isItemNotified: retracted:item:notifieditem-ab01c356-d583-46ee-bf34-882649b16777:admin@test-domain.com :: true

retrieveItemsFromNodes 0.325s
2021-05-27 10:00:51 |

2021-05-27 10:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:51 | ------------------------------------

2021-05-27 10:00:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><item-id>item-ab01c356-d583-46ee-bf34-882649b16777</item-id></data>

2021-05-27 10:00:51 | 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-2bd97a6b-8522-4d52-b360-298127670c62</value></node><item-id type="text-single" label="Item ID"><value>item-ab01c356-d583-46ee-bf34-882649b16777</value></item-id><item type="text-multi" label="Item"><value><item id="item-ab01c356-d583-46ee-bf34-882649b16777"><test>item-ab01c356-d583-46ee-bf34-882649b16777</test></item></value></item></result>

2021-05-27 10:00:51 | [Mutex] notify: [retrieved:item:item-ab01c356-d583-46ee-bf34-882649b16777:payload-matches:true:localhost]

2021-05-27 10:00:51 | [Mutex] received everything.

2021-05-27 10:00:51 | [Mutex] isItemNotified: retrieved:item:item-ab01c356-d583-46ee-bf34-882649b16777:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-27 10:00:51 |

2021-05-27 10:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:51 | ------------------------------------

2021-05-27 10:00:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-27 10:00:51 | 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-ba62eb51-dc09-4571-a89b-914ff7118128</value><value>node-2bd97a6b-8522-4d52-b360-298127670c62</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-05-27 10:00:51 |

2021-05-27 10:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:51 | ------------------------------------

2021-05-27 10:00:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2bd97a6b-8522-4d52-b360-298127670c62)</node-pattern></data>

2021-05-27 10:00:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.148s
2021-05-27 10:00:50 |

2021-05-27 10:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:50 | ------------------------------------

2021-05-27 10:00:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 10:00:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2021-05-27 10:00:52 |

2021-05-27 10:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:52 | ------------------------------------

2021-05-27 10:00:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2bd97a6b-8522-4d52-b360-298127670c62</node><jids><value>admin@test-domain.com</value></jids></data>

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