Generated by TestNG with ReportNG at 21:36 PST on Monday 01 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.975s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-03-01 21:51:15 |

2021-03-01 21:51:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:15 | ------------------------------------

2021-03-01 21:51:15 | [Mutex] waiting for: [configured:node:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:node-19a70caf-b75e-483f-9ebe-05a4ceb4d574]

2021-03-01 21:51:15 | [Mutex] received everything.

2021-03-01 21:51:15 | [Mutex] isItemNotified: configured:node:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:node-19a70caf-b75e-483f-9ebe-05a4ceb4d574 :: true

2021-03-01 21:51:16 | [Mutex] waiting for: [received:nodes:d0ebcd91-f0f4-4b04-95c0-5a063654790b:localhost]

2021-03-01 21:51:16 | [Mutex] received everything.

2021-03-01 21:51:16 | [Mutex] isItemNotified: received:node:d0ebcd91-f0f4-4b04-95c0-5a063654790b:localhost:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef :: true

2021-03-01 21:51:16 | [Mutex] waiting for: [received:nodes:c56942ce-2db5-47d3-afa1-d25ec92c2086:localhost]

2021-03-01 21:51:16 | [Mutex] received everything.

2021-03-01 21:51:16 | [Mutex] isItemNotified: received:node:c56942ce-2db5-47d3-afa1-d25ec92c2086:localhost:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef :: false

createNodes 1.575s
2021-03-01 21:51:12 |

2021-03-01 21:51:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:12 | ------------------------------------

2021-03-01 21:51:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef</title></pubsub></data>

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

2021-03-01 21:51:14 | [Mutex] waiting for: [received:nodes:c5a33c9f-c72a-4b05-b89a-88d47fe24e42:localhost]

2021-03-01 21:51:14 | [Mutex] waiting for: [received:nodes:c5a33c9f-c72a-4b05-b89a-88d47fe24e42:localhost]

2021-03-01 21:51:14 | [Mutex] received everything.

2021-03-01 21:51:14 | [Mutex] isItemNotified: received:node:c5a33c9f-c72a-4b05-b89a-88d47fe24e42:localhost:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef :: true

createSubnodes 1.027s
2021-03-01 21:51:14 |

2021-03-01 21:51:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:14 | ------------------------------------

2021-03-01 21:51:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-19a70caf-b75e-483f-9ebe-05a4ceb4d574</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 19a70caf-b75e-483f-9ebe-05a4ceb4d574</title></pubsub></data>

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

2021-03-01 21:51:15 | [Mutex] waiting for: [received:nodes:0b715f5c-d1bc-4983-b000-5be800d671ee:localhost]

2021-03-01 21:51:15 | [Mutex] received everything.

2021-03-01 21:51:15 | [Mutex] isItemNotified: received:node:0b715f5c-d1bc-4983-b000-5be800d671ee:localhost:node-19a70caf-b75e-483f-9ebe-05a4ceb4d574:Node 19a70caf-b75e-483f-9ebe-05a4ceb4d574 :: true

deleteNodes 1.019s
2021-03-01 21:51:20 |

2021-03-01 21:51:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:20 | ------------------------------------

2021-03-01 21:51:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-19a70caf-b75e-483f-9ebe-05a4ceb4d574</node></data>

2021-03-01 21:51:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:51:21 | [Mutex] waiting for: [received:nodes:80c82d9a-b826-44eb-81be-53ac27da4b17:localhost]

2021-03-01 21:51:21 | [Mutex] received everything.

2021-03-01 21:51:21 | [Mutex] isItemNotified: received:node:80c82d9a-b826-44eb-81be-53ac27da4b17:localhost:node-19a70caf-b75e-483f-9ebe-05a4ceb4d574:Node 19a70caf-b75e-483f-9ebe-05a4ceb4d574 :: false

deleteSubnodes 1.116s
2021-03-01 21:51:19 |

2021-03-01 21:51:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:19 | ------------------------------------

2021-03-01 21:51:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node></data>

2021-03-01 21:51:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:51:20 | [Mutex] waiting for: [received:nodes:3687de25-44c0-4c82-b361-6263424b6f9a:localhost]

2021-03-01 21:51:20 | [Mutex] received everything.

2021-03-01 21:51:20 | [Mutex] isItemNotified: received:node:3687de25-44c0-4c82-b361-6263424b6f9a:localhost:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef :: false

2021-03-01 21:51:20 | [Mutex] waiting for: [received:nodes:1dc6273e-5d49-468f-86fe-50534c0478b0:localhost]

2021-03-01 21:51:20 | [Mutex] received everything.

2021-03-01 21:51:20 | [Mutex] isItemNotified: received:node:1dc6273e-5d49-468f-86fe-50534c0478b0:localhost:node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef:Node e4324bc8-32f2-41a8-96e6-eb4a97e051ef :: false

publishItemsToNodes 0.235s
2021-03-01 21:51:17 |

2021-03-01 21:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:17 | ------------------------------------

2021-03-01 21:51:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><item-id>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</item-id><entry><test>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</test></entry></data>

2021-03-01 21:51:17 | 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-1c83086d-d06c-4c38-98c1-8a40e5ba846f</value></item-id></result>

2021-03-01 21:51:17 | [Mutex] received everything.

2021-03-01 21:51:17 | [Mutex] isItemNotified: published:item:notifieditem-1c83086d-d06c-4c38-98c1-8a40e5ba846f:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-03-01 21:51:17 |

2021-03-01 21:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:17 | ------------------------------------

2021-03-01 21:51:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><item-id>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</item-id></data>

2021-03-01 21:51:18 | 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-1c83086d-d06c-4c38-98c1-8a40e5ba846f</value></item-id></result>

2021-03-01 21:51:18 | [Mutex] received everything.

2021-03-01 21:51:18 | [Mutex] isItemNotified: retracted:item:notifieditem-1c83086d-d06c-4c38-98c1-8a40e5ba846f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.230s
2021-03-01 21:51:17 |

2021-03-01 21:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:17 | ------------------------------------

2021-03-01 21:51:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><item-id>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</item-id></data>

2021-03-01 21:51:17 | 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-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</value></node><item-id type="text-single" label="Item ID"><value>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</value></item-id><item type="text-multi" label="Item"><value><item id="item-1c83086d-d06c-4c38-98c1-8a40e5ba846f"><test>item-1c83086d-d06c-4c38-98c1-8a40e5ba846f</test></item></value></item></result>

2021-03-01 21:51:17 | [Mutex] notify: [retrieved:item:item-1c83086d-d06c-4c38-98c1-8a40e5ba846f:payload-matches:true:localhost]

2021-03-01 21:51:17 | [Mutex] received everything.

2021-03-01 21:51:17 | [Mutex] isItemNotified: retrieved:item:item-1c83086d-d06c-4c38-98c1-8a40e5ba846f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-01 21:51:17 |

2021-03-01 21:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:17 | ------------------------------------

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

2021-03-01 21:51:17 | 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-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</value><value>node-19a70caf-b75e-483f-9ebe-05a4ceb4d574</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-01 21:51:17 |

2021-03-01 21:51:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:17 | ------------------------------------

2021-03-01 21:51:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef)</node-pattern></data>

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

subscribeNodes 1.149s
2021-03-01 21:51:16 |

2021-03-01 21:51:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:16 | ------------------------------------

2021-03-01 21:51:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-01 21:51:16 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2021-03-01 21:51:18 |

2021-03-01 21:51:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:51:18 | ------------------------------------

2021-03-01 21:51:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e4324bc8-32f2-41a8-96e6-eb4a97e051ef</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-01 21:51:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>