Generated by TestNG with ReportNG at 22:52 PDT on Monday 29 August 2022
root@f9c07ffec79b / 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.549s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-08-29 23:06:12 |

2022-08-29 23:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:12 | ------------------------------------

2022-08-29 23:06:12 | [Mutex] waiting for: [configured:node:node-aa81303c-9af6-4716-a070-2330e9fcca98:node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271]

2022-08-29 23:06:12 | [Mutex] received everything.

2022-08-29 23:06:12 | [Mutex] isItemNotified: configured:node:node-aa81303c-9af6-4716-a070-2330e9fcca98:node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271 :: true

2022-08-29 23:06:13 | [Mutex] waiting for: [received:nodes:7bbd81d9-84eb-4f19-ab97-ed5aa29db21b:localhost]

2022-08-29 23:06:13 | [Mutex] received everything.

2022-08-29 23:06:13 | [Mutex] isItemNotified: received:node:7bbd81d9-84eb-4f19-ab97-ed5aa29db21b:localhost:node-aa81303c-9af6-4716-a070-2330e9fcca98:Node aa81303c-9af6-4716-a070-2330e9fcca98 :: true

2022-08-29 23:06:13 | [Mutex] waiting for: [received:nodes:6dc193b0-05cf-4de8-ba2d-8533f59162a5:localhost]

2022-08-29 23:06:13 | [Mutex] received everything.

2022-08-29 23:06:13 | [Mutex] isItemNotified: received:node:6dc193b0-05cf-4de8-ba2d-8533f59162a5:localhost:node-aa81303c-9af6-4716-a070-2330e9fcca98:Node aa81303c-9af6-4716-a070-2330e9fcca98 :: false

createNodes 1.443s
2022-08-29 23:06:10 |

2022-08-29 23:06:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:10 | ------------------------------------

2022-08-29 23:06:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aa81303c-9af6-4716-a070-2330e9fcca98</title></pubsub></data>

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

2022-08-29 23:06:11 | [Mutex] waiting for: [received:nodes:83e7de28-5e52-442e-98cd-3624c6ad3a93:localhost]

2022-08-29 23:06:11 | [Mutex] waiting for: [received:nodes:83e7de28-5e52-442e-98cd-3624c6ad3a93:localhost]

2022-08-29 23:06:11 | [Mutex] received everything.

2022-08-29 23:06:11 | [Mutex] isItemNotified: received:node:83e7de28-5e52-442e-98cd-3624c6ad3a93:localhost:node-aa81303c-9af6-4716-a070-2330e9fcca98:Node aa81303c-9af6-4716-a070-2330e9fcca98 :: true

createSubnodes 1.029s
2022-08-29 23:06:11 |

2022-08-29 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:11 | ------------------------------------

2022-08-29 23:06:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8e035f9c-bff8-4a12-ad76-cf4ae9ef0271</title></pubsub></data>

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

2022-08-29 23:06:12 | [Mutex] waiting for: [received:nodes:c20dc071-541d-4fa7-b593-96f07ad15fc7:localhost]

2022-08-29 23:06:12 | [Mutex] received everything.

2022-08-29 23:06:12 | [Mutex] isItemNotified: received:node:c20dc071-541d-4fa7-b593-96f07ad15fc7:localhost:node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271:Node 8e035f9c-bff8-4a12-ad76-cf4ae9ef0271 :: true

deleteNodes 1.018s
2022-08-29 23:06:18 |

2022-08-29 23:06:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:18 | ------------------------------------

2022-08-29 23:06:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271</node></data>

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

2022-08-29 23:06:19 | [Mutex] waiting for: [received:nodes:8e1fa4c7-4b5a-4beb-bea8-f612fcfce2e7:localhost]

2022-08-29 23:06:19 | [Mutex] waiting for: [received:nodes:8e1fa4c7-4b5a-4beb-bea8-f612fcfce2e7:localhost]

2022-08-29 23:06:19 | [Mutex] waiting for: [received:nodes:8e1fa4c7-4b5a-4beb-bea8-f612fcfce2e7:localhost]

2022-08-29 23:06:19 | [Mutex] received everything.

2022-08-29 23:06:19 | [Mutex] isItemNotified: received:node:8e1fa4c7-4b5a-4beb-bea8-f612fcfce2e7:localhost:node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271:Node 8e035f9c-bff8-4a12-ad76-cf4ae9ef0271 :: false

deleteSubnodes 1.118s
2022-08-29 23:06:17 |

2022-08-29 23:06:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:17 | ------------------------------------

2022-08-29 23:06:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node></data>

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

2022-08-29 23:06:18 | [Mutex] waiting for: [received:nodes:83f0877a-1fd3-41b8-999f-c4e5ab48d8c9:localhost]

2022-08-29 23:06:18 | [Mutex] received everything.

2022-08-29 23:06:18 | [Mutex] isItemNotified: received:node:83f0877a-1fd3-41b8-999f-c4e5ab48d8c9:localhost:node-aa81303c-9af6-4716-a070-2330e9fcca98:Node aa81303c-9af6-4716-a070-2330e9fcca98 :: false

2022-08-29 23:06:18 | [Mutex] waiting for: [received:nodes:be4905ba-c186-4f1f-b501-2d52f2f5edfb:localhost]

2022-08-29 23:06:18 | [Mutex] received everything.

2022-08-29 23:06:18 | [Mutex] isItemNotified: received:node:be4905ba-c186-4f1f-b501-2d52f2f5edfb:localhost:node-aa81303c-9af6-4716-a070-2330e9fcca98:Node aa81303c-9af6-4716-a070-2330e9fcca98 :: false

publishItemsToNodes 0.279s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

2022-08-29 23:06:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><item-id>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</item-id><entry><test>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</test></entry></data>

2022-08-29 23:06:15 | 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-0e8fb930-2e16-4124-8a27-a96592fc79ab</value></item-id></result>

2022-08-29 23:06:15 | [Mutex] received everything.

2022-08-29 23:06:15 | [Mutex] isItemNotified: published:item:notifieditem-0e8fb930-2e16-4124-8a27-a96592fc79ab:admin@test-domain.com :: true

retractItemsFromNodes 0.234s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

2022-08-29 23:06:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><item-id>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</item-id></data>

2022-08-29 23:06:15 | 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-0e8fb930-2e16-4124-8a27-a96592fc79ab</value></item-id></result>

2022-08-29 23:06:15 | [Mutex] waiting for: [retracted:item:notifieditem-0e8fb930-2e16-4124-8a27-a96592fc79ab:admin@test-domain.com]

2022-08-29 23:06:15 | [Mutex] received everything.

2022-08-29 23:06:15 | [Mutex] isItemNotified: retracted:item:notifieditem-0e8fb930-2e16-4124-8a27-a96592fc79ab:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

2022-08-29 23:06:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><item-id>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</item-id></data>

2022-08-29 23:06:15 | 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-aa81303c-9af6-4716-a070-2330e9fcca98</value></node><item-id type="text-single" label="Item ID"><value>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</value></item-id><item type="text-multi" label="Item"><value><item id="item-0e8fb930-2e16-4124-8a27-a96592fc79ab"><test>item-0e8fb930-2e16-4124-8a27-a96592fc79ab</test></item></value></item></result>

2022-08-29 23:06:15 | [Mutex] notify: [retrieved:item:item-0e8fb930-2e16-4124-8a27-a96592fc79ab:payload-matches:true:localhost]

2022-08-29 23:06:15 | [Mutex] received everything.

2022-08-29 23:06:15 | [Mutex] isItemNotified: retrieved:item:item-0e8fb930-2e16-4124-8a27-a96592fc79ab:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

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

2022-08-29 23:06:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-aa81303c-9af6-4716-a070-2330e9fcca98</value><value>test</value><value>node-8e035f9c-bff8-4a12-ad76-cf4ae9ef0271</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

2022-08-29 23:06:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aa81303c-9af6-4716-a070-2330e9fcca98)</node-pattern></data>

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

subscribeNodes 1.144s
2022-08-29 23:06:13 |

2022-08-29 23:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:13 | ------------------------------------

2022-08-29 23:06:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.212s
2022-08-29 23:06:15 |

2022-08-29 23:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:06:15 | ------------------------------------

2022-08-29 23:06:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aa81303c-9af6-4716-a070-2330e9fcca98</node><jids><value>admin@test-domain.com</value></jids></data>

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