Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 17 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 : 10.283s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.136s
2021-03-17 22:58:08 |

2021-03-17 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:08 | ------------------------------------

2021-03-17 22:58:08 | [Mutex] waiting for: [configured:node:node-aa023616-ddd2-4a78-aabf-1592672570e8:node-6b44caa1-53ec-4a8d-b72c-39d439979058]

2021-03-17 22:58:09 | [Mutex] received everything.

2021-03-17 22:58:09 | [Mutex] isItemNotified: configured:node:node-aa023616-ddd2-4a78-aabf-1592672570e8:node-6b44caa1-53ec-4a8d-b72c-39d439979058 :: true

2021-03-17 22:58:10 | [Mutex] waiting for: [received:nodes:c4660b06-6bd4-4187-a33b-e7d27eb65d25:localhost]

2021-03-17 22:58:10 | [Mutex] received everything.

2021-03-17 22:58:10 | [Mutex] isItemNotified: received:node:c4660b06-6bd4-4187-a33b-e7d27eb65d25:localhost:node-aa023616-ddd2-4a78-aabf-1592672570e8:Node aa023616-ddd2-4a78-aabf-1592672570e8 :: true

2021-03-17 22:58:10 | [Mutex] waiting for: [received:nodes:e2485a9b-9137-4fe2-8ce5-9351dd9bd40b:localhost]

2021-03-17 22:58:10 | [Mutex] received everything.

2021-03-17 22:58:10 | [Mutex] isItemNotified: received:node:e2485a9b-9137-4fe2-8ce5-9351dd9bd40b:localhost:node-aa023616-ddd2-4a78-aabf-1592672570e8:Node aa023616-ddd2-4a78-aabf-1592672570e8 :: false

createNodes 1.531s
2021-03-17 22:58:06 |

2021-03-17 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:06 | ------------------------------------

2021-03-17 22:58:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aa023616-ddd2-4a78-aabf-1592672570e8</title></pubsub></data>

2021-03-17 22:58:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:58:07 | [Mutex] waiting for: [received:nodes:c0cae4e6-c128-4d92-9f05-61215434f559:localhost]

2021-03-17 22:58:07 | [Mutex] received everything.

2021-03-17 22:58:07 | [Mutex] isItemNotified: received:node:c0cae4e6-c128-4d92-9f05-61215434f559:localhost:node-aa023616-ddd2-4a78-aabf-1592672570e8:Node aa023616-ddd2-4a78-aabf-1592672570e8 :: true

createSubnodes 1.028s
2021-03-17 22:58:07 |

2021-03-17 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:07 | ------------------------------------

2021-03-17 22:58:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6b44caa1-53ec-4a8d-b72c-39d439979058</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6b44caa1-53ec-4a8d-b72c-39d439979058</title></pubsub></data>

2021-03-17 22:58:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-17 22:58:08 | [Mutex] waiting for: [received:nodes:26044093-0852-4372-be79-9b33e5a62d7c:localhost]

2021-03-17 22:58:08 | [Mutex] received everything.

2021-03-17 22:58:08 | [Mutex] isItemNotified: received:node:26044093-0852-4372-be79-9b33e5a62d7c:localhost:node-6b44caa1-53ec-4a8d-b72c-39d439979058:Node 6b44caa1-53ec-4a8d-b72c-39d439979058 :: true

deleteNodes 1.027s
2021-03-17 22:58:14 |

2021-03-17 22:58:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:14 | ------------------------------------

2021-03-17 22:58:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6b44caa1-53ec-4a8d-b72c-39d439979058</node></data>

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

2021-03-17 22:58:15 | [Mutex] waiting for: [received:nodes:a18d9772-e9f6-4163-adca-146de37e535f:localhost]

2021-03-17 22:58:15 | [Mutex] received everything.

2021-03-17 22:58:15 | [Mutex] isItemNotified: received:node:a18d9772-e9f6-4163-adca-146de37e535f:localhost:node-6b44caa1-53ec-4a8d-b72c-39d439979058:Node 6b44caa1-53ec-4a8d-b72c-39d439979058 :: false

deleteSubnodes 1.142s
2021-03-17 22:58:13 |

2021-03-17 22:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:13 | ------------------------------------

2021-03-17 22:58:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node></data>

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

2021-03-17 22:58:14 | [Mutex] waiting for: [received:nodes:1d8271ae-f6ab-4dd9-8be6-b45c5266308a:localhost]

2021-03-17 22:58:14 | [Mutex] received everything.

2021-03-17 22:58:14 | [Mutex] isItemNotified: received:node:1d8271ae-f6ab-4dd9-8be6-b45c5266308a:localhost:node-aa023616-ddd2-4a78-aabf-1592672570e8:Node aa023616-ddd2-4a78-aabf-1592672570e8 :: false

2021-03-17 22:58:14 | [Mutex] waiting for: [received:nodes:be870d8f-9605-49ee-ba8b-0bd99b5bf8d0:localhost]

2021-03-17 22:58:14 | [Mutex] received everything.

2021-03-17 22:58:14 | [Mutex] isItemNotified: received:node:be870d8f-9605-49ee-ba8b-0bd99b5bf8d0:localhost:node-aa023616-ddd2-4a78-aabf-1592672570e8:Node aa023616-ddd2-4a78-aabf-1592672570e8 :: false

publishItemsToNodes 0.223s
2021-03-17 22:58:11 |

2021-03-17 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:11 | ------------------------------------

2021-03-17 22:58:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><item-id>item-113d0115-c100-4105-bdaf-15183bf412df</item-id><entry><test>item-113d0115-c100-4105-bdaf-15183bf412df</test></entry></data>

2021-03-17 22:58:11 | 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-113d0115-c100-4105-bdaf-15183bf412df</value></item-id></result>

2021-03-17 22:58:11 | [Mutex] received everything.

2021-03-17 22:58:11 | [Mutex] isItemNotified: published:item:notifieditem-113d0115-c100-4105-bdaf-15183bf412df:admin@test-domain.com :: true

retractItemsFromNodes 0.368s
2021-03-17 22:58:11 |

2021-03-17 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:11 | ------------------------------------

2021-03-17 22:58:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><item-id>item-113d0115-c100-4105-bdaf-15183bf412df</item-id></data>

2021-03-17 22:58:12 | 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-113d0115-c100-4105-bdaf-15183bf412df</value></item-id></result>

2021-03-17 22:58:12 | [Mutex] received everything.

2021-03-17 22:58:12 | [Mutex] isItemNotified: retracted:item:notifieditem-113d0115-c100-4105-bdaf-15183bf412df:admin@test-domain.com :: true

retrieveItemsFromNodes 0.336s
2021-03-17 22:58:11 |

2021-03-17 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:11 | ------------------------------------

2021-03-17 22:58:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><item-id>item-113d0115-c100-4105-bdaf-15183bf412df</item-id></data>

2021-03-17 22:58:11 | 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-aa023616-ddd2-4a78-aabf-1592672570e8</value></node><item-id type="text-single" label="Item ID"><value>item-113d0115-c100-4105-bdaf-15183bf412df</value></item-id><item type="text-multi" label="Item"><value><item id="item-113d0115-c100-4105-bdaf-15183bf412df"><test>item-113d0115-c100-4105-bdaf-15183bf412df</test></item></value></item></result>

2021-03-17 22:58:11 | [Mutex] notify: [retrieved:item:item-113d0115-c100-4105-bdaf-15183bf412df:payload-matches:true:localhost]

2021-03-17 22:58:11 | [Mutex] received everything.

2021-03-17 22:58:11 | [Mutex] isItemNotified: retrieved:item:item-113d0115-c100-4105-bdaf-15183bf412df:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-03-17 22:58:11 |

2021-03-17 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:11 | ------------------------------------

2021-03-17 22:58:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-17 22:58:11 | 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-aa023616-ddd2-4a78-aabf-1592672570e8</value><value>node-6b44caa1-53ec-4a8d-b72c-39d439979058</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.070s
2021-03-17 22:58:11 |

2021-03-17 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:11 | ------------------------------------

2021-03-17 22:58:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aa023616-ddd2-4a78-aabf-1592672570e8)</node-pattern></data>

2021-03-17 22:58:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.154s
2021-03-17 22:58:10 |

2021-03-17 22:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:10 | ------------------------------------

2021-03-17 22:58:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:58:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.356s
2021-03-17 22:58:12 |

2021-03-17 22:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-17 22:58:12 | ------------------------------------

2021-03-17 22:58:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aa023616-ddd2-4a78-aabf-1592672570e8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-17 22:58:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>