Generated by TestNG with ReportNG at 22:48 PDT on Sunday 26 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.387s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2023-03-26 23:02:22 |

2023-03-26 23:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:22 | ------------------------------------

2023-03-26 23:02:22 | [Mutex] waiting for: [configured:node:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:node-e061c46b-80b4-4a07-ba2c-029b43aef550]

2023-03-26 23:02:22 | [Mutex] received everything.

2023-03-26 23:02:22 | [Mutex] isItemNotified: configured:node:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:node-e061c46b-80b4-4a07-ba2c-029b43aef550 :: true

2023-03-26 23:02:23 | [Mutex] waiting for: [received:nodes:66a5f91b-096c-4159-abe4-718b42c7fb36:localhost]

2023-03-26 23:02:23 | [Mutex] received everything.

2023-03-26 23:02:23 | [Mutex] isItemNotified: received:node:66a5f91b-096c-4159-abe4-718b42c7fb36:localhost:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:Node f375d4b8-8740-49dd-86c7-f26f35c7ee23 :: true

2023-03-26 23:02:23 | [Mutex] waiting for: [received:nodes:33a906c8-4e08-4f54-b2b3-e893f03f9016:localhost]

2023-03-26 23:02:23 | [Mutex] waiting for: [received:nodes:33a906c8-4e08-4f54-b2b3-e893f03f9016:localhost]

2023-03-26 23:02:23 | [Mutex] waiting for: [received:nodes:33a906c8-4e08-4f54-b2b3-e893f03f9016:localhost]

2023-03-26 23:02:23 | [Mutex] waiting for: [received:nodes:33a906c8-4e08-4f54-b2b3-e893f03f9016:localhost]

2023-03-26 23:02:23 | [Mutex] received everything.

2023-03-26 23:02:23 | [Mutex] isItemNotified: received:node:33a906c8-4e08-4f54-b2b3-e893f03f9016:localhost:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:Node f375d4b8-8740-49dd-86c7-f26f35c7ee23 :: false

createNodes 1.386s
2023-03-26 23:02:20 |

2023-03-26 23:02:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:20 | ------------------------------------

2023-03-26 23:02:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f375d4b8-8740-49dd-86c7-f26f35c7ee23</title></pubsub></data>

2023-03-26 23:02:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-26 23:02:21 | [Mutex] waiting for: [received:nodes:0cbb6e6b-2ac3-4d9a-ab84-052793ceb49b:localhost]

2023-03-26 23:02:21 | [Mutex] waiting for: [received:nodes:0cbb6e6b-2ac3-4d9a-ab84-052793ceb49b:localhost]

2023-03-26 23:02:21 | [Mutex] waiting for: [received:nodes:0cbb6e6b-2ac3-4d9a-ab84-052793ceb49b:localhost]

2023-03-26 23:02:21 | [Mutex] received everything.

2023-03-26 23:02:21 | [Mutex] isItemNotified: received:node:0cbb6e6b-2ac3-4d9a-ab84-052793ceb49b:localhost:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:Node f375d4b8-8740-49dd-86c7-f26f35c7ee23 :: true

createSubnodes 1.020s
2023-03-26 23:02:21 |

2023-03-26 23:02:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:21 | ------------------------------------

2023-03-26 23:02:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e061c46b-80b4-4a07-ba2c-029b43aef550</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e061c46b-80b4-4a07-ba2c-029b43aef550</title></pubsub></data>

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

2023-03-26 23:02:22 | [Mutex] waiting for: [received:nodes:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost]

2023-03-26 23:02:22 | [Mutex] waiting for: [received:nodes:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost]

2023-03-26 23:02:22 | [Mutex] waiting for: [received:nodes:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost]

2023-03-26 23:02:22 | [Mutex] waiting for: [received:nodes:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost]

2023-03-26 23:02:22 | [Mutex] waiting for: [received:nodes:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost]

2023-03-26 23:02:22 | [Mutex] received everything.

2023-03-26 23:02:22 | [Mutex] isItemNotified: received:node:a28e44bb-7b09-455f-bb72-a151d9a149f2:localhost:node-e061c46b-80b4-4a07-ba2c-029b43aef550:Node e061c46b-80b4-4a07-ba2c-029b43aef550 :: true

deleteNodes 1.016s
2023-03-26 23:02:27 |

2023-03-26 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:27 | ------------------------------------

2023-03-26 23:02:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e061c46b-80b4-4a07-ba2c-029b43aef550</node></data>

2023-03-26 23:02:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-26 23:02:29 | [Mutex] waiting for: [received:nodes:df60e130-c996-42e6-9ada-2d9909560667:localhost]

2023-03-26 23:02:29 | [Mutex] waiting for: [received:nodes:df60e130-c996-42e6-9ada-2d9909560667:localhost]

2023-03-26 23:02:29 | [Mutex] waiting for: [received:nodes:df60e130-c996-42e6-9ada-2d9909560667:localhost]

2023-03-26 23:02:29 | [Mutex] received everything.

2023-03-26 23:02:29 | [Mutex] isItemNotified: received:node:df60e130-c996-42e6-9ada-2d9909560667:localhost:node-e061c46b-80b4-4a07-ba2c-029b43aef550:Node e061c46b-80b4-4a07-ba2c-029b43aef550 :: false

deleteSubnodes 1.127s
2023-03-26 23:02:26 |

2023-03-26 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:26 | ------------------------------------

2023-03-26 23:02:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node></data>

2023-03-26 23:02:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-26 23:02:27 | [Mutex] waiting for: [received:nodes:edfb7111-8abf-4ba3-b11c-5cc37785f52e:localhost]

2023-03-26 23:02:27 | [Mutex] received everything.

2023-03-26 23:02:27 | [Mutex] isItemNotified: received:node:edfb7111-8abf-4ba3-b11c-5cc37785f52e:localhost:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:Node f375d4b8-8740-49dd-86c7-f26f35c7ee23 :: false

2023-03-26 23:02:27 | [Mutex] waiting for: [received:nodes:e994a203-ead6-4614-b47a-708204100594:localhost]

2023-03-26 23:02:27 | [Mutex] received everything.

2023-03-26 23:02:27 | [Mutex] isItemNotified: received:node:e994a203-ead6-4614-b47a-708204100594:localhost:node-f375d4b8-8740-49dd-86c7-f26f35c7ee23:Node f375d4b8-8740-49dd-86c7-f26f35c7ee23 :: false

publishItemsToNodes 0.303s
2023-03-26 23:02:24 |

2023-03-26 23:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:24 | ------------------------------------

2023-03-26 23:02:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><item-id>item-22fb7db3-a58f-4112-b012-b9979086aa6d</item-id><entry><test>item-22fb7db3-a58f-4112-b012-b9979086aa6d</test></entry></data>

2023-03-26 23:02:25 | 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-22fb7db3-a58f-4112-b012-b9979086aa6d</value></item-id></result>

2023-03-26 23:02:25 | [Mutex] waiting for: [published:item:notifieditem-22fb7db3-a58f-4112-b012-b9979086aa6d:admin@test-domain.com]

2023-03-26 23:02:25 | [Mutex] received everything.

2023-03-26 23:02:25 | [Mutex] isItemNotified: published:item:notifieditem-22fb7db3-a58f-4112-b012-b9979086aa6d:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-03-26 23:02:25 |

2023-03-26 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:25 | ------------------------------------

2023-03-26 23:02:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><item-id>item-22fb7db3-a58f-4112-b012-b9979086aa6d</item-id></data>

2023-03-26 23:02:25 | 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-22fb7db3-a58f-4112-b012-b9979086aa6d</value></item-id></result>

2023-03-26 23:02:25 | [Mutex] received everything.

2023-03-26 23:02:25 | [Mutex] isItemNotified: retracted:item:notifieditem-22fb7db3-a58f-4112-b012-b9979086aa6d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.183s
2023-03-26 23:02:25 |

2023-03-26 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:25 | ------------------------------------

2023-03-26 23:02:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><item-id>item-22fb7db3-a58f-4112-b012-b9979086aa6d</item-id></data>

2023-03-26 23:02:25 | 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-f375d4b8-8740-49dd-86c7-f26f35c7ee23</value></node><item-id label="Item ID" type="text-single"><value>item-22fb7db3-a58f-4112-b012-b9979086aa6d</value></item-id><item label="Item" type="text-multi"><value><item id="item-22fb7db3-a58f-4112-b012-b9979086aa6d"><test>item-22fb7db3-a58f-4112-b012-b9979086aa6d</test></item></value></item></result>

2023-03-26 23:02:25 | [Mutex] notify: [retrieved:item:item-22fb7db3-a58f-4112-b012-b9979086aa6d:payload-matches:true:localhost]

2023-03-26 23:02:25 | [Mutex] received everything.

2023-03-26 23:02:25 | [Mutex] isItemNotified: retrieved:item:item-22fb7db3-a58f-4112-b012-b9979086aa6d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2023-03-26 23:02:25 |

2023-03-26 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:25 | ------------------------------------

2023-03-26 23:02:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-26 23:02:25 | 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-f375d4b8-8740-49dd-86c7-f26f35c7ee23</value><value>node-e061c46b-80b4-4a07-ba2c-029b43aef550</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-26 23:02:25 |

2023-03-26 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:25 | ------------------------------------

2023-03-26 23:02:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f375d4b8-8740-49dd-86c7-f26f35c7ee23)</node-pattern></data>

2023-03-26 23:02:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2023-03-26 23:02:23 |

2023-03-26 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:23 | ------------------------------------

2023-03-26 23:02:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.187s
2023-03-26 23:02:25 |

2023-03-26 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 23:02:25 | ------------------------------------

2023-03-26 23:02:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f375d4b8-8740-49dd-86c7-f26f35c7ee23</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-26 23:02:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>