Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 29 June 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.783s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-06-29 22:33:32 |

2022-06-29 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:32 | ------------------------------------

2022-06-29 22:33:32 | [Mutex] waiting for: [configured:node:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9]

2022-06-29 22:33:33 | [Mutex] received everything.

2022-06-29 22:33:33 | [Mutex] isItemNotified: configured:node:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9 :: true

2022-06-29 22:33:34 | [Mutex] waiting for: [received:nodes:58f33652-08d2-4491-9eca-4d1c6d85a30c:localhost]

2022-06-29 22:33:34 | [Mutex] received everything.

2022-06-29 22:33:34 | [Mutex] isItemNotified: received:node:58f33652-08d2-4491-9eca-4d1c6d85a30c:localhost:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280 :: true

2022-06-29 22:33:34 | [Mutex] waiting for: [received:nodes:8e02c80f-04ed-44b4-a35c-1c684dbbfb04:localhost]

2022-06-29 22:33:34 | [Mutex] received everything.

2022-06-29 22:33:34 | [Mutex] isItemNotified: received:node:8e02c80f-04ed-44b4-a35c-1c684dbbfb04:localhost:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280 :: false

createNodes 1.635s
2022-06-29 22:33:30 |

2022-06-29 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:30 | ------------------------------------

2022-06-29 22:33:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280</title></pubsub></data>

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

2022-06-29 22:33:31 | [Mutex] waiting for: [received:nodes:14c35907-21bc-4afc-864a-a872efac3e48:localhost]

2022-06-29 22:33:31 | [Mutex] waiting for: [received:nodes:14c35907-21bc-4afc-864a-a872efac3e48:localhost]

2022-06-29 22:33:31 | [Mutex] received everything.

2022-06-29 22:33:31 | [Mutex] isItemNotified: received:node:14c35907-21bc-4afc-864a-a872efac3e48:localhost:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280 :: true

createSubnodes 1.022s
2022-06-29 22:33:31 |

2022-06-29 22:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:31 | ------------------------------------

2022-06-29 22:33:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9</title></pubsub></data>

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

2022-06-29 22:33:32 | [Mutex] waiting for: [received:nodes:4bb32745-0a51-4f1f-b2db-574fc2caa342:localhost]

2022-06-29 22:33:32 | [Mutex] waiting for: [received:nodes:4bb32745-0a51-4f1f-b2db-574fc2caa342:localhost]

2022-06-29 22:33:32 | [Mutex] received everything.

2022-06-29 22:33:32 | [Mutex] isItemNotified: received:node:4bb32745-0a51-4f1f-b2db-574fc2caa342:localhost:node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9:Node b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9 :: true

deleteNodes 1.017s
2022-06-29 22:33:38 |

2022-06-29 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:38 | ------------------------------------

2022-06-29 22:33:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9</node></data>

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

2022-06-29 22:33:39 | [Mutex] waiting for: [received:nodes:18be64dd-7e0c-4b8d-bfa9-7afd1de37693:localhost]

2022-06-29 22:33:39 | [Mutex] waiting for: [received:nodes:18be64dd-7e0c-4b8d-bfa9-7afd1de37693:localhost]

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

2022-06-29 22:33:39 | [Mutex] isItemNotified: received:node:18be64dd-7e0c-4b8d-bfa9-7afd1de37693:localhost:node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9:Node b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9 :: false

deleteSubnodes 1.146s
2022-06-29 22:33:37 |

2022-06-29 22:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:37 | ------------------------------------

2022-06-29 22:33:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node></data>

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

2022-06-29 22:33:38 | [Mutex] waiting for: [received:nodes:fde84a5e-f518-4a16-b60d-3976fb340cdd:localhost]

2022-06-29 22:33:38 | [Mutex] waiting for: [received:nodes:fde84a5e-f518-4a16-b60d-3976fb340cdd:localhost]

2022-06-29 22:33:38 | [Mutex] waiting for: [received:nodes:fde84a5e-f518-4a16-b60d-3976fb340cdd:localhost]

2022-06-29 22:33:38 | [Mutex] received everything.

2022-06-29 22:33:38 | [Mutex] isItemNotified: received:node:fde84a5e-f518-4a16-b60d-3976fb340cdd:localhost:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280 :: false

2022-06-29 22:33:38 | [Mutex] waiting for: [received:nodes:64652bdb-e30f-4a56-afb3-d92510fa817d:localhost]

2022-06-29 22:33:38 | [Mutex] received everything.

2022-06-29 22:33:38 | [Mutex] isItemNotified: received:node:64652bdb-e30f-4a56-afb3-d92510fa817d:localhost:node-028ed70f-9ca3-40d7-b84e-4f9b7f518280:Node 028ed70f-9ca3-40d7-b84e-4f9b7f518280 :: false

publishItemsToNodes 0.216s
2022-06-29 22:33:35 |

2022-06-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:35 | ------------------------------------

2022-06-29 22:33:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><item-id>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</item-id><entry><test>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</test></entry></data>

2022-06-29 22:33:35 | 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-d5b6491d-609b-4499-9c2b-ae4916c824fd</value></item-id></result>

2022-06-29 22:33:35 | [Mutex] waiting for: [published:item:notifieditem-d5b6491d-609b-4499-9c2b-ae4916c824fd:admin@test-domain.com]

2022-06-29 22:33:35 | [Mutex] received everything.

2022-06-29 22:33:35 | [Mutex] isItemNotified: published:item:notifieditem-d5b6491d-609b-4499-9c2b-ae4916c824fd:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2022-06-29 22:33:35 |

2022-06-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:35 | ------------------------------------

2022-06-29 22:33:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><item-id>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</item-id></data>

2022-06-29 22:33:36 | 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-d5b6491d-609b-4499-9c2b-ae4916c824fd</value></item-id></result>

2022-06-29 22:33:36 | [Mutex] waiting for: [retracted:item:notifieditem-d5b6491d-609b-4499-9c2b-ae4916c824fd:admin@test-domain.com]

2022-06-29 22:33:36 | [Mutex] received everything.

2022-06-29 22:33:36 | [Mutex] isItemNotified: retracted:item:notifieditem-d5b6491d-609b-4499-9c2b-ae4916c824fd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.249s
2022-06-29 22:33:35 |

2022-06-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:35 | ------------------------------------

2022-06-29 22:33:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><item-id>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</item-id></data>

2022-06-29 22:33:35 | 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-028ed70f-9ca3-40d7-b84e-4f9b7f518280</value></node><item-id type="text-single" label="Item ID"><value>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</value></item-id><item type="text-multi" label="Item"><value><item id="item-d5b6491d-609b-4499-9c2b-ae4916c824fd"><test>item-d5b6491d-609b-4499-9c2b-ae4916c824fd</test></item></value></item></result>

2022-06-29 22:33:35 | [Mutex] notify: [retrieved:item:item-d5b6491d-609b-4499-9c2b-ae4916c824fd:payload-matches:true:localhost]

2022-06-29 22:33:35 | [Mutex] received everything.

2022-06-29 22:33:35 | [Mutex] isItemNotified: retrieved:item:item-d5b6491d-609b-4499-9c2b-ae4916c824fd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-06-29 22:33:35 |

2022-06-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:35 | ------------------------------------

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

2022-06-29 22:33:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</value><value>node-b04a81a4-3c88-4cc9-9160-e6cf4dcd05b9</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-06-29 22:33:35 |

2022-06-29 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:35 | ------------------------------------

2022-06-29 22:33:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-028ed70f-9ca3-40d7-b84e-4f9b7f518280)</node-pattern></data>

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

subscribeNodes 1.163s
2022-06-29 22:33:34 |

2022-06-29 22:33:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:34 | ------------------------------------

2022-06-29 22:33:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.183s
2022-06-29 22:33:36 |

2022-06-29 22:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-29 22:33:36 | ------------------------------------

2022-06-29 22:33:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-028ed70f-9ca3-40d7-b84e-4f9b7f518280</node><jids><value>admin@test-domain.com</value></jids></data>

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