Generated by TestNG with ReportNG at 22:42 PDT on Monday 03 May 2021
root@f29ef40080b5 / 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.515s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-05-03 22:57:43 |

2021-05-03 22:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:43 | ------------------------------------

2021-05-03 22:57:43 | [Mutex] waiting for: [configured:node:node-f4fe52f0-c254-40db-8bdf-5277150d6108:node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9]

2021-05-03 22:57:43 | [Mutex] received everything.

2021-05-03 22:57:43 | [Mutex] isItemNotified: configured:node:node-f4fe52f0-c254-40db-8bdf-5277150d6108:node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9 :: true

2021-05-03 22:57:44 | [Mutex] waiting for: [received:nodes:2eba462f-a8ed-49f1-84af-b88571970cf6:localhost]

2021-05-03 22:57:44 | [Mutex] received everything.

2021-05-03 22:57:44 | [Mutex] isItemNotified: received:node:2eba462f-a8ed-49f1-84af-b88571970cf6:localhost:node-f4fe52f0-c254-40db-8bdf-5277150d6108:Node f4fe52f0-c254-40db-8bdf-5277150d6108 :: true

2021-05-03 22:57:44 | [Mutex] waiting for: [received:nodes:e10fe93a-0ae4-4216-ae9c-e32b426093fa:localhost]

2021-05-03 22:57:44 | [Mutex] received everything.

2021-05-03 22:57:44 | [Mutex] isItemNotified: received:node:e10fe93a-0ae4-4216-ae9c-e32b426093fa:localhost:node-f4fe52f0-c254-40db-8bdf-5277150d6108:Node f4fe52f0-c254-40db-8bdf-5277150d6108 :: false

createNodes 1.712s
2021-05-03 22:57:41 |

2021-05-03 22:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:41 | ------------------------------------

2021-05-03 22:57:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f4fe52f0-c254-40db-8bdf-5277150d6108</title></pubsub></data>

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

2021-05-03 22:57:42 | [Mutex] waiting for: [received:nodes:96e6516f-253b-4e39-be0d-b3e97079313d:localhost]

2021-05-03 22:57:42 | [Mutex] waiting for: [received:nodes:96e6516f-253b-4e39-be0d-b3e97079313d:localhost]

2021-05-03 22:57:42 | [Mutex] received everything.

2021-05-03 22:57:42 | [Mutex] isItemNotified: received:node:96e6516f-253b-4e39-be0d-b3e97079313d:localhost:node-f4fe52f0-c254-40db-8bdf-5277150d6108:Node f4fe52f0-c254-40db-8bdf-5277150d6108 :: true

createSubnodes 1.033s
2021-05-03 22:57:42 |

2021-05-03 22:57:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:42 | ------------------------------------

2021-05-03 22:57:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2fa75d74-9d80-4ffb-8dc9-ea914b2448f9</title></pubsub></data>

2021-05-03 22:57:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-03 22:57:43 | [Mutex] waiting for: [received:nodes:598f6bf9-3f58-4941-baf6-c9ac693080e2:localhost]

2021-05-03 22:57:43 | [Mutex] waiting for: [received:nodes:598f6bf9-3f58-4941-baf6-c9ac693080e2:localhost]

2021-05-03 22:57:43 | [Mutex] received everything.

2021-05-03 22:57:43 | [Mutex] isItemNotified: received:node:598f6bf9-3f58-4941-baf6-c9ac693080e2:localhost:node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9:Node 2fa75d74-9d80-4ffb-8dc9-ea914b2448f9 :: true

deleteNodes 1.024s
2021-05-03 22:57:49 |

2021-05-03 22:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:49 | ------------------------------------

2021-05-03 22:57:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9</node></data>

2021-05-03 22:57:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-03 22:57:50 | [Mutex] waiting for: [received:nodes:10a13bd3-e15d-452a-9b22-aef90f981a86:localhost]

2021-05-03 22:57:50 | [Mutex] received everything.

2021-05-03 22:57:50 | [Mutex] isItemNotified: received:node:10a13bd3-e15d-452a-9b22-aef90f981a86:localhost:node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9:Node 2fa75d74-9d80-4ffb-8dc9-ea914b2448f9 :: false

deleteSubnodes 1.169s
2021-05-03 22:57:48 |

2021-05-03 22:57:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:48 | ------------------------------------

2021-05-03 22:57:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node></data>

2021-05-03 22:57:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-03 22:57:49 | [Mutex] waiting for: [received:nodes:da4fd130-35e1-4499-a716-3c692f606644:localhost]

2021-05-03 22:57:49 | [Mutex] received everything.

2021-05-03 22:57:49 | [Mutex] isItemNotified: received:node:da4fd130-35e1-4499-a716-3c692f606644:localhost:node-f4fe52f0-c254-40db-8bdf-5277150d6108:Node f4fe52f0-c254-40db-8bdf-5277150d6108 :: false

2021-05-03 22:57:49 | [Mutex] waiting for: [received:nodes:c19ace2f-fec3-4ee5-ab00-d866f0d5faa0:localhost]

2021-05-03 22:57:49 | [Mutex] received everything.

2021-05-03 22:57:49 | [Mutex] isItemNotified: received:node:c19ace2f-fec3-4ee5-ab00-d866f0d5faa0:localhost:node-f4fe52f0-c254-40db-8bdf-5277150d6108:Node f4fe52f0-c254-40db-8bdf-5277150d6108 :: false

publishItemsToNodes 0.262s
2021-05-03 22:57:46 |

2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:46 | ------------------------------------

2021-05-03 22:57:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><item-id>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</item-id><entry><test>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</test></entry></data>

2021-05-03 22:57:46 | 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-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</value></item-id></result>

2021-05-03 22:57:46 | [Mutex] waiting for: [published:item:notifieditem-6f0f87ba-cdfc-4116-8cc2-246f86e62d58:admin@test-domain.com]

2021-05-03 22:57:46 | [Mutex] received everything.

2021-05-03 22:57:46 | [Mutex] isItemNotified: published:item:notifieditem-6f0f87ba-cdfc-4116-8cc2-246f86e62d58:admin@test-domain.com :: true

retractItemsFromNodes 0.249s
2021-05-03 22:57:46 |

2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:46 | ------------------------------------

2021-05-03 22:57:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><item-id>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</item-id></data>

2021-05-03 22:57:47 | 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-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</value></item-id></result>

2021-05-03 22:57:47 | [Mutex] received everything.

2021-05-03 22:57:47 | [Mutex] isItemNotified: retracted:item:notifieditem-6f0f87ba-cdfc-4116-8cc2-246f86e62d58:admin@test-domain.com :: true

retrieveItemsFromNodes 0.337s
2021-05-03 22:57:46 |

2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:46 | ------------------------------------

2021-05-03 22:57:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><item-id>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</item-id></data>

2021-05-03 22:57:46 | 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-f4fe52f0-c254-40db-8bdf-5277150d6108</value></node><item-id type="text-single" label="Item ID"><value>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</value></item-id><item type="text-multi" label="Item"><value><item id="item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58"><test>item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58</test></item></value></item></result>

2021-05-03 22:57:46 | [Mutex] notify: [retrieved:item:item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58:payload-matches:true:localhost]

2021-05-03 22:57:46 | [Mutex] received everything.

2021-05-03 22:57:46 | [Mutex] isItemNotified: retrieved:item:item-6f0f87ba-cdfc-4116-8cc2-246f86e62d58:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-05-03 22:57:46 |

2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:46 | ------------------------------------

2021-05-03 22:57:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-03 22:57:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2fa75d74-9d80-4ffb-8dc9-ea914b2448f9</value><value>test</value><value>node-f4fe52f0-c254-40db-8bdf-5277150d6108</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-03 22:57:46 |

2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:46 | ------------------------------------

2021-05-03 22:57:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f4fe52f0-c254-40db-8bdf-5277150d6108)</node-pattern></data>

2021-05-03 22:57:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.182s
2021-05-03 22:57:44 |

2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:44 | ------------------------------------

2021-05-03 22:57:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.322s
2021-05-03 22:57:47 |

2021-05-03 22:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:57:47 | ------------------------------------

2021-05-03 22:57:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f4fe52f0-c254-40db-8bdf-5277150d6108</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-03 22:57:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>