Generated by TestNG with ReportNG at 22:19 PDT on Monday 08 August 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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2022-08-08 22:40:48 |

2022-08-08 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:48 | ------------------------------------

2022-08-08 22:40:48 | [Mutex] waiting for: [configured:node:node-fc429729-e635-4bff-b02d-2fdfefb469e4:node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9]

2022-08-08 22:40:48 | [Mutex] received everything.

2022-08-08 22:40:48 | [Mutex] isItemNotified: configured:node:node-fc429729-e635-4bff-b02d-2fdfefb469e4:node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9 :: true

2022-08-08 22:40:49 | [Mutex] waiting for: [received:nodes:7eacced3-d763-40fa-b342-9b1f0d61e590:localhost]

2022-08-08 22:40:49 | [Mutex] received everything.

2022-08-08 22:40:49 | [Mutex] isItemNotified: received:node:7eacced3-d763-40fa-b342-9b1f0d61e590:localhost:node-fc429729-e635-4bff-b02d-2fdfefb469e4:Node fc429729-e635-4bff-b02d-2fdfefb469e4 :: true

2022-08-08 22:40:49 | [Mutex] waiting for: [received:nodes:7835b453-baf7-403b-806e-13a6206f9f9c:localhost]

2022-08-08 22:40:49 | [Mutex] received everything.

2022-08-08 22:40:49 | [Mutex] isItemNotified: received:node:7835b453-baf7-403b-806e-13a6206f9f9c:localhost:node-fc429729-e635-4bff-b02d-2fdfefb469e4:Node fc429729-e635-4bff-b02d-2fdfefb469e4 :: false

createNodes 1.366s
2022-08-08 22:40:46 |

2022-08-08 22:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:46 | ------------------------------------

2022-08-08 22:40:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fc429729-e635-4bff-b02d-2fdfefb469e4</title></pubsub></data>

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

2022-08-08 22:40:47 | [Mutex] waiting for: [received:nodes:8b513ceb-b360-4874-af34-bc3c54cd28d2:localhost]

2022-08-08 22:40:47 | [Mutex] received everything.

2022-08-08 22:40:47 | [Mutex] isItemNotified: received:node:8b513ceb-b360-4874-af34-bc3c54cd28d2:localhost:node-fc429729-e635-4bff-b02d-2fdfefb469e4:Node fc429729-e635-4bff-b02d-2fdfefb469e4 :: true

createSubnodes 1.027s
2022-08-08 22:40:47 |

2022-08-08 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:47 | ------------------------------------

2022-08-08 22:40:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9</title></pubsub></data>

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

2022-08-08 22:40:48 | [Mutex] waiting for: [received:nodes:c46530be-f41c-4b43-8f1d-5a673d585cf9:localhost]

2022-08-08 22:40:48 | [Mutex] received everything.

2022-08-08 22:40:48 | [Mutex] isItemNotified: received:node:c46530be-f41c-4b43-8f1d-5a673d585cf9:localhost:node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9:Node 7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9 :: true

deleteNodes 1.018s
2022-08-08 22:40:54 |

2022-08-08 22:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:54 | ------------------------------------

2022-08-08 22:40:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9</node></data>

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

2022-08-08 22:40:55 | [Mutex] waiting for: [received:nodes:7376dbed-1a49-4da5-8b04-6344acc0ef35:localhost]

2022-08-08 22:40:55 | [Mutex] waiting for: [received:nodes:7376dbed-1a49-4da5-8b04-6344acc0ef35:localhost]

2022-08-08 22:40:55 | [Mutex] received everything.

2022-08-08 22:40:55 | [Mutex] isItemNotified: received:node:7376dbed-1a49-4da5-8b04-6344acc0ef35:localhost:node-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9:Node 7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9 :: false

deleteSubnodes 1.109s
2022-08-08 22:40:52 |

2022-08-08 22:40:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:52 | ------------------------------------

2022-08-08 22:40:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node></data>

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

2022-08-08 22:40:54 | [Mutex] waiting for: [received:nodes:46e85bc1-c5b5-400f-9c5a-244f0750a686:localhost]

2022-08-08 22:40:54 | [Mutex] received everything.

2022-08-08 22:40:54 | [Mutex] isItemNotified: received:node:46e85bc1-c5b5-400f-9c5a-244f0750a686:localhost:node-fc429729-e635-4bff-b02d-2fdfefb469e4:Node fc429729-e635-4bff-b02d-2fdfefb469e4 :: false

2022-08-08 22:40:54 | [Mutex] waiting for: [received:nodes:ff7e94d7-7b3d-4f78-86d0-7479d3057c0c:localhost]

2022-08-08 22:40:54 | [Mutex] received everything.

2022-08-08 22:40:54 | [Mutex] isItemNotified: received:node:ff7e94d7-7b3d-4f78-86d0-7479d3057c0c:localhost:node-fc429729-e635-4bff-b02d-2fdfefb469e4:Node fc429729-e635-4bff-b02d-2fdfefb469e4 :: false

publishItemsToNodes 0.192s
2022-08-08 22:40:50 |

2022-08-08 22:40:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:50 | ------------------------------------

2022-08-08 22:40:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><item-id>item-d4efb026-6d15-484e-ac1f-9109475baf99</item-id><entry><test>item-d4efb026-6d15-484e-ac1f-9109475baf99</test></entry></data>

2022-08-08 22:40:51 | 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-d4efb026-6d15-484e-ac1f-9109475baf99</value></item-id></result>

2022-08-08 22:40:51 | [Mutex] received everything.

2022-08-08 22:40:51 | [Mutex] isItemNotified: published:item:notifieditem-d4efb026-6d15-484e-ac1f-9109475baf99:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-08-08 22:40:51 |

2022-08-08 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:51 | ------------------------------------

2022-08-08 22:40:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><item-id>item-d4efb026-6d15-484e-ac1f-9109475baf99</item-id></data>

2022-08-08 22:40:51 | 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-d4efb026-6d15-484e-ac1f-9109475baf99</value></item-id></result>

2022-08-08 22:40:51 | [Mutex] received everything.

2022-08-08 22:40:51 | [Mutex] isItemNotified: retracted:item:notifieditem-d4efb026-6d15-484e-ac1f-9109475baf99:admin@test-domain.com :: true

retrieveItemsFromNodes 0.249s
2022-08-08 22:40:51 |

2022-08-08 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:51 | ------------------------------------

2022-08-08 22:40:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><item-id>item-d4efb026-6d15-484e-ac1f-9109475baf99</item-id></data>

2022-08-08 22:40:51 | 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-fc429729-e635-4bff-b02d-2fdfefb469e4</value></node><item-id type="text-single" label="Item ID"><value>item-d4efb026-6d15-484e-ac1f-9109475baf99</value></item-id><item type="text-multi" label="Item"><value><item id="item-d4efb026-6d15-484e-ac1f-9109475baf99"><test>item-d4efb026-6d15-484e-ac1f-9109475baf99</test></item></value></item></result>

2022-08-08 22:40:51 | [Mutex] notify: [retrieved:item:item-d4efb026-6d15-484e-ac1f-9109475baf99:payload-matches:true:localhost]

2022-08-08 22:40:51 | [Mutex] received everything.

2022-08-08 22:40:51 | [Mutex] isItemNotified: retrieved:item:item-d4efb026-6d15-484e-ac1f-9109475baf99:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-08 22:40:51 |

2022-08-08 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:51 | ------------------------------------

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

2022-08-08 22:40:51 | 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-7eeaaf18-0b5f-4163-bf0e-d89cb78f8cd9</value><value>node-fc429729-e635-4bff-b02d-2fdfefb469e4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-08 22:40:51 |

2022-08-08 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:51 | ------------------------------------

2022-08-08 22:40:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fc429729-e635-4bff-b02d-2fdfefb469e4)</node-pattern></data>

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

subscribeNodes 1.146s
2022-08-08 22:40:49 |

2022-08-08 22:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:49 | ------------------------------------

2022-08-08 22:40:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.171s
2022-08-08 22:40:51 |

2022-08-08 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-08 22:40:51 | ------------------------------------

2022-08-08 22:40:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fc429729-e635-4bff-b02d-2fdfefb469e4</node><jids><value>admin@test-domain.com</value></jids></data>

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