Generated by TestNG with ReportNG at 22:22 PDT on Tuesday 29 September 2020
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.247s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2020-09-29 22:37:26 |

2020-09-29 22:37:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:26 | ------------------------------------

2020-09-29 22:37:26 | [Mutex] waiting for: [configured:node:node-363a0ad4-c434-4faa-bbdb-dce39b041376:node-7fb75d34-d0b4-4571-8729-627dc199efaa]

2020-09-29 22:37:27 | [Mutex] received everything.

2020-09-29 22:37:27 | [Mutex] isItemNotified: configured:node:node-363a0ad4-c434-4faa-bbdb-dce39b041376:node-7fb75d34-d0b4-4571-8729-627dc199efaa :: true

2020-09-29 22:37:28 | [Mutex] waiting for: [received:nodes:b9945c4a-5fd9-4028-b6e1-1d46a280db18:localhost]

2020-09-29 22:37:28 | [Mutex] waiting for: [received:nodes:b9945c4a-5fd9-4028-b6e1-1d46a280db18:localhost]

2020-09-29 22:37:28 | [Mutex] received everything.

2020-09-29 22:37:28 | [Mutex] isItemNotified: received:node:b9945c4a-5fd9-4028-b6e1-1d46a280db18:localhost:node-363a0ad4-c434-4faa-bbdb-dce39b041376:Node 363a0ad4-c434-4faa-bbdb-dce39b041376 :: true

2020-09-29 22:37:28 | [Mutex] waiting for: [received:nodes:e389e6f4-e6b7-4428-b418-570713b3d77b:localhost]

2020-09-29 22:37:28 | [Mutex] received everything.

2020-09-29 22:37:28 | [Mutex] isItemNotified: received:node:e389e6f4-e6b7-4428-b418-570713b3d77b:localhost:node-363a0ad4-c434-4faa-bbdb-dce39b041376:Node 363a0ad4-c434-4faa-bbdb-dce39b041376 :: false

createNodes 1.410s
2020-09-29 22:37:24 |

2020-09-29 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:24 | ------------------------------------

2020-09-29 22:37:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 363a0ad4-c434-4faa-bbdb-dce39b041376</title></pubsub></data>

2020-09-29 22:37:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:37:25 | [Mutex] waiting for: [received:nodes:13228459-6d8a-46ed-9870-87b0fd8e9090:localhost]

2020-09-29 22:37:25 | [Mutex] received everything.

2020-09-29 22:37:25 | [Mutex] isItemNotified: received:node:13228459-6d8a-46ed-9870-87b0fd8e9090:localhost:node-363a0ad4-c434-4faa-bbdb-dce39b041376:Node 363a0ad4-c434-4faa-bbdb-dce39b041376 :: true

createSubnodes 1.026s
2020-09-29 22:37:25 |

2020-09-29 22:37:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:25 | ------------------------------------

2020-09-29 22:37:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7fb75d34-d0b4-4571-8729-627dc199efaa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7fb75d34-d0b4-4571-8729-627dc199efaa</title></pubsub></data>

2020-09-29 22:37:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:37:26 | [Mutex] waiting for: [received:nodes:391527bb-db07-45d2-9df0-c01d14f403b2:localhost]

2020-09-29 22:37:26 | [Mutex] received everything.

2020-09-29 22:37:26 | [Mutex] isItemNotified: received:node:391527bb-db07-45d2-9df0-c01d14f403b2:localhost:node-7fb75d34-d0b4-4571-8729-627dc199efaa:Node 7fb75d34-d0b4-4571-8729-627dc199efaa :: true

deleteNodes 1.016s
2020-09-29 22:37:32 |

2020-09-29 22:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:32 | ------------------------------------

2020-09-29 22:37:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7fb75d34-d0b4-4571-8729-627dc199efaa</node></data>

2020-09-29 22:37:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:37:33 | [Mutex] waiting for: [received:nodes:fd8a3c00-863e-4288-a756-4ed0c1274f05:localhost]

2020-09-29 22:37:33 | [Mutex] received everything.

2020-09-29 22:37:33 | [Mutex] isItemNotified: received:node:fd8a3c00-863e-4288-a756-4ed0c1274f05:localhost:node-7fb75d34-d0b4-4571-8729-627dc199efaa:Node 7fb75d34-d0b4-4571-8729-627dc199efaa :: false

deleteSubnodes 1.121s
2020-09-29 22:37:31 |

2020-09-29 22:37:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:31 | ------------------------------------

2020-09-29 22:37:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node></data>

2020-09-29 22:37:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-29 22:37:32 | [Mutex] waiting for: [received:nodes:c54fe4e3-00f0-4a80-999a-e57e7d4f5150:localhost]

2020-09-29 22:37:32 | [Mutex] received everything.

2020-09-29 22:37:32 | [Mutex] isItemNotified: received:node:c54fe4e3-00f0-4a80-999a-e57e7d4f5150:localhost:node-363a0ad4-c434-4faa-bbdb-dce39b041376:Node 363a0ad4-c434-4faa-bbdb-dce39b041376 :: false

2020-09-29 22:37:32 | [Mutex] waiting for: [received:nodes:a82c9c28-6361-4674-b57d-94bf21929f2a:localhost]

2020-09-29 22:37:32 | [Mutex] received everything.

2020-09-29 22:37:32 | [Mutex] isItemNotified: received:node:a82c9c28-6361-4674-b57d-94bf21929f2a:localhost:node-363a0ad4-c434-4faa-bbdb-dce39b041376:Node 363a0ad4-c434-4faa-bbdb-dce39b041376 :: false

publishItemsToNodes 0.208s
2020-09-29 22:37:29 |

2020-09-29 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:29 | ------------------------------------

2020-09-29 22:37:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><item-id>item-bd2d924c-9018-4795-b321-ae8118000f16</item-id><entry><test>item-bd2d924c-9018-4795-b321-ae8118000f16</test></entry></data>

2020-09-29 22:37:29 | 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-bd2d924c-9018-4795-b321-ae8118000f16</value></item-id></result>

2020-09-29 22:37:29 | [Mutex] waiting for: [published:item:notifieditem-bd2d924c-9018-4795-b321-ae8118000f16:admin@test-domain.com]

2020-09-29 22:37:29 | [Mutex] received everything.

2020-09-29 22:37:29 | [Mutex] isItemNotified: published:item:notifieditem-bd2d924c-9018-4795-b321-ae8118000f16:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2020-09-29 22:37:29 |

2020-09-29 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:29 | ------------------------------------

2020-09-29 22:37:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><item-id>item-bd2d924c-9018-4795-b321-ae8118000f16</item-id></data>

2020-09-29 22:37:30 | 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-bd2d924c-9018-4795-b321-ae8118000f16</value></item-id></result>

2020-09-29 22:37:30 | [Mutex] received everything.

2020-09-29 22:37:30 | [Mutex] isItemNotified: retracted:item:notifieditem-bd2d924c-9018-4795-b321-ae8118000f16:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2020-09-29 22:37:29 |

2020-09-29 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:29 | ------------------------------------

2020-09-29 22:37:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><item-id>item-bd2d924c-9018-4795-b321-ae8118000f16</item-id></data>

2020-09-29 22:37:29 | 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-363a0ad4-c434-4faa-bbdb-dce39b041376</value></node><item-id label="Item ID" type="text-single"><value>item-bd2d924c-9018-4795-b321-ae8118000f16</value></item-id><item label="Item" type="text-multi"><value><item id="item-bd2d924c-9018-4795-b321-ae8118000f16"><test>item-bd2d924c-9018-4795-b321-ae8118000f16</test></item></value></item></result>

2020-09-29 22:37:29 | [Mutex] notify: [retrieved:item:item-bd2d924c-9018-4795-b321-ae8118000f16:payload-matches:true:localhost]

2020-09-29 22:37:29 | [Mutex] received everything.

2020-09-29 22:37:29 | [Mutex] isItemNotified: retrieved:item:item-bd2d924c-9018-4795-b321-ae8118000f16:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-09-29 22:37:29 |

2020-09-29 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:29 | ------------------------------------

2020-09-29 22:37:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-29 22:37:29 | 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-363a0ad4-c434-4faa-bbdb-dce39b041376</value><value>node-7fb75d34-d0b4-4571-8729-627dc199efaa</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-29 22:37:29 |

2020-09-29 22:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:29 | ------------------------------------

2020-09-29 22:37:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-363a0ad4-c434-4faa-bbdb-dce39b041376)</node-pattern></data>

2020-09-29 22:37:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.131s
2020-09-29 22:37:28 |

2020-09-29 22:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:28 | ------------------------------------

2020-09-29 22:37:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-29 22:37:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.367s
2020-09-29 22:37:30 |

2020-09-29 22:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-29 22:37:30 | ------------------------------------

2020-09-29 22:37:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-363a0ad4-c434-4faa-bbdb-dce39b041376</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-29 22:37:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>