Generated by TestNG with ReportNG at 22:24 PDT on Thursday 02 June 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.630s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-06-02 22:39:03 |

2022-06-02 22:39:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:03 | ------------------------------------

2022-06-02 22:39:03 | [Mutex] waiting for: [configured:node:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:node-068966ba-197d-4c95-b645-9a58f5bc6a66]

2022-06-02 22:39:03 | [Mutex] received everything.

2022-06-02 22:39:03 | [Mutex] isItemNotified: configured:node:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:node-068966ba-197d-4c95-b645-9a58f5bc6a66 :: true

2022-06-02 22:39:04 | [Mutex] waiting for: [received:nodes:cadd53cd-6733-4047-8bb9-4ba08eb536ca:localhost]

2022-06-02 22:39:04 | [Mutex] received everything.

2022-06-02 22:39:04 | [Mutex] isItemNotified: received:node:cadd53cd-6733-4047-8bb9-4ba08eb536ca:localhost:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41 :: true

2022-06-02 22:39:04 | [Mutex] waiting for: [received:nodes:db0070b5-9286-4048-9c66-a817c640472d:localhost]

2022-06-02 22:39:04 | [Mutex] received everything.

2022-06-02 22:39:04 | [Mutex] isItemNotified: received:node:db0070b5-9286-4048-9c66-a817c640472d:localhost:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41 :: false

createNodes 1.510s
2022-06-02 22:39:00 |

2022-06-02 22:39:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:00 | ------------------------------------

2022-06-02 22:39:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</title></pubsub></data>

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

2022-06-02 22:39:02 | [Mutex] waiting for: [received:nodes:58d61b28-5b42-439b-a418-8c26fceb9d46:localhost]

2022-06-02 22:39:02 | [Mutex] received everything.

2022-06-02 22:39:02 | [Mutex] isItemNotified: received:node:58d61b28-5b42-439b-a418-8c26fceb9d46:localhost:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41 :: true

createSubnodes 1.022s
2022-06-02 22:39:02 |

2022-06-02 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:02 | ------------------------------------

2022-06-02 22:39:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-068966ba-197d-4c95-b645-9a58f5bc6a66</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 068966ba-197d-4c95-b645-9a58f5bc6a66</title></pubsub></data>

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

2022-06-02 22:39:03 | [Mutex] waiting for: [received:nodes:854b28b4-666d-412f-8a95-5d83be3ad145:localhost]

2022-06-02 22:39:03 | [Mutex] received everything.

2022-06-02 22:39:03 | [Mutex] isItemNotified: received:node:854b28b4-666d-412f-8a95-5d83be3ad145:localhost:node-068966ba-197d-4c95-b645-9a58f5bc6a66:Node 068966ba-197d-4c95-b645-9a58f5bc6a66 :: true

deleteNodes 1.017s
2022-06-02 22:39:08 |

2022-06-02 22:39:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:08 | ------------------------------------

2022-06-02 22:39:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-068966ba-197d-4c95-b645-9a58f5bc6a66</node></data>

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

2022-06-02 22:39:09 | [Mutex] waiting for: [received:nodes:ed752599-81a3-4a75-9abb-6b77c3657bcc:localhost]

2022-06-02 22:39:09 | [Mutex] waiting for: [received:nodes:ed752599-81a3-4a75-9abb-6b77c3657bcc:localhost]

2022-06-02 22:39:09 | [Mutex] received everything.

2022-06-02 22:39:09 | [Mutex] isItemNotified: received:node:ed752599-81a3-4a75-9abb-6b77c3657bcc:localhost:node-068966ba-197d-4c95-b645-9a58f5bc6a66:Node 068966ba-197d-4c95-b645-9a58f5bc6a66 :: false

deleteSubnodes 1.147s
2022-06-02 22:39:07 |

2022-06-02 22:39:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:07 | ------------------------------------

2022-06-02 22:39:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node></data>

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

2022-06-02 22:39:08 | [Mutex] waiting for: [received:nodes:470e618e-daa0-4c1a-8be1-8ee60ef8373c:localhost]

2022-06-02 22:39:08 | [Mutex] waiting for: [received:nodes:470e618e-daa0-4c1a-8be1-8ee60ef8373c:localhost]

2022-06-02 22:39:08 | [Mutex] waiting for: [received:nodes:470e618e-daa0-4c1a-8be1-8ee60ef8373c:localhost]

2022-06-02 22:39:08 | [Mutex] waiting for: [received:nodes:470e618e-daa0-4c1a-8be1-8ee60ef8373c:localhost]

2022-06-02 22:39:08 | [Mutex] received everything.

2022-06-02 22:39:08 | [Mutex] isItemNotified: received:node:470e618e-daa0-4c1a-8be1-8ee60ef8373c:localhost:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41 :: false

2022-06-02 22:39:08 | [Mutex] waiting for: [received:nodes:4c200ad3-7d51-4f26-a357-1b6a8ef91a2e:localhost]

2022-06-02 22:39:08 | [Mutex] received everything.

2022-06-02 22:39:08 | [Mutex] isItemNotified: received:node:4c200ad3-7d51-4f26-a357-1b6a8ef91a2e:localhost:node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41:Node b36411ef-8ea6-40c2-a0a6-fb7c3d64de41 :: false

publishItemsToNodes 0.187s
2022-06-02 22:39:05 |

2022-06-02 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:05 | ------------------------------------

2022-06-02 22:39:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><item-id>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</item-id><entry><test>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</test></entry></data>

2022-06-02 22:39:05 | 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-8f4793cf-c68a-44a5-a52e-ac2487e532d1</value></item-id></result>

2022-06-02 22:39:05 | [Mutex] waiting for: [published:item:notifieditem-8f4793cf-c68a-44a5-a52e-ac2487e532d1:admin@test-domain.com]

2022-06-02 22:39:05 | [Mutex] received everything.

2022-06-02 22:39:05 | [Mutex] isItemNotified: published:item:notifieditem-8f4793cf-c68a-44a5-a52e-ac2487e532d1:admin@test-domain.com :: true

retractItemsFromNodes 0.261s
2022-06-02 22:39:05 |

2022-06-02 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:05 | ------------------------------------

2022-06-02 22:39:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><item-id>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</item-id></data>

2022-06-02 22:39:06 | 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-8f4793cf-c68a-44a5-a52e-ac2487e532d1</value></item-id></result>

2022-06-02 22:39:06 | [Mutex] received everything.

2022-06-02 22:39:06 | [Mutex] isItemNotified: retracted:item:notifieditem-8f4793cf-c68a-44a5-a52e-ac2487e532d1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2022-06-02 22:39:05 |

2022-06-02 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:05 | ------------------------------------

2022-06-02 22:39:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><item-id>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</item-id></data>

2022-06-02 22:39:05 | 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-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</value></node><item-id label="Item ID" type="text-single"><value>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</value></item-id><item label="Item" type="text-multi"><value><item id="item-8f4793cf-c68a-44a5-a52e-ac2487e532d1"><test>item-8f4793cf-c68a-44a5-a52e-ac2487e532d1</test></item></value></item></result>

2022-06-02 22:39:05 | [Mutex] notify: [retrieved:item:item-8f4793cf-c68a-44a5-a52e-ac2487e532d1:payload-matches:true:localhost]

2022-06-02 22:39:05 | [Mutex] received everything.

2022-06-02 22:39:05 | [Mutex] isItemNotified: retrieved:item:item-8f4793cf-c68a-44a5-a52e-ac2487e532d1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-02 22:39:05 |

2022-06-02 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:05 | ------------------------------------

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

2022-06-02 22:39:05 | 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-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</value><value>node-068966ba-197d-4c95-b645-9a58f5bc6a66</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-02 22:39:05 |

2022-06-02 22:39:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:05 | ------------------------------------

2022-06-02 22:39:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41)</node-pattern></data>

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

subscribeNodes 1.144s
2022-06-02 22:39:04 |

2022-06-02 22:39:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:04 | ------------------------------------

2022-06-02 22:39:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.217s
2022-06-02 22:39:06 |

2022-06-02 22:39:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-02 22:39:06 | ------------------------------------

2022-06-02 22:39:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b36411ef-8ea6-40c2-a0a6-fb7c3d64de41</node><jids><value>admin@test-domain.com</value></jids></data>

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