Generated by TestNG with ReportNG at 21:18 PST on Wednesday 16 February 2022
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.338s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2022-02-16 21:34:13 |

2022-02-16 21:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:13 | ------------------------------------

2022-02-16 21:34:13 | [Mutex] waiting for: [configured:node:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:node-c7e498a4-7e23-47e9-b87b-97e48fb52580]

2022-02-16 21:34:13 | [Mutex] received everything.

2022-02-16 21:34:13 | [Mutex] isItemNotified: configured:node:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:node-c7e498a4-7e23-47e9-b87b-97e48fb52580 :: true

2022-02-16 21:34:14 | [Mutex] waiting for: [received:nodes:f9959560-1989-43e6-8a9b-7c46fad719c7:localhost]

2022-02-16 21:34:14 | [Mutex] received everything.

2022-02-16 21:34:14 | [Mutex] isItemNotified: received:node:f9959560-1989-43e6-8a9b-7c46fad719c7:localhost:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:Node 26f66ddd-ee4b-4175-8ad0-a121923490a3 :: true

2022-02-16 21:34:14 | [Mutex] waiting for: [received:nodes:29d4a81d-1d6b-462d-983c-c86f66cabbd2:localhost]

2022-02-16 21:34:14 | [Mutex] received everything.

2022-02-16 21:34:14 | [Mutex] isItemNotified: received:node:29d4a81d-1d6b-462d-983c-c86f66cabbd2:localhost:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:Node 26f66ddd-ee4b-4175-8ad0-a121923490a3 :: false

createNodes 1.641s
2022-02-16 21:34:10 |

2022-02-16 21:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:10 | ------------------------------------

2022-02-16 21:34:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26f66ddd-ee4b-4175-8ad0-a121923490a3</title></pubsub></data>

2022-02-16 21:34:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:34:12 | [Mutex] waiting for: [received:nodes:ed21ea2c-6a9b-4f32-be7f-0f5a9bbf9b6d:localhost]

2022-02-16 21:34:12 | [Mutex] received everything.

2022-02-16 21:34:12 | [Mutex] isItemNotified: received:node:ed21ea2c-6a9b-4f32-be7f-0f5a9bbf9b6d:localhost:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:Node 26f66ddd-ee4b-4175-8ad0-a121923490a3 :: true

createSubnodes 1.028s
2022-02-16 21:34:12 |

2022-02-16 21:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:12 | ------------------------------------

2022-02-16 21:34:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c7e498a4-7e23-47e9-b87b-97e48fb52580</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c7e498a4-7e23-47e9-b87b-97e48fb52580</title></pubsub></data>

2022-02-16 21:34:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:34:13 | [Mutex] waiting for: [received:nodes:853ad422-f417-4bfb-a447-ff5dea5c8a3a:localhost]

2022-02-16 21:34:13 | [Mutex] received everything.

2022-02-16 21:34:13 | [Mutex] isItemNotified: received:node:853ad422-f417-4bfb-a447-ff5dea5c8a3a:localhost:node-c7e498a4-7e23-47e9-b87b-97e48fb52580:Node c7e498a4-7e23-47e9-b87b-97e48fb52580 :: true

deleteNodes 1.017s
2022-02-16 21:34:19 |

2022-02-16 21:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:19 | ------------------------------------

2022-02-16 21:34:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c7e498a4-7e23-47e9-b87b-97e48fb52580</node></data>

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

2022-02-16 21:34:20 | [Mutex] waiting for: [received:nodes:967ac4b9-9cf3-426f-b61a-a2bdb28cd678:localhost]

2022-02-16 21:34:20 | [Mutex] received everything.

2022-02-16 21:34:20 | [Mutex] isItemNotified: received:node:967ac4b9-9cf3-426f-b61a-a2bdb28cd678:localhost:node-c7e498a4-7e23-47e9-b87b-97e48fb52580:Node c7e498a4-7e23-47e9-b87b-97e48fb52580 :: false

deleteSubnodes 1.143s
2022-02-16 21:34:17 |

2022-02-16 21:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:17 | ------------------------------------

2022-02-16 21:34:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node></data>

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

2022-02-16 21:34:19 | [Mutex] waiting for: [received:nodes:5b97f14a-9eff-4d38-a773-8cc539f001b3:localhost]

2022-02-16 21:34:19 | [Mutex] received everything.

2022-02-16 21:34:19 | [Mutex] isItemNotified: received:node:5b97f14a-9eff-4d38-a773-8cc539f001b3:localhost:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:Node 26f66ddd-ee4b-4175-8ad0-a121923490a3 :: false

2022-02-16 21:34:19 | [Mutex] waiting for: [received:nodes:80211e03-3cbe-416d-b32a-4329bbe8c2e6:localhost]

2022-02-16 21:34:19 | [Mutex] received everything.

2022-02-16 21:34:19 | [Mutex] isItemNotified: received:node:80211e03-3cbe-416d-b32a-4329bbe8c2e6:localhost:node-26f66ddd-ee4b-4175-8ad0-a121923490a3:Node 26f66ddd-ee4b-4175-8ad0-a121923490a3 :: false

publishItemsToNodes 0.254s
2022-02-16 21:34:15 |

2022-02-16 21:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:15 | ------------------------------------

2022-02-16 21:34:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><item-id>item-b4839df9-77bd-4380-a14e-7d948c627f90</item-id><entry><test>item-b4839df9-77bd-4380-a14e-7d948c627f90</test></entry></data>

2022-02-16 21:34:15 | 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-b4839df9-77bd-4380-a14e-7d948c627f90</value></item-id></result>

2022-02-16 21:34:15 | [Mutex] received everything.

2022-02-16 21:34:15 | [Mutex] isItemNotified: published:item:notifieditem-b4839df9-77bd-4380-a14e-7d948c627f90:admin@test-domain.com :: true

retractItemsFromNodes 0.349s
2022-02-16 21:34:16 |

2022-02-16 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:16 | ------------------------------------

2022-02-16 21:34:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><item-id>item-b4839df9-77bd-4380-a14e-7d948c627f90</item-id></data>

2022-02-16 21:34:16 | 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-b4839df9-77bd-4380-a14e-7d948c627f90</value></item-id></result>

2022-02-16 21:34:16 | [Mutex] received everything.

2022-02-16 21:34:16 | [Mutex] isItemNotified: retracted:item:notifieditem-b4839df9-77bd-4380-a14e-7d948c627f90:admin@test-domain.com :: true

retrieveItemsFromNodes 0.254s
2022-02-16 21:34:15 |

2022-02-16 21:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:15 | ------------------------------------

2022-02-16 21:34:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><item-id>item-b4839df9-77bd-4380-a14e-7d948c627f90</item-id></data>

2022-02-16 21:34:16 | 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-26f66ddd-ee4b-4175-8ad0-a121923490a3</value></node><item-id type="text-single" label="Item ID"><value>item-b4839df9-77bd-4380-a14e-7d948c627f90</value></item-id><item type="text-multi" label="Item"><value><item id="item-b4839df9-77bd-4380-a14e-7d948c627f90"><test>item-b4839df9-77bd-4380-a14e-7d948c627f90</test></item></value></item></result>

2022-02-16 21:34:16 | [Mutex] notify: [retrieved:item:item-b4839df9-77bd-4380-a14e-7d948c627f90:payload-matches:true:localhost]

2022-02-16 21:34:16 | [Mutex] received everything.

2022-02-16 21:34:16 | [Mutex] isItemNotified: retrieved:item:item-b4839df9-77bd-4380-a14e-7d948c627f90:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-16 21:34:16 |

2022-02-16 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:16 | ------------------------------------

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

2022-02-16 21:34:16 | 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-c7e498a4-7e23-47e9-b87b-97e48fb52580</value><value>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-16 21:34:16 |

2022-02-16 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:16 | ------------------------------------

2022-02-16 21:34:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-26f66ddd-ee4b-4175-8ad0-a121923490a3)</node-pattern></data>

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

subscribeNodes 1.217s
2022-02-16 21:34:14 |

2022-02-16 21:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:14 | ------------------------------------

2022-02-16 21:34:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-16 21:34:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.299s
2022-02-16 21:34:16 |

2022-02-16 21:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:34:16 | ------------------------------------

2022-02-16 21:34:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-26f66ddd-ee4b-4175-8ad0-a121923490a3</node><jids><value>admin@test-domain.com</value></jids></data>

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