Generated by TestNG with ReportNG at 22:18 PDT on Friday 08 July 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.722s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-07-08 22:33:02 |

2022-07-08 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:02 | ------------------------------------

2022-07-08 22:33:02 | [Mutex] waiting for: [configured:node:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32]

2022-07-08 22:33:03 | [Mutex] received everything.

2022-07-08 22:33:03 | [Mutex] isItemNotified: configured:node:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32 :: true

2022-07-08 22:33:04 | [Mutex] waiting for: [received:nodes:5f054e44-f02a-4f86-9b1b-824cb56449c1:localhost]

2022-07-08 22:33:04 | [Mutex] received everything.

2022-07-08 22:33:04 | [Mutex] isItemNotified: received:node:5f054e44-f02a-4f86-9b1b-824cb56449c1:localhost:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:Node 30a2ba08-a96b-4827-99e9-0c677390fc6e :: true

2022-07-08 22:33:04 | [Mutex] waiting for: [received:nodes:1f271804-409b-4dd7-990c-f2a27e6cb5a1:localhost]

2022-07-08 22:33:04 | [Mutex] received everything.

2022-07-08 22:33:04 | [Mutex] isItemNotified: received:node:1f271804-409b-4dd7-990c-f2a27e6cb5a1:localhost:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:Node 30a2ba08-a96b-4827-99e9-0c677390fc6e :: false

createNodes 1.433s
2022-07-08 22:33:00 |

2022-07-08 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:00 | ------------------------------------

2022-07-08 22:33:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 30a2ba08-a96b-4827-99e9-0c677390fc6e</title></pubsub></data>

2022-07-08 22:33:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:33:01 | [Mutex] waiting for: [received:nodes:25cba6d9-11f4-4a96-bc7c-6c77f677c240:localhost]

2022-07-08 22:33:01 | [Mutex] received everything.

2022-07-08 22:33:01 | [Mutex] isItemNotified: received:node:25cba6d9-11f4-4a96-bc7c-6c77f677c240:localhost:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:Node 30a2ba08-a96b-4827-99e9-0c677390fc6e :: true

createSubnodes 1.046s
2022-07-08 22:33:01 |

2022-07-08 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:01 | ------------------------------------

2022-07-08 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a04a9f99-8ddf-41ef-a585-ac1f9c07ab32</title></pubsub></data>

2022-07-08 22:33:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:33:02 | [Mutex] waiting for: [received:nodes:b3661604-38c6-4d55-a92d-5ca8d55ada3f:localhost]

2022-07-08 22:33:02 | [Mutex] waiting for: [received:nodes:b3661604-38c6-4d55-a92d-5ca8d55ada3f:localhost]

2022-07-08 22:33:02 | [Mutex] received everything.

2022-07-08 22:33:02 | [Mutex] isItemNotified: received:node:b3661604-38c6-4d55-a92d-5ca8d55ada3f:localhost:node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32:Node a04a9f99-8ddf-41ef-a585-ac1f9c07ab32 :: true

deleteNodes 1.025s
2022-07-08 22:33:08 |

2022-07-08 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:08 | ------------------------------------

2022-07-08 22:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32</node></data>

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

2022-07-08 22:33:09 | [Mutex] waiting for: [received:nodes:b40f79f0-978c-4796-ad21-da02c56d5497:localhost]

2022-07-08 22:33:09 | [Mutex] received everything.

2022-07-08 22:33:09 | [Mutex] isItemNotified: received:node:b40f79f0-978c-4796-ad21-da02c56d5497:localhost:node-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32:Node a04a9f99-8ddf-41ef-a585-ac1f9c07ab32 :: false

deleteSubnodes 1.168s
2022-07-08 22:33:07 |

2022-07-08 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:07 | ------------------------------------

2022-07-08 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node></data>

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

2022-07-08 22:33:08 | [Mutex] waiting for: [received:nodes:5e98829f-c6be-4854-b23b-6ab318a17928:localhost]

2022-07-08 22:33:08 | [Mutex] waiting for: [received:nodes:5e98829f-c6be-4854-b23b-6ab318a17928:localhost]

2022-07-08 22:33:08 | [Mutex] received everything.

2022-07-08 22:33:08 | [Mutex] isItemNotified: received:node:5e98829f-c6be-4854-b23b-6ab318a17928:localhost:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:Node 30a2ba08-a96b-4827-99e9-0c677390fc6e :: false

2022-07-08 22:33:08 | [Mutex] waiting for: [received:nodes:1811ec20-bf48-4407-89b2-796aa21686c1:localhost]

2022-07-08 22:33:08 | [Mutex] received everything.

2022-07-08 22:33:08 | [Mutex] isItemNotified: received:node:1811ec20-bf48-4407-89b2-796aa21686c1:localhost:node-30a2ba08-a96b-4827-99e9-0c677390fc6e:Node 30a2ba08-a96b-4827-99e9-0c677390fc6e :: false

publishItemsToNodes 0.203s
2022-07-08 22:33:05 |

2022-07-08 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:05 | ------------------------------------

2022-07-08 22:33:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><item-id>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</item-id><entry><test>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</test></entry></data>

2022-07-08 22:33:05 | 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-ea82d90c-5af6-41b8-8830-f74e60613fbe</value></item-id></result>

2022-07-08 22:33:05 | [Mutex] waiting for: [published:item:notifieditem-ea82d90c-5af6-41b8-8830-f74e60613fbe:admin@test-domain.com]

2022-07-08 22:33:05 | [Mutex] received everything.

2022-07-08 22:33:05 | [Mutex] isItemNotified: published:item:notifieditem-ea82d90c-5af6-41b8-8830-f74e60613fbe:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2022-07-08 22:33:05 |

2022-07-08 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:05 | ------------------------------------

2022-07-08 22:33:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><item-id>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</item-id></data>

2022-07-08 22:33:06 | 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-ea82d90c-5af6-41b8-8830-f74e60613fbe</value></item-id></result>

2022-07-08 22:33:06 | [Mutex] received everything.

2022-07-08 22:33:06 | [Mutex] isItemNotified: retracted:item:notifieditem-ea82d90c-5af6-41b8-8830-f74e60613fbe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.216s
2022-07-08 22:33:05 |

2022-07-08 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:05 | ------------------------------------

2022-07-08 22:33:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><item-id>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</item-id></data>

2022-07-08 22:33:05 | 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-30a2ba08-a96b-4827-99e9-0c677390fc6e</value></node><item-id type="text-single" label="Item ID"><value>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</value></item-id><item type="text-multi" label="Item"><value><item id="item-ea82d90c-5af6-41b8-8830-f74e60613fbe"><test>item-ea82d90c-5af6-41b8-8830-f74e60613fbe</test></item></value></item></result>

2022-07-08 22:33:05 | [Mutex] notify: [retrieved:item:item-ea82d90c-5af6-41b8-8830-f74e60613fbe:payload-matches:true:localhost]

2022-07-08 22:33:05 | [Mutex] received everything.

2022-07-08 22:33:05 | [Mutex] isItemNotified: retrieved:item:item-ea82d90c-5af6-41b8-8830-f74e60613fbe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-07-08 22:33:05 |

2022-07-08 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:05 | ------------------------------------

2022-07-08 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-08 22:33:05 | 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-a04a9f99-8ddf-41ef-a585-ac1f9c07ab32</value><value>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-08 22:33:05 |

2022-07-08 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:05 | ------------------------------------

2022-07-08 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-30a2ba08-a96b-4827-99e9-0c677390fc6e)</node-pattern></data>

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

subscribeNodes 1.149s
2022-07-08 22:33:04 |

2022-07-08 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:04 | ------------------------------------

2022-07-08 22:33:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-08 22:33:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.319s
2022-07-08 22:33:06 |

2022-07-08 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:33:06 | ------------------------------------

2022-07-08 22:33:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-30a2ba08-a96b-4827-99e9-0c677390fc6e</node><jids><value>admin@test-domain.com</value></jids></data>

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