Generated by TestNG with ReportNG at 22:18 PDT on Thursday 13 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.397s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2021-05-13 22:33:01 |

2021-05-13 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:01 | ------------------------------------

2021-05-13 22:33:01 | [Mutex] waiting for: [configured:node:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:node-f41563f3-dcd4-4d12-995e-c7b52984cfd0]

2021-05-13 22:33:01 | [Mutex] received everything.

2021-05-13 22:33:01 | [Mutex] isItemNotified: configured:node:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:node-f41563f3-dcd4-4d12-995e-c7b52984cfd0 :: true

2021-05-13 22:33:02 | [Mutex] waiting for: [received:nodes:d2c2b427-00ec-493c-953e-d0fb1d56bbb7:localhost]

2021-05-13 22:33:02 | [Mutex] received everything.

2021-05-13 22:33:02 | [Mutex] isItemNotified: received:node:d2c2b427-00ec-493c-953e-d0fb1d56bbb7:localhost:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85 :: true

2021-05-13 22:33:02 | [Mutex] waiting for: [received:nodes:363939d7-b9c8-4d44-a57b-59e663940507:localhost]

2021-05-13 22:33:02 | [Mutex] waiting for: [received:nodes:363939d7-b9c8-4d44-a57b-59e663940507:localhost]

2021-05-13 22:33:02 | [Mutex] received everything.

2021-05-13 22:33:02 | [Mutex] isItemNotified: received:node:363939d7-b9c8-4d44-a57b-59e663940507:localhost:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85 :: false

createNodes 1.604s
2021-05-13 22:32:59 |

2021-05-13 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:32:59 | ------------------------------------

2021-05-13 22:32:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85</title></pubsub></data>

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

2021-05-13 22:33:00 | [Mutex] waiting for: [received:nodes:79442958-d6d4-49ac-8893-5379577a1d07:localhost]

2021-05-13 22:33:00 | [Mutex] received everything.

2021-05-13 22:33:00 | [Mutex] isItemNotified: received:node:79442958-d6d4-49ac-8893-5379577a1d07:localhost:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85 :: true

createSubnodes 1.022s
2021-05-13 22:33:00 |

2021-05-13 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:00 | ------------------------------------

2021-05-13 22:33:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f41563f3-dcd4-4d12-995e-c7b52984cfd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f41563f3-dcd4-4d12-995e-c7b52984cfd0</title></pubsub></data>

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

2021-05-13 22:33:01 | [Mutex] waiting for: [received:nodes:4864d1f6-940a-46d8-a219-45a47447e4e6:localhost]

2021-05-13 22:33:01 | [Mutex] received everything.

2021-05-13 22:33:01 | [Mutex] isItemNotified: received:node:4864d1f6-940a-46d8-a219-45a47447e4e6:localhost:node-f41563f3-dcd4-4d12-995e-c7b52984cfd0:Node f41563f3-dcd4-4d12-995e-c7b52984cfd0 :: true

deleteNodes 1.031s
2021-05-13 22:33:07 |

2021-05-13 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:07 | ------------------------------------

2021-05-13 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f41563f3-dcd4-4d12-995e-c7b52984cfd0</node></data>

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

2021-05-13 22:33:08 | [Mutex] waiting for: [received:nodes:5fd35a59-a5ff-4f5a-9043-8a3a8903f7db:localhost]

2021-05-13 22:33:08 | [Mutex] waiting for: [received:nodes:5fd35a59-a5ff-4f5a-9043-8a3a8903f7db:localhost]

2021-05-13 22:33:08 | [Mutex] received everything.

2021-05-13 22:33:08 | [Mutex] isItemNotified: received:node:5fd35a59-a5ff-4f5a-9043-8a3a8903f7db:localhost:node-f41563f3-dcd4-4d12-995e-c7b52984cfd0:Node f41563f3-dcd4-4d12-995e-c7b52984cfd0 :: false

deleteSubnodes 1.240s
2021-05-13 22:33:06 |

2021-05-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:06 | ------------------------------------

2021-05-13 22:33:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node></data>

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

2021-05-13 22:33:07 | [Mutex] waiting for: [received:nodes:39587a26-d346-458c-b396-ac7285da6d3b:localhost]

2021-05-13 22:33:07 | [Mutex] received everything.

2021-05-13 22:33:07 | [Mutex] isItemNotified: received:node:39587a26-d346-458c-b396-ac7285da6d3b:localhost:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85 :: false

2021-05-13 22:33:07 | [Mutex] waiting for: [received:nodes:d58a2588-24ef-43a0-a1ec-ccbfd903b03b:localhost]

2021-05-13 22:33:07 | [Mutex] received everything.

2021-05-13 22:33:07 | [Mutex] isItemNotified: received:node:d58a2588-24ef-43a0-a1ec-ccbfd903b03b:localhost:node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85:Node 6d4b299e-bc58-4a76-830c-8c2ec80b2e85 :: false

publishItemsToNodes 0.289s
2021-05-13 22:33:03 |

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

2021-05-13 22:33:03 | ------------------------------------

2021-05-13 22:33:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><item-id>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</item-id><entry><test>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</test></entry></data>

2021-05-13 22:33:04 | 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-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</value></item-id></result>

2021-05-13 22:33:04 | [Mutex] waiting for: [published:item:notifieditem-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313:admin@test-domain.com]

2021-05-13 22:33:04 | [Mutex] received everything.

2021-05-13 22:33:04 | [Mutex] isItemNotified: published:item:notifieditem-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2021-05-13 22:33:04 |

2021-05-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:04 | ------------------------------------

2021-05-13 22:33:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><item-id>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</item-id></data>

2021-05-13 22:33:04 | 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-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</value></item-id></result>

2021-05-13 22:33:04 | [Mutex] received everything.

2021-05-13 22:33:04 | [Mutex] isItemNotified: retracted:item:notifieditem-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313:admin@test-domain.com :: true

retrieveItemsFromNodes 0.341s
2021-05-13 22:33:04 |

2021-05-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:04 | ------------------------------------

2021-05-13 22:33:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><item-id>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</item-id></data>

2021-05-13 22:33:04 | 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-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</value></node><item-id type="text-single" label="Item ID"><value>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</value></item-id><item type="text-multi" label="Item"><value><item id="item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313"><test>item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313</test></item></value></item></result>

2021-05-13 22:33:04 | [Mutex] notify: [retrieved:item:item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313:payload-matches:true:localhost]

2021-05-13 22:33:04 | [Mutex] received everything.

2021-05-13 22:33:04 | [Mutex] isItemNotified: retrieved:item:item-fcc2e9e6-a13a-41c1-bbdb-7e1992a11313:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-13 22:33:04 |

2021-05-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:04 | ------------------------------------

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

2021-05-13 22:33:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</value><value>test</value><value>node-f41563f3-dcd4-4d12-995e-c7b52984cfd0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-13 22:33:04 |

2021-05-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:04 | ------------------------------------

2021-05-13 22:33:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85)</node-pattern></data>

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

subscribeNodes 1.168s
2021-05-13 22:33:02 |

2021-05-13 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:02 | ------------------------------------

2021-05-13 22:33:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.347s
2021-05-13 22:33:04 |

2021-05-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:33:04 | ------------------------------------

2021-05-13 22:33:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6d4b299e-bc58-4a76-830c-8c2ec80b2e85</node><jids><value>admin@test-domain.com</value></jids></data>

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