Generated by TestNG with ReportNG at 21:15 PST on Wednesday 28 December 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.542s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-12-28 21:31:32 |

2022-12-28 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:32 | ------------------------------------

2022-12-28 21:31:32 | [Mutex] waiting for: [configured:node:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4]

2022-12-28 21:31:32 | [Mutex] received everything.

2022-12-28 21:31:32 | [Mutex] isItemNotified: configured:node:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4 :: true

2022-12-28 21:31:33 | [Mutex] waiting for: [received:nodes:7f3a8979-e3fb-4f32-93a1-77b1822921db:localhost]

2022-12-28 21:31:33 | [Mutex] received everything.

2022-12-28 21:31:33 | [Mutex] isItemNotified: received:node:7f3a8979-e3fb-4f32-93a1-77b1822921db:localhost:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a :: true

2022-12-28 21:31:33 | [Mutex] waiting for: [received:nodes:9a783953-4e44-411f-aebe-e01bfb02de60:localhost]

2022-12-28 21:31:33 | [Mutex] waiting for: [received:nodes:9a783953-4e44-411f-aebe-e01bfb02de60:localhost]

2022-12-28 21:31:33 | [Mutex] received everything.

2022-12-28 21:31:33 | [Mutex] isItemNotified: received:node:9a783953-4e44-411f-aebe-e01bfb02de60:localhost:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a :: false

createNodes 1.444s
2022-12-28 21:31:30 |

2022-12-28 21:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:30 | ------------------------------------

2022-12-28 21:31:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a</title></pubsub></data>

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

2022-12-28 21:31:31 | [Mutex] waiting for: [received:nodes:bd0b12b4-c154-43d6-a5cf-899f6d3cb235:localhost]

2022-12-28 21:31:31 | [Mutex] waiting for: [received:nodes:bd0b12b4-c154-43d6-a5cf-899f6d3cb235:localhost]

2022-12-28 21:31:31 | [Mutex] waiting for: [received:nodes:bd0b12b4-c154-43d6-a5cf-899f6d3cb235:localhost]

2022-12-28 21:31:31 | [Mutex] received everything.

2022-12-28 21:31:31 | [Mutex] isItemNotified: received:node:bd0b12b4-c154-43d6-a5cf-899f6d3cb235:localhost:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a :: true

createSubnodes 1.023s
2022-12-28 21:31:31 |

2022-12-28 21:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:31 | ------------------------------------

2022-12-28 21:31:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4</title></pubsub></data>

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

2022-12-28 21:31:32 | [Mutex] waiting for: [received:nodes:4b925403-5217-4fa8-9485-13abf18302f9:localhost]

2022-12-28 21:31:32 | [Mutex] waiting for: [received:nodes:4b925403-5217-4fa8-9485-13abf18302f9:localhost]

2022-12-28 21:31:32 | [Mutex] waiting for: [received:nodes:4b925403-5217-4fa8-9485-13abf18302f9:localhost]

2022-12-28 21:31:32 | [Mutex] waiting for: [received:nodes:4b925403-5217-4fa8-9485-13abf18302f9:localhost]

2022-12-28 21:31:32 | [Mutex] received everything.

2022-12-28 21:31:32 | [Mutex] isItemNotified: received:node:4b925403-5217-4fa8-9485-13abf18302f9:localhost:node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4:Node 7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4 :: true

deleteNodes 1.017s
2022-12-28 21:31:38 |

2022-12-28 21:31:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:38 | ------------------------------------

2022-12-28 21:31:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4</node></data>

2022-12-28 21:31:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-28 21:31:39 | [Mutex] waiting for: [received:nodes:fc007548-667f-4e8e-ae99-ef04cc73e1a9:localhost]

2022-12-28 21:31:39 | [Mutex] waiting for: [received:nodes:fc007548-667f-4e8e-ae99-ef04cc73e1a9:localhost]

2022-12-28 21:31:39 | [Mutex] waiting for: [received:nodes:fc007548-667f-4e8e-ae99-ef04cc73e1a9:localhost]

2022-12-28 21:31:39 | [Mutex] received everything.

2022-12-28 21:31:39 | [Mutex] isItemNotified: received:node:fc007548-667f-4e8e-ae99-ef04cc73e1a9:localhost:node-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4:Node 7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4 :: false

deleteSubnodes 1.127s
2022-12-28 21:31:36 |

2022-12-28 21:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:36 | ------------------------------------

2022-12-28 21:31:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node></data>

2022-12-28 21:31:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-28 21:31:38 | [Mutex] waiting for: [received:nodes:2374bfe5-3fb0-4f6d-9bae-2d735fb41fe0:localhost]

2022-12-28 21:31:38 | [Mutex] waiting for: [received:nodes:2374bfe5-3fb0-4f6d-9bae-2d735fb41fe0:localhost]

2022-12-28 21:31:38 | [Mutex] waiting for: [received:nodes:2374bfe5-3fb0-4f6d-9bae-2d735fb41fe0:localhost]

2022-12-28 21:31:38 | [Mutex] received everything.

2022-12-28 21:31:38 | [Mutex] isItemNotified: received:node:2374bfe5-3fb0-4f6d-9bae-2d735fb41fe0:localhost:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a :: false

2022-12-28 21:31:38 | [Mutex] waiting for: [received:nodes:1a81ef47-e904-4cbb-9cd3-6cb811e1b5d6:localhost]

2022-12-28 21:31:38 | [Mutex] received everything.

2022-12-28 21:31:38 | [Mutex] isItemNotified: received:node:1a81ef47-e904-4cbb-9cd3-6cb811e1b5d6:localhost:node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a:Node 830980e9-64f3-4dc6-9efa-a39b2bab3e1a :: false

publishItemsToNodes 0.243s
2022-12-28 21:31:34 |

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

2022-12-28 21:31:34 | ------------------------------------

2022-12-28 21:31:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><item-id>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</item-id><entry><test>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</test></entry></data>

2022-12-28 21:31: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-82ec79d2-ada4-4db8-8b09-eaa78633a123</value></item-id></result>

2022-12-28 21:31:35 | [Mutex] waiting for: [published:item:notifieditem-82ec79d2-ada4-4db8-8b09-eaa78633a123:admin@test-domain.com]

2022-12-28 21:31:35 | [Mutex] received everything.

2022-12-28 21:31:35 | [Mutex] isItemNotified: published:item:notifieditem-82ec79d2-ada4-4db8-8b09-eaa78633a123:admin@test-domain.com :: true

retractItemsFromNodes 0.248s
2022-12-28 21:31:35 |

2022-12-28 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:35 | ------------------------------------

2022-12-28 21:31:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><item-id>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</item-id></data>

2022-12-28 21:31:35 | 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-82ec79d2-ada4-4db8-8b09-eaa78633a123</value></item-id></result>

2022-12-28 21:31:35 | [Mutex] received everything.

2022-12-28 21:31:35 | [Mutex] isItemNotified: retracted:item:notifieditem-82ec79d2-ada4-4db8-8b09-eaa78633a123:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2022-12-28 21:31:35 |

2022-12-28 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:35 | ------------------------------------

2022-12-28 21:31:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><item-id>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</item-id></data>

2022-12-28 21:31: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-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</value></node><item-id type="text-single" label="Item ID"><value>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</value></item-id><item type="text-multi" label="Item"><value><item id="item-82ec79d2-ada4-4db8-8b09-eaa78633a123"><test>item-82ec79d2-ada4-4db8-8b09-eaa78633a123</test></item></value></item></result>

2022-12-28 21:31:35 | [Mutex] notify: [retrieved:item:item-82ec79d2-ada4-4db8-8b09-eaa78633a123:payload-matches:true:localhost]

2022-12-28 21:31:35 | [Mutex] received everything.

2022-12-28 21:31:35 | [Mutex] isItemNotified: retrieved:item:item-82ec79d2-ada4-4db8-8b09-eaa78633a123:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-12-28 21:31:35 |

2022-12-28 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:35 | ------------------------------------

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

2022-12-28 21:31:35 | 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-7ca5322b-43d9-4a3d-80a5-2bdd9e7650d4</value><value>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-12-28 21:31:35 |

2022-12-28 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:35 | ------------------------------------

2022-12-28 21:31: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-830980e9-64f3-4dc6-9efa-a39b2bab3e1a)</node-pattern></data>

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

subscribeNodes 1.119s
2022-12-28 21:31:33 |

2022-12-28 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:33 | ------------------------------------

2022-12-28 21:31:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-28 21:31:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.232s
2022-12-28 21:31:35 |

2022-12-28 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:35 | ------------------------------------

2022-12-28 21:31:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-830980e9-64f3-4dc6-9efa-a39b2bab3e1a</node><jids><value>admin@test-domain.com</value></jids></data>

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