Generated by TestNG with ReportNG at 23:34 PDT on Tuesday 21 September 2021
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.266s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2021-09-21 23:52:25 |

2021-09-21 23:52:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:25 | ------------------------------------

2021-09-21 23:52:25 | [Mutex] waiting for: [configured:node:node-26347a98-2b69-4ef3-8382-23dd56de4f58:node-f56c157b-4759-4a74-bb90-defb3011d2f6]

2021-09-21 23:52:26 | [Mutex] received everything.

2021-09-21 23:52:26 | [Mutex] isItemNotified: configured:node:node-26347a98-2b69-4ef3-8382-23dd56de4f58:node-f56c157b-4759-4a74-bb90-defb3011d2f6 :: true

2021-09-21 23:52:27 | [Mutex] waiting for: [received:nodes:65cb8bce-b295-4404-a3c1-c565eea5c411:localhost]

2021-09-21 23:52:27 | [Mutex] received everything.

2021-09-21 23:52:27 | [Mutex] isItemNotified: received:node:65cb8bce-b295-4404-a3c1-c565eea5c411:localhost:node-26347a98-2b69-4ef3-8382-23dd56de4f58:Node 26347a98-2b69-4ef3-8382-23dd56de4f58 :: true

2021-09-21 23:52:27 | [Mutex] waiting for: [received:nodes:aff1ebbd-b9fb-43ae-8d98-dc3c35ffbba8:localhost]

2021-09-21 23:52:27 | [Mutex] waiting for: [received:nodes:aff1ebbd-b9fb-43ae-8d98-dc3c35ffbba8:localhost]

2021-09-21 23:52:27 | [Mutex] waiting for: [received:nodes:aff1ebbd-b9fb-43ae-8d98-dc3c35ffbba8:localhost]

2021-09-21 23:52:27 | [Mutex] received everything.

2021-09-21 23:52:27 | [Mutex] isItemNotified: received:node:aff1ebbd-b9fb-43ae-8d98-dc3c35ffbba8:localhost:node-26347a98-2b69-4ef3-8382-23dd56de4f58:Node 26347a98-2b69-4ef3-8382-23dd56de4f58 :: false

createNodes 1.729s
2021-09-21 23:52:23 |

2021-09-21 23:52:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:23 | ------------------------------------

2021-09-21 23:52:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 26347a98-2b69-4ef3-8382-23dd56de4f58</title></pubsub></data>

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

2021-09-21 23:52:24 | [Mutex] waiting for: [received:nodes:9cd17ffc-0a5f-413f-b40e-96444e59bb14:localhost]

2021-09-21 23:52:24 | [Mutex] received everything.

2021-09-21 23:52:24 | [Mutex] isItemNotified: received:node:9cd17ffc-0a5f-413f-b40e-96444e59bb14:localhost:node-26347a98-2b69-4ef3-8382-23dd56de4f58:Node 26347a98-2b69-4ef3-8382-23dd56de4f58 :: true

createSubnodes 1.024s
2021-09-21 23:52:24 |

2021-09-21 23:52:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:24 | ------------------------------------

2021-09-21 23:52:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f56c157b-4759-4a74-bb90-defb3011d2f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f56c157b-4759-4a74-bb90-defb3011d2f6</title></pubsub></data>

2021-09-21 23:52:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 23:52:25 | [Mutex] waiting for: [received:nodes:a3ff6b47-93a0-4c1e-bf9f-80b665f6fc1f:localhost]

2021-09-21 23:52:25 | [Mutex] waiting for: [received:nodes:a3ff6b47-93a0-4c1e-bf9f-80b665f6fc1f:localhost]

2021-09-21 23:52:25 | [Mutex] waiting for: [received:nodes:a3ff6b47-93a0-4c1e-bf9f-80b665f6fc1f:localhost]

2021-09-21 23:52:25 | [Mutex] received everything.

2021-09-21 23:52:25 | [Mutex] isItemNotified: received:node:a3ff6b47-93a0-4c1e-bf9f-80b665f6fc1f:localhost:node-f56c157b-4759-4a74-bb90-defb3011d2f6:Node f56c157b-4759-4a74-bb90-defb3011d2f6 :: true

deleteNodes 1.021s
2021-09-21 23:52:31 |

2021-09-21 23:52:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:31 | ------------------------------------

2021-09-21 23:52:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f56c157b-4759-4a74-bb90-defb3011d2f6</node></data>

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

2021-09-21 23:52:32 | [Mutex] waiting for: [received:nodes:34f8a459-fb7c-411d-9648-d49c3d0bfef0:localhost]

2021-09-21 23:52:32 | [Mutex] received everything.

2021-09-21 23:52:32 | [Mutex] isItemNotified: received:node:34f8a459-fb7c-411d-9648-d49c3d0bfef0:localhost:node-f56c157b-4759-4a74-bb90-defb3011d2f6:Node f56c157b-4759-4a74-bb90-defb3011d2f6 :: false

deleteSubnodes 1.153s
2021-09-21 23:52:30 |

2021-09-21 23:52:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:30 | ------------------------------------

2021-09-21 23:52:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node></data>

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

2021-09-21 23:52:31 | [Mutex] waiting for: [received:nodes:31dd61e2-f1fd-4f00-b012-b4a23ef3fcd4:localhost]

2021-09-21 23:52:31 | [Mutex] waiting for: [received:nodes:31dd61e2-f1fd-4f00-b012-b4a23ef3fcd4:localhost]

2021-09-21 23:52:31 | [Mutex] received everything.

2021-09-21 23:52:31 | [Mutex] isItemNotified: received:node:31dd61e2-f1fd-4f00-b012-b4a23ef3fcd4:localhost:node-26347a98-2b69-4ef3-8382-23dd56de4f58:Node 26347a98-2b69-4ef3-8382-23dd56de4f58 :: false

2021-09-21 23:52:31 | [Mutex] waiting for: [received:nodes:3386a160-3b2f-4c22-b9b6-3aec2cf14c5c:localhost]

2021-09-21 23:52:31 | [Mutex] received everything.

2021-09-21 23:52:31 | [Mutex] isItemNotified: received:node:3386a160-3b2f-4c22-b9b6-3aec2cf14c5c:localhost:node-26347a98-2b69-4ef3-8382-23dd56de4f58:Node 26347a98-2b69-4ef3-8382-23dd56de4f58 :: false

publishItemsToNodes 0.303s
2021-09-21 23:52:28 |

2021-09-21 23:52:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:28 | ------------------------------------

2021-09-21 23:52:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><item-id>item-2fd25271-175c-46a9-b919-16a59e8eceda</item-id><entry><test>item-2fd25271-175c-46a9-b919-16a59e8eceda</test></entry></data>

2021-09-21 23:52:28 | 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-2fd25271-175c-46a9-b919-16a59e8eceda</value></item-id></result>

2021-09-21 23:52:28 | [Mutex] waiting for: [published:item:notifieditem-2fd25271-175c-46a9-b919-16a59e8eceda:admin@test-domain.com]

2021-09-21 23:52:28 | [Mutex] received everything.

2021-09-21 23:52:28 | [Mutex] isItemNotified: published:item:notifieditem-2fd25271-175c-46a9-b919-16a59e8eceda:admin@test-domain.com :: true

retractItemsFromNodes 0.224s
2021-09-21 23:52:28 |

2021-09-21 23:52:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:28 | ------------------------------------

2021-09-21 23:52:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><item-id>item-2fd25271-175c-46a9-b919-16a59e8eceda</item-id></data>

2021-09-21 23:52:29 | 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-2fd25271-175c-46a9-b919-16a59e8eceda</value></item-id></result>

2021-09-21 23:52:29 | [Mutex] waiting for: [retracted:item:notifieditem-2fd25271-175c-46a9-b919-16a59e8eceda:admin@test-domain.com]

2021-09-21 23:52:29 | [Mutex] received everything.

2021-09-21 23:52:29 | [Mutex] isItemNotified: retracted:item:notifieditem-2fd25271-175c-46a9-b919-16a59e8eceda:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2021-09-21 23:52:28 |

2021-09-21 23:52:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:28 | ------------------------------------

2021-09-21 23:52:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><item-id>item-2fd25271-175c-46a9-b919-16a59e8eceda</item-id></data>

2021-09-21 23:52:28 | 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-26347a98-2b69-4ef3-8382-23dd56de4f58</value></node><item-id type="text-single" label="Item ID"><value>item-2fd25271-175c-46a9-b919-16a59e8eceda</value></item-id><item type="text-multi" label="Item"><value><item id="item-2fd25271-175c-46a9-b919-16a59e8eceda"><test>item-2fd25271-175c-46a9-b919-16a59e8eceda</test></item></value></item></result>

2021-09-21 23:52:28 | [Mutex] notify: [retrieved:item:item-2fd25271-175c-46a9-b919-16a59e8eceda:payload-matches:true:localhost]

2021-09-21 23:52:28 | [Mutex] received everything.

2021-09-21 23:52:28 | [Mutex] isItemNotified: retrieved:item:item-2fd25271-175c-46a9-b919-16a59e8eceda:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-09-21 23:52:28 |

2021-09-21 23:52:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:28 | ------------------------------------

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

2021-09-21 23:52:28 | 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-26347a98-2b69-4ef3-8382-23dd56de4f58</value><value>node-f56c157b-4759-4a74-bb90-defb3011d2f6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-21 23:52:28 |

2021-09-21 23:52:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:28 | ------------------------------------

2021-09-21 23:52:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-26347a98-2b69-4ef3-8382-23dd56de4f58)</node-pattern></data>

2021-09-21 23:52:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.161s
2021-09-21 23:52:27 |

2021-09-21 23:52:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:27 | ------------------------------------

2021-09-21 23:52:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-21 23:52:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.248s
2021-09-21 23:52:29 |

2021-09-21 23:52:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 23:52:29 | ------------------------------------

2021-09-21 23:52:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-26347a98-2b69-4ef3-8382-23dd56de4f58</node><jids><value>admin@test-domain.com</value></jids></data>

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