Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 02 August 2022
root@f9c07ffec79b / 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.646s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-08-02 22:33:53 |

2022-08-02 22:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:53 | ------------------------------------

2022-08-02 22:33:53 | [Mutex] waiting for: [configured:node:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb]

2022-08-02 22:33:53 | [Mutex] received everything.

2022-08-02 22:33:53 | [Mutex] isItemNotified: configured:node:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb :: true

2022-08-02 22:33:54 | [Mutex] waiting for: [received:nodes:15ca5da1-b019-481f-afb6-cc6e55506136:localhost]

2022-08-02 22:33:54 | [Mutex] received everything.

2022-08-02 22:33:54 | [Mutex] isItemNotified: received:node:15ca5da1-b019-481f-afb6-cc6e55506136:localhost:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:Node ae6732d7-7187-4342-9928-c9bf5d3d4e82 :: true

2022-08-02 22:33:54 | [Mutex] waiting for: [received:nodes:039245d9-8091-46e2-9b8d-0864bd4d2d8e:localhost]

2022-08-02 22:33:54 | [Mutex] received everything.

2022-08-02 22:33:54 | [Mutex] isItemNotified: received:node:039245d9-8091-46e2-9b8d-0864bd4d2d8e:localhost:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:Node ae6732d7-7187-4342-9928-c9bf5d3d4e82 :: false

createNodes 1.538s
2022-08-02 22:33:50 |

2022-08-02 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:50 | ------------------------------------

2022-08-02 22:33:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ae6732d7-7187-4342-9928-c9bf5d3d4e82</title></pubsub></data>

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

2022-08-02 22:33:52 | [Mutex] waiting for: [received:nodes:ddf104d8-be07-4796-9d24-d93124c0d04a:localhost]

2022-08-02 22:33:52 | [Mutex] received everything.

2022-08-02 22:33:52 | [Mutex] isItemNotified: received:node:ddf104d8-be07-4796-9d24-d93124c0d04a:localhost:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:Node ae6732d7-7187-4342-9928-c9bf5d3d4e82 :: true

createSubnodes 1.023s
2022-08-02 22:33:52 |

2022-08-02 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:52 | ------------------------------------

2022-08-02 22:33:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 33e2a6c1-a306-45c3-ba1e-0381e6c334bb</title></pubsub></data>

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

2022-08-02 22:33:53 | [Mutex] waiting for: [received:nodes:755ba075-1c36-492c-ab51-a315df3a2477:localhost]

2022-08-02 22:33:53 | [Mutex] waiting for: [received:nodes:755ba075-1c36-492c-ab51-a315df3a2477:localhost]

2022-08-02 22:33:53 | [Mutex] waiting for: [received:nodes:755ba075-1c36-492c-ab51-a315df3a2477:localhost]

2022-08-02 22:33:53 | [Mutex] received everything.

2022-08-02 22:33:53 | [Mutex] isItemNotified: received:node:755ba075-1c36-492c-ab51-a315df3a2477:localhost:node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb:Node 33e2a6c1-a306-45c3-ba1e-0381e6c334bb :: true

deleteNodes 1.016s
2022-08-02 22:33:58 |

2022-08-02 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:58 | ------------------------------------

2022-08-02 22:33:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb</node></data>

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

2022-08-02 22:33:59 | [Mutex] waiting for: [received:nodes:01218075-176e-4804-bae7-bcaacf918105:localhost]

2022-08-02 22:33:59 | [Mutex] waiting for: [received:nodes:01218075-176e-4804-bae7-bcaacf918105:localhost]

2022-08-02 22:33:59 | [Mutex] received everything.

2022-08-02 22:33:59 | [Mutex] isItemNotified: received:node:01218075-176e-4804-bae7-bcaacf918105:localhost:node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb:Node 33e2a6c1-a306-45c3-ba1e-0381e6c334bb :: false

deleteSubnodes 1.138s
2022-08-02 22:33:57 |

2022-08-02 22:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:57 | ------------------------------------

2022-08-02 22:33:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node></data>

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

2022-08-02 22:33:58 | [Mutex] waiting for: [received:nodes:9ba6fad4-3275-4dd0-997e-d02e92e2671c:localhost]

2022-08-02 22:33:58 | [Mutex] waiting for: [received:nodes:9ba6fad4-3275-4dd0-997e-d02e92e2671c:localhost]

2022-08-02 22:33:58 | [Mutex] received everything.

2022-08-02 22:33:58 | [Mutex] isItemNotified: received:node:9ba6fad4-3275-4dd0-997e-d02e92e2671c:localhost:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:Node ae6732d7-7187-4342-9928-c9bf5d3d4e82 :: false

2022-08-02 22:33:58 | [Mutex] waiting for: [received:nodes:42dac3e8-9786-48fe-8d72-643365b83ee0:localhost]

2022-08-02 22:33:58 | [Mutex] received everything.

2022-08-02 22:33:58 | [Mutex] isItemNotified: received:node:42dac3e8-9786-48fe-8d72-643365b83ee0:localhost:node-ae6732d7-7187-4342-9928-c9bf5d3d4e82:Node ae6732d7-7187-4342-9928-c9bf5d3d4e82 :: false

publishItemsToNodes 0.181s
2022-08-02 22:33:55 |

2022-08-02 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:55 | ------------------------------------

2022-08-02 22:33:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><item-id>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</item-id><entry><test>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</test></entry></data>

2022-08-02 22:33:55 | 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-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</value></item-id></result>

2022-08-02 22:33:55 | [Mutex] waiting for: [published:item:notifieditem-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:admin@test-domain.com]

2022-08-02 22:33:55 | [Mutex] received everything.

2022-08-02 22:33:55 | [Mutex] isItemNotified: published:item:notifieditem-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:admin@test-domain.com :: true

retractItemsFromNodes 0.204s
2022-08-02 22:33:56 |

2022-08-02 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:56 | ------------------------------------

2022-08-02 22:33:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><item-id>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</item-id></data>

2022-08-02 22:33:56 | 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-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</value></item-id></result>

2022-08-02 22:33:56 | [Mutex] waiting for: [retracted:item:notifieditem-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:admin@test-domain.com]

2022-08-02 22:33:56 | [Mutex] received everything.

2022-08-02 22:33:56 | [Mutex] isItemNotified: retracted:item:notifieditem-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.343s
2022-08-02 22:33:55 |

2022-08-02 22:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:55 | ------------------------------------

2022-08-02 22:33:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><item-id>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</item-id></data>

2022-08-02 22:33:56 | 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-ae6732d7-7187-4342-9928-c9bf5d3d4e82</value></node><item-id type="text-single" label="Item ID"><value>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</value></item-id><item type="text-multi" label="Item"><value><item id="item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8"><test>item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8</test></item></value></item></result>

2022-08-02 22:33:56 | [Mutex] notify: [retrieved:item:item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:payload-matches:true:localhost]

2022-08-02 22:33:56 | [Mutex] received everything.

2022-08-02 22:33:56 | [Mutex] isItemNotified: retrieved:item:item-4d3505a1-92dd-46dd-add3-6f7ec7fdaed8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-02 22:33:56 |

2022-08-02 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:56 | ------------------------------------

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

2022-08-02 22:33:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</value><value>node-33e2a6c1-a306-45c3-ba1e-0381e6c334bb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-02 22:33:56 |

2022-08-02 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:56 | ------------------------------------

2022-08-02 22:33:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ae6732d7-7187-4342-9928-c9bf5d3d4e82)</node-pattern></data>

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

subscribeNodes 1.162s
2022-08-02 22:33:54 |

2022-08-02 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:54 | ------------------------------------

2022-08-02 22:33:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.226s
2022-08-02 22:33:56 |

2022-08-02 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 22:33:56 | ------------------------------------

2022-08-02 22:33:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ae6732d7-7187-4342-9928-c9bf5d3d4e82</node><jids><value>admin@test-domain.com</value></jids></data>

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