Generated by TestNG with ReportNG at 09:30 PDT on Tuesday 24 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.645s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2022-05-24 09:45:21 |

2022-05-24 09:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:21 | ------------------------------------

2022-05-24 09:45:21 | [Mutex] waiting for: [configured:node:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:node-eb11d834-c444-4875-9d31-dc819a236beb]

2022-05-24 09:45:21 | [Mutex] received everything.

2022-05-24 09:45:21 | [Mutex] isItemNotified: configured:node:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:node-eb11d834-c444-4875-9d31-dc819a236beb :: true

2022-05-24 09:45:22 | [Mutex] waiting for: [received:nodes:30771ab4-f89a-44c9-96ad-b11f82411935:localhost]

2022-05-24 09:45:22 | [Mutex] received everything.

2022-05-24 09:45:22 | [Mutex] isItemNotified: received:node:30771ab4-f89a-44c9-96ad-b11f82411935:localhost:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986 :: true

2022-05-24 09:45:22 | [Mutex] waiting for: [received:nodes:b57b9a8b-df1c-4e8d-8447-a60d9cdf6971:localhost]

2022-05-24 09:45:22 | [Mutex] received everything.

2022-05-24 09:45:22 | [Mutex] isItemNotified: received:node:b57b9a8b-df1c-4e8d-8447-a60d9cdf6971:localhost:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986 :: false

createNodes 1.485s
2022-05-24 09:45:18 |

2022-05-24 09:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:18 | ------------------------------------

2022-05-24 09:45:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986</title></pubsub></data>

2022-05-24 09:45:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:45:20 | [Mutex] waiting for: [received:nodes:95595dd4-b48c-40e2-b145-f0465a17102c:localhost]

2022-05-24 09:45:20 | [Mutex] received everything.

2022-05-24 09:45:20 | [Mutex] isItemNotified: received:node:95595dd4-b48c-40e2-b145-f0465a17102c:localhost:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986 :: true

createSubnodes 1.036s
2022-05-24 09:45:20 |

2022-05-24 09:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:20 | ------------------------------------

2022-05-24 09:45:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eb11d834-c444-4875-9d31-dc819a236beb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eb11d834-c444-4875-9d31-dc819a236beb</title></pubsub></data>

2022-05-24 09:45:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:45:21 | [Mutex] waiting for: [received:nodes:ca102d17-9e21-4bcb-ab5a-30a8e217a02a:localhost]

2022-05-24 09:45:21 | [Mutex] received everything.

2022-05-24 09:45:21 | [Mutex] isItemNotified: received:node:ca102d17-9e21-4bcb-ab5a-30a8e217a02a:localhost:node-eb11d834-c444-4875-9d31-dc819a236beb:Node eb11d834-c444-4875-9d31-dc819a236beb :: true

deleteNodes 1.022s
2022-05-24 09:45:26 |

2022-05-24 09:45:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:26 | ------------------------------------

2022-05-24 09:45:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eb11d834-c444-4875-9d31-dc819a236beb</node></data>

2022-05-24 09:45:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:45:27 | [Mutex] waiting for: [received:nodes:bad3587d-afdd-4390-be03-159bb96b4541:localhost]

2022-05-24 09:45:27 | [Mutex] waiting for: [received:nodes:bad3587d-afdd-4390-be03-159bb96b4541:localhost]

2022-05-24 09:45:27 | [Mutex] received everything.

2022-05-24 09:45:27 | [Mutex] isItemNotified: received:node:bad3587d-afdd-4390-be03-159bb96b4541:localhost:node-eb11d834-c444-4875-9d31-dc819a236beb:Node eb11d834-c444-4875-9d31-dc819a236beb :: false

deleteSubnodes 1.125s
2022-05-24 09:45:25 |

2022-05-24 09:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:25 | ------------------------------------

2022-05-24 09:45:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node></data>

2022-05-24 09:45:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:45:26 | [Mutex] waiting for: [received:nodes:51582486-1f5f-42e4-b3f5-f4ff89f504a5:localhost]

2022-05-24 09:45:26 | [Mutex] received everything.

2022-05-24 09:45:26 | [Mutex] isItemNotified: received:node:51582486-1f5f-42e4-b3f5-f4ff89f504a5:localhost:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986 :: false

2022-05-24 09:45:26 | [Mutex] waiting for: [received:nodes:e28ef020-3185-40b7-a595-e6a9a7bbb16b:localhost]

2022-05-24 09:45:26 | [Mutex] received everything.

2022-05-24 09:45:26 | [Mutex] isItemNotified: received:node:e28ef020-3185-40b7-a595-e6a9a7bbb16b:localhost:node-927b4dd6-68d5-4f91-91a6-4b9e9d567986:Node 927b4dd6-68d5-4f91-91a6-4b9e9d567986 :: false

publishItemsToNodes 0.257s
2022-05-24 09:45:23 |

2022-05-24 09:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:23 | ------------------------------------

2022-05-24 09:45:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><item-id>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</item-id><entry><test>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</test></entry></data>

2022-05-24 09:45:23 | 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-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</value></item-id></result>

2022-05-24 09:45:23 | [Mutex] waiting for: [published:item:notifieditem-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee:admin@test-domain.com]

2022-05-24 09:45:23 | [Mutex] received everything.

2022-05-24 09:45:23 | [Mutex] isItemNotified: published:item:notifieditem-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-05-24 09:45:24 |

2022-05-24 09:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:24 | ------------------------------------

2022-05-24 09:45:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><item-id>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</item-id></data>

2022-05-24 09:45:24 | 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-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</value></item-id></result>

2022-05-24 09:45:24 | [Mutex] received everything.

2022-05-24 09:45:24 | [Mutex] isItemNotified: retracted:item:notifieditem-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2022-05-24 09:45:23 |

2022-05-24 09:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:23 | ------------------------------------

2022-05-24 09:45:23 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><item-id>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</item-id></data>

2022-05-24 09:45:24 | 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-927b4dd6-68d5-4f91-91a6-4b9e9d567986</value></node><item-id label="Item ID" type="text-single"><value>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</value></item-id><item label="Item" type="text-multi"><value><item id="item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee"><test>item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee</test></item></value></item></result>

2022-05-24 09:45:24 | [Mutex] notify: [retrieved:item:item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee:payload-matches:true:localhost]

2022-05-24 09:45:24 | [Mutex] received everything.

2022-05-24 09:45:24 | [Mutex] isItemNotified: retrieved:item:item-9ac719d6-edea-4b6e-9adf-fcf5f53ff1ee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-05-24 09:45:24 |

2022-05-24 09:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:24 | ------------------------------------

2022-05-24 09:45:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-24 09:45:24 | 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-927b4dd6-68d5-4f91-91a6-4b9e9d567986</value><value>node-eb11d834-c444-4875-9d31-dc819a236beb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-05-24 09:45:24 |

2022-05-24 09:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:24 | ------------------------------------

2022-05-24 09:45:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-927b4dd6-68d5-4f91-91a6-4b9e9d567986)</node-pattern></data>

2022-05-24 09:45:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.143s
2022-05-24 09:45:22 |

2022-05-24 09:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:22 | ------------------------------------

2022-05-24 09:45:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 09:45:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.215s
2022-05-24 09:45:24 |

2022-05-24 09:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:45:24 | ------------------------------------

2022-05-24 09:45:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-927b4dd6-68d5-4f91-91a6-4b9e9d567986</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 09:45:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>