Generated by TestNG with ReportNG at 21:57 PST on Thursday 14 January 2021
root@87f6aca6b6f2 / 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.311s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.159s
2021-01-14 22:13:44 |

2021-01-14 22:13:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:44 | ------------------------------------

2021-01-14 22:13:44 | [Mutex] waiting for: [configured:node:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15]

2021-01-14 22:13:44 | [Mutex] received everything.

2021-01-14 22:13:44 | [Mutex] isItemNotified: configured:node:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15 :: true

2021-01-14 22:13:45 | [Mutex] waiting for: [received:nodes:1d3964ea-1b58-47a7-a4c2-8e39f9a26bfa:localhost]

2021-01-14 22:13:45 | [Mutex] received everything.

2021-01-14 22:13:45 | [Mutex] isItemNotified: received:node:1d3964ea-1b58-47a7-a4c2-8e39f9a26bfa:localhost:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:Node 3c9f6626-44ed-4789-b121-ccc72de93c7d :: true

2021-01-14 22:13:45 | [Mutex] waiting for: [received:nodes:f46e232e-a1ab-4cb9-b48c-83ddec67d13b:localhost]

2021-01-14 22:13:45 | [Mutex] received everything.

2021-01-14 22:13:45 | [Mutex] isItemNotified: received:node:f46e232e-a1ab-4cb9-b48c-83ddec67d13b:localhost:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:Node 3c9f6626-44ed-4789-b121-ccc72de93c7d :: false

createNodes 1.521s
2021-01-14 22:13:41 |

2021-01-14 22:13:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:41 | ------------------------------------

2021-01-14 22:13:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3c9f6626-44ed-4789-b121-ccc72de93c7d</title></pubsub></data>

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

2021-01-14 22:13:43 | [Mutex] waiting for: [received:nodes:1092301a-eaad-4020-8a5c-8f593d72c204:localhost]

2021-01-14 22:13:43 | [Mutex] received everything.

2021-01-14 22:13:43 | [Mutex] isItemNotified: received:node:1092301a-eaad-4020-8a5c-8f593d72c204:localhost:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:Node 3c9f6626-44ed-4789-b121-ccc72de93c7d :: true

createSubnodes 1.029s
2021-01-14 22:13:43 |

2021-01-14 22:13:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:43 | ------------------------------------

2021-01-14 22:13:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7d05916e-4dc8-4c6f-a00b-fc6faaccbc15</title></pubsub></data>

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

2021-01-14 22:13:44 | [Mutex] waiting for: [received:nodes:3ba8bf39-2183-40e7-bcac-c4816265f8da:localhost]

2021-01-14 22:13:44 | [Mutex] received everything.

2021-01-14 22:13:44 | [Mutex] isItemNotified: received:node:3ba8bf39-2183-40e7-bcac-c4816265f8da:localhost:node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15:Node 7d05916e-4dc8-4c6f-a00b-fc6faaccbc15 :: true

deleteNodes 1.022s
2021-01-14 22:13:49 |

2021-01-14 22:13:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:49 | ------------------------------------

2021-01-14 22:13:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15</node></data>

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

2021-01-14 22:13:50 | [Mutex] waiting for: [received:nodes:ab96ab3a-46ee-4951-9caf-6d34b9d1a1a3:localhost]

2021-01-14 22:13:50 | [Mutex] waiting for: [received:nodes:ab96ab3a-46ee-4951-9caf-6d34b9d1a1a3:localhost]

2021-01-14 22:13:50 | [Mutex] received everything.

2021-01-14 22:13:50 | [Mutex] isItemNotified: received:node:ab96ab3a-46ee-4951-9caf-6d34b9d1a1a3:localhost:node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15:Node 7d05916e-4dc8-4c6f-a00b-fc6faaccbc15 :: false

deleteSubnodes 1.160s
2021-01-14 22:13:48 |

2021-01-14 22:13:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:48 | ------------------------------------

2021-01-14 22:13:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node></data>

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

2021-01-14 22:13:49 | [Mutex] waiting for: [received:nodes:3bec6563-0c15-4d35-8375-6c6f015ed061:localhost]

2021-01-14 22:13:49 | [Mutex] received everything.

2021-01-14 22:13:49 | [Mutex] isItemNotified: received:node:3bec6563-0c15-4d35-8375-6c6f015ed061:localhost:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:Node 3c9f6626-44ed-4789-b121-ccc72de93c7d :: false

2021-01-14 22:13:49 | [Mutex] waiting for: [received:nodes:7fe9b83b-ad4b-4c4c-bc92-e8c14b8c261d:localhost]

2021-01-14 22:13:49 | [Mutex] received everything.

2021-01-14 22:13:49 | [Mutex] isItemNotified: received:node:7fe9b83b-ad4b-4c4c-bc92-e8c14b8c261d:localhost:node-3c9f6626-44ed-4789-b121-ccc72de93c7d:Node 3c9f6626-44ed-4789-b121-ccc72de93c7d :: false

publishItemsToNodes 0.287s
2021-01-14 22:13:46 |

2021-01-14 22:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:46 | ------------------------------------

2021-01-14 22:13:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><item-id>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</item-id><entry><test>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</test></entry></data>

2021-01-14 22:13: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-204f7f66-1e64-4912-9efb-cfdc986c8a1e</value></item-id></result>

2021-01-14 22:13:46 | [Mutex] waiting for: [published:item:notifieditem-204f7f66-1e64-4912-9efb-cfdc986c8a1e:admin@test-domain.com]

2021-01-14 22:13:46 | [Mutex] received everything.

2021-01-14 22:13:46 | [Mutex] isItemNotified: published:item:notifieditem-204f7f66-1e64-4912-9efb-cfdc986c8a1e:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2021-01-14 22:13:47 |

2021-01-14 22:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:47 | ------------------------------------

2021-01-14 22:13:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><item-id>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</item-id></data>

2021-01-14 22:13: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-204f7f66-1e64-4912-9efb-cfdc986c8a1e</value></item-id></result>

2021-01-14 22:13:47 | [Mutex] received everything.

2021-01-14 22:13:47 | [Mutex] isItemNotified: retracted:item:notifieditem-204f7f66-1e64-4912-9efb-cfdc986c8a1e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2021-01-14 22:13:46 |

2021-01-14 22:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:46 | ------------------------------------

2021-01-14 22:13:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><item-id>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</item-id></data>

2021-01-14 22:13: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-3c9f6626-44ed-4789-b121-ccc72de93c7d</value></node><item-id label="Item ID" type="text-single"><value>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</value></item-id><item label="Item" type="text-multi"><value><item id="item-204f7f66-1e64-4912-9efb-cfdc986c8a1e"><test>item-204f7f66-1e64-4912-9efb-cfdc986c8a1e</test></item></value></item></result>

2021-01-14 22:13:47 | [Mutex] notify: [retrieved:item:item-204f7f66-1e64-4912-9efb-cfdc986c8a1e:payload-matches:true:localhost]

2021-01-14 22:13:47 | [Mutex] received everything.

2021-01-14 22:13:47 | [Mutex] isItemNotified: retrieved:item:item-204f7f66-1e64-4912-9efb-cfdc986c8a1e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2021-01-14 22:13:47 |

2021-01-14 22:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:47 | ------------------------------------

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

2021-01-14 22:13:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</value><value>test</value><value>node-7d05916e-4dc8-4c6f-a00b-fc6faaccbc15</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-14 22:13:47 |

2021-01-14 22:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:47 | ------------------------------------

2021-01-14 22:13: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-3c9f6626-44ed-4789-b121-ccc72de93c7d)</node-pattern></data>

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

subscribeNodes 1.120s
2021-01-14 22:13:45 |

2021-01-14 22:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:45 | ------------------------------------

2021-01-14 22:13:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 22:13: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.287s
2021-01-14 22:13:47 |

2021-01-14 22:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:47 | ------------------------------------

2021-01-14 22:13:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3c9f6626-44ed-4789-b121-ccc72de93c7d</node><jids><value>admin@test-domain.com</value></jids></data>

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