Generated by TestNG with ReportNG at 22:49 PDT on Wednesday 07 September 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.632s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-09-07 23:03:19 |

2022-09-07 23:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:19 | ------------------------------------

2022-09-07 23:03:19 | [Mutex] waiting for: [configured:node:node-56e509ab-d439-47d2-9e37-684e83f27165:node-08cda290-80b6-4c32-9519-0648190662ad]

2022-09-07 23:03:19 | [Mutex] received everything.

2022-09-07 23:03:19 | [Mutex] isItemNotified: configured:node:node-56e509ab-d439-47d2-9e37-684e83f27165:node-08cda290-80b6-4c32-9519-0648190662ad :: true

2022-09-07 23:03:20 | [Mutex] waiting for: [received:nodes:de825fbd-d9a6-423e-a4e2-effe7dc9c182:localhost]

2022-09-07 23:03:20 | [Mutex] received everything.

2022-09-07 23:03:20 | [Mutex] isItemNotified: received:node:de825fbd-d9a6-423e-a4e2-effe7dc9c182:localhost:node-56e509ab-d439-47d2-9e37-684e83f27165:Node 56e509ab-d439-47d2-9e37-684e83f27165 :: true

2022-09-07 23:03:20 | [Mutex] waiting for: [received:nodes:4076d7f6-6e29-43c5-b398-18256740b9d1:localhost]

2022-09-07 23:03:20 | [Mutex] received everything.

2022-09-07 23:03:20 | [Mutex] isItemNotified: received:node:4076d7f6-6e29-43c5-b398-18256740b9d1:localhost:node-56e509ab-d439-47d2-9e37-684e83f27165:Node 56e509ab-d439-47d2-9e37-684e83f27165 :: false

createNodes 1.530s
2022-09-07 23:03:16 |

2022-09-07 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:16 | ------------------------------------

2022-09-07 23:03:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56e509ab-d439-47d2-9e37-684e83f27165</title></pubsub></data>

2022-09-07 23:03:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-07 23:03:18 | [Mutex] waiting for: [received:nodes:e2879f73-8b5b-4aeb-940b-d76ea84b84f0:localhost]

2022-09-07 23:03:18 | [Mutex] waiting for: [received:nodes:e2879f73-8b5b-4aeb-940b-d76ea84b84f0:localhost]

2022-09-07 23:03:18 | [Mutex] received everything.

2022-09-07 23:03:18 | [Mutex] isItemNotified: received:node:e2879f73-8b5b-4aeb-940b-d76ea84b84f0:localhost:node-56e509ab-d439-47d2-9e37-684e83f27165:Node 56e509ab-d439-47d2-9e37-684e83f27165 :: true

createSubnodes 1.033s
2022-09-07 23:03:18 |

2022-09-07 23:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:18 | ------------------------------------

2022-09-07 23:03:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-08cda290-80b6-4c32-9519-0648190662ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 08cda290-80b6-4c32-9519-0648190662ad</title></pubsub></data>

2022-09-07 23:03:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-07 23:03:19 | [Mutex] waiting for: [received:nodes:a8eb66f8-a003-4329-be8d-cd4d0e3b7252:localhost]

2022-09-07 23:03:19 | [Mutex] received everything.

2022-09-07 23:03:19 | [Mutex] isItemNotified: received:node:a8eb66f8-a003-4329-be8d-cd4d0e3b7252:localhost:node-08cda290-80b6-4c32-9519-0648190662ad:Node 08cda290-80b6-4c32-9519-0648190662ad :: true

deleteNodes 1.020s
2022-09-07 23:03:24 |

2022-09-07 23:03:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:24 | ------------------------------------

2022-09-07 23:03:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-08cda290-80b6-4c32-9519-0648190662ad</node></data>

2022-09-07 23:03:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-07 23:03:25 | [Mutex] waiting for: [received:nodes:df34dc18-e07c-4362-995b-641f7b34e88d:localhost]

2022-09-07 23:03:25 | [Mutex] received everything.

2022-09-07 23:03:25 | [Mutex] isItemNotified: received:node:df34dc18-e07c-4362-995b-641f7b34e88d:localhost:node-08cda290-80b6-4c32-9519-0648190662ad:Node 08cda290-80b6-4c32-9519-0648190662ad :: false

deleteSubnodes 1.118s
2022-09-07 23:03:23 |

2022-09-07 23:03:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:23 | ------------------------------------

2022-09-07 23:03:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node></data>

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

2022-09-07 23:03:24 | [Mutex] waiting for: [received:nodes:ba0db07a-9a75-40ac-b513-c490b7cd6025:localhost]

2022-09-07 23:03:24 | [Mutex] waiting for: [received:nodes:ba0db07a-9a75-40ac-b513-c490b7cd6025:localhost]

2022-09-07 23:03:24 | [Mutex] received everything.

2022-09-07 23:03:24 | [Mutex] isItemNotified: received:node:ba0db07a-9a75-40ac-b513-c490b7cd6025:localhost:node-56e509ab-d439-47d2-9e37-684e83f27165:Node 56e509ab-d439-47d2-9e37-684e83f27165 :: false

2022-09-07 23:03:24 | [Mutex] waiting for: [received:nodes:3647f5bb-afb9-49ad-91ec-46ed1149058c:localhost]

2022-09-07 23:03:24 | [Mutex] received everything.

2022-09-07 23:03:24 | [Mutex] isItemNotified: received:node:3647f5bb-afb9-49ad-91ec-46ed1149058c:localhost:node-56e509ab-d439-47d2-9e37-684e83f27165:Node 56e509ab-d439-47d2-9e37-684e83f27165 :: false

publishItemsToNodes 0.201s
2022-09-07 23:03:21 |

2022-09-07 23:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:21 | ------------------------------------

2022-09-07 23:03:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><item-id>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</item-id><entry><test>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</test></entry></data>

2022-09-07 23:03:21 | 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-a328d34a-ed18-4e27-9c27-e3052e75bffd</value></item-id></result>

2022-09-07 23:03:21 | [Mutex] waiting for: [published:item:notifieditem-a328d34a-ed18-4e27-9c27-e3052e75bffd:admin@test-domain.com]

2022-09-07 23:03:21 | [Mutex] received everything.

2022-09-07 23:03:21 | [Mutex] isItemNotified: published:item:notifieditem-a328d34a-ed18-4e27-9c27-e3052e75bffd:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-09-07 23:03:22 |

2022-09-07 23:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:22 | ------------------------------------

2022-09-07 23:03:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><item-id>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</item-id></data>

2022-09-07 23:03:22 | 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-a328d34a-ed18-4e27-9c27-e3052e75bffd</value></item-id></result>

2022-09-07 23:03:22 | [Mutex] received everything.

2022-09-07 23:03:22 | [Mutex] isItemNotified: retracted:item:notifieditem-a328d34a-ed18-4e27-9c27-e3052e75bffd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.191s
2022-09-07 23:03:21 |

2022-09-07 23:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:21 | ------------------------------------

2022-09-07 23:03:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><item-id>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</item-id></data>

2022-09-07 23:03:21 | 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-56e509ab-d439-47d2-9e37-684e83f27165</value></node><item-id type="text-single" label="Item ID"><value>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</value></item-id><item type="text-multi" label="Item"><value><item id="item-a328d34a-ed18-4e27-9c27-e3052e75bffd"><test>item-a328d34a-ed18-4e27-9c27-e3052e75bffd</test></item></value></item></result>

2022-09-07 23:03:21 | [Mutex] notify: [retrieved:item:item-a328d34a-ed18-4e27-9c27-e3052e75bffd:payload-matches:true:localhost]

2022-09-07 23:03:21 | [Mutex] received everything.

2022-09-07 23:03:21 | [Mutex] isItemNotified: retrieved:item:item-a328d34a-ed18-4e27-9c27-e3052e75bffd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-09-07 23:03:21 |

2022-09-07 23:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:21 | ------------------------------------

2022-09-07 23:03:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-07 23:03:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-08cda290-80b6-4c32-9519-0648190662ad</value><value>node-56e509ab-d439-47d2-9e37-684e83f27165</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-07 23:03:22 |

2022-09-07 23:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:22 | ------------------------------------

2022-09-07 23:03:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56e509ab-d439-47d2-9e37-684e83f27165)</node-pattern></data>

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

subscribeNodes 1.111s
2022-09-07 23:03:20 |

2022-09-07 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:20 | ------------------------------------

2022-09-07 23:03:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-07 23:03:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.231s
2022-09-07 23:03:22 |

2022-09-07 23:03:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-07 23:03:22 | ------------------------------------

2022-09-07 23:03:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56e509ab-d439-47d2-9e37-684e83f27165</node><jids><value>admin@test-domain.com</value></jids></data>

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