Generated by TestNG with ReportNG at 22:16 PDT on Monday 31 July 2023
root@f44fc83e2390 / Java 17.0.7 (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.459s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2023-07-31 22:31:14 |

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

2023-07-31 22:31:14 | ------------------------------------

2023-07-31 22:31:14 | [Mutex] waiting for: [configured:node:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:node-65a60e1f-576f-47c1-b350-e68783c61959]

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

2023-07-31 22:31:14 | [Mutex] isItemNotified: configured:node:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:node-65a60e1f-576f-47c1-b350-e68783c61959 :: true

2023-07-31 22:31:15 | [Mutex] waiting for: [received:nodes:eb1a2348-f83f-4e77-ae75-23c550224b1e:localhost]

2023-07-31 22:31:15 | [Mutex] received everything.

2023-07-31 22:31:15 | [Mutex] isItemNotified: received:node:eb1a2348-f83f-4e77-ae75-23c550224b1e:localhost:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:Node 80d16e74-8dc5-4014-8224-5b8f16c1e105 :: true

2023-07-31 22:31:15 | [Mutex] waiting for: [received:nodes:4786d03b-eff5-454a-9054-9ca384ae966a:localhost]

2023-07-31 22:31:15 | [Mutex] waiting for: [received:nodes:4786d03b-eff5-454a-9054-9ca384ae966a:localhost]

2023-07-31 22:31:15 | [Mutex] waiting for: [received:nodes:4786d03b-eff5-454a-9054-9ca384ae966a:localhost]

2023-07-31 22:31:15 | [Mutex] waiting for: [received:nodes:4786d03b-eff5-454a-9054-9ca384ae966a:localhost]

2023-07-31 22:31:15 | [Mutex] received everything.

2023-07-31 22:31:15 | [Mutex] isItemNotified: received:node:4786d03b-eff5-454a-9054-9ca384ae966a:localhost:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:Node 80d16e74-8dc5-4014-8224-5b8f16c1e105 :: false

createNodes 1.463s
2023-07-31 22:31:11 |

2023-07-31 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:11 | ------------------------------------

2023-07-31 22:31:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 80d16e74-8dc5-4014-8224-5b8f16c1e105</title></pubsub></data>

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

2023-07-31 22:31:13 | [Mutex] waiting for: [received:nodes:2d2828a1-1d78-43a2-a8f4-79aacfe8aa20:localhost]

2023-07-31 22:31:13 | [Mutex] waiting for: [received:nodes:2d2828a1-1d78-43a2-a8f4-79aacfe8aa20:localhost]

2023-07-31 22:31:13 | [Mutex] waiting for: [received:nodes:2d2828a1-1d78-43a2-a8f4-79aacfe8aa20:localhost]

2023-07-31 22:31:13 | [Mutex] waiting for: [received:nodes:2d2828a1-1d78-43a2-a8f4-79aacfe8aa20:localhost]

2023-07-31 22:31:13 | [Mutex] received everything.

2023-07-31 22:31:13 | [Mutex] isItemNotified: received:node:2d2828a1-1d78-43a2-a8f4-79aacfe8aa20:localhost:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:Node 80d16e74-8dc5-4014-8224-5b8f16c1e105 :: true

createSubnodes 1.029s
2023-07-31 22:31:13 |

2023-07-31 22:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:13 | ------------------------------------

2023-07-31 22:31:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-65a60e1f-576f-47c1-b350-e68783c61959</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 65a60e1f-576f-47c1-b350-e68783c61959</title></pubsub></data>

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

2023-07-31 22:31:14 | [Mutex] waiting for: [received:nodes:f7ad8aae-804f-4102-844d-bf7a0d461373:localhost]

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

2023-07-31 22:31:14 | [Mutex] isItemNotified: received:node:f7ad8aae-804f-4102-844d-bf7a0d461373:localhost:node-65a60e1f-576f-47c1-b350-e68783c61959:Node 65a60e1f-576f-47c1-b350-e68783c61959 :: true

deleteNodes 1.019s
2023-07-31 22:31:19 |

2023-07-31 22:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:19 | ------------------------------------

2023-07-31 22:31:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-65a60e1f-576f-47c1-b350-e68783c61959</node></data>

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

2023-07-31 22:31:20 | [Mutex] waiting for: [received:nodes:073be48b-fa48-4607-8b68-02a8c753799b:localhost]

2023-07-31 22:31:20 | [Mutex] waiting for: [received:nodes:073be48b-fa48-4607-8b68-02a8c753799b:localhost]

2023-07-31 22:31:20 | [Mutex] received everything.

2023-07-31 22:31:20 | [Mutex] isItemNotified: received:node:073be48b-fa48-4607-8b68-02a8c753799b:localhost:node-65a60e1f-576f-47c1-b350-e68783c61959:Node 65a60e1f-576f-47c1-b350-e68783c61959 :: false

deleteSubnodes 1.110s
2023-07-31 22:31:18 |

2023-07-31 22:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:18 | ------------------------------------

2023-07-31 22:31:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node></data>

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

2023-07-31 22:31:19 | [Mutex] waiting for: [received:nodes:133a4b08-ea9f-4d4a-995f-be55f2c489e9:localhost]

2023-07-31 22:31:19 | [Mutex] waiting for: [received:nodes:133a4b08-ea9f-4d4a-995f-be55f2c489e9:localhost]

2023-07-31 22:31:19 | [Mutex] waiting for: [received:nodes:133a4b08-ea9f-4d4a-995f-be55f2c489e9:localhost]

2023-07-31 22:31:19 | [Mutex] received everything.

2023-07-31 22:31:19 | [Mutex] isItemNotified: received:node:133a4b08-ea9f-4d4a-995f-be55f2c489e9:localhost:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:Node 80d16e74-8dc5-4014-8224-5b8f16c1e105 :: false

2023-07-31 22:31:19 | [Mutex] waiting for: [received:nodes:c16c8954-2f86-4a1d-9b3e-0ed054ebf32b:localhost]

2023-07-31 22:31:19 | [Mutex] received everything.

2023-07-31 22:31:19 | [Mutex] isItemNotified: received:node:c16c8954-2f86-4a1d-9b3e-0ed054ebf32b:localhost:node-80d16e74-8dc5-4014-8224-5b8f16c1e105:Node 80d16e74-8dc5-4014-8224-5b8f16c1e105 :: false

publishItemsToNodes 0.241s
2023-07-31 22:31:16 |

2023-07-31 22:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:16 | ------------------------------------

2023-07-31 22:31:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><item-id>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</item-id><entry><test>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</test></entry></data>

2023-07-31 22:31:16 | 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-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</value></item-id></result>

2023-07-31 22:31:16 | [Mutex] waiting for: [published:item:notifieditem-bd3df87b-28eb-44d1-ba84-fd426f1e00e6:admin@test-domain.com]

2023-07-31 22:31:16 | [Mutex] received everything.

2023-07-31 22:31:16 | [Mutex] isItemNotified: published:item:notifieditem-bd3df87b-28eb-44d1-ba84-fd426f1e00e6:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2023-07-31 22:31:17 |

2023-07-31 22:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:17 | ------------------------------------

2023-07-31 22:31:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><item-id>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</item-id></data>

2023-07-31 22:31:17 | 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-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</value></item-id></result>

2023-07-31 22:31:17 | [Mutex] received everything.

2023-07-31 22:31:17 | [Mutex] isItemNotified: retracted:item:notifieditem-bd3df87b-28eb-44d1-ba84-fd426f1e00e6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2023-07-31 22:31:16 |

2023-07-31 22:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:16 | ------------------------------------

2023-07-31 22:31:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><item-id>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</item-id></data>

2023-07-31 22:31:17 | 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-80d16e74-8dc5-4014-8224-5b8f16c1e105</value></node><item-id label="Item ID" type="text-single"><value>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</value></item-id><item label="Item" type="text-multi"><value><item id="item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6"><test>item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6</test></item></value></item></result>

2023-07-31 22:31:17 | [Mutex] notify: [retrieved:item:item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6:payload-matches:true:localhost]

2023-07-31 22:31:17 | [Mutex] received everything.

2023-07-31 22:31:17 | [Mutex] isItemNotified: retrieved:item:item-bd3df87b-28eb-44d1-ba84-fd426f1e00e6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-31 22:31:17 |

2023-07-31 22:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:17 | ------------------------------------

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

2023-07-31 22:31:17 | 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-65a60e1f-576f-47c1-b350-e68783c61959</value><value>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-31 22:31:17 |

2023-07-31 22:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:17 | ------------------------------------

2023-07-31 22:31:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-80d16e74-8dc5-4014-8224-5b8f16c1e105)</node-pattern></data>

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

subscribeNodes 1.107s
2023-07-31 22:31:15 |

2023-07-31 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:15 | ------------------------------------

2023-07-31 22:31:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.158s
2023-07-31 22:31:17 |

2023-07-31 22:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:17 | ------------------------------------

2023-07-31 22:31:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-80d16e74-8dc5-4014-8224-5b8f16c1e105</node><jids><value>admin@test-domain.com</value></jids></data>

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