Generated by TestNG with ReportNG at 22:58 PDT on Thursday 07 October 2021
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.199s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.134s
2021-10-07 23:14:44 |

2021-10-07 23:14:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:44 | ------------------------------------

2021-10-07 23:14:44 | [Mutex] waiting for: [configured:node:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:node-8a159886-c8c1-4821-9944-0aa0ad78b65b]

2021-10-07 23:14:44 | [Mutex] received everything.

2021-10-07 23:14:44 | [Mutex] isItemNotified: configured:node:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:node-8a159886-c8c1-4821-9944-0aa0ad78b65b :: true

2021-10-07 23:14:45 | [Mutex] waiting for: [received:nodes:f0a946fb-5a17-4a23-bf07-67543ab585ef:localhost]

2021-10-07 23:14:45 | [Mutex] received everything.

2021-10-07 23:14:45 | [Mutex] isItemNotified: received:node:f0a946fb-5a17-4a23-bf07-67543ab585ef:localhost:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:Node e8b4cf60-c124-407d-b311-bd6a7b3c5717 :: true

2021-10-07 23:14:45 | [Mutex] waiting for: [received:nodes:6f4501ec-d74d-4fc7-bb2e-eb15ba54f974:localhost]

2021-10-07 23:14:45 | [Mutex] received everything.

2021-10-07 23:14:45 | [Mutex] isItemNotified: received:node:6f4501ec-d74d-4fc7-bb2e-eb15ba54f974:localhost:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:Node e8b4cf60-c124-407d-b311-bd6a7b3c5717 :: false

createNodes 1.570s
2021-10-07 23:14:41 |

2021-10-07 23:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:41 | ------------------------------------

2021-10-07 23:14:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e8b4cf60-c124-407d-b311-bd6a7b3c5717</title></pubsub></data>

2021-10-07 23:14:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 23:14:43 | [Mutex] waiting for: [received:nodes:67af131d-fcf0-4c1a-b6c8-72c3abbec9c8:localhost]

2021-10-07 23:14:43 | [Mutex] received everything.

2021-10-07 23:14:43 | [Mutex] isItemNotified: received:node:67af131d-fcf0-4c1a-b6c8-72c3abbec9c8:localhost:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:Node e8b4cf60-c124-407d-b311-bd6a7b3c5717 :: true

createSubnodes 1.027s
2021-10-07 23:14:43 |

2021-10-07 23:14:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:43 | ------------------------------------

2021-10-07 23:14:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8a159886-c8c1-4821-9944-0aa0ad78b65b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a159886-c8c1-4821-9944-0aa0ad78b65b</title></pubsub></data>

2021-10-07 23:14:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 23:14:44 | [Mutex] waiting for: [received:nodes:b8f62784-bfb1-46e6-95e0-c5d2fcff28b1:localhost]

2021-10-07 23:14:44 | [Mutex] received everything.

2021-10-07 23:14:44 | [Mutex] isItemNotified: received:node:b8f62784-bfb1-46e6-95e0-c5d2fcff28b1:localhost:node-8a159886-c8c1-4821-9944-0aa0ad78b65b:Node 8a159886-c8c1-4821-9944-0aa0ad78b65b :: true

deleteNodes 1.020s
2021-10-07 23:14:49 |

2021-10-07 23:14:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:49 | ------------------------------------

2021-10-07 23:14:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8a159886-c8c1-4821-9944-0aa0ad78b65b</node></data>

2021-10-07 23:14:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 23:14:50 | [Mutex] waiting for: [received:nodes:336a21c3-3237-423f-9d2e-e0dce6f3cdb8:localhost]

2021-10-07 23:14:50 | [Mutex] received everything.

2021-10-07 23:14:50 | [Mutex] isItemNotified: received:node:336a21c3-3237-423f-9d2e-e0dce6f3cdb8:localhost:node-8a159886-c8c1-4821-9944-0aa0ad78b65b:Node 8a159886-c8c1-4821-9944-0aa0ad78b65b :: false

deleteSubnodes 1.176s
2021-10-07 23:14:48 |

2021-10-07 23:14:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:48 | ------------------------------------

2021-10-07 23:14:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node></data>

2021-10-07 23:14:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-07 23:14:49 | [Mutex] waiting for: [received:nodes:cac86587-6ff3-4daa-a9bc-c9e3b64b46bb:localhost]

2021-10-07 23:14:49 | [Mutex] received everything.

2021-10-07 23:14:49 | [Mutex] isItemNotified: received:node:cac86587-6ff3-4daa-a9bc-c9e3b64b46bb:localhost:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:Node e8b4cf60-c124-407d-b311-bd6a7b3c5717 :: false

2021-10-07 23:14:49 | [Mutex] waiting for: [received:nodes:ec3fe354-f693-4358-a8e8-1d680bcadd91:localhost]

2021-10-07 23:14:49 | [Mutex] received everything.

2021-10-07 23:14:49 | [Mutex] isItemNotified: received:node:ec3fe354-f693-4358-a8e8-1d680bcadd91:localhost:node-e8b4cf60-c124-407d-b311-bd6a7b3c5717:Node e8b4cf60-c124-407d-b311-bd6a7b3c5717 :: false

publishItemsToNodes 0.281s
2021-10-07 23:14:46 |

2021-10-07 23:14:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:46 | ------------------------------------

2021-10-07 23:14:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><item-id>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</item-id><entry><test>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</test></entry></data>

2021-10-07 23:14:46 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</value></item-id></result>

2021-10-07 23:14:46 | [Mutex] received everything.

2021-10-07 23:14:46 | [Mutex] isItemNotified: published:item:notifieditem-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2021-10-07 23:14:47 |

2021-10-07 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:47 | ------------------------------------

2021-10-07 23:14:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><item-id>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</item-id></data>

2021-10-07 23:14:47 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</value></item-id></result>

2021-10-07 23:14:47 | [Mutex] received everything.

2021-10-07 23:14:47 | [Mutex] isItemNotified: retracted:item:notifieditem-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.268s
2021-10-07 23:14:46 |

2021-10-07 23:14:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:46 | ------------------------------------

2021-10-07 23:14:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><item-id>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</item-id></data>

2021-10-07 23:14:47 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</value></node><item-id label="Item ID" type="text-single"><value>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f"><test>item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f</test></item></value></item></result>

2021-10-07 23:14:47 | [Mutex] notify: [retrieved:item:item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f:payload-matches:true:localhost]

2021-10-07 23:14:47 | [Mutex] received everything.

2021-10-07 23:14:47 | [Mutex] isItemNotified: retrieved:item:item-ee4d7bfe-8291-465a-9bdc-78d08fd8ef6f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-10-07 23:14:47 |

2021-10-07 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:47 | ------------------------------------

2021-10-07 23:14:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-07 23:14:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</value><value>node-8a159886-c8c1-4821-9944-0aa0ad78b65b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.067s
2021-10-07 23:14:47 |

2021-10-07 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:47 | ------------------------------------

2021-10-07 23:14:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e8b4cf60-c124-407d-b311-bd6a7b3c5717)</node-pattern></data>

2021-10-07 23:14:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.174s
2021-10-07 23:14:45 |

2021-10-07 23:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:45 | ------------------------------------

2021-10-07 23:14:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-07 23:14:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.239s
2021-10-07 23:14:47 |

2021-10-07 23:14:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-07 23:14:47 | ------------------------------------

2021-10-07 23:14:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e8b4cf60-c124-407d-b311-bd6a7b3c5717</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-07 23:14:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>