Generated by TestNG with ReportNG at 21:27 PST on Tuesday 09 November 2021
root@785cf647a4ab / 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.633s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2021-11-09 21:41:58 |

2021-11-09 21:41:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:41:58 | ------------------------------------

2021-11-09 21:41:58 | [Mutex] waiting for: [configured:node:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:node-b2e08aad-842b-48ad-a343-224caa29b5b2]

2021-11-09 21:41:58 | [Mutex] received everything.

2021-11-09 21:41:58 | [Mutex] isItemNotified: configured:node:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:node-b2e08aad-842b-48ad-a343-224caa29b5b2 :: true

2021-11-09 21:41:59 | [Mutex] waiting for: [received:nodes:6d90d3ec-7714-4145-be9b-14ed7767d912:localhost]

2021-11-09 21:41:59 | [Mutex] received everything.

2021-11-09 21:41:59 | [Mutex] isItemNotified: received:node:6d90d3ec-7714-4145-be9b-14ed7767d912:localhost:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:Node 19fc2109-85ea-468e-8e7a-c53504fa8f91 :: true

2021-11-09 21:42:00 | [Mutex] waiting for: [received:nodes:2c42879f-e590-4762-9418-438bb48cfe6c:localhost]

2021-11-09 21:42:00 | [Mutex] received everything.

2021-11-09 21:42:00 | [Mutex] isItemNotified: received:node:2c42879f-e590-4762-9418-438bb48cfe6c:localhost:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:Node 19fc2109-85ea-468e-8e7a-c53504fa8f91 :: false

createNodes 1.684s
2021-11-09 21:41:56 |

2021-11-09 21:41:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:41:56 | ------------------------------------

2021-11-09 21:41:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 19fc2109-85ea-468e-8e7a-c53504fa8f91</title></pubsub></data>

2021-11-09 21:41:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:41:57 | [Mutex] waiting for: [received:nodes:c3ce102d-ee38-4121-a5b9-f762461d1c5b:localhost]

2021-11-09 21:41:57 | [Mutex] received everything.

2021-11-09 21:41:57 | [Mutex] isItemNotified: received:node:c3ce102d-ee38-4121-a5b9-f762461d1c5b:localhost:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:Node 19fc2109-85ea-468e-8e7a-c53504fa8f91 :: true

createSubnodes 1.032s
2021-11-09 21:41:57 |

2021-11-09 21:41:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:41:57 | ------------------------------------

2021-11-09 21:41:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b2e08aad-842b-48ad-a343-224caa29b5b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b2e08aad-842b-48ad-a343-224caa29b5b2</title></pubsub></data>

2021-11-09 21:41:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:41:58 | [Mutex] waiting for: [received:nodes:2b79366b-c7d1-4655-99f9-b7d71bc49dea:localhost]

2021-11-09 21:41:58 | [Mutex] received everything.

2021-11-09 21:41:58 | [Mutex] isItemNotified: received:node:2b79366b-c7d1-4655-99f9-b7d71bc49dea:localhost:node-b2e08aad-842b-48ad-a343-224caa29b5b2:Node b2e08aad-842b-48ad-a343-224caa29b5b2 :: true

deleteNodes 1.023s
2021-11-09 21:42:04 |

2021-11-09 21:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:04 | ------------------------------------

2021-11-09 21:42:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b2e08aad-842b-48ad-a343-224caa29b5b2</node></data>

2021-11-09 21:42:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:42:05 | [Mutex] waiting for: [received:nodes:e2da9d66-eee0-49de-84c3-0c14d2f85f01:localhost]

2021-11-09 21:42:05 | [Mutex] received everything.

2021-11-09 21:42:05 | [Mutex] isItemNotified: received:node:e2da9d66-eee0-49de-84c3-0c14d2f85f01:localhost:node-b2e08aad-842b-48ad-a343-224caa29b5b2:Node b2e08aad-842b-48ad-a343-224caa29b5b2 :: false

deleteSubnodes 1.170s
2021-11-09 21:42:03 |

2021-11-09 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:03 | ------------------------------------

2021-11-09 21:42:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node></data>

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

2021-11-09 21:42:04 | [Mutex] waiting for: [received:nodes:f4d6bc08-abb3-4138-94d0-b34ed3c43bd8:localhost]

2021-11-09 21:42:04 | [Mutex] received everything.

2021-11-09 21:42:04 | [Mutex] isItemNotified: received:node:f4d6bc08-abb3-4138-94d0-b34ed3c43bd8:localhost:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:Node 19fc2109-85ea-468e-8e7a-c53504fa8f91 :: false

2021-11-09 21:42:04 | [Mutex] waiting for: [received:nodes:d23a35f2-872e-4a6b-92c1-b87e4fd9f674:localhost]

2021-11-09 21:42:04 | [Mutex] received everything.

2021-11-09 21:42:04 | [Mutex] isItemNotified: received:node:d23a35f2-872e-4a6b-92c1-b87e4fd9f674:localhost:node-19fc2109-85ea-468e-8e7a-c53504fa8f91:Node 19fc2109-85ea-468e-8e7a-c53504fa8f91 :: false

publishItemsToNodes 0.316s
2021-11-09 21:42:01 |

2021-11-09 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:01 | ------------------------------------

2021-11-09 21:42:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><item-id>item-a154afdc-921b-42a8-850d-56305cca217f</item-id><entry><test>item-a154afdc-921b-42a8-850d-56305cca217f</test></entry></data>

2021-11-09 21:42:01 | 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-a154afdc-921b-42a8-850d-56305cca217f</value></item-id></result>

2021-11-09 21:42:01 | [Mutex] received everything.

2021-11-09 21:42:01 | [Mutex] isItemNotified: published:item:notifieditem-a154afdc-921b-42a8-850d-56305cca217f:admin@test-domain.com :: true

retractItemsFromNodes 0.227s
2021-11-09 21:42:01 |

2021-11-09 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:01 | ------------------------------------

2021-11-09 21:42:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><item-id>item-a154afdc-921b-42a8-850d-56305cca217f</item-id></data>

2021-11-09 21:42:02 | 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-a154afdc-921b-42a8-850d-56305cca217f</value></item-id></result>

2021-11-09 21:42:02 | [Mutex] received everything.

2021-11-09 21:42:02 | [Mutex] isItemNotified: retracted:item:notifieditem-a154afdc-921b-42a8-850d-56305cca217f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.339s
2021-11-09 21:42:01 |

2021-11-09 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:01 | ------------------------------------

2021-11-09 21:42:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><item-id>item-a154afdc-921b-42a8-850d-56305cca217f</item-id></data>

2021-11-09 21:42:01 | 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-19fc2109-85ea-468e-8e7a-c53504fa8f91</value></node><item-id label="Item ID" type="text-single"><value>item-a154afdc-921b-42a8-850d-56305cca217f</value></item-id><item label="Item" type="text-multi"><value><item id="item-a154afdc-921b-42a8-850d-56305cca217f"><test>item-a154afdc-921b-42a8-850d-56305cca217f</test></item></value></item></result>

2021-11-09 21:42:01 | [Mutex] notify: [retrieved:item:item-a154afdc-921b-42a8-850d-56305cca217f:payload-matches:true:localhost]

2021-11-09 21:42:01 | [Mutex] received everything.

2021-11-09 21:42:01 | [Mutex] isItemNotified: retrieved:item:item-a154afdc-921b-42a8-850d-56305cca217f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-09 21:42:01 |

2021-11-09 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:01 | ------------------------------------

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

2021-11-09 21:42:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</value><value>node-b2e08aad-842b-48ad-a343-224caa29b5b2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.066s
2021-11-09 21:42:01 |

2021-11-09 21:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:01 | ------------------------------------

2021-11-09 21:42:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-19fc2109-85ea-468e-8e7a-c53504fa8f91)</node-pattern></data>

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

subscribeNodes 1.204s
2021-11-09 21:42:00 |

2021-11-09 21:42:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:00 | ------------------------------------

2021-11-09 21:42:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:42:00 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.339s
2021-11-09 21:42:02 |

2021-11-09 21:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:42:02 | ------------------------------------

2021-11-09 21:42:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-19fc2109-85ea-468e-8e7a-c53504fa8f91</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:42:02 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>