Generated by TestNG with ReportNG at 22:17 PDT on Sunday 19 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.660s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-06-19 22:39:19 |

2022-06-19 22:39:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:19 | ------------------------------------

2022-06-19 22:39:19 | [Mutex] waiting for: [configured:node:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:node-f0076ebf-9a31-4059-b4e2-53fc514660ee]

2022-06-19 22:39:20 | [Mutex] received everything.

2022-06-19 22:39:20 | [Mutex] isItemNotified: configured:node:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:node-f0076ebf-9a31-4059-b4e2-53fc514660ee :: true

2022-06-19 22:39:21 | [Mutex] waiting for: [received:nodes:3c458288-6f65-40dc-a098-5490343936e1:localhost]

2022-06-19 22:39:21 | [Mutex] received everything.

2022-06-19 22:39:21 | [Mutex] isItemNotified: received:node:3c458288-6f65-40dc-a098-5490343936e1:localhost:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b :: true

2022-06-19 22:39:21 | [Mutex] waiting for: [received:nodes:8d116868-354d-4648-b012-8a429849aa2d:localhost]

2022-06-19 22:39:21 | [Mutex] received everything.

2022-06-19 22:39:21 | [Mutex] isItemNotified: received:node:8d116868-354d-4648-b012-8a429849aa2d:localhost:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b :: false

createNodes 1.494s
2022-06-19 22:39:17 |

2022-06-19 22:39:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:17 | ------------------------------------

2022-06-19 22:39:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</title></pubsub></data>

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

2022-06-19 22:39:18 | [Mutex] waiting for: [received:nodes:cc8e2f0a-675c-41ea-9659-565a32d795d3:localhost]

2022-06-19 22:39:18 | [Mutex] received everything.

2022-06-19 22:39:18 | [Mutex] isItemNotified: received:node:cc8e2f0a-675c-41ea-9659-565a32d795d3:localhost:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b :: true

createSubnodes 1.026s
2022-06-19 22:39:18 |

2022-06-19 22:39:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:18 | ------------------------------------

2022-06-19 22:39:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0076ebf-9a31-4059-b4e2-53fc514660ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0076ebf-9a31-4059-b4e2-53fc514660ee</title></pubsub></data>

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

2022-06-19 22:39:19 | [Mutex] waiting for: [received:nodes:8e0e3cb2-3e36-423e-8b36-86a7188bc9e3:localhost]

2022-06-19 22:39:19 | [Mutex] waiting for: [received:nodes:8e0e3cb2-3e36-423e-8b36-86a7188bc9e3:localhost]

2022-06-19 22:39:19 | [Mutex] received everything.

2022-06-19 22:39:19 | [Mutex] isItemNotified: received:node:8e0e3cb2-3e36-423e-8b36-86a7188bc9e3:localhost:node-f0076ebf-9a31-4059-b4e2-53fc514660ee:Node f0076ebf-9a31-4059-b4e2-53fc514660ee :: true

deleteNodes 1.021s
2022-06-19 22:39:25 |

2022-06-19 22:39:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:25 | ------------------------------------

2022-06-19 22:39:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0076ebf-9a31-4059-b4e2-53fc514660ee</node></data>

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

2022-06-19 22:39:26 | [Mutex] waiting for: [received:nodes:29f198dc-37f8-4e1d-831c-54fcb9fd6f1b:localhost]

2022-06-19 22:39:26 | [Mutex] received everything.

2022-06-19 22:39:26 | [Mutex] isItemNotified: received:node:29f198dc-37f8-4e1d-831c-54fcb9fd6f1b:localhost:node-f0076ebf-9a31-4059-b4e2-53fc514660ee:Node f0076ebf-9a31-4059-b4e2-53fc514660ee :: false

deleteSubnodes 1.128s
2022-06-19 22:39:24 |

2022-06-19 22:39:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:24 | ------------------------------------

2022-06-19 22:39:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node></data>

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

2022-06-19 22:39:25 | [Mutex] waiting for: [received:nodes:e2f073b0-e074-4263-9120-608fe7567536:localhost]

2022-06-19 22:39:25 | [Mutex] waiting for: [received:nodes:e2f073b0-e074-4263-9120-608fe7567536:localhost]

2022-06-19 22:39:25 | [Mutex] waiting for: [received:nodes:e2f073b0-e074-4263-9120-608fe7567536:localhost]

2022-06-19 22:39:25 | [Mutex] waiting for: [received:nodes:e2f073b0-e074-4263-9120-608fe7567536:localhost]

2022-06-19 22:39:25 | [Mutex] received everything.

2022-06-19 22:39:25 | [Mutex] isItemNotified: received:node:e2f073b0-e074-4263-9120-608fe7567536:localhost:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b :: false

2022-06-19 22:39:25 | [Mutex] waiting for: [received:nodes:a656465e-4475-4932-9340-bbf367ece45f:localhost]

2022-06-19 22:39:25 | [Mutex] received everything.

2022-06-19 22:39:25 | [Mutex] isItemNotified: received:node:a656465e-4475-4932-9340-bbf367ece45f:localhost:node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b:Node 1e25c394-7b8f-41b2-9e2d-58fef0e7a65b :: false

publishItemsToNodes 0.180s
2022-06-19 22:39:22 |

2022-06-19 22:39:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:22 | ------------------------------------

2022-06-19 22:39:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><item-id>item-92097f49-f0bb-4fcc-b739-89bce78152f6</item-id><entry><test>item-92097f49-f0bb-4fcc-b739-89bce78152f6</test></entry></data>

2022-06-19 22:39:22 | 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-92097f49-f0bb-4fcc-b739-89bce78152f6</value></item-id></result>

2022-06-19 22:39:22 | [Mutex] received everything.

2022-06-19 22:39:22 | [Mutex] isItemNotified: published:item:notifieditem-92097f49-f0bb-4fcc-b739-89bce78152f6:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-06-19 22:39:22 |

2022-06-19 22:39:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:22 | ------------------------------------

2022-06-19 22:39:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><item-id>item-92097f49-f0bb-4fcc-b739-89bce78152f6</item-id></data>

2022-06-19 22:39:23 | 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-92097f49-f0bb-4fcc-b739-89bce78152f6</value></item-id></result>

2022-06-19 22:39:23 | [Mutex] received everything.

2022-06-19 22:39:23 | [Mutex] isItemNotified: retracted:item:notifieditem-92097f49-f0bb-4fcc-b739-89bce78152f6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2022-06-19 22:39:22 |

2022-06-19 22:39:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:22 | ------------------------------------

2022-06-19 22:39:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><item-id>item-92097f49-f0bb-4fcc-b739-89bce78152f6</item-id></data>

2022-06-19 22:39:22 | 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-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</value></node><item-id label="Item ID" type="text-single"><value>item-92097f49-f0bb-4fcc-b739-89bce78152f6</value></item-id><item label="Item" type="text-multi"><value><item id="item-92097f49-f0bb-4fcc-b739-89bce78152f6"><test>item-92097f49-f0bb-4fcc-b739-89bce78152f6</test></item></value></item></result>

2022-06-19 22:39:22 | [Mutex] notify: [retrieved:item:item-92097f49-f0bb-4fcc-b739-89bce78152f6:payload-matches:true:localhost]

2022-06-19 22:39:22 | [Mutex] received everything.

2022-06-19 22:39:22 | [Mutex] isItemNotified: retrieved:item:item-92097f49-f0bb-4fcc-b739-89bce78152f6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-19 22:39:22 |

2022-06-19 22:39:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:22 | ------------------------------------

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

2022-06-19 22:39:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</value><value>test</value><value>node-f0076ebf-9a31-4059-b4e2-53fc514660ee</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-06-19 22:39:22 |

2022-06-19 22:39:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:22 | ------------------------------------

2022-06-19 22:39:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b)</node-pattern></data>

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

subscribeNodes 1.223s
2022-06-19 22:39:21 |

2022-06-19 22:39:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:21 | ------------------------------------

2022-06-19 22:39:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.239s
2022-06-19 22:39:23 |

2022-06-19 22:39:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-19 22:39:23 | ------------------------------------

2022-06-19 22:39:23 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1e25c394-7b8f-41b2-9e2d-58fef0e7a65b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-19 22:39:23 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>