Generated by TestNG with ReportNG at 22:43 PDT on Friday 04 June 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.252s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-06-04 22:57:58 |

2021-06-04 22:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:57:58 | ------------------------------------

2021-06-04 22:57:58 | [Mutex] waiting for: [configured:node:node-536dad8d-8c4f-409b-9fac-858bd7b62757:node-3db78868-b54f-4dd4-928d-3e80937f949d]

2021-06-04 22:57:58 | [Mutex] received everything.

2021-06-04 22:57:58 | [Mutex] isItemNotified: configured:node:node-536dad8d-8c4f-409b-9fac-858bd7b62757:node-3db78868-b54f-4dd4-928d-3e80937f949d :: true

2021-06-04 22:57:59 | [Mutex] waiting for: [received:nodes:33287e8e-aa3f-419b-b405-45232ba7eafa:localhost]

2021-06-04 22:57:59 | [Mutex] received everything.

2021-06-04 22:57:59 | [Mutex] isItemNotified: received:node:33287e8e-aa3f-419b-b405-45232ba7eafa:localhost:node-536dad8d-8c4f-409b-9fac-858bd7b62757:Node 536dad8d-8c4f-409b-9fac-858bd7b62757 :: true

2021-06-04 22:57:59 | [Mutex] waiting for: [received:nodes:a0ebe13e-8ec5-41dd-82ab-299190bfd828:localhost]

2021-06-04 22:57:59 | [Mutex] waiting for: [received:nodes:a0ebe13e-8ec5-41dd-82ab-299190bfd828:localhost]

2021-06-04 22:57:59 | [Mutex] waiting for: [received:nodes:a0ebe13e-8ec5-41dd-82ab-299190bfd828:localhost]

2021-06-04 22:57:59 | [Mutex] received everything.

2021-06-04 22:57:59 | [Mutex] isItemNotified: received:node:a0ebe13e-8ec5-41dd-82ab-299190bfd828:localhost:node-536dad8d-8c4f-409b-9fac-858bd7b62757:Node 536dad8d-8c4f-409b-9fac-858bd7b62757 :: false

createNodes 1.492s
2021-06-04 22:57:56 |

2021-06-04 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:57:56 | ------------------------------------

2021-06-04 22:57:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 536dad8d-8c4f-409b-9fac-858bd7b62757</title></pubsub></data>

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

2021-06-04 22:57:57 | [Mutex] waiting for: [received:nodes:4453752a-9a87-49db-828a-23d0ebf6ccbc:localhost]

2021-06-04 22:57:57 | [Mutex] received everything.

2021-06-04 22:57:57 | [Mutex] isItemNotified: received:node:4453752a-9a87-49db-828a-23d0ebf6ccbc:localhost:node-536dad8d-8c4f-409b-9fac-858bd7b62757:Node 536dad8d-8c4f-409b-9fac-858bd7b62757 :: true

createSubnodes 1.027s
2021-06-04 22:57:57 |

2021-06-04 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:57:57 | ------------------------------------

2021-06-04 22:57:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3db78868-b54f-4dd4-928d-3e80937f949d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3db78868-b54f-4dd4-928d-3e80937f949d</title></pubsub></data>

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

2021-06-04 22:57:58 | [Mutex] waiting for: [received:nodes:ad1a8a84-e8c2-4cda-81d9-a0af7eae114c:localhost]

2021-06-04 22:57:58 | [Mutex] received everything.

2021-06-04 22:57:58 | [Mutex] isItemNotified: received:node:ad1a8a84-e8c2-4cda-81d9-a0af7eae114c:localhost:node-3db78868-b54f-4dd4-928d-3e80937f949d:Node 3db78868-b54f-4dd4-928d-3e80937f949d :: true

deleteNodes 1.024s
2021-06-04 22:58:04 |

2021-06-04 22:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:04 | ------------------------------------

2021-06-04 22:58:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3db78868-b54f-4dd4-928d-3e80937f949d</node></data>

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

2021-06-04 22:58:05 | [Mutex] waiting for: [received:nodes:4000bb48-75b7-47ab-ba9f-98523cd23eb3:localhost]

2021-06-04 22:58:05 | [Mutex] received everything.

2021-06-04 22:58:05 | [Mutex] isItemNotified: received:node:4000bb48-75b7-47ab-ba9f-98523cd23eb3:localhost:node-3db78868-b54f-4dd4-928d-3e80937f949d:Node 3db78868-b54f-4dd4-928d-3e80937f949d :: false

deleteSubnodes 1.157s
2021-06-04 22:58:03 |

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

2021-06-04 22:58:03 | ------------------------------------

2021-06-04 22:58:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node></data>

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

2021-06-04 22:58:04 | [Mutex] waiting for: [received:nodes:b74a6845-565d-498a-9694-7be1d157a64a:localhost]

2021-06-04 22:58:04 | [Mutex] received everything.

2021-06-04 22:58:04 | [Mutex] isItemNotified: received:node:b74a6845-565d-498a-9694-7be1d157a64a:localhost:node-536dad8d-8c4f-409b-9fac-858bd7b62757:Node 536dad8d-8c4f-409b-9fac-858bd7b62757 :: false

2021-06-04 22:58:04 | [Mutex] waiting for: [received:nodes:718fb2f0-872c-44a3-83f7-9fff32e89bd1:localhost]

2021-06-04 22:58:04 | [Mutex] received everything.

2021-06-04 22:58:04 | [Mutex] isItemNotified: received:node:718fb2f0-872c-44a3-83f7-9fff32e89bd1:localhost:node-536dad8d-8c4f-409b-9fac-858bd7b62757:Node 536dad8d-8c4f-409b-9fac-858bd7b62757 :: false

publishItemsToNodes 0.205s
2021-06-04 22:58:01 |

2021-06-04 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:01 | ------------------------------------

2021-06-04 22:58:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><item-id>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</item-id><entry><test>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</test></entry></data>

2021-06-04 22:58:01 | 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-81206b6b-b0b0-4456-b225-2dd53c041aa3</value></item-id></result>

2021-06-04 22:58:01 | [Mutex] received everything.

2021-06-04 22:58:01 | [Mutex] isItemNotified: published:item:notifieditem-81206b6b-b0b0-4456-b225-2dd53c041aa3:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-06-04 22:58:01 |

2021-06-04 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:01 | ------------------------------------

2021-06-04 22:58:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><item-id>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</item-id></data>

2021-06-04 22:58:02 | 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-81206b6b-b0b0-4456-b225-2dd53c041aa3</value></item-id></result>

2021-06-04 22:58:02 | [Mutex] received everything.

2021-06-04 22:58:02 | [Mutex] isItemNotified: retracted:item:notifieditem-81206b6b-b0b0-4456-b225-2dd53c041aa3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.377s
2021-06-04 22:58:01 |

2021-06-04 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:01 | ------------------------------------

2021-06-04 22:58:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><item-id>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</item-id></data>

2021-06-04 22:58:01 | 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-536dad8d-8c4f-409b-9fac-858bd7b62757</value></node><item-id type="text-single" label="Item ID"><value>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</value></item-id><item type="text-multi" label="Item"><value><item id="item-81206b6b-b0b0-4456-b225-2dd53c041aa3"><test>item-81206b6b-b0b0-4456-b225-2dd53c041aa3</test></item></value></item></result>

2021-06-04 22:58:01 | [Mutex] notify: [retrieved:item:item-81206b6b-b0b0-4456-b225-2dd53c041aa3:payload-matches:true:localhost]

2021-06-04 22:58:01 | [Mutex] received everything.

2021-06-04 22:58:01 | [Mutex] isItemNotified: retrieved:item:item-81206b6b-b0b0-4456-b225-2dd53c041aa3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-04 22:58:01 |

2021-06-04 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:01 | ------------------------------------

2021-06-04 22:58:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-04 22:58:01 | 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-536dad8d-8c4f-409b-9fac-858bd7b62757</value><value>node-3db78868-b54f-4dd4-928d-3e80937f949d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-06-04 22:58:01 |

2021-06-04 22:58:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:01 | ------------------------------------

2021-06-04 22:58:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-536dad8d-8c4f-409b-9fac-858bd7b62757)</node-pattern></data>

2021-06-04 22:58:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.175s
2021-06-04 22:57:59 |

2021-06-04 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:57:59 | ------------------------------------

2021-06-04 22:57:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2021-06-04 22:58:02 |

2021-06-04 22:58:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:58:02 | ------------------------------------

2021-06-04 22:58:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-536dad8d-8c4f-409b-9fac-858bd7b62757</node><jids><value>admin@test-domain.com</value></jids></data>

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