Generated by TestNG with ReportNG at 21:18 PST on Sunday 13 February 2022
root@b2c2a8eba6e6 / 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.457s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-02-13 21:35:11 |

2022-02-13 21:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:11 | ------------------------------------

2022-02-13 21:35:11 | [Mutex] waiting for: [configured:node:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:node-f4c6421e-89e8-470c-8a72-235fb2f3264c]

2022-02-13 21:35:11 | [Mutex] received everything.

2022-02-13 21:35:11 | [Mutex] isItemNotified: configured:node:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:node-f4c6421e-89e8-470c-8a72-235fb2f3264c :: true

2022-02-13 21:35:12 | [Mutex] waiting for: [received:nodes:c93fee86-c25e-4b20-b328-2bcf4b924a42:localhost]

2022-02-13 21:35:12 | [Mutex] received everything.

2022-02-13 21:35:12 | [Mutex] isItemNotified: received:node:c93fee86-c25e-4b20-b328-2bcf4b924a42:localhost:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:Node 7ba991e6-680d-4a93-8adc-9536fd2933f1 :: true

2022-02-13 21:35:12 | [Mutex] waiting for: [received:nodes:5e6b45fd-d0e7-4957-b002-1d73e274970c:localhost]

2022-02-13 21:35:12 | [Mutex] received everything.

2022-02-13 21:35:12 | [Mutex] isItemNotified: received:node:5e6b45fd-d0e7-4957-b002-1d73e274970c:localhost:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:Node 7ba991e6-680d-4a93-8adc-9536fd2933f1 :: false

createNodes 1.668s
2022-02-13 21:35:08 |

2022-02-13 21:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:08 | ------------------------------------

2022-02-13 21:35:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7ba991e6-680d-4a93-8adc-9536fd2933f1</title></pubsub></data>

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

2022-02-13 21:35:10 | [Mutex] waiting for: [received:nodes:866a3b45-1cd0-41b8-8d3b-ae717c49ad04:localhost]

2022-02-13 21:35:10 | [Mutex] received everything.

2022-02-13 21:35:10 | [Mutex] isItemNotified: received:node:866a3b45-1cd0-41b8-8d3b-ae717c49ad04:localhost:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:Node 7ba991e6-680d-4a93-8adc-9536fd2933f1 :: true

createSubnodes 1.035s
2022-02-13 21:35:10 |

2022-02-13 21:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:10 | ------------------------------------

2022-02-13 21:35:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f4c6421e-89e8-470c-8a72-235fb2f3264c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f4c6421e-89e8-470c-8a72-235fb2f3264c</title></pubsub></data>

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

2022-02-13 21:35:11 | [Mutex] waiting for: [received:nodes:69393f33-42dd-433e-89f2-a47c63cdddfd:localhost]

2022-02-13 21:35:11 | [Mutex] received everything.

2022-02-13 21:35:11 | [Mutex] isItemNotified: received:node:69393f33-42dd-433e-89f2-a47c63cdddfd:localhost:node-f4c6421e-89e8-470c-8a72-235fb2f3264c:Node f4c6421e-89e8-470c-8a72-235fb2f3264c :: true

deleteNodes 1.030s
2022-02-13 21:35:17 |

2022-02-13 21:35:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:17 | ------------------------------------

2022-02-13 21:35:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f4c6421e-89e8-470c-8a72-235fb2f3264c</node></data>

2022-02-13 21:35:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:18 | [Mutex] waiting for: [received:nodes:6810159c-2332-4710-87f7-f1e380d5f86d:localhost]

2022-02-13 21:35:18 | [Mutex] waiting for: [received:nodes:6810159c-2332-4710-87f7-f1e380d5f86d:localhost]

2022-02-13 21:35:18 | [Mutex] received everything.

2022-02-13 21:35:18 | [Mutex] isItemNotified: received:node:6810159c-2332-4710-87f7-f1e380d5f86d:localhost:node-f4c6421e-89e8-470c-8a72-235fb2f3264c:Node f4c6421e-89e8-470c-8a72-235fb2f3264c :: false

deleteSubnodes 1.165s
2022-02-13 21:35:15 |

2022-02-13 21:35:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:15 | ------------------------------------

2022-02-13 21:35:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node></data>

2022-02-13 21:35:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-13 21:35:17 | [Mutex] waiting for: [received:nodes:bf07cfec-22ac-4e53-aa16-6c23601a6090:localhost]

2022-02-13 21:35:17 | [Mutex] received everything.

2022-02-13 21:35:17 | [Mutex] isItemNotified: received:node:bf07cfec-22ac-4e53-aa16-6c23601a6090:localhost:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:Node 7ba991e6-680d-4a93-8adc-9536fd2933f1 :: false

2022-02-13 21:35:17 | [Mutex] waiting for: [received:nodes:b0ed1be5-701d-4e0e-ad93-d2ab75c6aad1:localhost]

2022-02-13 21:35:17 | [Mutex] received everything.

2022-02-13 21:35:17 | [Mutex] isItemNotified: received:node:b0ed1be5-701d-4e0e-ad93-d2ab75c6aad1:localhost:node-7ba991e6-680d-4a93-8adc-9536fd2933f1:Node 7ba991e6-680d-4a93-8adc-9536fd2933f1 :: false

publishItemsToNodes 0.280s
2022-02-13 21:35:13 |

2022-02-13 21:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:13 | ------------------------------------

2022-02-13 21:35:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><item-id>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</item-id><entry><test>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</test></entry></data>

2022-02-13 21:35:13 | 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-855b713f-1fa6-42bf-9b77-e5ff4536eee5</value></item-id></result>

2022-02-13 21:35:13 | [Mutex] waiting for: [published:item:notifieditem-855b713f-1fa6-42bf-9b77-e5ff4536eee5:admin@test-domain.com]

2022-02-13 21:35:13 | [Mutex] received everything.

2022-02-13 21:35:13 | [Mutex] isItemNotified: published:item:notifieditem-855b713f-1fa6-42bf-9b77-e5ff4536eee5:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2022-02-13 21:35:14 |

2022-02-13 21:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:14 | ------------------------------------

2022-02-13 21:35:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><item-id>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</item-id></data>

2022-02-13 21:35:14 | 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-855b713f-1fa6-42bf-9b77-e5ff4536eee5</value></item-id></result>

2022-02-13 21:35:14 | [Mutex] received everything.

2022-02-13 21:35:14 | [Mutex] isItemNotified: retracted:item:notifieditem-855b713f-1fa6-42bf-9b77-e5ff4536eee5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2022-02-13 21:35:13 |

2022-02-13 21:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:13 | ------------------------------------

2022-02-13 21:35:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><item-id>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</item-id></data>

2022-02-13 21:35:14 | 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-7ba991e6-680d-4a93-8adc-9536fd2933f1</value></node><item-id type="text-single" label="Item ID"><value>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</value></item-id><item type="text-multi" label="Item"><value><item id="item-855b713f-1fa6-42bf-9b77-e5ff4536eee5"><test>item-855b713f-1fa6-42bf-9b77-e5ff4536eee5</test></item></value></item></result>

2022-02-13 21:35:14 | [Mutex] notify: [retrieved:item:item-855b713f-1fa6-42bf-9b77-e5ff4536eee5:payload-matches:true:localhost]

2022-02-13 21:35:14 | [Mutex] received everything.

2022-02-13 21:35:14 | [Mutex] isItemNotified: retrieved:item:item-855b713f-1fa6-42bf-9b77-e5ff4536eee5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.063s
2022-02-13 21:35:14 |

2022-02-13 21:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:14 | ------------------------------------

2022-02-13 21:35:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-13 21:35:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</value><value>test</value><value>node-f4c6421e-89e8-470c-8a72-235fb2f3264c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-02-13 21:35:14 |

2022-02-13 21:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:14 | ------------------------------------

2022-02-13 21:35:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7ba991e6-680d-4a93-8adc-9536fd2933f1)</node-pattern></data>

2022-02-13 21:35:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.179s
2022-02-13 21:35:12 |

2022-02-13 21:35:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:12 | ------------------------------------

2022-02-13 21:35:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-13 21:35:12 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2022-02-13 21:35:14 |

2022-02-13 21:35:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-13 21:35:14 | ------------------------------------

2022-02-13 21:35:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7ba991e6-680d-4a93-8adc-9536fd2933f1</node><jids><value>admin@test-domain.com</value></jids></data>

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