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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2021-05-13 23:02:08 |

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

2021-05-13 23:02:08 | ------------------------------------

2021-05-13 23:02:08 | [Mutex] waiting for: [configured:node:node-47027291-3a7f-4ff6-93c3-f55b796d982f:node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20]

2021-05-13 23:02:08 | [Mutex] received everything.

2021-05-13 23:02:08 | [Mutex] isItemNotified: configured:node:node-47027291-3a7f-4ff6-93c3-f55b796d982f:node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20 :: true

2021-05-13 23:02:09 | [Mutex] waiting for: [received:nodes:cb9ce01d-3d28-4105-80dc-ec0292a9a22a:localhost]

2021-05-13 23:02:09 | [Mutex] received everything.

2021-05-13 23:02:09 | [Mutex] isItemNotified: received:node:cb9ce01d-3d28-4105-80dc-ec0292a9a22a:localhost:node-47027291-3a7f-4ff6-93c3-f55b796d982f:Node 47027291-3a7f-4ff6-93c3-f55b796d982f :: true

2021-05-13 23:02:09 | [Mutex] waiting for: [received:nodes:e16b0302-7629-47fa-bfc4-d4f1792688ae:localhost]

2021-05-13 23:02:09 | [Mutex] received everything.

2021-05-13 23:02:09 | [Mutex] isItemNotified: received:node:e16b0302-7629-47fa-bfc4-d4f1792688ae:localhost:node-47027291-3a7f-4ff6-93c3-f55b796d982f:Node 47027291-3a7f-4ff6-93c3-f55b796d982f :: false

createNodes 1.605s
2021-05-13 23:02:05 |

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

2021-05-13 23:02:05 | ------------------------------------

2021-05-13 23:02:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 47027291-3a7f-4ff6-93c3-f55b796d982f</title></pubsub></data>

2021-05-13 23:02:06 | 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 23:02:07 | [Mutex] waiting for: [received:nodes:06039735-a227-409a-aa8e-38d9816911c4:localhost]

2021-05-13 23:02:07 | [Mutex] received everything.

2021-05-13 23:02:07 | [Mutex] isItemNotified: received:node:06039735-a227-409a-aa8e-38d9816911c4:localhost:node-47027291-3a7f-4ff6-93c3-f55b796d982f:Node 47027291-3a7f-4ff6-93c3-f55b796d982f :: true

createSubnodes 1.029s
2021-05-13 23:02:07 |

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

2021-05-13 23:02:07 | ------------------------------------

2021-05-13 23:02:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c62ede00-770e-4d6d-8c2e-dd3b3ed75c20</title></pubsub></data>

2021-05-13 23:02:07 | 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 23:02:08 | [Mutex] waiting for: [received:nodes:581d7300-9fb1-4c5e-89aa-151718f55319:localhost]

2021-05-13 23:02:08 | [Mutex] waiting for: [received:nodes:581d7300-9fb1-4c5e-89aa-151718f55319:localhost]

2021-05-13 23:02:08 | [Mutex] received everything.

2021-05-13 23:02:08 | [Mutex] isItemNotified: received:node:581d7300-9fb1-4c5e-89aa-151718f55319:localhost:node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20:Node c62ede00-770e-4d6d-8c2e-dd3b3ed75c20 :: true

deleteNodes 1.061s
2021-05-13 23:02:13 |

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

2021-05-13 23:02:13 | ------------------------------------

2021-05-13 23:02:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20</node></data>

2021-05-13 23:02:13 | 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 23:02:14 | [Mutex] waiting for: [received:nodes:80b28fdc-8e58-4860-8e8d-3110495cc6d4:localhost]

2021-05-13 23:02:14 | [Mutex] received everything.

2021-05-13 23:02:14 | [Mutex] isItemNotified: received:node:80b28fdc-8e58-4860-8e8d-3110495cc6d4:localhost:node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20:Node c62ede00-770e-4d6d-8c2e-dd3b3ed75c20 :: false

deleteSubnodes 1.169s
2021-05-13 23:02:12 |

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

2021-05-13 23:02:12 | ------------------------------------

2021-05-13 23:02:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node></data>

2021-05-13 23:02:12 | 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 23:02:13 | [Mutex] waiting for: [received:nodes:0b598a6e-6d1c-462d-a931-246c29bce573:localhost]

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

2021-05-13 23:02:13 | [Mutex] isItemNotified: received:node:0b598a6e-6d1c-462d-a931-246c29bce573:localhost:node-47027291-3a7f-4ff6-93c3-f55b796d982f:Node 47027291-3a7f-4ff6-93c3-f55b796d982f :: false

2021-05-13 23:02:13 | [Mutex] waiting for: [received:nodes:95428e39-e030-41cb-b896-4282267f580c:localhost]

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

2021-05-13 23:02:13 | [Mutex] isItemNotified: received:node:95428e39-e030-41cb-b896-4282267f580c:localhost:node-47027291-3a7f-4ff6-93c3-f55b796d982f:Node 47027291-3a7f-4ff6-93c3-f55b796d982f :: false

publishItemsToNodes 0.317s
2021-05-13 23:02:10 |

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

2021-05-13 23:02:10 | ------------------------------------

2021-05-13 23:02:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><item-id>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</item-id><entry><test>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</test></entry></data>

2021-05-13 23:02:10 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</value></item-id></result>

2021-05-13 23:02:10 | [Mutex] received everything.

2021-05-13 23:02:10 | [Mutex] isItemNotified: published:item:notifieditem-5b8e9278-9ac7-499f-b9c7-1413ae242c23:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2021-05-13 23:02:11 |

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

2021-05-13 23:02:11 | ------------------------------------

2021-05-13 23:02:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><item-id>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</item-id></data>

2021-05-13 23:02:11 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</value></item-id></result>

2021-05-13 23:02:11 | [Mutex] received everything.

2021-05-13 23:02:11 | [Mutex] isItemNotified: retracted:item:notifieditem-5b8e9278-9ac7-499f-b9c7-1413ae242c23:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2021-05-13 23:02:10 |

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

2021-05-13 23:02:10 | ------------------------------------

2021-05-13 23:02:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><item-id>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</item-id></data>

2021-05-13 23:02:11 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-47027291-3a7f-4ff6-93c3-f55b796d982f</value></node><item-id label="Item ID" type="text-single"><value>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</value></item-id><item label="Item" type="text-multi"><value><item id="item-5b8e9278-9ac7-499f-b9c7-1413ae242c23"><test>item-5b8e9278-9ac7-499f-b9c7-1413ae242c23</test></item></value></item></result>

2021-05-13 23:02:11 | [Mutex] notify: [retrieved:item:item-5b8e9278-9ac7-499f-b9c7-1413ae242c23:payload-matches:true:localhost]

2021-05-13 23:02:11 | [Mutex] received everything.

2021-05-13 23:02:11 | [Mutex] isItemNotified: retrieved:item:item-5b8e9278-9ac7-499f-b9c7-1413ae242c23:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-05-13 23:02:11 |

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

2021-05-13 23:02:11 | ------------------------------------

2021-05-13 23:02:11 | 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 23:02:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-47027291-3a7f-4ff6-93c3-f55b796d982f</value><value>node-c62ede00-770e-4d6d-8c2e-dd3b3ed75c20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2021-05-13 23:02:11 |

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

2021-05-13 23:02:11 | ------------------------------------

2021-05-13 23:02:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-47027291-3a7f-4ff6-93c3-f55b796d982f)</node-pattern></data>

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

subscribeNodes 1.206s
2021-05-13 23:02:09 |

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

2021-05-13 23:02:09 | ------------------------------------

2021-05-13 23:02:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.195s
2021-05-13 23:02:11 |

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

2021-05-13 23:02:11 | ------------------------------------

2021-05-13 23:02:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-47027291-3a7f-4ff6-93c3-f55b796d982f</node><jids><value>admin@test-domain.com</value></jids></data>

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