Generated by TestNG with ReportNG at 22:53 PDT on Monday 08 August 2022
root@7c41cec37518 / 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.254s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.081s
2022-08-08 23:07:34 |

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

2022-08-08 23:07:34 | ------------------------------------

2022-08-08 23:07:34 | [Mutex] waiting for: [configured:node:node-361be755-8ed8-4e65-8794-1b2b9b77b935:node-9cf61a70-3f47-400a-ab50-5938b35466d9]

2022-08-08 23:07:34 | [Mutex] received everything.

2022-08-08 23:07:34 | [Mutex] isItemNotified: configured:node:node-361be755-8ed8-4e65-8794-1b2b9b77b935:node-9cf61a70-3f47-400a-ab50-5938b35466d9 :: true

2022-08-08 23:07:35 | [Mutex] waiting for: [received:nodes:0582d9bb-9674-4b1e-bfee-5393a564e5bd:localhost]

2022-08-08 23:07:35 | [Mutex] received everything.

2022-08-08 23:07:35 | [Mutex] isItemNotified: received:node:0582d9bb-9674-4b1e-bfee-5393a564e5bd:localhost:node-361be755-8ed8-4e65-8794-1b2b9b77b935:Node 361be755-8ed8-4e65-8794-1b2b9b77b935 :: true

2022-08-08 23:07:35 | [Mutex] waiting for: [received:nodes:a70039d8-cf47-4ed1-961b-6215488a05f6:localhost]

2022-08-08 23:07:35 | [Mutex] received everything.

2022-08-08 23:07:35 | [Mutex] isItemNotified: received:node:a70039d8-cf47-4ed1-961b-6215488a05f6:localhost:node-361be755-8ed8-4e65-8794-1b2b9b77b935:Node 361be755-8ed8-4e65-8794-1b2b9b77b935 :: false

createNodes 1.376s
2022-08-08 23:07:32 |

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

2022-08-08 23:07:32 | ------------------------------------

2022-08-08 23:07:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 361be755-8ed8-4e65-8794-1b2b9b77b935</title></pubsub></data>

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

2022-08-08 23:07:33 | [Mutex] waiting for: [received:nodes:f9d5fcad-7065-4b4d-9ef1-ec869b9b4554:localhost]

2022-08-08 23:07:33 | [Mutex] waiting for: [received:nodes:f9d5fcad-7065-4b4d-9ef1-ec869b9b4554:localhost]

2022-08-08 23:07:33 | [Mutex] waiting for: [received:nodes:f9d5fcad-7065-4b4d-9ef1-ec869b9b4554:localhost]

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

2022-08-08 23:07:33 | [Mutex] isItemNotified: received:node:f9d5fcad-7065-4b4d-9ef1-ec869b9b4554:localhost:node-361be755-8ed8-4e65-8794-1b2b9b77b935:Node 361be755-8ed8-4e65-8794-1b2b9b77b935 :: true

createSubnodes 1.021s
2022-08-08 23:07:33 |

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

2022-08-08 23:07:33 | ------------------------------------

2022-08-08 23:07:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9cf61a70-3f47-400a-ab50-5938b35466d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9cf61a70-3f47-400a-ab50-5938b35466d9</title></pubsub></data>

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

2022-08-08 23:07:34 | [Mutex] waiting for: [received:nodes:eba97bdb-fe8d-4a59-bcb4-9a14d74877a7:localhost]

2022-08-08 23:07:34 | [Mutex] received everything.

2022-08-08 23:07:34 | [Mutex] isItemNotified: received:node:eba97bdb-fe8d-4a59-bcb4-9a14d74877a7:localhost:node-9cf61a70-3f47-400a-ab50-5938b35466d9:Node 9cf61a70-3f47-400a-ab50-5938b35466d9 :: true

deleteNodes 1.018s
2022-08-08 23:07:39 |

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

2022-08-08 23:07:39 | ------------------------------------

2022-08-08 23:07:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9cf61a70-3f47-400a-ab50-5938b35466d9</node></data>

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

2022-08-08 23:07:40 | [Mutex] waiting for: [received:nodes:d98a92c7-ba08-4bde-bc5c-bb3e96bb2f8f:localhost]

2022-08-08 23:07:40 | [Mutex] waiting for: [received:nodes:d98a92c7-ba08-4bde-bc5c-bb3e96bb2f8f:localhost]

2022-08-08 23:07:40 | [Mutex] waiting for: [received:nodes:d98a92c7-ba08-4bde-bc5c-bb3e96bb2f8f:localhost]

2022-08-08 23:07:40 | [Mutex] received everything.

2022-08-08 23:07:40 | [Mutex] isItemNotified: received:node:d98a92c7-ba08-4bde-bc5c-bb3e96bb2f8f:localhost:node-9cf61a70-3f47-400a-ab50-5938b35466d9:Node 9cf61a70-3f47-400a-ab50-5938b35466d9 :: false

deleteSubnodes 1.121s
2022-08-08 23:07:38 |

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

2022-08-08 23:07:38 | ------------------------------------

2022-08-08 23:07:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node></data>

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

2022-08-08 23:07:39 | [Mutex] waiting for: [received:nodes:18f9a115-5177-476c-bfa7-8f4e3a457fe5:localhost]

2022-08-08 23:07:39 | [Mutex] received everything.

2022-08-08 23:07:39 | [Mutex] isItemNotified: received:node:18f9a115-5177-476c-bfa7-8f4e3a457fe5:localhost:node-361be755-8ed8-4e65-8794-1b2b9b77b935:Node 361be755-8ed8-4e65-8794-1b2b9b77b935 :: false

2022-08-08 23:07:39 | [Mutex] waiting for: [received:nodes:98fdaa07-9b4b-4f61-9370-856e2bcd5f04:localhost]

2022-08-08 23:07:39 | [Mutex] received everything.

2022-08-08 23:07:39 | [Mutex] isItemNotified: received:node:98fdaa07-9b4b-4f61-9370-856e2bcd5f04:localhost:node-361be755-8ed8-4e65-8794-1b2b9b77b935:Node 361be755-8ed8-4e65-8794-1b2b9b77b935 :: false

publishItemsToNodes 0.198s
2022-08-08 23:07:36 |

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

2022-08-08 23:07:36 | ------------------------------------

2022-08-08 23:07:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><item-id>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</item-id><entry><test>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</test></entry></data>

2022-08-08 23:07:37 | 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-f5d0c325-7b58-4919-b94f-af6bca938ca6</value></item-id></result>

2022-08-08 23:07:37 | [Mutex] waiting for: [published:item:notifieditem-f5d0c325-7b58-4919-b94f-af6bca938ca6:admin@test-domain.com]

2022-08-08 23:07:37 | [Mutex] received everything.

2022-08-08 23:07:37 | [Mutex] isItemNotified: published:item:notifieditem-f5d0c325-7b58-4919-b94f-af6bca938ca6:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2022-08-08 23:07:37 |

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

2022-08-08 23:07:37 | ------------------------------------

2022-08-08 23:07:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><item-id>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</item-id></data>

2022-08-08 23:07:37 | 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-f5d0c325-7b58-4919-b94f-af6bca938ca6</value></item-id></result>

2022-08-08 23:07:37 | [Mutex] received everything.

2022-08-08 23:07:37 | [Mutex] isItemNotified: retracted:item:notifieditem-f5d0c325-7b58-4919-b94f-af6bca938ca6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.229s
2022-08-08 23:07:37 |

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

2022-08-08 23:07:37 | ------------------------------------

2022-08-08 23:07:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><item-id>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</item-id></data>

2022-08-08 23:07:37 | 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-361be755-8ed8-4e65-8794-1b2b9b77b935</value></node><item-id type="text-single" label="Item ID"><value>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</value></item-id><item type="text-multi" label="Item"><value><item id="item-f5d0c325-7b58-4919-b94f-af6bca938ca6"><test>item-f5d0c325-7b58-4919-b94f-af6bca938ca6</test></item></value></item></result>

2022-08-08 23:07:37 | [Mutex] notify: [retrieved:item:item-f5d0c325-7b58-4919-b94f-af6bca938ca6:payload-matches:true:localhost]

2022-08-08 23:07:37 | [Mutex] received everything.

2022-08-08 23:07:37 | [Mutex] isItemNotified: retrieved:item:item-f5d0c325-7b58-4919-b94f-af6bca938ca6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-08 23:07:37 |

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

2022-08-08 23:07:37 | ------------------------------------

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

2022-08-08 23:07:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-361be755-8ed8-4e65-8794-1b2b9b77b935</value><value>test</value><value>node-9cf61a70-3f47-400a-ab50-5938b35466d9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-08 23:07:37 |

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

2022-08-08 23:07:37 | ------------------------------------

2022-08-08 23:07:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-361be755-8ed8-4e65-8794-1b2b9b77b935)</node-pattern></data>

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

subscribeNodes 1.150s
2022-08-08 23:07:35 |

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

2022-08-08 23:07:35 | ------------------------------------

2022-08-08 23:07:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.191s
2022-08-08 23:07:37 |

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

2022-08-08 23:07:37 | ------------------------------------

2022-08-08 23:07:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-361be755-8ed8-4e65-8794-1b2b9b77b935</node><jids><value>admin@test-domain.com</value></jids></data>

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