Generated by TestNG with ReportNG at 21:32 PST on Monday 21 February 2022
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.532s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2022-02-21 21:46:50 |

2022-02-21 21:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:50 | ------------------------------------

2022-02-21 21:46:51 | [Mutex] waiting for: [configured:node:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:node-622bfea0-5d7b-4dfd-968b-2f32b75302fd]

2022-02-21 21:46:51 | [Mutex] received everything.

2022-02-21 21:46:51 | [Mutex] isItemNotified: configured:node:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:node-622bfea0-5d7b-4dfd-968b-2f32b75302fd :: true

2022-02-21 21:46:52 | [Mutex] waiting for: [received:nodes:5399172b-f578-4bed-9ac6-9d56a6294ec4:localhost]

2022-02-21 21:46:52 | [Mutex] received everything.

2022-02-21 21:46:52 | [Mutex] isItemNotified: received:node:5399172b-f578-4bed-9ac6-9d56a6294ec4:localhost:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:Node 283160fa-ce5e-47b9-9990-2b17f9bc572d :: true

2022-02-21 21:46:52 | [Mutex] waiting for: [received:nodes:ea120ecd-3d4f-4237-9a8e-046002ba1d45:localhost]

2022-02-21 21:46:52 | [Mutex] received everything.

2022-02-21 21:46:52 | [Mutex] isItemNotified: received:node:ea120ecd-3d4f-4237-9a8e-046002ba1d45:localhost:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:Node 283160fa-ce5e-47b9-9990-2b17f9bc572d :: false

createNodes 1.563s
2022-02-21 21:46:48 |

2022-02-21 21:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:48 | ------------------------------------

2022-02-21 21:46:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 283160fa-ce5e-47b9-9990-2b17f9bc572d</title></pubsub></data>

2022-02-21 21:46:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-21 21:46:49 | [Mutex] waiting for: [received:nodes:385fbddd-13a1-4701-9a06-f3b5149f2bae:localhost]

2022-02-21 21:46:49 | [Mutex] received everything.

2022-02-21 21:46:49 | [Mutex] isItemNotified: received:node:385fbddd-13a1-4701-9a06-f3b5149f2bae:localhost:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:Node 283160fa-ce5e-47b9-9990-2b17f9bc572d :: true

createSubnodes 1.037s
2022-02-21 21:46:49 |

2022-02-21 21:46:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:49 | ------------------------------------

2022-02-21 21:46:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-622bfea0-5d7b-4dfd-968b-2f32b75302fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 622bfea0-5d7b-4dfd-968b-2f32b75302fd</title></pubsub></data>

2022-02-21 21:46:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-21 21:46:50 | [Mutex] waiting for: [received:nodes:a22c82ac-de0a-40c5-89f2-582b8fedaf8e:localhost]

2022-02-21 21:46:50 | [Mutex] received everything.

2022-02-21 21:46:50 | [Mutex] isItemNotified: received:node:a22c82ac-de0a-40c5-89f2-582b8fedaf8e:localhost:node-622bfea0-5d7b-4dfd-968b-2f32b75302fd:Node 622bfea0-5d7b-4dfd-968b-2f32b75302fd :: true

deleteNodes 1.022s
2022-02-21 21:46:56 |

2022-02-21 21:46:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:56 | ------------------------------------

2022-02-21 21:46:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-622bfea0-5d7b-4dfd-968b-2f32b75302fd</node></data>

2022-02-21 21:46:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-21 21:46:57 | [Mutex] waiting for: [received:nodes:a5fb7eb3-a37a-4837-b970-7e4130d3573a:localhost]

2022-02-21 21:46:57 | [Mutex] received everything.

2022-02-21 21:46:57 | [Mutex] isItemNotified: received:node:a5fb7eb3-a37a-4837-b970-7e4130d3573a:localhost:node-622bfea0-5d7b-4dfd-968b-2f32b75302fd:Node 622bfea0-5d7b-4dfd-968b-2f32b75302fd :: false

deleteSubnodes 1.145s
2022-02-21 21:46:55 |

2022-02-21 21:46:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:55 | ------------------------------------

2022-02-21 21:46:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node></data>

2022-02-21 21:46:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-21 21:46:56 | [Mutex] waiting for: [received:nodes:8771e7d2-75b2-45cf-b613-8fdbc49b4ac7:localhost]

2022-02-21 21:46:56 | [Mutex] waiting for: [received:nodes:8771e7d2-75b2-45cf-b613-8fdbc49b4ac7:localhost]

2022-02-21 21:46:56 | [Mutex] received everything.

2022-02-21 21:46:56 | [Mutex] isItemNotified: received:node:8771e7d2-75b2-45cf-b613-8fdbc49b4ac7:localhost:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:Node 283160fa-ce5e-47b9-9990-2b17f9bc572d :: false

2022-02-21 21:46:56 | [Mutex] waiting for: [received:nodes:d2ead68b-fd2b-4d4d-9bd8-20d828269428:localhost]

2022-02-21 21:46:56 | [Mutex] received everything.

2022-02-21 21:46:56 | [Mutex] isItemNotified: received:node:d2ead68b-fd2b-4d4d-9bd8-20d828269428:localhost:node-283160fa-ce5e-47b9-9990-2b17f9bc572d:Node 283160fa-ce5e-47b9-9990-2b17f9bc572d :: false

publishItemsToNodes 0.283s
2022-02-21 21:46:53 |

2022-02-21 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:53 | ------------------------------------

2022-02-21 21:46:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><item-id>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</item-id><entry><test>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</test></entry></data>

2022-02-21 21:46:53 | 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-a7cd7a77-9201-4c8b-8463-186ecbc21964</value></item-id></result>

2022-02-21 21:46:53 | [Mutex] received everything.

2022-02-21 21:46:53 | [Mutex] isItemNotified: published:item:notifieditem-a7cd7a77-9201-4c8b-8463-186ecbc21964:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-02-21 21:46:54 |

2022-02-21 21:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:54 | ------------------------------------

2022-02-21 21:46:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><item-id>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</item-id></data>

2022-02-21 21:46:54 | 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-a7cd7a77-9201-4c8b-8463-186ecbc21964</value></item-id></result>

2022-02-21 21:46:54 | [Mutex] received everything.

2022-02-21 21:46:54 | [Mutex] isItemNotified: retracted:item:notifieditem-a7cd7a77-9201-4c8b-8463-186ecbc21964:admin@test-domain.com :: true

retrieveItemsFromNodes 0.435s
2022-02-21 21:46:53 |

2022-02-21 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:53 | ------------------------------------

2022-02-21 21:46:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><item-id>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</item-id></data>

2022-02-21 21:46:53 | 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-283160fa-ce5e-47b9-9990-2b17f9bc572d</value></node><item-id label="Item ID" type="text-single"><value>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</value></item-id><item label="Item" type="text-multi"><value><item id="item-a7cd7a77-9201-4c8b-8463-186ecbc21964"><test>item-a7cd7a77-9201-4c8b-8463-186ecbc21964</test></item></value></item></result>

2022-02-21 21:46:53 | [Mutex] notify: [retrieved:item:item-a7cd7a77-9201-4c8b-8463-186ecbc21964:payload-matches:true:localhost]

2022-02-21 21:46:53 | [Mutex] received everything.

2022-02-21 21:46:53 | [Mutex] isItemNotified: retrieved:item:item-a7cd7a77-9201-4c8b-8463-186ecbc21964:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2022-02-21 21:46:53 |

2022-02-21 21:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:53 | ------------------------------------

2022-02-21 21:46:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-21 21:46:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</value><value>test</value><value>node-622bfea0-5d7b-4dfd-968b-2f32b75302fd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-21 21:46:54 |

2022-02-21 21:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:54 | ------------------------------------

2022-02-21 21:46: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-283160fa-ce5e-47b9-9990-2b17f9bc572d)</node-pattern></data>

2022-02-21 21:46:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.130s
2022-02-21 21:46:52 |

2022-02-21 21:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:52 | ------------------------------------

2022-02-21 21:46:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-21 21:46:52 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.327s
2022-02-21 21:46:54 |

2022-02-21 21:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:46:54 | ------------------------------------

2022-02-21 21:46:54 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-283160fa-ce5e-47b9-9990-2b17f9bc572d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-21 21:46:54 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>