Generated by TestNG with ReportNG at 22:57 CLST on jueves 15 diciembre 2022
wojtek@atlantiscity.local / Java 17.0.5 (Eclipse Adoptium) / Mac OS X 13.0.1 (aarch64)

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

Suites · Log Output

Test duration : 8,215s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1,112s
2022-12-15 23:11:16 |

2022-12-15 23:11:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:16 | ------------------------------------

2022-12-15 23:11:16 | [Mutex] waiting for: [configured:node:node-753672b2-6ca5-4293-946d-355325e62221:node-86f3406d-0f96-4ec9-820f-72938b342dfd]

2022-12-15 23:11:16 | [Mutex] received everything.

2022-12-15 23:11:16 | [Mutex] isItemNotified: configured:node:node-753672b2-6ca5-4293-946d-355325e62221:node-86f3406d-0f96-4ec9-820f-72938b342dfd :: true

2022-12-15 23:11:17 | [Mutex] waiting for: [received:nodes:cc68b4ae-7df6-4a65-85dc-9721eb457d48:localhost]

2022-12-15 23:11:17 | [Mutex] received everything.

2022-12-15 23:11:17 | [Mutex] isItemNotified: received:node:cc68b4ae-7df6-4a65-85dc-9721eb457d48:localhost:node-753672b2-6ca5-4293-946d-355325e62221:Node 753672b2-6ca5-4293-946d-355325e62221 :: true

2022-12-15 23:11:17 | [Mutex] waiting for: [received:nodes:b8f8f1c5-d454-49fd-8cc2-2b854e1aa467:localhost]

2022-12-15 23:11:18 | [Mutex] waiting for: [received:nodes:b8f8f1c5-d454-49fd-8cc2-2b854e1aa467:localhost]

2022-12-15 23:11:18 | [Mutex] received everything.

2022-12-15 23:11:18 | [Mutex] isItemNotified: received:node:b8f8f1c5-d454-49fd-8cc2-2b854e1aa467:localhost:node-753672b2-6ca5-4293-946d-355325e62221:Node 753672b2-6ca5-4293-946d-355325e62221 :: false

createNodes 1,273s
2022-12-15 23:11:14 |

2022-12-15 23:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:14 | ------------------------------------

2022-12-15 23:11:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 753672b2-6ca5-4293-946d-355325e62221</title></pubsub></data>

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

2022-12-15 23:11:15 | [Mutex] waiting for: [received:nodes:ed0374bd-4820-4a09-9650-2fada3d4dca2:localhost]

2022-12-15 23:11:15 | [Mutex] received everything.

2022-12-15 23:11:15 | [Mutex] isItemNotified: received:node:ed0374bd-4820-4a09-9650-2fada3d4dca2:localhost:node-753672b2-6ca5-4293-946d-355325e62221:Node 753672b2-6ca5-4293-946d-355325e62221 :: true

createSubnodes 1,057s
2022-12-15 23:11:15 |

2022-12-15 23:11:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:15 | ------------------------------------

2022-12-15 23:11:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-86f3406d-0f96-4ec9-820f-72938b342dfd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 86f3406d-0f96-4ec9-820f-72938b342dfd</title></pubsub></data>

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

2022-12-15 23:11:16 | [Mutex] waiting for: [received:nodes:31b3e5e2-94a3-412c-9df7-be518cd93189:localhost]

2022-12-15 23:11:16 | [Mutex] waiting for: [received:nodes:31b3e5e2-94a3-412c-9df7-be518cd93189:localhost]

2022-12-15 23:11:16 | [Mutex] waiting for: [received:nodes:31b3e5e2-94a3-412c-9df7-be518cd93189:localhost]

2022-12-15 23:11:16 | [Mutex] received everything.

2022-12-15 23:11:16 | [Mutex] isItemNotified: received:node:31b3e5e2-94a3-412c-9df7-be518cd93189:localhost:node-86f3406d-0f96-4ec9-820f-72938b342dfd:Node 86f3406d-0f96-4ec9-820f-72938b342dfd :: true

deleteNodes 1,029s
2022-12-15 23:11:21 |

2022-12-15 23:11:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:21 | ------------------------------------

2022-12-15 23:11:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-86f3406d-0f96-4ec9-820f-72938b342dfd</node></data>

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

2022-12-15 23:11:22 | [Mutex] waiting for: [received:nodes:9505453e-7b96-49a3-93ad-2766b7597d29:localhost]

2022-12-15 23:11:22 | [Mutex] received everything.

2022-12-15 23:11:22 | [Mutex] isItemNotified: received:node:9505453e-7b96-49a3-93ad-2766b7597d29:localhost:node-86f3406d-0f96-4ec9-820f-72938b342dfd:Node 86f3406d-0f96-4ec9-820f-72938b342dfd :: false

deleteSubnodes 1,088s
2022-12-15 23:11:20 |

2022-12-15 23:11:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:20 | ------------------------------------

2022-12-15 23:11:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node></data>

2022-12-15 23:11:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-15 23:11:21 | [Mutex] waiting for: [received:nodes:0ee09e01-d455-4d4b-9634-e55547bd8d00:localhost]

2022-12-15 23:11:21 | [Mutex] waiting for: [received:nodes:0ee09e01-d455-4d4b-9634-e55547bd8d00:localhost]

2022-12-15 23:11:21 | [Mutex] waiting for: [received:nodes:0ee09e01-d455-4d4b-9634-e55547bd8d00:localhost]

2022-12-15 23:11:21 | [Mutex] received everything.

2022-12-15 23:11:21 | [Mutex] isItemNotified: received:node:0ee09e01-d455-4d4b-9634-e55547bd8d00:localhost:node-753672b2-6ca5-4293-946d-355325e62221:Node 753672b2-6ca5-4293-946d-355325e62221 :: false

2022-12-15 23:11:21 | [Mutex] waiting for: [received:nodes:a261efda-e51d-4793-8094-98c1579e7543:localhost]

2022-12-15 23:11:21 | [Mutex] received everything.

2022-12-15 23:11:21 | [Mutex] isItemNotified: received:node:a261efda-e51d-4793-8094-98c1579e7543:localhost:node-753672b2-6ca5-4293-946d-355325e62221:Node 753672b2-6ca5-4293-946d-355325e62221 :: false

publishItemsToNodes 0,110s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><item-id>item-19275aec-95b0-4aec-b96f-a2bea15684ed</item-id><entry><test>item-19275aec-95b0-4aec-b96f-a2bea15684ed</test></entry></data>

2022-12-15 23:11:19 | 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-19275aec-95b0-4aec-b96f-a2bea15684ed</value></item-id></result>

2022-12-15 23:11:19 | [Mutex] waiting for: [published:item:notifieditem-19275aec-95b0-4aec-b96f-a2bea15684ed:admin@test-domain.com]

2022-12-15 23:11:19 | [Mutex] received everything.

2022-12-15 23:11:19 | [Mutex] isItemNotified: published:item:notifieditem-19275aec-95b0-4aec-b96f-a2bea15684ed:admin@test-domain.com :: true

retractItemsFromNodes 0,079s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><item-id>item-19275aec-95b0-4aec-b96f-a2bea15684ed</item-id></data>

2022-12-15 23:11:19 | 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-19275aec-95b0-4aec-b96f-a2bea15684ed</value></item-id></result>

2022-12-15 23:11:19 | [Mutex] waiting for: [retracted:item:notifieditem-19275aec-95b0-4aec-b96f-a2bea15684ed:admin@test-domain.com]

2022-12-15 23:11:19 | [Mutex] received everything.

2022-12-15 23:11:19 | [Mutex] isItemNotified: retracted:item:notifieditem-19275aec-95b0-4aec-b96f-a2bea15684ed:admin@test-domain.com :: true

retrieveItemsFromNodes 0,049s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><item-id>item-19275aec-95b0-4aec-b96f-a2bea15684ed</item-id></data>

2022-12-15 23:11:19 | 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-753672b2-6ca5-4293-946d-355325e62221</value></node><item-id type="text-single" label="Item ID"><value>item-19275aec-95b0-4aec-b96f-a2bea15684ed</value></item-id><item type="text-multi" label="Item"><value><item id="item-19275aec-95b0-4aec-b96f-a2bea15684ed"><test>item-19275aec-95b0-4aec-b96f-a2bea15684ed</test></item></value></item></result>

2022-12-15 23:11:19 | [Mutex] notify: [retrieved:item:item-19275aec-95b0-4aec-b96f-a2bea15684ed:payload-matches:true:localhost]

2022-12-15 23:11:19 | [Mutex] received everything.

2022-12-15 23:11:19 | [Mutex] isItemNotified: retrieved:item:item-19275aec-95b0-4aec-b96f-a2bea15684ed:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,005s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-15 23:11:19 | 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-86f3406d-0f96-4ec9-820f-72938b342dfd</value><value>node-753672b2-6ca5-4293-946d-355325e62221</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0,007s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-753672b2-6ca5-4293-946d-355325e62221)</node-pattern></data>

2022-12-15 23:11:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1,075s
2022-12-15 23:11:18 |

2022-12-15 23:11:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:18 | ------------------------------------

2022-12-15 23:11:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1,056s
2022-12-15 23:11:19 |

2022-12-15 23:11:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-15 23:11:19 | ------------------------------------

2022-12-15 23:11:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-753672b2-6ca5-4293-946d-355325e62221</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-15 23:11:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>