Generated by TestNG with ReportNG at 03:48 PST on Friday 05 March 2021
root@43fec6d4badf / 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 : 9.934s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-03-05 04:02:34 |

2021-03-05 04:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:34 | ------------------------------------

2021-03-05 04:02:34 | [Mutex] waiting for: [configured:node:node-b21eef9a-724d-4694-82c2-b1559247f979:node-ca70dad9-9150-4a3e-9325-a447bc48dbdd]

2021-03-05 04:02:34 | [Mutex] received everything.

2021-03-05 04:02:34 | [Mutex] isItemNotified: configured:node:node-b21eef9a-724d-4694-82c2-b1559247f979:node-ca70dad9-9150-4a3e-9325-a447bc48dbdd :: true

2021-03-05 04:02:35 | [Mutex] waiting for: [received:nodes:d93d8514-5752-4caf-8414-2a7b132bc104:localhost]

2021-03-05 04:02:35 | [Mutex] received everything.

2021-03-05 04:02:35 | [Mutex] isItemNotified: received:node:d93d8514-5752-4caf-8414-2a7b132bc104:localhost:node-b21eef9a-724d-4694-82c2-b1559247f979:Node b21eef9a-724d-4694-82c2-b1559247f979 :: true

2021-03-05 04:02:35 | [Mutex] waiting for: [received:nodes:f111181f-a200-4df8-b673-1fda7be2cb40:localhost]

2021-03-05 04:02:35 | [Mutex] received everything.

2021-03-05 04:02:35 | [Mutex] isItemNotified: received:node:f111181f-a200-4df8-b673-1fda7be2cb40:localhost:node-b21eef9a-724d-4694-82c2-b1559247f979:Node b21eef9a-724d-4694-82c2-b1559247f979 :: false

createNodes 1.466s
2021-03-05 04:02:32 |

2021-03-05 04:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:32 | ------------------------------------

2021-03-05 04:02:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b21eef9a-724d-4694-82c2-b1559247f979</title></pubsub></data>

2021-03-05 04:02:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:02:33 | [Mutex] waiting for: [received:nodes:b9a3b01d-f26f-45f1-b4e5-21d9f10ac461:localhost]

2021-03-05 04:02:33 | [Mutex] received everything.

2021-03-05 04:02:33 | [Mutex] isItemNotified: received:node:b9a3b01d-f26f-45f1-b4e5-21d9f10ac461:localhost:node-b21eef9a-724d-4694-82c2-b1559247f979:Node b21eef9a-724d-4694-82c2-b1559247f979 :: true

createSubnodes 1.024s
2021-03-05 04:02:33 |

2021-03-05 04:02:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:33 | ------------------------------------

2021-03-05 04:02:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca70dad9-9150-4a3e-9325-a447bc48dbdd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca70dad9-9150-4a3e-9325-a447bc48dbdd</title></pubsub></data>

2021-03-05 04:02:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:02:34 | [Mutex] waiting for: [received:nodes:c16007e0-c990-4342-acd7-2b3cdf12589d:localhost]

2021-03-05 04:02:34 | [Mutex] received everything.

2021-03-05 04:02:34 | [Mutex] isItemNotified: received:node:c16007e0-c990-4342-acd7-2b3cdf12589d:localhost:node-ca70dad9-9150-4a3e-9325-a447bc48dbdd:Node ca70dad9-9150-4a3e-9325-a447bc48dbdd :: true

deleteNodes 1.020s
2021-03-05 04:02:40 |

2021-03-05 04:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:40 | ------------------------------------

2021-03-05 04:02:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca70dad9-9150-4a3e-9325-a447bc48dbdd</node></data>

2021-03-05 04:02:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:02:41 | [Mutex] waiting for: [received:nodes:71721728-9228-4ab0-98a1-810462b1aeb3:localhost]

2021-03-05 04:02:41 | [Mutex] waiting for: [received:nodes:71721728-9228-4ab0-98a1-810462b1aeb3:localhost]

2021-03-05 04:02:41 | [Mutex] received everything.

2021-03-05 04:02:41 | [Mutex] isItemNotified: received:node:71721728-9228-4ab0-98a1-810462b1aeb3:localhost:node-ca70dad9-9150-4a3e-9325-a447bc48dbdd:Node ca70dad9-9150-4a3e-9325-a447bc48dbdd :: false

deleteSubnodes 1.135s
2021-03-05 04:02:39 |

2021-03-05 04:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:39 | ------------------------------------

2021-03-05 04:02:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node></data>

2021-03-05 04:02:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-05 04:02:40 | [Mutex] waiting for: [received:nodes:7a9ee17c-0a54-4b26-8cd7-8c0417722c21:localhost]

2021-03-05 04:02:40 | [Mutex] received everything.

2021-03-05 04:02:40 | [Mutex] isItemNotified: received:node:7a9ee17c-0a54-4b26-8cd7-8c0417722c21:localhost:node-b21eef9a-724d-4694-82c2-b1559247f979:Node b21eef9a-724d-4694-82c2-b1559247f979 :: false

2021-03-05 04:02:40 | [Mutex] waiting for: [received:nodes:f19615a6-6200-48f2-a911-501e163900eb:localhost]

2021-03-05 04:02:40 | [Mutex] received everything.

2021-03-05 04:02:40 | [Mutex] isItemNotified: received:node:f19615a6-6200-48f2-a911-501e163900eb:localhost:node-b21eef9a-724d-4694-82c2-b1559247f979:Node b21eef9a-724d-4694-82c2-b1559247f979 :: false

publishItemsToNodes 0.261s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><item-id>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</item-id><entry><test>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</test></entry></data>

2021-03-05 04:02:37 | 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-0a14412d-3dbf-43a3-9fa9-46811a65b200</value></item-id></result>

2021-03-05 04:02:37 | [Mutex] waiting for: [published:item:notifieditem-0a14412d-3dbf-43a3-9fa9-46811a65b200:admin@test-domain.com]

2021-03-05 04:02:37 | [Mutex] received everything.

2021-03-05 04:02:37 | [Mutex] isItemNotified: published:item:notifieditem-0a14412d-3dbf-43a3-9fa9-46811a65b200:admin@test-domain.com :: true

retractItemsFromNodes 0.179s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><item-id>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</item-id></data>

2021-03-05 04:02:37 | 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-0a14412d-3dbf-43a3-9fa9-46811a65b200</value></item-id></result>

2021-03-05 04:02:37 | [Mutex] received everything.

2021-03-05 04:02:37 | [Mutex] isItemNotified: retracted:item:notifieditem-0a14412d-3dbf-43a3-9fa9-46811a65b200:admin@test-domain.com :: true

retrieveItemsFromNodes 0.286s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><item-id>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</item-id></data>

2021-03-05 04:02:37 | 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-b21eef9a-724d-4694-82c2-b1559247f979</value></node><item-id label="Item ID" type="text-single"><value>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</value></item-id><item label="Item" type="text-multi"><value><item id="item-0a14412d-3dbf-43a3-9fa9-46811a65b200"><test>item-0a14412d-3dbf-43a3-9fa9-46811a65b200</test></item></value></item></result>

2021-03-05 04:02:37 | [Mutex] notify: [retrieved:item:item-0a14412d-3dbf-43a3-9fa9-46811a65b200:payload-matches:true:localhost]

2021-03-05 04:02:37 | [Mutex] received everything.

2021-03-05 04:02:37 | [Mutex] isItemNotified: retrieved:item:item-0a14412d-3dbf-43a3-9fa9-46811a65b200:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-05 04:02:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ca70dad9-9150-4a3e-9325-a447bc48dbdd</value><value>test</value><value>node-b21eef9a-724d-4694-82c2-b1559247f979</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b21eef9a-724d-4694-82c2-b1559247f979)</node-pattern></data>

2021-03-05 04:02:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.113s
2021-03-05 04:02:35 |

2021-03-05 04:02:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:35 | ------------------------------------

2021-03-05 04:02:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:02:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.327s
2021-03-05 04:02:37 |

2021-03-05 04:02:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-05 04:02:37 | ------------------------------------

2021-03-05 04:02:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b21eef9a-724d-4694-82c2-b1559247f979</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-05 04:02:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>