Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 21 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.546s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-06-21 22:32:12 |

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

2022-06-21 22:32:12 | ------------------------------------

2022-06-21 22:32:12 | [Mutex] waiting for: [configured:node:node-d325dec7-bb23-4cd3-9732-61395ffd961a:node-fd3a94be-0d76-4a06-99d1-76cb08819c32]

2022-06-21 22:32:12 | [Mutex] received everything.

2022-06-21 22:32:12 | [Mutex] isItemNotified: configured:node:node-d325dec7-bb23-4cd3-9732-61395ffd961a:node-fd3a94be-0d76-4a06-99d1-76cb08819c32 :: true

2022-06-21 22:32:13 | [Mutex] waiting for: [received:nodes:c7bcf562-92dd-4f61-8528-aa9963a2b2b5:localhost]

2022-06-21 22:32:13 | [Mutex] received everything.

2022-06-21 22:32:13 | [Mutex] isItemNotified: received:node:c7bcf562-92dd-4f61-8528-aa9963a2b2b5:localhost:node-d325dec7-bb23-4cd3-9732-61395ffd961a:Node d325dec7-bb23-4cd3-9732-61395ffd961a :: true

2022-06-21 22:32:13 | [Mutex] waiting for: [received:nodes:9708aac8-69e3-49ef-9b9d-09f80f1e5e7d:localhost]

2022-06-21 22:32:13 | [Mutex] received everything.

2022-06-21 22:32:13 | [Mutex] isItemNotified: received:node:9708aac8-69e3-49ef-9b9d-09f80f1e5e7d:localhost:node-d325dec7-bb23-4cd3-9732-61395ffd961a:Node d325dec7-bb23-4cd3-9732-61395ffd961a :: false

createNodes 1.490s
2022-06-21 22:32:09 |

2022-06-21 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:09 | ------------------------------------

2022-06-21 22:32:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d325dec7-bb23-4cd3-9732-61395ffd961a</title></pubsub></data>

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

2022-06-21 22:32:11 | [Mutex] waiting for: [received:nodes:dc12076b-9286-4d8e-b61b-dceb0f863190:localhost]

2022-06-21 22:32:11 | [Mutex] received everything.

2022-06-21 22:32:11 | [Mutex] isItemNotified: received:node:dc12076b-9286-4d8e-b61b-dceb0f863190:localhost:node-d325dec7-bb23-4cd3-9732-61395ffd961a:Node d325dec7-bb23-4cd3-9732-61395ffd961a :: true

createSubnodes 1.021s
2022-06-21 22:32:11 |

2022-06-21 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:11 | ------------------------------------

2022-06-21 22:32:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd3a94be-0d76-4a06-99d1-76cb08819c32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fd3a94be-0d76-4a06-99d1-76cb08819c32</title></pubsub></data>

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

2022-06-21 22:32:12 | [Mutex] waiting for: [received:nodes:b5c8f76b-4218-46fc-bc9f-5205bfec075f:localhost]

2022-06-21 22:32:12 | [Mutex] waiting for: [received:nodes:b5c8f76b-4218-46fc-bc9f-5205bfec075f:localhost]

2022-06-21 22:32:12 | [Mutex] received everything.

2022-06-21 22:32:12 | [Mutex] isItemNotified: received:node:b5c8f76b-4218-46fc-bc9f-5205bfec075f:localhost:node-fd3a94be-0d76-4a06-99d1-76cb08819c32:Node fd3a94be-0d76-4a06-99d1-76cb08819c32 :: true

deleteNodes 1.016s
2022-06-21 22:32:17 |

2022-06-21 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:17 | ------------------------------------

2022-06-21 22:32:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd3a94be-0d76-4a06-99d1-76cb08819c32</node></data>

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

2022-06-21 22:32:18 | [Mutex] waiting for: [received:nodes:f6cc5b5a-914e-4fa7-922b-84803beff83a:localhost]

2022-06-21 22:32:18 | [Mutex] received everything.

2022-06-21 22:32:18 | [Mutex] isItemNotified: received:node:f6cc5b5a-914e-4fa7-922b-84803beff83a:localhost:node-fd3a94be-0d76-4a06-99d1-76cb08819c32:Node fd3a94be-0d76-4a06-99d1-76cb08819c32 :: false

deleteSubnodes 1.137s
2022-06-21 22:32:16 |

2022-06-21 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:16 | ------------------------------------

2022-06-21 22:32:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node></data>

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

2022-06-21 22:32:17 | [Mutex] waiting for: [received:nodes:51a6f606-0c85-408a-a3d1-569a5de887c3:localhost]

2022-06-21 22:32:17 | [Mutex] waiting for: [received:nodes:51a6f606-0c85-408a-a3d1-569a5de887c3:localhost]

2022-06-21 22:32:17 | [Mutex] received everything.

2022-06-21 22:32:17 | [Mutex] isItemNotified: received:node:51a6f606-0c85-408a-a3d1-569a5de887c3:localhost:node-d325dec7-bb23-4cd3-9732-61395ffd961a:Node d325dec7-bb23-4cd3-9732-61395ffd961a :: false

2022-06-21 22:32:17 | [Mutex] waiting for: [received:nodes:a96ecc09-e788-4bc5-b71e-9dbe18a619bc:localhost]

2022-06-21 22:32:17 | [Mutex] received everything.

2022-06-21 22:32:17 | [Mutex] isItemNotified: received:node:a96ecc09-e788-4bc5-b71e-9dbe18a619bc:localhost:node-d325dec7-bb23-4cd3-9732-61395ffd961a:Node d325dec7-bb23-4cd3-9732-61395ffd961a :: false

publishItemsToNodes 0.188s
2022-06-21 22:32:14 |

2022-06-21 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:14 | ------------------------------------

2022-06-21 22:32:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><item-id>item-38b790a4-0465-40a5-8a54-39c4c4625378</item-id><entry><test>item-38b790a4-0465-40a5-8a54-39c4c4625378</test></entry></data>

2022-06-21 22:32:14 | 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-38b790a4-0465-40a5-8a54-39c4c4625378</value></item-id></result>

2022-06-21 22:32:14 | [Mutex] received everything.

2022-06-21 22:32:14 | [Mutex] isItemNotified: published:item:notifieditem-38b790a4-0465-40a5-8a54-39c4c4625378:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-06-21 22:32:14 |

2022-06-21 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:14 | ------------------------------------

2022-06-21 22:32:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><item-id>item-38b790a4-0465-40a5-8a54-39c4c4625378</item-id></data>

2022-06-21 22:32:15 | 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-38b790a4-0465-40a5-8a54-39c4c4625378</value></item-id></result>

2022-06-21 22:32:15 | [Mutex] waiting for: [retracted:item:notifieditem-38b790a4-0465-40a5-8a54-39c4c4625378:admin@test-domain.com]

2022-06-21 22:32:15 | [Mutex] received everything.

2022-06-21 22:32:15 | [Mutex] isItemNotified: retracted:item:notifieditem-38b790a4-0465-40a5-8a54-39c4c4625378:admin@test-domain.com :: true

retrieveItemsFromNodes 0.196s
2022-06-21 22:32:14 |

2022-06-21 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:14 | ------------------------------------

2022-06-21 22:32:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><item-id>item-38b790a4-0465-40a5-8a54-39c4c4625378</item-id></data>

2022-06-21 22:32:14 | 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-d325dec7-bb23-4cd3-9732-61395ffd961a</value></node><item-id label="Item ID" type="text-single"><value>item-38b790a4-0465-40a5-8a54-39c4c4625378</value></item-id><item label="Item" type="text-multi"><value><item id="item-38b790a4-0465-40a5-8a54-39c4c4625378"><test>item-38b790a4-0465-40a5-8a54-39c4c4625378</test></item></value></item></result>

2022-06-21 22:32:14 | [Mutex] notify: [retrieved:item:item-38b790a4-0465-40a5-8a54-39c4c4625378:payload-matches:true:localhost]

2022-06-21 22:32:14 | [Mutex] received everything.

2022-06-21 22:32:14 | [Mutex] isItemNotified: retrieved:item:item-38b790a4-0465-40a5-8a54-39c4c4625378:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-21 22:32:14 |

2022-06-21 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:14 | ------------------------------------

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

2022-06-21 22:32:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d325dec7-bb23-4cd3-9732-61395ffd961a</value><value>test</value><value>node-fd3a94be-0d76-4a06-99d1-76cb08819c32</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-06-21 22:32:14 |

2022-06-21 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:14 | ------------------------------------

2022-06-21 22:32:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d325dec7-bb23-4cd3-9732-61395ffd961a)</node-pattern></data>

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

subscribeNodes 1.115s
2022-06-21 22:32:13 |

2022-06-21 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:13 | ------------------------------------

2022-06-21 22:32:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.243s
2022-06-21 22:32:15 |

2022-06-21 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-21 22:32:15 | ------------------------------------

2022-06-21 22:32:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d325dec7-bb23-4cd3-9732-61395ffd961a</node><jids><value>admin@test-domain.com</value></jids></data>

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