Generated by TestNG with ReportNG at 21:17 PST on Wednesday 01 February 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.414s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-02-01 21:32:30 |

2023-02-01 21:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:30 | ------------------------------------

2023-02-01 21:32:30 | [Mutex] waiting for: [configured:node:node-e33ece98-efc9-4938-b277-69aadb3a480c:node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35]

2023-02-01 21:32:30 | [Mutex] received everything.

2023-02-01 21:32:30 | [Mutex] isItemNotified: configured:node:node-e33ece98-efc9-4938-b277-69aadb3a480c:node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35 :: true

2023-02-01 21:32:31 | [Mutex] waiting for: [received:nodes:d03bd7b0-92bf-41a2-8f3b-19783ee2b2f9:localhost]

2023-02-01 21:32:31 | [Mutex] received everything.

2023-02-01 21:32:31 | [Mutex] isItemNotified: received:node:d03bd7b0-92bf-41a2-8f3b-19783ee2b2f9:localhost:node-e33ece98-efc9-4938-b277-69aadb3a480c:Node e33ece98-efc9-4938-b277-69aadb3a480c :: true

2023-02-01 21:32:31 | [Mutex] waiting for: [received:nodes:56817ea6-bf12-47d7-876a-0b4cce76af9d:localhost]

2023-02-01 21:32:31 | [Mutex] waiting for: [received:nodes:56817ea6-bf12-47d7-876a-0b4cce76af9d:localhost]

2023-02-01 21:32:31 | [Mutex] waiting for: [received:nodes:56817ea6-bf12-47d7-876a-0b4cce76af9d:localhost]

2023-02-01 21:32:31 | [Mutex] received everything.

2023-02-01 21:32:31 | [Mutex] isItemNotified: received:node:56817ea6-bf12-47d7-876a-0b4cce76af9d:localhost:node-e33ece98-efc9-4938-b277-69aadb3a480c:Node e33ece98-efc9-4938-b277-69aadb3a480c :: false

createNodes 1.413s
2023-02-01 21:32:28 |

2023-02-01 21:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:28 | ------------------------------------

2023-02-01 21:32:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e33ece98-efc9-4938-b277-69aadb3a480c</title></pubsub></data>

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

2023-02-01 21:32:29 | [Mutex] waiting for: [received:nodes:8046155d-cbb0-4a49-8b3b-21544465a189:localhost]

2023-02-01 21:32:29 | [Mutex] waiting for: [received:nodes:8046155d-cbb0-4a49-8b3b-21544465a189:localhost]

2023-02-01 21:32:29 | [Mutex] waiting for: [received:nodes:8046155d-cbb0-4a49-8b3b-21544465a189:localhost]

2023-02-01 21:32:29 | [Mutex] waiting for: [received:nodes:8046155d-cbb0-4a49-8b3b-21544465a189:localhost]

2023-02-01 21:32:29 | [Mutex] received everything.

2023-02-01 21:32:29 | [Mutex] isItemNotified: received:node:8046155d-cbb0-4a49-8b3b-21544465a189:localhost:node-e33ece98-efc9-4938-b277-69aadb3a480c:Node e33ece98-efc9-4938-b277-69aadb3a480c :: true

createSubnodes 1.026s
2023-02-01 21:32:29 |

2023-02-01 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:29 | ------------------------------------

2023-02-01 21:32:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0b2d92fe-5d97-4e38-9c49-2e07f0d51a35</title></pubsub></data>

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

2023-02-01 21:32:30 | [Mutex] waiting for: [received:nodes:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost]

2023-02-01 21:32:30 | [Mutex] waiting for: [received:nodes:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost]

2023-02-01 21:32:30 | [Mutex] waiting for: [received:nodes:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost]

2023-02-01 21:32:30 | [Mutex] waiting for: [received:nodes:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost]

2023-02-01 21:32:30 | [Mutex] waiting for: [received:nodes:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost]

2023-02-01 21:32:30 | [Mutex] received everything.

2023-02-01 21:32:30 | [Mutex] isItemNotified: received:node:d9a312e0-b031-4a2f-a7bb-0c7b27d9a68c:localhost:node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35:Node 0b2d92fe-5d97-4e38-9c49-2e07f0d51a35 :: true

deleteNodes 1.024s
2023-02-01 21:32:35 |

2023-02-01 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:35 | ------------------------------------

2023-02-01 21:32:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35</node></data>

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

2023-02-01 21:32:36 | [Mutex] waiting for: [received:nodes:0271e84e-f7d9-40ba-96f0-f23e6919d5a7:localhost]

2023-02-01 21:32:36 | [Mutex] waiting for: [received:nodes:0271e84e-f7d9-40ba-96f0-f23e6919d5a7:localhost]

2023-02-01 21:32:36 | [Mutex] waiting for: [received:nodes:0271e84e-f7d9-40ba-96f0-f23e6919d5a7:localhost]

2023-02-01 21:32:36 | [Mutex] received everything.

2023-02-01 21:32:36 | [Mutex] isItemNotified: received:node:0271e84e-f7d9-40ba-96f0-f23e6919d5a7:localhost:node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35:Node 0b2d92fe-5d97-4e38-9c49-2e07f0d51a35 :: false

deleteSubnodes 1.118s
2023-02-01 21:32:34 |

2023-02-01 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:34 | ------------------------------------

2023-02-01 21:32:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node></data>

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

2023-02-01 21:32:35 | [Mutex] waiting for: [received:nodes:33b92da0-91c3-43ad-800f-9591bdfd5057:localhost]

2023-02-01 21:32:35 | [Mutex] waiting for: [received:nodes:33b92da0-91c3-43ad-800f-9591bdfd5057:localhost]

2023-02-01 21:32:35 | [Mutex] waiting for: [received:nodes:33b92da0-91c3-43ad-800f-9591bdfd5057:localhost]

2023-02-01 21:32:35 | [Mutex] waiting for: [received:nodes:33b92da0-91c3-43ad-800f-9591bdfd5057:localhost]

2023-02-01 21:32:35 | [Mutex] received everything.

2023-02-01 21:32:35 | [Mutex] isItemNotified: received:node:33b92da0-91c3-43ad-800f-9591bdfd5057:localhost:node-e33ece98-efc9-4938-b277-69aadb3a480c:Node e33ece98-efc9-4938-b277-69aadb3a480c :: false

2023-02-01 21:32:35 | [Mutex] waiting for: [received:nodes:60435cd0-41fb-4ba8-b19b-033063947d2c:localhost]

2023-02-01 21:32:35 | [Mutex] received everything.

2023-02-01 21:32:35 | [Mutex] isItemNotified: received:node:60435cd0-41fb-4ba8-b19b-033063947d2c:localhost:node-e33ece98-efc9-4938-b277-69aadb3a480c:Node e33ece98-efc9-4938-b277-69aadb3a480c :: false

publishItemsToNodes 0.288s
2023-02-01 21:32:32 |

2023-02-01 21:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:32 | ------------------------------------

2023-02-01 21:32:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><item-id>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</item-id><entry><test>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</test></entry></data>

2023-02-01 21:32:33 | 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-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</value></item-id></result>

2023-02-01 21:32:33 | [Mutex] received everything.

2023-02-01 21:32:33 | [Mutex] isItemNotified: published:item:notifieditem-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2023-02-01 21:32:33 |

2023-02-01 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:33 | ------------------------------------

2023-02-01 21:32:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><item-id>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</item-id></data>

2023-02-01 21:32:33 | 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-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</value></item-id></result>

2023-02-01 21:32:33 | [Mutex] received everything.

2023-02-01 21:32:33 | [Mutex] isItemNotified: retracted:item:notifieditem-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2023-02-01 21:32:33 |

2023-02-01 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:33 | ------------------------------------

2023-02-01 21:32:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><item-id>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</item-id></data>

2023-02-01 21:32:33 | 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-e33ece98-efc9-4938-b277-69aadb3a480c</value></node><item-id type="text-single" label="Item ID"><value>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</value></item-id><item type="text-multi" label="Item"><value><item id="item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4"><test>item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4</test></item></value></item></result>

2023-02-01 21:32:33 | [Mutex] notify: [retrieved:item:item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4:payload-matches:true:localhost]

2023-02-01 21:32:33 | [Mutex] received everything.

2023-02-01 21:32:33 | [Mutex] isItemNotified: retrieved:item:item-e2a01fd6-61e4-46f4-98ec-881a4bc7b3b4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-01 21:32:33 |

2023-02-01 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:33 | ------------------------------------

2023-02-01 21:32:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-01 21:32:33 | 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-e33ece98-efc9-4938-b277-69aadb3a480c</value><value>node-0b2d92fe-5d97-4e38-9c49-2e07f0d51a35</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-01 21:32:33 |

2023-02-01 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:33 | ------------------------------------

2023-02-01 21:32:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e33ece98-efc9-4938-b277-69aadb3a480c)</node-pattern></data>

2023-02-01 21:32:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2023-02-01 21:32:31 |

2023-02-01 21:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:31 | ------------------------------------

2023-02-01 21:32:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.143s
2023-02-01 21:32:33 |

2023-02-01 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 21:32:33 | ------------------------------------

2023-02-01 21:32:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e33ece98-efc9-4938-b277-69aadb3a480c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-01 21:32:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>