Generated by TestNG with ReportNG at 22:46 PDT on Saturday 09 July 2022
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.515s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2022-07-09 22:59:58 |

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

2022-07-09 22:59:58 | ------------------------------------

2022-07-09 22:59:58 | [Mutex] waiting for: [configured:node:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:node-061958fe-260d-4a34-9ad0-b168d71bfd6d]

2022-07-09 22:59:58 | [Mutex] received everything.

2022-07-09 22:59:58 | [Mutex] isItemNotified: configured:node:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:node-061958fe-260d-4a34-9ad0-b168d71bfd6d :: true

2022-07-09 22:59:59 | [Mutex] waiting for: [received:nodes:49fa2742-4aad-4e86-aafa-2fc872e8179e:localhost]

2022-07-09 22:59:59 | [Mutex] received everything.

2022-07-09 22:59:59 | [Mutex] isItemNotified: received:node:49fa2742-4aad-4e86-aafa-2fc872e8179e:localhost:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:Node 5aa56919-66d6-419f-94cd-b52795e3d3d2 :: true

2022-07-09 22:59:59 | [Mutex] waiting for: [received:nodes:e3b21e12-1814-4b42-9ad4-9d7285efd218:localhost]

2022-07-09 22:59:59 | [Mutex] waiting for: [received:nodes:e3b21e12-1814-4b42-9ad4-9d7285efd218:localhost]

2022-07-09 22:59:59 | [Mutex] waiting for: [received:nodes:e3b21e12-1814-4b42-9ad4-9d7285efd218:localhost]

2022-07-09 22:59:59 | [Mutex] received everything.

2022-07-09 22:59:59 | [Mutex] isItemNotified: received:node:e3b21e12-1814-4b42-9ad4-9d7285efd218:localhost:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:Node 5aa56919-66d6-419f-94cd-b52795e3d3d2 :: false

createNodes 1.406s
2022-07-09 22:59:55 |

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

2022-07-09 22:59:55 | ------------------------------------

2022-07-09 22:59:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5aa56919-66d6-419f-94cd-b52795e3d3d2</title></pubsub></data>

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

2022-07-09 22:59:57 | [Mutex] waiting for: [received:nodes:0fee85ab-4ccf-4fca-bb6f-858f0499f89d:localhost]

2022-07-09 22:59:57 | [Mutex] waiting for: [received:nodes:0fee85ab-4ccf-4fca-bb6f-858f0499f89d:localhost]

2022-07-09 22:59:57 | [Mutex] received everything.

2022-07-09 22:59:57 | [Mutex] isItemNotified: received:node:0fee85ab-4ccf-4fca-bb6f-858f0499f89d:localhost:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:Node 5aa56919-66d6-419f-94cd-b52795e3d3d2 :: true

createSubnodes 1.022s
2022-07-09 22:59:57 |

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

2022-07-09 22:59:57 | ------------------------------------

2022-07-09 22:59:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-061958fe-260d-4a34-9ad0-b168d71bfd6d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 061958fe-260d-4a34-9ad0-b168d71bfd6d</title></pubsub></data>

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

2022-07-09 22:59:58 | [Mutex] waiting for: [received:nodes:88ea51fd-5efc-488a-862a-cb25015d8509:localhost]

2022-07-09 22:59:58 | [Mutex] received everything.

2022-07-09 22:59:58 | [Mutex] isItemNotified: received:node:88ea51fd-5efc-488a-862a-cb25015d8509:localhost:node-061958fe-260d-4a34-9ad0-b168d71bfd6d:Node 061958fe-260d-4a34-9ad0-b168d71bfd6d :: true

deleteNodes 1.023s
2022-07-09 23:00:03 |

2022-07-09 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:03 | ------------------------------------

2022-07-09 23:00:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-061958fe-260d-4a34-9ad0-b168d71bfd6d</node></data>

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

2022-07-09 23:00:04 | [Mutex] waiting for: [received:nodes:a9e00f04-62df-4e57-a36a-d53ba1da562c:localhost]

2022-07-09 23:00:04 | [Mutex] received everything.

2022-07-09 23:00:04 | [Mutex] isItemNotified: received:node:a9e00f04-62df-4e57-a36a-d53ba1da562c:localhost:node-061958fe-260d-4a34-9ad0-b168d71bfd6d:Node 061958fe-260d-4a34-9ad0-b168d71bfd6d :: false

deleteSubnodes 1.142s
2022-07-09 23:00:02 |

2022-07-09 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:02 | ------------------------------------

2022-07-09 23:00:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node></data>

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

2022-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:549f0a68-8d12-4be5-b28b-8f53a55fdf6d:localhost]

2022-07-09 23:00:03 | [Mutex] received everything.

2022-07-09 23:00:03 | [Mutex] isItemNotified: received:node:549f0a68-8d12-4be5-b28b-8f53a55fdf6d:localhost:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:Node 5aa56919-66d6-419f-94cd-b52795e3d3d2 :: false

2022-07-09 23:00:03 | [Mutex] waiting for: [received:nodes:bc76ea3f-f2f5-4f9f-bdd0-bb2e64af2bde:localhost]

2022-07-09 23:00:03 | [Mutex] received everything.

2022-07-09 23:00:03 | [Mutex] isItemNotified: received:node:bc76ea3f-f2f5-4f9f-bdd0-bb2e64af2bde:localhost:node-5aa56919-66d6-419f-94cd-b52795e3d3d2:Node 5aa56919-66d6-419f-94cd-b52795e3d3d2 :: false

publishItemsToNodes 0.179s
2022-07-09 23:00:00 |

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

2022-07-09 23:00:00 | ------------------------------------

2022-07-09 23:00:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><item-id>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</item-id><entry><test>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</test></entry></data>

2022-07-09 23:00:00 | 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-daf9b183-f12a-4db9-9e25-a3ac5c416abb</value></item-id></result>

2022-07-09 23:00:00 | [Mutex] waiting for: [published:item:notifieditem-daf9b183-f12a-4db9-9e25-a3ac5c416abb:admin@test-domain.com]

2022-07-09 23:00:00 | [Mutex] received everything.

2022-07-09 23:00:00 | [Mutex] isItemNotified: published:item:notifieditem-daf9b183-f12a-4db9-9e25-a3ac5c416abb:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2022-07-09 23:00:01 |

2022-07-09 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:01 | ------------------------------------

2022-07-09 23:00:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><item-id>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</item-id></data>

2022-07-09 23:00:01 | 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-daf9b183-f12a-4db9-9e25-a3ac5c416abb</value></item-id></result>

2022-07-09 23:00:01 | [Mutex] received everything.

2022-07-09 23:00:01 | [Mutex] isItemNotified: retracted:item:notifieditem-daf9b183-f12a-4db9-9e25-a3ac5c416abb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.358s
2022-07-09 23:00:00 |

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

2022-07-09 23:00:00 | ------------------------------------

2022-07-09 23:00:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><item-id>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</item-id></data>

2022-07-09 23:00:01 | 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-5aa56919-66d6-419f-94cd-b52795e3d3d2</value></node><item-id label="Item ID" type="text-single"><value>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</value></item-id><item label="Item" type="text-multi"><value><item id="item-daf9b183-f12a-4db9-9e25-a3ac5c416abb"><test>item-daf9b183-f12a-4db9-9e25-a3ac5c416abb</test></item></value></item></result>

2022-07-09 23:00:01 | [Mutex] notify: [retrieved:item:item-daf9b183-f12a-4db9-9e25-a3ac5c416abb:payload-matches:true:localhost]

2022-07-09 23:00:01 | [Mutex] received everything.

2022-07-09 23:00:01 | [Mutex] isItemNotified: retrieved:item:item-daf9b183-f12a-4db9-9e25-a3ac5c416abb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-09 23:00:01 |

2022-07-09 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:01 | ------------------------------------

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

2022-07-09 23:00:01 | 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-5aa56919-66d6-419f-94cd-b52795e3d3d2</value><value>node-061958fe-260d-4a34-9ad0-b168d71bfd6d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-09 23:00:01 |

2022-07-09 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:01 | ------------------------------------

2022-07-09 23:00:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5aa56919-66d6-419f-94cd-b52795e3d3d2)</node-pattern></data>

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

subscribeNodes 1.157s
2022-07-09 22:59:59 |

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

2022-07-09 22:59:59 | ------------------------------------

2022-07-09 22:59:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.159s
2022-07-09 23:00:01 |

2022-07-09 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-09 23:00:01 | ------------------------------------

2022-07-09 23:00:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5aa56919-66d6-419f-94cd-b52795e3d3d2</node><jids><value>admin@test-domain.com</value></jids></data>

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