Generated by TestNG with ReportNG at 21:47 PST on Sunday 18 December 2022
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.257s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-12-18 22:01:54 |

2022-12-18 22:01:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:54 | ------------------------------------

2022-12-18 22:01:54 | [Mutex] waiting for: [configured:node:node-fb23cf10-aae6-494d-a20b-64b039bca371:node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25]

2022-12-18 22:01:54 | [Mutex] received everything.

2022-12-18 22:01:54 | [Mutex] isItemNotified: configured:node:node-fb23cf10-aae6-494d-a20b-64b039bca371:node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25 :: true

2022-12-18 22:01:55 | [Mutex] waiting for: [received:nodes:ece156a0-65d5-48b5-b042-31363e4db22b:localhost]

2022-12-18 22:01:55 | [Mutex] received everything.

2022-12-18 22:01:55 | [Mutex] isItemNotified: received:node:ece156a0-65d5-48b5-b042-31363e4db22b:localhost:node-fb23cf10-aae6-494d-a20b-64b039bca371:Node fb23cf10-aae6-494d-a20b-64b039bca371 :: true

2022-12-18 22:01:55 | [Mutex] waiting for: [received:nodes:49938a5e-fd16-4f6d-ae61-1aab974a9e4a:localhost]

2022-12-18 22:01:55 | [Mutex] waiting for: [received:nodes:49938a5e-fd16-4f6d-ae61-1aab974a9e4a:localhost]

2022-12-18 22:01:55 | [Mutex] waiting for: [received:nodes:49938a5e-fd16-4f6d-ae61-1aab974a9e4a:localhost]

2022-12-18 22:01:55 | [Mutex] waiting for: [received:nodes:49938a5e-fd16-4f6d-ae61-1aab974a9e4a:localhost]

2022-12-18 22:01:55 | [Mutex] received everything.

2022-12-18 22:01:55 | [Mutex] isItemNotified: received:node:49938a5e-fd16-4f6d-ae61-1aab974a9e4a:localhost:node-fb23cf10-aae6-494d-a20b-64b039bca371:Node fb23cf10-aae6-494d-a20b-64b039bca371 :: false

createNodes 1.387s
2022-12-18 22:01:52 |

2022-12-18 22:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:52 | ------------------------------------

2022-12-18 22:01:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fb23cf10-aae6-494d-a20b-64b039bca371</title></pubsub></data>

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

2022-12-18 22:01:53 | [Mutex] waiting for: [received:nodes:2a91ccbc-9e3d-4cca-ab8a-6d28873c31ce:localhost]

2022-12-18 22:01:53 | [Mutex] waiting for: [received:nodes:2a91ccbc-9e3d-4cca-ab8a-6d28873c31ce:localhost]

2022-12-18 22:01:53 | [Mutex] waiting for: [received:nodes:2a91ccbc-9e3d-4cca-ab8a-6d28873c31ce:localhost]

2022-12-18 22:01:53 | [Mutex] received everything.

2022-12-18 22:01:53 | [Mutex] isItemNotified: received:node:2a91ccbc-9e3d-4cca-ab8a-6d28873c31ce:localhost:node-fb23cf10-aae6-494d-a20b-64b039bca371:Node fb23cf10-aae6-494d-a20b-64b039bca371 :: true

createSubnodes 1.032s
2022-12-18 22:01:53 |

2022-12-18 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:53 | ------------------------------------

2022-12-18 22:01:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5d023cc3-77c4-4ae9-93ca-c88bfcca7c25</title></pubsub></data>

2022-12-18 22:01:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 22:01:54 | [Mutex] waiting for: [received:nodes:c52fbf3c-c318-4cde-8614-aa67ea610353:localhost]

2022-12-18 22:01:54 | [Mutex] received everything.

2022-12-18 22:01:54 | [Mutex] isItemNotified: received:node:c52fbf3c-c318-4cde-8614-aa67ea610353:localhost:node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25:Node 5d023cc3-77c4-4ae9-93ca-c88bfcca7c25 :: true

deleteNodes 1.023s
2022-12-18 22:01:59 |

2022-12-18 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:59 | ------------------------------------

2022-12-18 22:01:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25</node></data>

2022-12-18 22:01:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-18 22:02:00 | [Mutex] waiting for: [received:nodes:12ccefd3-15c9-489d-8cc4-0e5531e29ec3:localhost]

2022-12-18 22:02:00 | [Mutex] waiting for: [received:nodes:12ccefd3-15c9-489d-8cc4-0e5531e29ec3:localhost]

2022-12-18 22:02:00 | [Mutex] waiting for: [received:nodes:12ccefd3-15c9-489d-8cc4-0e5531e29ec3:localhost]

2022-12-18 22:02:00 | [Mutex] received everything.

2022-12-18 22:02:00 | [Mutex] isItemNotified: received:node:12ccefd3-15c9-489d-8cc4-0e5531e29ec3:localhost:node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25:Node 5d023cc3-77c4-4ae9-93ca-c88bfcca7c25 :: false

deleteSubnodes 1.108s
2022-12-18 22:01:58 |

2022-12-18 22:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:58 | ------------------------------------

2022-12-18 22:01:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node></data>

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

2022-12-18 22:01:59 | [Mutex] waiting for: [received:nodes:b9c95c6c-a975-4969-ae3d-ff95fb24c2ef:localhost]

2022-12-18 22:01:59 | [Mutex] waiting for: [received:nodes:b9c95c6c-a975-4969-ae3d-ff95fb24c2ef:localhost]

2022-12-18 22:01:59 | [Mutex] waiting for: [received:nodes:b9c95c6c-a975-4969-ae3d-ff95fb24c2ef:localhost]

2022-12-18 22:01:59 | [Mutex] waiting for: [received:nodes:b9c95c6c-a975-4969-ae3d-ff95fb24c2ef:localhost]

2022-12-18 22:01:59 | [Mutex] received everything.

2022-12-18 22:01:59 | [Mutex] isItemNotified: received:node:b9c95c6c-a975-4969-ae3d-ff95fb24c2ef:localhost:node-fb23cf10-aae6-494d-a20b-64b039bca371:Node fb23cf10-aae6-494d-a20b-64b039bca371 :: false

2022-12-18 22:01:59 | [Mutex] waiting for: [received:nodes:8d36fafb-357e-499c-b375-df61c6083ef9:localhost]

2022-12-18 22:01:59 | [Mutex] received everything.

2022-12-18 22:01:59 | [Mutex] isItemNotified: received:node:8d36fafb-357e-499c-b375-df61c6083ef9:localhost:node-fb23cf10-aae6-494d-a20b-64b039bca371:Node fb23cf10-aae6-494d-a20b-64b039bca371 :: false

publishItemsToNodes 0.212s
2022-12-18 22:01:56 |

2022-12-18 22:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:56 | ------------------------------------

2022-12-18 22:01:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><item-id>item-78088f44-e725-4f31-b93b-505a3b1edf2e</item-id><entry><test>item-78088f44-e725-4f31-b93b-505a3b1edf2e</test></entry></data>

2022-12-18 22:01:56 | 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-78088f44-e725-4f31-b93b-505a3b1edf2e</value></item-id></result>

2022-12-18 22:01:56 | [Mutex] waiting for: [published:item:notifieditem-78088f44-e725-4f31-b93b-505a3b1edf2e:admin@test-domain.com]

2022-12-18 22:01:57 | [Mutex] received everything.

2022-12-18 22:01:57 | [Mutex] isItemNotified: published:item:notifieditem-78088f44-e725-4f31-b93b-505a3b1edf2e:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-12-18 22:01:57 |

2022-12-18 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:57 | ------------------------------------

2022-12-18 22:01:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><item-id>item-78088f44-e725-4f31-b93b-505a3b1edf2e</item-id></data>

2022-12-18 22:01:57 | 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-78088f44-e725-4f31-b93b-505a3b1edf2e</value></item-id></result>

2022-12-18 22:01:57 | [Mutex] received everything.

2022-12-18 22:01:57 | [Mutex] isItemNotified: retracted:item:notifieditem-78088f44-e725-4f31-b93b-505a3b1edf2e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.134s
2022-12-18 22:01:57 |

2022-12-18 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:57 | ------------------------------------

2022-12-18 22:01:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><item-id>item-78088f44-e725-4f31-b93b-505a3b1edf2e</item-id></data>

2022-12-18 22:01:57 | 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-fb23cf10-aae6-494d-a20b-64b039bca371</value></node><item-id type="text-single" label="Item ID"><value>item-78088f44-e725-4f31-b93b-505a3b1edf2e</value></item-id><item type="text-multi" label="Item"><value><item id="item-78088f44-e725-4f31-b93b-505a3b1edf2e"><test>item-78088f44-e725-4f31-b93b-505a3b1edf2e</test></item></value></item></result>

2022-12-18 22:01:57 | [Mutex] notify: [retrieved:item:item-78088f44-e725-4f31-b93b-505a3b1edf2e:payload-matches:true:localhost]

2022-12-18 22:01:57 | [Mutex] received everything.

2022-12-18 22:01:57 | [Mutex] isItemNotified: retrieved:item:item-78088f44-e725-4f31-b93b-505a3b1edf2e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-18 22:01:57 |

2022-12-18 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:57 | ------------------------------------

2022-12-18 22:01:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-18 22:01:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-5d023cc3-77c4-4ae9-93ca-c88bfcca7c25</value><value>node-fb23cf10-aae6-494d-a20b-64b039bca371</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-18 22:01:57 |

2022-12-18 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:57 | ------------------------------------

2022-12-18 22:01:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fb23cf10-aae6-494d-a20b-64b039bca371)</node-pattern></data>

2022-12-18 22:01:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.099s
2022-12-18 22:01:55 |

2022-12-18 22:01:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:55 | ------------------------------------

2022-12-18 22:01:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 22:01:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.187s
2022-12-18 22:01:57 |

2022-12-18 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:01:57 | ------------------------------------

2022-12-18 22:01:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fb23cf10-aae6-494d-a20b-64b039bca371</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-18 22:01:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>