Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 26 July 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.713s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-07-26 23:08:37 |

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

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

2022-07-26 23:08:37 | [Mutex] waiting for: [configured:node:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:node-8c7a0b37-d77a-47ce-8667-183f4312ff4f]

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

2022-07-26 23:08:37 | [Mutex] isItemNotified: configured:node:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:node-8c7a0b37-d77a-47ce-8667-183f4312ff4f :: true

2022-07-26 23:08:38 | [Mutex] waiting for: [received:nodes:f9d85b05-79ba-4010-a4d2-8a45cb4fd20e:localhost]

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

2022-07-26 23:08:38 | [Mutex] isItemNotified: received:node:f9d85b05-79ba-4010-a4d2-8a45cb4fd20e:localhost:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf :: true

2022-07-26 23:08:38 | [Mutex] waiting for: [received:nodes:11b080fa-bae2-48c1-b4e5-8d706b945c1d:localhost]

2022-07-26 23:08:38 | [Mutex] waiting for: [received:nodes:11b080fa-bae2-48c1-b4e5-8d706b945c1d:localhost]

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

2022-07-26 23:08:38 | [Mutex] isItemNotified: received:node:11b080fa-bae2-48c1-b4e5-8d706b945c1d:localhost:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf :: false

createNodes 1.429s
2022-07-26 23:08:34 |

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

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

2022-07-26 23:08:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf</title></pubsub></data>

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

2022-07-26 23:08:36 | [Mutex] waiting for: [received:nodes:a423a7bb-bd58-4866-b3cb-5d99c62ea357:localhost]

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

2022-07-26 23:08:36 | [Mutex] isItemNotified: received:node:a423a7bb-bd58-4866-b3cb-5d99c62ea357:localhost:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf :: true

createSubnodes 1.022s
2022-07-26 23:08:36 |

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

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

2022-07-26 23:08:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8c7a0b37-d77a-47ce-8667-183f4312ff4f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8c7a0b37-d77a-47ce-8667-183f4312ff4f</title></pubsub></data>

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

2022-07-26 23:08:37 | [Mutex] waiting for: [received:nodes:4311abe3-8805-417d-a8bc-fa12dd379dfa:localhost]

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

2022-07-26 23:08:37 | [Mutex] isItemNotified: received:node:4311abe3-8805-417d-a8bc-fa12dd379dfa:localhost:node-8c7a0b37-d77a-47ce-8667-183f4312ff4f:Node 8c7a0b37-d77a-47ce-8667-183f4312ff4f :: true

deleteNodes 1.018s
2022-07-26 23:08:42 |

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

2022-07-26 23:08:42 | ------------------------------------

2022-07-26 23:08:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8c7a0b37-d77a-47ce-8667-183f4312ff4f</node></data>

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

2022-07-26 23:08:43 | [Mutex] waiting for: [received:nodes:7384a3b5-f529-469e-a671-d53ff57801e8:localhost]

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

2022-07-26 23:08:43 | [Mutex] isItemNotified: received:node:7384a3b5-f529-469e-a671-d53ff57801e8:localhost:node-8c7a0b37-d77a-47ce-8667-183f4312ff4f:Node 8c7a0b37-d77a-47ce-8667-183f4312ff4f :: false

deleteSubnodes 1.145s
2022-07-26 23:08:41 |

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

2022-07-26 23:08:41 | ------------------------------------

2022-07-26 23:08:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node></data>

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

2022-07-26 23:08:42 | [Mutex] waiting for: [received:nodes:d4417b9f-aae6-453e-8b8b-05f37993d8d2:localhost]

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

2022-07-26 23:08:42 | [Mutex] isItemNotified: received:node:d4417b9f-aae6-453e-8b8b-05f37993d8d2:localhost:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf :: false

2022-07-26 23:08:42 | [Mutex] waiting for: [received:nodes:04df1fb4-1faf-4c4b-bcac-0a0f75934e46:localhost]

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

2022-07-26 23:08:42 | [Mutex] isItemNotified: received:node:04df1fb4-1faf-4c4b-bcac-0a0f75934e46:localhost:node-9edf4d0c-5c98-413e-899f-a67c1922a2bf:Node 9edf4d0c-5c98-413e-899f-a67c1922a2bf :: false

publishItemsToNodes 0.238s
2022-07-26 23:08:39 |

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

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

2022-07-26 23:08:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><item-id>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</item-id><entry><test>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</test></entry></data>

2022-07-26 23:08:39 | 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-26f3dc7a-e1a6-4201-a651-faa435ef7a14</value></item-id></result>

2022-07-26 23:08:39 | [Mutex] waiting for: [published:item:notifieditem-26f3dc7a-e1a6-4201-a651-faa435ef7a14:admin@test-domain.com]

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

2022-07-26 23:08:39 | [Mutex] isItemNotified: published:item:notifieditem-26f3dc7a-e1a6-4201-a651-faa435ef7a14:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2022-07-26 23:08:40 |

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

2022-07-26 23:08:40 | ------------------------------------

2022-07-26 23:08:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><item-id>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</item-id></data>

2022-07-26 23:08:40 | 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-26f3dc7a-e1a6-4201-a651-faa435ef7a14</value></item-id></result>

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

2022-07-26 23:08:40 | [Mutex] isItemNotified: retracted:item:notifieditem-26f3dc7a-e1a6-4201-a651-faa435ef7a14:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2022-07-26 23:08:39 |

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

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

2022-07-26 23:08:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><item-id>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</item-id></data>

2022-07-26 23:08:40 | 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-9edf4d0c-5c98-413e-899f-a67c1922a2bf</value></node><item-id type="text-single" label="Item ID"><value>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</value></item-id><item type="text-multi" label="Item"><value><item id="item-26f3dc7a-e1a6-4201-a651-faa435ef7a14"><test>item-26f3dc7a-e1a6-4201-a651-faa435ef7a14</test></item></value></item></result>

2022-07-26 23:08:40 | [Mutex] notify: [retrieved:item:item-26f3dc7a-e1a6-4201-a651-faa435ef7a14:payload-matches:true:localhost]

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

2022-07-26 23:08:40 | [Mutex] isItemNotified: retrieved:item:item-26f3dc7a-e1a6-4201-a651-faa435ef7a14:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-26 23:08:40 |

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

2022-07-26 23:08:40 | ------------------------------------

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

2022-07-26 23:08:40 | 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-9edf4d0c-5c98-413e-899f-a67c1922a2bf</value><value>node-8c7a0b37-d77a-47ce-8667-183f4312ff4f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-26 23:08:40 |

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

2022-07-26 23:08:40 | ------------------------------------

2022-07-26 23:08:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9edf4d0c-5c98-413e-899f-a67c1922a2bf)</node-pattern></data>

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

subscribeNodes 1.141s
2022-07-26 23:08:38 |

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

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

2022-07-26 23:08:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2022-07-26 23:08:40 |

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

2022-07-26 23:08:40 | ------------------------------------

2022-07-26 23:08:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9edf4d0c-5c98-413e-899f-a67c1922a2bf</node><jids><value>admin@test-domain.com</value></jids></data>

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