Generated by TestNG with ReportNG at 22:17 PDT on Friday 15 July 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.420s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-07-15 22:31:50 |

2022-07-15 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:50 | ------------------------------------

2022-07-15 22:31:50 | [Mutex] waiting for: [configured:node:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:node-6ba4e96e-1162-427f-9e7e-8ce8290e364b]

2022-07-15 22:31:50 | [Mutex] received everything.

2022-07-15 22:31:50 | [Mutex] isItemNotified: configured:node:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:node-6ba4e96e-1162-427f-9e7e-8ce8290e364b :: true

2022-07-15 22:31:51 | [Mutex] waiting for: [received:nodes:78972ede-0766-49b8-aca9-263f8d09e67b:localhost]

2022-07-15 22:31:51 | [Mutex] received everything.

2022-07-15 22:31:51 | [Mutex] isItemNotified: received:node:78972ede-0766-49b8-aca9-263f8d09e67b:localhost:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1 :: true

2022-07-15 22:31:51 | [Mutex] waiting for: [received:nodes:720a4aa2-9692-41ae-afb0-2a73bcc6572f:localhost]

2022-07-15 22:31:51 | [Mutex] waiting for: [received:nodes:720a4aa2-9692-41ae-afb0-2a73bcc6572f:localhost]

2022-07-15 22:31:51 | [Mutex] received everything.

2022-07-15 22:31:51 | [Mutex] isItemNotified: received:node:720a4aa2-9692-41ae-afb0-2a73bcc6572f:localhost:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1 :: false

createNodes 1.351s
2022-07-15 22:31:48 |

2022-07-15 22:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:48 | ------------------------------------

2022-07-15 22:31:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</title></pubsub></data>

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

2022-07-15 22:31:49 | [Mutex] waiting for: [received:nodes:bd8e7ae1-7bb4-44a9-81a8-986623c4f115:localhost]

2022-07-15 22:31:49 | [Mutex] received everything.

2022-07-15 22:31:49 | [Mutex] isItemNotified: received:node:bd8e7ae1-7bb4-44a9-81a8-986623c4f115:localhost:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1 :: true

createSubnodes 1.020s
2022-07-15 22:31:49 |

2022-07-15 22:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:49 | ------------------------------------

2022-07-15 22:31:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6ba4e96e-1162-427f-9e7e-8ce8290e364b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6ba4e96e-1162-427f-9e7e-8ce8290e364b</title></pubsub></data>

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

2022-07-15 22:31:50 | [Mutex] waiting for: [received:nodes:759605ef-03b8-4e08-92d6-fd91bd831a9f:localhost]

2022-07-15 22:31:50 | [Mutex] received everything.

2022-07-15 22:31:50 | [Mutex] isItemNotified: received:node:759605ef-03b8-4e08-92d6-fd91bd831a9f:localhost:node-6ba4e96e-1162-427f-9e7e-8ce8290e364b:Node 6ba4e96e-1162-427f-9e7e-8ce8290e364b :: true

deleteNodes 1.018s
2022-07-15 22:31:56 |

2022-07-15 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:56 | ------------------------------------

2022-07-15 22:31:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6ba4e96e-1162-427f-9e7e-8ce8290e364b</node></data>

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

2022-07-15 22:31:57 | [Mutex] waiting for: [received:nodes:72ca6207-f531-40af-a184-43158987501b:localhost]

2022-07-15 22:31:57 | [Mutex] waiting for: [received:nodes:72ca6207-f531-40af-a184-43158987501b:localhost]

2022-07-15 22:31:57 | [Mutex] received everything.

2022-07-15 22:31:57 | [Mutex] isItemNotified: received:node:72ca6207-f531-40af-a184-43158987501b:localhost:node-6ba4e96e-1162-427f-9e7e-8ce8290e364b:Node 6ba4e96e-1162-427f-9e7e-8ce8290e364b :: false

deleteSubnodes 1.175s
2022-07-15 22:31:54 |

2022-07-15 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:54 | ------------------------------------

2022-07-15 22:31:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node></data>

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

2022-07-15 22:31:56 | [Mutex] waiting for: [received:nodes:8e4aa137-07d1-4b40-b567-2c7bac7af761:localhost]

2022-07-15 22:31:56 | [Mutex] waiting for: [received:nodes:8e4aa137-07d1-4b40-b567-2c7bac7af761:localhost]

2022-07-15 22:31:56 | [Mutex] waiting for: [received:nodes:8e4aa137-07d1-4b40-b567-2c7bac7af761:localhost]

2022-07-15 22:31:56 | [Mutex] received everything.

2022-07-15 22:31:56 | [Mutex] isItemNotified: received:node:8e4aa137-07d1-4b40-b567-2c7bac7af761:localhost:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1 :: false

2022-07-15 22:31:56 | [Mutex] waiting for: [received:nodes:49f55451-7e26-441f-bf82-9ffde46a569a:localhost]

2022-07-15 22:31:56 | [Mutex] received everything.

2022-07-15 22:31:56 | [Mutex] isItemNotified: received:node:49f55451-7e26-441f-bf82-9ffde46a569a:localhost:node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1:Node 9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1 :: false

publishItemsToNodes 0.247s
2022-07-15 22:31:52 |

2022-07-15 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:52 | ------------------------------------

2022-07-15 22:31:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><item-id>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</item-id><entry><test>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</test></entry></data>

2022-07-15 22:31:53 | 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-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</value></item-id></result>

2022-07-15 22:31:53 | [Mutex] received everything.

2022-07-15 22:31:53 | [Mutex] isItemNotified: published:item:notifieditem-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9:admin@test-domain.com :: true

retractItemsFromNodes 0.192s
2022-07-15 22:31:53 |

2022-07-15 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:53 | ------------------------------------

2022-07-15 22:31:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><item-id>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</item-id></data>

2022-07-15 22:31:53 | 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-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</value></item-id></result>

2022-07-15 22:31:53 | [Mutex] waiting for: [retracted:item:notifieditem-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9:admin@test-domain.com]

2022-07-15 22:31:53 | [Mutex] received everything.

2022-07-15 22:31:53 | [Mutex] isItemNotified: retracted:item:notifieditem-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2022-07-15 22:31:53 |

2022-07-15 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:53 | ------------------------------------

2022-07-15 22:31:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><item-id>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</item-id></data>

2022-07-15 22:31:53 | 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-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</value></node><item-id type="text-single" label="Item ID"><value>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</value></item-id><item type="text-multi" label="Item"><value><item id="item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9"><test>item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9</test></item></value></item></result>

2022-07-15 22:31:53 | [Mutex] notify: [retrieved:item:item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9:payload-matches:true:localhost]

2022-07-15 22:31:53 | [Mutex] received everything.

2022-07-15 22:31:53 | [Mutex] isItemNotified: retrieved:item:item-0acb4dbc-d9c1-45e8-ae61-2d2072e716d9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-15 22:31:53 |

2022-07-15 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:53 | ------------------------------------

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

2022-07-15 22:31:53 | 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-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</value><value>node-6ba4e96e-1162-427f-9e7e-8ce8290e364b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-07-15 22:31:53 |

2022-07-15 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:53 | ------------------------------------

2022-07-15 22:31:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1)</node-pattern></data>

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

subscribeNodes 1.171s
2022-07-15 22:31:51 |

2022-07-15 22:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:51 | ------------------------------------

2022-07-15 22:31:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-15 22:31:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2022-07-15 22:31:53 |

2022-07-15 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-15 22:31:53 | ------------------------------------

2022-07-15 22:31:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9e7ca34b-e415-4e7b-9c1d-5a2ba74e69f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-15 22:31:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>