Generated by TestNG with ReportNG at 22:44 PDT on Thursday 04 May 2023
root@1512af24e4a5 / Java 17.0.6 (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.357s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2023-05-04 22:59:19 |

2023-05-04 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:19 | ------------------------------------

2023-05-04 22:59:19 | [Mutex] waiting for: [configured:node:node-40473291-2f7c-438d-a207-dfee667925a5:node-d03575aa-cc90-464d-9f7d-db19692995b9]

2023-05-04 22:59:19 | [Mutex] received everything.

2023-05-04 22:59:19 | [Mutex] isItemNotified: configured:node:node-40473291-2f7c-438d-a207-dfee667925a5:node-d03575aa-cc90-464d-9f7d-db19692995b9 :: true

2023-05-04 22:59:20 | [Mutex] waiting for: [received:nodes:46c3b1af-962a-45b8-8f82-7ae151aa56fe:localhost]

2023-05-04 22:59:20 | [Mutex] received everything.

2023-05-04 22:59:20 | [Mutex] isItemNotified: received:node:46c3b1af-962a-45b8-8f82-7ae151aa56fe:localhost:node-40473291-2f7c-438d-a207-dfee667925a5:Node 40473291-2f7c-438d-a207-dfee667925a5 :: true

2023-05-04 22:59:20 | [Mutex] waiting for: [received:nodes:420b4d87-1a13-4ab2-98e3-d00c07c57320:localhost]

2023-05-04 22:59:20 | [Mutex] waiting for: [received:nodes:420b4d87-1a13-4ab2-98e3-d00c07c57320:localhost]

2023-05-04 22:59:20 | [Mutex] waiting for: [received:nodes:420b4d87-1a13-4ab2-98e3-d00c07c57320:localhost]

2023-05-04 22:59:20 | [Mutex] waiting for: [received:nodes:420b4d87-1a13-4ab2-98e3-d00c07c57320:localhost]

2023-05-04 22:59:20 | [Mutex] received everything.

2023-05-04 22:59:20 | [Mutex] isItemNotified: received:node:420b4d87-1a13-4ab2-98e3-d00c07c57320:localhost:node-40473291-2f7c-438d-a207-dfee667925a5:Node 40473291-2f7c-438d-a207-dfee667925a5 :: false

createNodes 1.463s
2023-05-04 22:59:16 |

2023-05-04 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:16 | ------------------------------------

2023-05-04 22:59:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 40473291-2f7c-438d-a207-dfee667925a5</title></pubsub></data>

2023-05-04 22:59:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-04 22:59:18 | [Mutex] waiting for: [received:nodes:a51de8e3-0cf0-4ce1-a448-78352ac48bdd:localhost]

2023-05-04 22:59:18 | [Mutex] waiting for: [received:nodes:a51de8e3-0cf0-4ce1-a448-78352ac48bdd:localhost]

2023-05-04 22:59:18 | [Mutex] waiting for: [received:nodes:a51de8e3-0cf0-4ce1-a448-78352ac48bdd:localhost]

2023-05-04 22:59:18 | [Mutex] received everything.

2023-05-04 22:59:18 | [Mutex] isItemNotified: received:node:a51de8e3-0cf0-4ce1-a448-78352ac48bdd:localhost:node-40473291-2f7c-438d-a207-dfee667925a5:Node 40473291-2f7c-438d-a207-dfee667925a5 :: true

createSubnodes 1.026s
2023-05-04 22:59:18 |

2023-05-04 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:18 | ------------------------------------

2023-05-04 22:59:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d03575aa-cc90-464d-9f7d-db19692995b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d03575aa-cc90-464d-9f7d-db19692995b9</title></pubsub></data>

2023-05-04 22:59:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-04 22:59:19 | [Mutex] waiting for: [received:nodes:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost]

2023-05-04 22:59:19 | [Mutex] waiting for: [received:nodes:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost]

2023-05-04 22:59:19 | [Mutex] waiting for: [received:nodes:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost]

2023-05-04 22:59:19 | [Mutex] waiting for: [received:nodes:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost]

2023-05-04 22:59:19 | [Mutex] waiting for: [received:nodes:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost]

2023-05-04 22:59:19 | [Mutex] received everything.

2023-05-04 22:59:19 | [Mutex] isItemNotified: received:node:003c107c-ee59-41bc-b806-04b5de4ac3e7:localhost:node-d03575aa-cc90-464d-9f7d-db19692995b9:Node d03575aa-cc90-464d-9f7d-db19692995b9 :: true

deleteNodes 1.020s
2023-05-04 22:59:24 |

2023-05-04 22:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:24 | ------------------------------------

2023-05-04 22:59:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d03575aa-cc90-464d-9f7d-db19692995b9</node></data>

2023-05-04 22:59:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-05-04 22:59:25 | [Mutex] waiting for: [received:nodes:19f1e3d8-3c61-4dba-a118-59c2dc9df017:localhost]

2023-05-04 22:59:25 | [Mutex] waiting for: [received:nodes:19f1e3d8-3c61-4dba-a118-59c2dc9df017:localhost]

2023-05-04 22:59:25 | [Mutex] waiting for: [received:nodes:19f1e3d8-3c61-4dba-a118-59c2dc9df017:localhost]

2023-05-04 22:59:25 | [Mutex] received everything.

2023-05-04 22:59:25 | [Mutex] isItemNotified: received:node:19f1e3d8-3c61-4dba-a118-59c2dc9df017:localhost:node-d03575aa-cc90-464d-9f7d-db19692995b9:Node d03575aa-cc90-464d-9f7d-db19692995b9 :: false

deleteSubnodes 1.142s
2023-05-04 22:59:23 |

2023-05-04 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:23 | ------------------------------------

2023-05-04 22:59:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node></data>

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

2023-05-04 22:59:24 | [Mutex] waiting for: [received:nodes:85544a60-24d1-440c-ae56-31b8ad3939cd:localhost]

2023-05-04 22:59:24 | [Mutex] waiting for: [received:nodes:85544a60-24d1-440c-ae56-31b8ad3939cd:localhost]

2023-05-04 22:59:24 | [Mutex] waiting for: [received:nodes:85544a60-24d1-440c-ae56-31b8ad3939cd:localhost]

2023-05-04 22:59:24 | [Mutex] waiting for: [received:nodes:85544a60-24d1-440c-ae56-31b8ad3939cd:localhost]

2023-05-04 22:59:24 | [Mutex] received everything.

2023-05-04 22:59:24 | [Mutex] isItemNotified: received:node:85544a60-24d1-440c-ae56-31b8ad3939cd:localhost:node-40473291-2f7c-438d-a207-dfee667925a5:Node 40473291-2f7c-438d-a207-dfee667925a5 :: false

2023-05-04 22:59:24 | [Mutex] waiting for: [received:nodes:884f5354-d6d6-4cf2-b3a9-a9bdf0887357:localhost]

2023-05-04 22:59:24 | [Mutex] received everything.

2023-05-04 22:59:24 | [Mutex] isItemNotified: received:node:884f5354-d6d6-4cf2-b3a9-a9bdf0887357:localhost:node-40473291-2f7c-438d-a207-dfee667925a5:Node 40473291-2f7c-438d-a207-dfee667925a5 :: false

publishItemsToNodes 0.194s
2023-05-04 22:59:21 |

2023-05-04 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:21 | ------------------------------------

2023-05-04 22:59:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><item-id>item-4a69b9d5-3288-4d1b-b030-119a159b9432</item-id><entry><test>item-4a69b9d5-3288-4d1b-b030-119a159b9432</test></entry></data>

2023-05-04 22:59:21 | 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-4a69b9d5-3288-4d1b-b030-119a159b9432</value></item-id></result>

2023-05-04 22:59:21 | [Mutex] received everything.

2023-05-04 22:59:21 | [Mutex] isItemNotified: published:item:notifieditem-4a69b9d5-3288-4d1b-b030-119a159b9432:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2023-05-04 22:59:22 |

2023-05-04 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:22 | ------------------------------------

2023-05-04 22:59:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><item-id>item-4a69b9d5-3288-4d1b-b030-119a159b9432</item-id></data>

2023-05-04 22:59:22 | 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-4a69b9d5-3288-4d1b-b030-119a159b9432</value></item-id></result>

2023-05-04 22:59:22 | [Mutex] received everything.

2023-05-04 22:59:22 | [Mutex] isItemNotified: retracted:item:notifieditem-4a69b9d5-3288-4d1b-b030-119a159b9432:admin@test-domain.com :: true

retrieveItemsFromNodes 0.136s
2023-05-04 22:59:21 |

2023-05-04 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:21 | ------------------------------------

2023-05-04 22:59:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><item-id>item-4a69b9d5-3288-4d1b-b030-119a159b9432</item-id></data>

2023-05-04 22:59:21 | 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-40473291-2f7c-438d-a207-dfee667925a5</value></node><item-id label="Item ID" type="text-single"><value>item-4a69b9d5-3288-4d1b-b030-119a159b9432</value></item-id><item label="Item" type="text-multi"><value><item id="item-4a69b9d5-3288-4d1b-b030-119a159b9432"><test>item-4a69b9d5-3288-4d1b-b030-119a159b9432</test></item></value></item></result>

2023-05-04 22:59:21 | [Mutex] notify: [retrieved:item:item-4a69b9d5-3288-4d1b-b030-119a159b9432:payload-matches:true:localhost]

2023-05-04 22:59:21 | [Mutex] received everything.

2023-05-04 22:59:21 | [Mutex] isItemNotified: retrieved:item:item-4a69b9d5-3288-4d1b-b030-119a159b9432:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-04 22:59:21 |

2023-05-04 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:21 | ------------------------------------

2023-05-04 22:59:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-05-04 22:59:22 | 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-40473291-2f7c-438d-a207-dfee667925a5</value><value>node-d03575aa-cc90-464d-9f7d-db19692995b9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-04 22:59:22 |

2023-05-04 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:22 | ------------------------------------

2023-05-04 22:59: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-40473291-2f7c-438d-a207-dfee667925a5)</node-pattern></data>

2023-05-04 22:59:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.106s
2023-05-04 22:59:20 |

2023-05-04 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:20 | ------------------------------------

2023-05-04 22:59:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-04 22:59:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2023-05-04 22:59:22 |

2023-05-04 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-04 22:59:22 | ------------------------------------

2023-05-04 22:59:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-40473291-2f7c-438d-a207-dfee667925a5</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-04 22:59:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>