Generated by TestNG with ReportNG at 22:15 PDT on Tuesday 14 March 2023
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.455s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2023-03-14 22:29:32 |

2023-03-14 22:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:32 | ------------------------------------

2023-03-14 22:29:32 | [Mutex] waiting for: [configured:node:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:node-283feee5-1f00-43fa-be13-ddefe2e37a7d]

2023-03-14 22:29:32 | [Mutex] received everything.

2023-03-14 22:29:32 | [Mutex] isItemNotified: configured:node:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:node-283feee5-1f00-43fa-be13-ddefe2e37a7d :: true

2023-03-14 22:29:33 | [Mutex] waiting for: [received:nodes:bf32fafa-5638-4cfc-abd0-f1f665311c83:localhost]

2023-03-14 22:29:33 | [Mutex] received everything.

2023-03-14 22:29:33 | [Mutex] isItemNotified: received:node:bf32fafa-5638-4cfc-abd0-f1f665311c83:localhost:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb :: true

2023-03-14 22:29:33 | [Mutex] waiting for: [received:nodes:d4546d82-5c78-4511-9a7b-8812a7838461:localhost]

2023-03-14 22:29:33 | [Mutex] waiting for: [received:nodes:d4546d82-5c78-4511-9a7b-8812a7838461:localhost]

2023-03-14 22:29:33 | [Mutex] waiting for: [received:nodes:d4546d82-5c78-4511-9a7b-8812a7838461:localhost]

2023-03-14 22:29:33 | [Mutex] waiting for: [received:nodes:d4546d82-5c78-4511-9a7b-8812a7838461:localhost]

2023-03-14 22:29:33 | [Mutex] received everything.

2023-03-14 22:29:33 | [Mutex] isItemNotified: received:node:d4546d82-5c78-4511-9a7b-8812a7838461:localhost:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb :: false

createNodes 1.439s
2023-03-14 22:29:29 |

2023-03-14 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:29 | ------------------------------------

2023-03-14 22:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb</title></pubsub></data>

2023-03-14 22:29:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-14 22:29:31 | [Mutex] waiting for: [received:nodes:e9af9dd9-4707-400c-9a10-64282be5137e:localhost]

2023-03-14 22:29:31 | [Mutex] received everything.

2023-03-14 22:29:31 | [Mutex] isItemNotified: received:node:e9af9dd9-4707-400c-9a10-64282be5137e:localhost:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb :: true

createSubnodes 1.024s
2023-03-14 22:29:31 |

2023-03-14 22:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:31 | ------------------------------------

2023-03-14 22:29:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-283feee5-1f00-43fa-be13-ddefe2e37a7d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 283feee5-1f00-43fa-be13-ddefe2e37a7d</title></pubsub></data>

2023-03-14 22:29:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-14 22:29:32 | [Mutex] waiting for: [received:nodes:154a919e-c055-482a-84bc-4dca52616253:localhost]

2023-03-14 22:29:32 | [Mutex] waiting for: [received:nodes:154a919e-c055-482a-84bc-4dca52616253:localhost]

2023-03-14 22:29:32 | [Mutex] waiting for: [received:nodes:154a919e-c055-482a-84bc-4dca52616253:localhost]

2023-03-14 22:29:32 | [Mutex] waiting for: [received:nodes:154a919e-c055-482a-84bc-4dca52616253:localhost]

2023-03-14 22:29:32 | [Mutex] received everything.

2023-03-14 22:29:32 | [Mutex] isItemNotified: received:node:154a919e-c055-482a-84bc-4dca52616253:localhost:node-283feee5-1f00-43fa-be13-ddefe2e37a7d:Node 283feee5-1f00-43fa-be13-ddefe2e37a7d :: true

deleteNodes 1.016s
2023-03-14 22:29:37 |

2023-03-14 22:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:37 | ------------------------------------

2023-03-14 22:29:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-283feee5-1f00-43fa-be13-ddefe2e37a7d</node></data>

2023-03-14 22:29:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-14 22:29:38 | [Mutex] waiting for: [received:nodes:2885d92f-b0c1-459e-9aff-268b58d6d2fa:localhost]

2023-03-14 22:29:38 | [Mutex] waiting for: [received:nodes:2885d92f-b0c1-459e-9aff-268b58d6d2fa:localhost]

2023-03-14 22:29:38 | [Mutex] waiting for: [received:nodes:2885d92f-b0c1-459e-9aff-268b58d6d2fa:localhost]

2023-03-14 22:29:38 | [Mutex] received everything.

2023-03-14 22:29:38 | [Mutex] isItemNotified: received:node:2885d92f-b0c1-459e-9aff-268b58d6d2fa:localhost:node-283feee5-1f00-43fa-be13-ddefe2e37a7d:Node 283feee5-1f00-43fa-be13-ddefe2e37a7d :: false

deleteSubnodes 1.151s
2023-03-14 22:29:36 |

2023-03-14 22:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:36 | ------------------------------------

2023-03-14 22:29:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node></data>

2023-03-14 22:29:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-14 22:29:37 | [Mutex] waiting for: [received:nodes:1df78b0b-9bcb-433c-a5ad-b80420ea798b:localhost]

2023-03-14 22:29:37 | [Mutex] waiting for: [received:nodes:1df78b0b-9bcb-433c-a5ad-b80420ea798b:localhost]

2023-03-14 22:29:37 | [Mutex] waiting for: [received:nodes:1df78b0b-9bcb-433c-a5ad-b80420ea798b:localhost]

2023-03-14 22:29:37 | [Mutex] waiting for: [received:nodes:1df78b0b-9bcb-433c-a5ad-b80420ea798b:localhost]

2023-03-14 22:29:37 | [Mutex] received everything.

2023-03-14 22:29:37 | [Mutex] isItemNotified: received:node:1df78b0b-9bcb-433c-a5ad-b80420ea798b:localhost:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb :: false

2023-03-14 22:29:37 | [Mutex] waiting for: [received:nodes:d48b5651-9946-42ed-828c-029bad14e64c:localhost]

2023-03-14 22:29:37 | [Mutex] received everything.

2023-03-14 22:29:37 | [Mutex] isItemNotified: received:node:d48b5651-9946-42ed-828c-029bad14e64c:localhost:node-478e3224-46a5-427f-8e4b-53a5e8b19fbb:Node 478e3224-46a5-427f-8e4b-53a5e8b19fbb :: false

publishItemsToNodes 0.216s
2023-03-14 22:29:34 |

2023-03-14 22:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:34 | ------------------------------------

2023-03-14 22:29:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><item-id>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</item-id><entry><test>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</test></entry></data>

2023-03-14 22:29:34 | 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-172eea93-d0e8-45d1-879a-be7dee0ce3e9</value></item-id></result>

2023-03-14 22:29:34 | [Mutex] waiting for: [published:item:notifieditem-172eea93-d0e8-45d1-879a-be7dee0ce3e9:admin@test-domain.com]

2023-03-14 22:29:34 | [Mutex] received everything.

2023-03-14 22:29:34 | [Mutex] isItemNotified: published:item:notifieditem-172eea93-d0e8-45d1-879a-be7dee0ce3e9:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-03-14 22:29:35 |

2023-03-14 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:35 | ------------------------------------

2023-03-14 22:29:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><item-id>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</item-id></data>

2023-03-14 22:29:35 | 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-172eea93-d0e8-45d1-879a-be7dee0ce3e9</value></item-id></result>

2023-03-14 22:29:35 | [Mutex] waiting for: [retracted:item:notifieditem-172eea93-d0e8-45d1-879a-be7dee0ce3e9:admin@test-domain.com]

2023-03-14 22:29:35 | [Mutex] received everything.

2023-03-14 22:29:35 | [Mutex] isItemNotified: retracted:item:notifieditem-172eea93-d0e8-45d1-879a-be7dee0ce3e9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2023-03-14 22:29:34 |

2023-03-14 22:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:34 | ------------------------------------

2023-03-14 22:29:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><item-id>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</item-id></data>

2023-03-14 22:29:35 | 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-478e3224-46a5-427f-8e4b-53a5e8b19fbb</value></node><item-id label="Item ID" type="text-single"><value>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</value></item-id><item label="Item" type="text-multi"><value><item id="item-172eea93-d0e8-45d1-879a-be7dee0ce3e9"><test>item-172eea93-d0e8-45d1-879a-be7dee0ce3e9</test></item></value></item></result>

2023-03-14 22:29:35 | [Mutex] notify: [retrieved:item:item-172eea93-d0e8-45d1-879a-be7dee0ce3e9:payload-matches:true:localhost]

2023-03-14 22:29:35 | [Mutex] received everything.

2023-03-14 22:29:35 | [Mutex] isItemNotified: retrieved:item:item-172eea93-d0e8-45d1-879a-be7dee0ce3e9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2023-03-14 22:29:35 |

2023-03-14 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:35 | ------------------------------------

2023-03-14 22:29:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-14 22:29:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</value><value>test</value><value>node-283feee5-1f00-43fa-be13-ddefe2e37a7d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-14 22:29:35 |

2023-03-14 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:35 | ------------------------------------

2023-03-14 22:29:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-478e3224-46a5-427f-8e4b-53a5e8b19fbb)</node-pattern></data>

2023-03-14 22:29:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2023-03-14 22:29:33 |

2023-03-14 22:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:33 | ------------------------------------

2023-03-14 22:29:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-14 22:29:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.171s
2023-03-14 22:29:35 |

2023-03-14 22:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:29:35 | ------------------------------------

2023-03-14 22:29:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-478e3224-46a5-427f-8e4b-53a5e8b19fbb</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-14 22:29:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>