Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 05 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.644s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-07-05 22:45:55 |

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

2022-07-05 22:45:55 | ------------------------------------

2022-07-05 22:45:55 | [Mutex] waiting for: [configured:node:node-2d998244-7993-4be4-b5f9-937e873ec6e2:node-b089af05-eccc-48b4-b6eb-154369815511]

2022-07-05 22:45:55 | [Mutex] received everything.

2022-07-05 22:45:55 | [Mutex] isItemNotified: configured:node:node-2d998244-7993-4be4-b5f9-937e873ec6e2:node-b089af05-eccc-48b4-b6eb-154369815511 :: true

2022-07-05 22:45:56 | [Mutex] waiting for: [received:nodes:00218d9f-b6dc-465c-bf59-be399a073283:localhost]

2022-07-05 22:45:56 | [Mutex] waiting for: [received:nodes:00218d9f-b6dc-465c-bf59-be399a073283:localhost]

2022-07-05 22:45:56 | [Mutex] received everything.

2022-07-05 22:45:56 | [Mutex] isItemNotified: received:node:00218d9f-b6dc-465c-bf59-be399a073283:localhost:node-2d998244-7993-4be4-b5f9-937e873ec6e2:Node 2d998244-7993-4be4-b5f9-937e873ec6e2 :: true

2022-07-05 22:45:56 | [Mutex] waiting for: [received:nodes:7bad3aac-5487-4d57-b9eb-ca5b7a3a1dcd:localhost]

2022-07-05 22:45:56 | [Mutex] waiting for: [received:nodes:7bad3aac-5487-4d57-b9eb-ca5b7a3a1dcd:localhost]

2022-07-05 22:45:56 | [Mutex] received everything.

2022-07-05 22:45:56 | [Mutex] isItemNotified: received:node:7bad3aac-5487-4d57-b9eb-ca5b7a3a1dcd:localhost:node-2d998244-7993-4be4-b5f9-937e873ec6e2:Node 2d998244-7993-4be4-b5f9-937e873ec6e2 :: false

createNodes 1.543s
2022-07-05 22:45:53 |

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

2022-07-05 22:45:53 | ------------------------------------

2022-07-05 22:45:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d998244-7993-4be4-b5f9-937e873ec6e2</title></pubsub></data>

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

2022-07-05 22:45:54 | [Mutex] waiting for: [received:nodes:733f0874-d848-474e-b54e-fcce9bc0baa8:localhost]

2022-07-05 22:45:54 | [Mutex] received everything.

2022-07-05 22:45:54 | [Mutex] isItemNotified: received:node:733f0874-d848-474e-b54e-fcce9bc0baa8:localhost:node-2d998244-7993-4be4-b5f9-937e873ec6e2:Node 2d998244-7993-4be4-b5f9-937e873ec6e2 :: true

createSubnodes 1.039s
2022-07-05 22:45:54 |

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

2022-07-05 22:45:54 | ------------------------------------

2022-07-05 22:45:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b089af05-eccc-48b4-b6eb-154369815511</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b089af05-eccc-48b4-b6eb-154369815511</title></pubsub></data>

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

2022-07-05 22:45:55 | [Mutex] waiting for: [received:nodes:85ae69dc-93f7-456a-95c3-a11884b1e804:localhost]

2022-07-05 22:45:55 | [Mutex] waiting for: [received:nodes:85ae69dc-93f7-456a-95c3-a11884b1e804:localhost]

2022-07-05 22:45:55 | [Mutex] received everything.

2022-07-05 22:45:55 | [Mutex] isItemNotified: received:node:85ae69dc-93f7-456a-95c3-a11884b1e804:localhost:node-b089af05-eccc-48b4-b6eb-154369815511:Node b089af05-eccc-48b4-b6eb-154369815511 :: true

deleteNodes 1.028s
2022-07-05 22:46:01 |

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

2022-07-05 22:46:01 | ------------------------------------

2022-07-05 22:46:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b089af05-eccc-48b4-b6eb-154369815511</node></data>

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

2022-07-05 22:46:02 | [Mutex] waiting for: [received:nodes:3225e43a-f1cd-40c3-809c-01b4305461a4:localhost]

2022-07-05 22:46:02 | [Mutex] received everything.

2022-07-05 22:46:02 | [Mutex] isItemNotified: received:node:3225e43a-f1cd-40c3-809c-01b4305461a4:localhost:node-b089af05-eccc-48b4-b6eb-154369815511:Node b089af05-eccc-48b4-b6eb-154369815511 :: false

deleteSubnodes 1.141s
2022-07-05 22:45:59 |

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

2022-07-05 22:45:59 | ------------------------------------

2022-07-05 22:45:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node></data>

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

2022-07-05 22:46:01 | [Mutex] waiting for: [received:nodes:b9a1a50c-473d-4ae1-abdb-8220382479d5:localhost]

2022-07-05 22:46:01 | [Mutex] received everything.

2022-07-05 22:46:01 | [Mutex] isItemNotified: received:node:b9a1a50c-473d-4ae1-abdb-8220382479d5:localhost:node-2d998244-7993-4be4-b5f9-937e873ec6e2:Node 2d998244-7993-4be4-b5f9-937e873ec6e2 :: false

2022-07-05 22:46:01 | [Mutex] waiting for: [received:nodes:e0c20e71-f4f0-4756-a5d0-aadc7591ac49:localhost]

2022-07-05 22:46:01 | [Mutex] received everything.

2022-07-05 22:46:01 | [Mutex] isItemNotified: received:node:e0c20e71-f4f0-4756-a5d0-aadc7591ac49:localhost:node-2d998244-7993-4be4-b5f9-937e873ec6e2:Node 2d998244-7993-4be4-b5f9-937e873ec6e2 :: false

publishItemsToNodes 0.242s
2022-07-05 22:45:57 |

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

2022-07-05 22:45:57 | ------------------------------------

2022-07-05 22:45:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><item-id>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</item-id><entry><test>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</test></entry></data>

2022-07-05 22:45:58 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</value></item-id></result>

2022-07-05 22:45:58 | [Mutex] waiting for: [published:item:notifieditem-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:admin@test-domain.com]

2022-07-05 22:45:58 | [Mutex] received everything.

2022-07-05 22:45:58 | [Mutex] isItemNotified: published:item:notifieditem-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2022-07-05 22:45:58 |

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

2022-07-05 22:45:58 | ------------------------------------

2022-07-05 22:45:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><item-id>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</item-id></data>

2022-07-05 22:45:58 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</value></item-id></result>

2022-07-05 22:45:58 | [Mutex] waiting for: [retracted:item:notifieditem-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:admin@test-domain.com]

2022-07-05 22:45:58 | [Mutex] received everything.

2022-07-05 22:45:58 | [Mutex] isItemNotified: retracted:item:notifieditem-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.181s
2022-07-05 22:45:58 |

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

2022-07-05 22:45:58 | ------------------------------------

2022-07-05 22:45:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><item-id>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</item-id></data>

2022-07-05 22:45:58 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2d998244-7993-4be4-b5f9-937e873ec6e2</value></node><item-id label="Item ID" type="text-single"><value>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</value></item-id><item label="Item" type="text-multi"><value><item id="item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4"><test>item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4</test></item></value></item></result>

2022-07-05 22:45:58 | [Mutex] notify: [retrieved:item:item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:payload-matches:true:localhost]

2022-07-05 22:45:58 | [Mutex] received everything.

2022-07-05 22:45:58 | [Mutex] isItemNotified: retrieved:item:item-bbd0ffe3-d8a8-4417-9d73-91d6493183a4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-05 22:45:58 |

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

2022-07-05 22:45:58 | ------------------------------------

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

2022-07-05 22:45:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2d998244-7993-4be4-b5f9-937e873ec6e2</value><value>node-b089af05-eccc-48b4-b6eb-154369815511</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-05 22:45:58 |

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

2022-07-05 22:45:58 | ------------------------------------

2022-07-05 22:45:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d998244-7993-4be4-b5f9-937e873ec6e2)</node-pattern></data>

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

subscribeNodes 1.152s
2022-07-05 22:45:56 |

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

2022-07-05 22:45:56 | ------------------------------------

2022-07-05 22:45:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.221s
2022-07-05 22:45:58 |

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

2022-07-05 22:45:58 | ------------------------------------

2022-07-05 22:45:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2d998244-7993-4be4-b5f9-937e873ec6e2</node><jids><value>admin@test-domain.com</value></jids></data>

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