Generated by TestNG with ReportNG at 22:21 PDT on Sunday 02 October 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.541s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-10-02 22:36:46 |

2022-10-02 22:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:46 | ------------------------------------

2022-10-02 22:36:46 | [Mutex] waiting for: [configured:node:node-ed79fc80-f695-4926-b6f3-9da828dc9247:node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f]

2022-10-02 22:36:46 | [Mutex] received everything.

2022-10-02 22:36:46 | [Mutex] isItemNotified: configured:node:node-ed79fc80-f695-4926-b6f3-9da828dc9247:node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f :: true

2022-10-02 22:36:47 | [Mutex] waiting for: [received:nodes:cfb56ece-b9c6-49d2-8a06-ff53f8a1fe68:localhost]

2022-10-02 22:36:47 | [Mutex] received everything.

2022-10-02 22:36:47 | [Mutex] isItemNotified: received:node:cfb56ece-b9c6-49d2-8a06-ff53f8a1fe68:localhost:node-ed79fc80-f695-4926-b6f3-9da828dc9247:Node ed79fc80-f695-4926-b6f3-9da828dc9247 :: true

2022-10-02 22:36:47 | [Mutex] waiting for: [received:nodes:7a446f85-9c34-4ce0-9e93-69c150eb994d:localhost]

2022-10-02 22:36:47 | [Mutex] received everything.

2022-10-02 22:36:47 | [Mutex] isItemNotified: received:node:7a446f85-9c34-4ce0-9e93-69c150eb994d:localhost:node-ed79fc80-f695-4926-b6f3-9da828dc9247:Node ed79fc80-f695-4926-b6f3-9da828dc9247 :: false

createNodes 1.440s
2022-10-02 22:36:43 |

2022-10-02 22:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:43 | ------------------------------------

2022-10-02 22:36:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ed79fc80-f695-4926-b6f3-9da828dc9247</title></pubsub></data>

2022-10-02 22:36:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:45 | [Mutex] waiting for: [received:nodes:24129518-f63c-4269-afbc-bb43da127172:localhost]

2022-10-02 22:36:45 | [Mutex] received everything.

2022-10-02 22:36:45 | [Mutex] isItemNotified: received:node:24129518-f63c-4269-afbc-bb43da127172:localhost:node-ed79fc80-f695-4926-b6f3-9da828dc9247:Node ed79fc80-f695-4926-b6f3-9da828dc9247 :: true

createSubnodes 1.030s
2022-10-02 22:36:45 |

2022-10-02 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:45 | ------------------------------------

2022-10-02 22:36:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f</title></pubsub></data>

2022-10-02 22:36:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:46 | [Mutex] waiting for: [received:nodes:2782c0b0-dea5-43ae-ab6f-e930c6dda8e3:localhost]

2022-10-02 22:36:46 | [Mutex] waiting for: [received:nodes:2782c0b0-dea5-43ae-ab6f-e930c6dda8e3:localhost]

2022-10-02 22:36:46 | [Mutex] received everything.

2022-10-02 22:36:46 | [Mutex] isItemNotified: received:node:2782c0b0-dea5-43ae-ab6f-e930c6dda8e3:localhost:node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f:Node 1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f :: true

deleteNodes 1.022s
2022-10-02 22:36:51 |

2022-10-02 22:36:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:51 | ------------------------------------

2022-10-02 22:36:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f</node></data>

2022-10-02 22:36:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:52 | [Mutex] waiting for: [received:nodes:97033b0b-f16a-44e5-8124-ad1275e271e8:localhost]

2022-10-02 22:36:52 | [Mutex] waiting for: [received:nodes:97033b0b-f16a-44e5-8124-ad1275e271e8:localhost]

2022-10-02 22:36:52 | [Mutex] waiting for: [received:nodes:97033b0b-f16a-44e5-8124-ad1275e271e8:localhost]

2022-10-02 22:36:52 | [Mutex] received everything.

2022-10-02 22:36:52 | [Mutex] isItemNotified: received:node:97033b0b-f16a-44e5-8124-ad1275e271e8:localhost:node-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f:Node 1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f :: false

deleteSubnodes 1.121s
2022-10-02 22:36:50 |

2022-10-02 22:36:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:50 | ------------------------------------

2022-10-02 22:36:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node></data>

2022-10-02 22:36:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 22:36:51 | [Mutex] waiting for: [received:nodes:73be067e-5800-4e13-9449-7b6e4ec4f6df:localhost]

2022-10-02 22:36:51 | [Mutex] waiting for: [received:nodes:73be067e-5800-4e13-9449-7b6e4ec4f6df:localhost]

2022-10-02 22:36:51 | [Mutex] received everything.

2022-10-02 22:36:51 | [Mutex] isItemNotified: received:node:73be067e-5800-4e13-9449-7b6e4ec4f6df:localhost:node-ed79fc80-f695-4926-b6f3-9da828dc9247:Node ed79fc80-f695-4926-b6f3-9da828dc9247 :: false

2022-10-02 22:36:51 | [Mutex] waiting for: [received:nodes:3f9de816-92a2-4057-a638-4b9c328f0390:localhost]

2022-10-02 22:36:51 | [Mutex] received everything.

2022-10-02 22:36:51 | [Mutex] isItemNotified: received:node:3f9de816-92a2-4057-a638-4b9c328f0390:localhost:node-ed79fc80-f695-4926-b6f3-9da828dc9247:Node ed79fc80-f695-4926-b6f3-9da828dc9247 :: false

publishItemsToNodes 0.187s
2022-10-02 22:36:48 |

2022-10-02 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:48 | ------------------------------------

2022-10-02 22:36:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><item-id>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</item-id><entry><test>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</test></entry></data>

2022-10-02 22:36:48 | 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-e005500c-7ad0-4aa2-a289-ac10e17cde69</value></item-id></result>

2022-10-02 22:36:48 | [Mutex] waiting for: [published:item:notifieditem-e005500c-7ad0-4aa2-a289-ac10e17cde69:admin@test-domain.com]

2022-10-02 22:36:48 | [Mutex] received everything.

2022-10-02 22:36:48 | [Mutex] isItemNotified: published:item:notifieditem-e005500c-7ad0-4aa2-a289-ac10e17cde69:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-10-02 22:36:49 |

2022-10-02 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:49 | ------------------------------------

2022-10-02 22:36:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><item-id>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</item-id></data>

2022-10-02 22:36:49 | 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-e005500c-7ad0-4aa2-a289-ac10e17cde69</value></item-id></result>

2022-10-02 22:36:49 | [Mutex] received everything.

2022-10-02 22:36:49 | [Mutex] isItemNotified: retracted:item:notifieditem-e005500c-7ad0-4aa2-a289-ac10e17cde69:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2022-10-02 22:36:48 |

2022-10-02 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:48 | ------------------------------------

2022-10-02 22:36:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><item-id>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</item-id></data>

2022-10-02 22:36:48 | 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-ed79fc80-f695-4926-b6f3-9da828dc9247</value></node><item-id label="Item ID" type="text-single"><value>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</value></item-id><item label="Item" type="text-multi"><value><item id="item-e005500c-7ad0-4aa2-a289-ac10e17cde69"><test>item-e005500c-7ad0-4aa2-a289-ac10e17cde69</test></item></value></item></result>

2022-10-02 22:36:48 | [Mutex] notify: [retrieved:item:item-e005500c-7ad0-4aa2-a289-ac10e17cde69:payload-matches:true:localhost]

2022-10-02 22:36:48 | [Mutex] received everything.

2022-10-02 22:36:48 | [Mutex] isItemNotified: retrieved:item:item-e005500c-7ad0-4aa2-a289-ac10e17cde69:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-02 22:36:48 |

2022-10-02 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:48 | ------------------------------------

2022-10-02 22:36:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-02 22:36:49 | 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-1160ba9d-9d6f-4eaf-9d0e-7a1d250ca41f</value><value>node-ed79fc80-f695-4926-b6f3-9da828dc9247</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-02 22:36:49 |

2022-10-02 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:49 | ------------------------------------

2022-10-02 22:36:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ed79fc80-f695-4926-b6f3-9da828dc9247)</node-pattern></data>

2022-10-02 22:36:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.191s
2022-10-02 22:36:47 |

2022-10-02 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:47 | ------------------------------------

2022-10-02 22:36:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 22:36:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.251s
2022-10-02 22:36:49 |

2022-10-02 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 22:36:49 | ------------------------------------

2022-10-02 22:36:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ed79fc80-f695-4926-b6f3-9da828dc9247</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 22:36:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>