Generated by TestNG with ReportNG at 21:44 PST on Monday 04 January 2021
root@43fec6d4badf / 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2021-01-04 21:59:17 |

2021-01-04 21:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:17 | ------------------------------------

2021-01-04 21:59:17 | [Mutex] waiting for: [configured:node:node-385b1abc-440b-41e7-9d0a-62f299e0952f:node-e8c4743a-5e0d-4603-a459-4aa3116f88e5]

2021-01-04 21:59:17 | [Mutex] received everything.

2021-01-04 21:59:17 | [Mutex] isItemNotified: configured:node:node-385b1abc-440b-41e7-9d0a-62f299e0952f:node-e8c4743a-5e0d-4603-a459-4aa3116f88e5 :: true

2021-01-04 21:59:18 | [Mutex] waiting for: [received:nodes:1278f2a6-c7a1-47bb-b015-59070d5c22ab:localhost]

2021-01-04 21:59:18 | [Mutex] received everything.

2021-01-04 21:59:18 | [Mutex] isItemNotified: received:node:1278f2a6-c7a1-47bb-b015-59070d5c22ab:localhost:node-385b1abc-440b-41e7-9d0a-62f299e0952f:Node 385b1abc-440b-41e7-9d0a-62f299e0952f :: true

2021-01-04 21:59:18 | [Mutex] waiting for: [received:nodes:eda292f1-69d1-4fa1-b1ff-e7519e3c8601:localhost]

2021-01-04 21:59:18 | [Mutex] received everything.

2021-01-04 21:59:18 | [Mutex] isItemNotified: received:node:eda292f1-69d1-4fa1-b1ff-e7519e3c8601:localhost:node-385b1abc-440b-41e7-9d0a-62f299e0952f:Node 385b1abc-440b-41e7-9d0a-62f299e0952f :: false

createNodes 1.410s
2021-01-04 21:59:15 |

2021-01-04 21:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:15 | ------------------------------------

2021-01-04 21:59:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 385b1abc-440b-41e7-9d0a-62f299e0952f</title></pubsub></data>

2021-01-04 21:59:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:59:16 | [Mutex] waiting for: [received:nodes:0211a531-bdcb-4088-8f5e-7fffe57edf51:localhost]

2021-01-04 21:59:16 | [Mutex] received everything.

2021-01-04 21:59:16 | [Mutex] isItemNotified: received:node:0211a531-bdcb-4088-8f5e-7fffe57edf51:localhost:node-385b1abc-440b-41e7-9d0a-62f299e0952f:Node 385b1abc-440b-41e7-9d0a-62f299e0952f :: true

createSubnodes 1.026s
2021-01-04 21:59:16 |

2021-01-04 21:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:16 | ------------------------------------

2021-01-04 21:59:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e8c4743a-5e0d-4603-a459-4aa3116f88e5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e8c4743a-5e0d-4603-a459-4aa3116f88e5</title></pubsub></data>

2021-01-04 21:59:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:59:17 | [Mutex] waiting for: [received:nodes:ec00cde5-c902-4e3d-8fbc-6604d649c68e:localhost]

2021-01-04 21:59:17 | [Mutex] received everything.

2021-01-04 21:59:17 | [Mutex] isItemNotified: received:node:ec00cde5-c902-4e3d-8fbc-6604d649c68e:localhost:node-e8c4743a-5e0d-4603-a459-4aa3116f88e5:Node e8c4743a-5e0d-4603-a459-4aa3116f88e5 :: true

deleteNodes 1.039s
2021-01-04 21:59:23 |

2021-01-04 21:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:23 | ------------------------------------

2021-01-04 21:59:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e8c4743a-5e0d-4603-a459-4aa3116f88e5</node></data>

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

2021-01-04 21:59:24 | [Mutex] waiting for: [received:nodes:2694473a-a1dc-4508-b501-98fd722e7faa:localhost]

2021-01-04 21:59:24 | [Mutex] received everything.

2021-01-04 21:59:24 | [Mutex] isItemNotified: received:node:2694473a-a1dc-4508-b501-98fd722e7faa:localhost:node-e8c4743a-5e0d-4603-a459-4aa3116f88e5:Node e8c4743a-5e0d-4603-a459-4aa3116f88e5 :: false

deleteSubnodes 1.141s
2021-01-04 21:59:22 |

2021-01-04 21:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:22 | ------------------------------------

2021-01-04 21:59:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node></data>

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

2021-01-04 21:59:23 | [Mutex] waiting for: [received:nodes:8b14a3aa-d5dc-4dd0-b809-1d39837296e5:localhost]

2021-01-04 21:59:23 | [Mutex] waiting for: [received:nodes:8b14a3aa-d5dc-4dd0-b809-1d39837296e5:localhost]

2021-01-04 21:59:23 | [Mutex] received everything.

2021-01-04 21:59:23 | [Mutex] isItemNotified: received:node:8b14a3aa-d5dc-4dd0-b809-1d39837296e5:localhost:node-385b1abc-440b-41e7-9d0a-62f299e0952f:Node 385b1abc-440b-41e7-9d0a-62f299e0952f :: false

2021-01-04 21:59:23 | [Mutex] waiting for: [received:nodes:88cbaafa-f74b-47f1-b2a2-4e836c3d95a4:localhost]

2021-01-04 21:59:23 | [Mutex] received everything.

2021-01-04 21:59:23 | [Mutex] isItemNotified: received:node:88cbaafa-f74b-47f1-b2a2-4e836c3d95a4:localhost:node-385b1abc-440b-41e7-9d0a-62f299e0952f:Node 385b1abc-440b-41e7-9d0a-62f299e0952f :: false

publishItemsToNodes 0.198s
2021-01-04 21:59:19 |

2021-01-04 21:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:19 | ------------------------------------

2021-01-04 21:59:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><item-id>item-a2781e41-2852-49b8-9fe5-78f257283363</item-id><entry><test>item-a2781e41-2852-49b8-9fe5-78f257283363</test></entry></data>

2021-01-04 21:59:20 | 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-a2781e41-2852-49b8-9fe5-78f257283363</value></item-id></result>

2021-01-04 21:59:20 | [Mutex] waiting for: [published:item:notifieditem-a2781e41-2852-49b8-9fe5-78f257283363:admin@test-domain.com]

2021-01-04 21:59:20 | [Mutex] received everything.

2021-01-04 21:59:20 | [Mutex] isItemNotified: published:item:notifieditem-a2781e41-2852-49b8-9fe5-78f257283363:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2021-01-04 21:59:20 |

2021-01-04 21:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:20 | ------------------------------------

2021-01-04 21:59:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><item-id>item-a2781e41-2852-49b8-9fe5-78f257283363</item-id></data>

2021-01-04 21:59:20 | 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-a2781e41-2852-49b8-9fe5-78f257283363</value></item-id></result>

2021-01-04 21:59:20 | [Mutex] received everything.

2021-01-04 21:59:20 | [Mutex] isItemNotified: retracted:item:notifieditem-a2781e41-2852-49b8-9fe5-78f257283363:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2021-01-04 21:59:20 |

2021-01-04 21:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:20 | ------------------------------------

2021-01-04 21:59:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><item-id>item-a2781e41-2852-49b8-9fe5-78f257283363</item-id></data>

2021-01-04 21:59:20 | 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-385b1abc-440b-41e7-9d0a-62f299e0952f</value></node><item-id label="Item ID" type="text-single"><value>item-a2781e41-2852-49b8-9fe5-78f257283363</value></item-id><item label="Item" type="text-multi"><value><item id="item-a2781e41-2852-49b8-9fe5-78f257283363"><test>item-a2781e41-2852-49b8-9fe5-78f257283363</test></item></value></item></result>

2021-01-04 21:59:20 | [Mutex] notify: [retrieved:item:item-a2781e41-2852-49b8-9fe5-78f257283363:payload-matches:true:localhost]

2021-01-04 21:59:20 | [Mutex] received everything.

2021-01-04 21:59:20 | [Mutex] isItemNotified: retrieved:item:item-a2781e41-2852-49b8-9fe5-78f257283363:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-01-04 21:59:20 |

2021-01-04 21:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:20 | ------------------------------------

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

2021-01-04 21:59:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-e8c4743a-5e0d-4603-a459-4aa3116f88e5</value><value>test</value><value>node-385b1abc-440b-41e7-9d0a-62f299e0952f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-04 21:59:20 |

2021-01-04 21:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:20 | ------------------------------------

2021-01-04 21:59:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-385b1abc-440b-41e7-9d0a-62f299e0952f)</node-pattern></data>

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

subscribeNodes 1.153s
2021-01-04 21:59:18 |

2021-01-04 21:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:18 | ------------------------------------

2021-01-04 21:59:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-04 21:59:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.336s
2021-01-04 21:59:20 |

2021-01-04 21:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:59:20 | ------------------------------------

2021-01-04 21:59:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-385b1abc-440b-41e7-9d0a-62f299e0952f</node><jids><value>admin@test-domain.com</value></jids></data>

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