Generated by TestNG with ReportNG at 21:50 PST on Monday 14 November 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.405s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-11-14 22:06:47 |

2022-11-14 22:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:47 | ------------------------------------

2022-11-14 22:06:47 | [Mutex] waiting for: [configured:node:node-c6a3c73a-41df-4ec0-bd04-fce577405663:node-5f93772d-6d3d-417a-9502-74130a151de5]

2022-11-14 22:06:47 | [Mutex] received everything.

2022-11-14 22:06:47 | [Mutex] isItemNotified: configured:node:node-c6a3c73a-41df-4ec0-bd04-fce577405663:node-5f93772d-6d3d-417a-9502-74130a151de5 :: true

2022-11-14 22:06:48 | [Mutex] waiting for: [received:nodes:8d12063f-892c-4d23-9fde-535d062d85bd:localhost]

2022-11-14 22:06:48 | [Mutex] received everything.

2022-11-14 22:06:48 | [Mutex] isItemNotified: received:node:8d12063f-892c-4d23-9fde-535d062d85bd:localhost:node-c6a3c73a-41df-4ec0-bd04-fce577405663:Node c6a3c73a-41df-4ec0-bd04-fce577405663 :: true

2022-11-14 22:06:48 | [Mutex] waiting for: [received:nodes:aa56cd3c-b061-4260-af7d-d30617821b4c:localhost]

2022-11-14 22:06:48 | [Mutex] waiting for: [received:nodes:aa56cd3c-b061-4260-af7d-d30617821b4c:localhost]

2022-11-14 22:06:48 | [Mutex] received everything.

2022-11-14 22:06:48 | [Mutex] isItemNotified: received:node:aa56cd3c-b061-4260-af7d-d30617821b4c:localhost:node-c6a3c73a-41df-4ec0-bd04-fce577405663:Node c6a3c73a-41df-4ec0-bd04-fce577405663 :: false

createNodes 1.488s
2022-11-14 22:06:45 |

2022-11-14 22:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:45 | ------------------------------------

2022-11-14 22:06:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6a3c73a-41df-4ec0-bd04-fce577405663</title></pubsub></data>

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

2022-11-14 22:06:46 | [Mutex] waiting for: [received:nodes:382e28b5-5812-4808-bfae-89bf10bc4eef:localhost]

2022-11-14 22:06:46 | [Mutex] received everything.

2022-11-14 22:06:46 | [Mutex] isItemNotified: received:node:382e28b5-5812-4808-bfae-89bf10bc4eef:localhost:node-c6a3c73a-41df-4ec0-bd04-fce577405663:Node c6a3c73a-41df-4ec0-bd04-fce577405663 :: true

createSubnodes 1.027s
2022-11-14 22:06:46 |

2022-11-14 22:06:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:46 | ------------------------------------

2022-11-14 22:06:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f93772d-6d3d-417a-9502-74130a151de5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f93772d-6d3d-417a-9502-74130a151de5</title></pubsub></data>

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

2022-11-14 22:06:47 | [Mutex] waiting for: [received:nodes:f3cc8be4-96f4-48f1-8168-9d5ec28de666:localhost]

2022-11-14 22:06:47 | [Mutex] received everything.

2022-11-14 22:06:47 | [Mutex] isItemNotified: received:node:f3cc8be4-96f4-48f1-8168-9d5ec28de666:localhost:node-5f93772d-6d3d-417a-9502-74130a151de5:Node 5f93772d-6d3d-417a-9502-74130a151de5 :: true

deleteNodes 1.018s
2022-11-14 22:06:52 |

2022-11-14 22:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:52 | ------------------------------------

2022-11-14 22:06:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f93772d-6d3d-417a-9502-74130a151de5</node></data>

2022-11-14 22:06:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 22:06:53 | [Mutex] waiting for: [received:nodes:b56712cd-90a7-446e-84b1-baacf5b93179:localhost]

2022-11-14 22:06:53 | [Mutex] waiting for: [received:nodes:b56712cd-90a7-446e-84b1-baacf5b93179:localhost]

2022-11-14 22:06:53 | [Mutex] received everything.

2022-11-14 22:06:53 | [Mutex] isItemNotified: received:node:b56712cd-90a7-446e-84b1-baacf5b93179:localhost:node-5f93772d-6d3d-417a-9502-74130a151de5:Node 5f93772d-6d3d-417a-9502-74130a151de5 :: false

deleteSubnodes 1.114s
2022-11-14 22:06:51 |

2022-11-14 22:06:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:51 | ------------------------------------

2022-11-14 22:06:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node></data>

2022-11-14 22:06:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 22:06:52 | [Mutex] waiting for: [received:nodes:6b1ba03a-2b3b-43ba-98a0-ba04fb440ec6:localhost]

2022-11-14 22:06:52 | [Mutex] waiting for: [received:nodes:6b1ba03a-2b3b-43ba-98a0-ba04fb440ec6:localhost]

2022-11-14 22:06:52 | [Mutex] received everything.

2022-11-14 22:06:52 | [Mutex] isItemNotified: received:node:6b1ba03a-2b3b-43ba-98a0-ba04fb440ec6:localhost:node-c6a3c73a-41df-4ec0-bd04-fce577405663:Node c6a3c73a-41df-4ec0-bd04-fce577405663 :: false

2022-11-14 22:06:52 | [Mutex] waiting for: [received:nodes:f8fd50b7-2eda-4fc3-b3f7-db6d7caa8e68:localhost]

2022-11-14 22:06:52 | [Mutex] received everything.

2022-11-14 22:06:52 | [Mutex] isItemNotified: received:node:f8fd50b7-2eda-4fc3-b3f7-db6d7caa8e68:localhost:node-c6a3c73a-41df-4ec0-bd04-fce577405663:Node c6a3c73a-41df-4ec0-bd04-fce577405663 :: false

publishItemsToNodes 0.247s
2022-11-14 22:06:49 |

2022-11-14 22:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:49 | ------------------------------------

2022-11-14 22:06:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><item-id>item-fdce7a93-737e-4828-91c1-8dad68a62579</item-id><entry><test>item-fdce7a93-737e-4828-91c1-8dad68a62579</test></entry></data>

2022-11-14 22:06:50 | 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-fdce7a93-737e-4828-91c1-8dad68a62579</value></item-id></result>

2022-11-14 22:06:50 | [Mutex] received everything.

2022-11-14 22:06:50 | [Mutex] isItemNotified: published:item:notifieditem-fdce7a93-737e-4828-91c1-8dad68a62579:admin@test-domain.com :: true

retractItemsFromNodes 0.191s
2022-11-14 22:06:50 |

2022-11-14 22:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:50 | ------------------------------------

2022-11-14 22:06:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><item-id>item-fdce7a93-737e-4828-91c1-8dad68a62579</item-id></data>

2022-11-14 22:06:50 | 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-fdce7a93-737e-4828-91c1-8dad68a62579</value></item-id></result>

2022-11-14 22:06:50 | [Mutex] received everything.

2022-11-14 22:06:50 | [Mutex] isItemNotified: retracted:item:notifieditem-fdce7a93-737e-4828-91c1-8dad68a62579:admin@test-domain.com :: true

retrieveItemsFromNodes 0.195s
2022-11-14 22:06:50 |

2022-11-14 22:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:50 | ------------------------------------

2022-11-14 22:06:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><item-id>item-fdce7a93-737e-4828-91c1-8dad68a62579</item-id></data>

2022-11-14 22:06:50 | 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-c6a3c73a-41df-4ec0-bd04-fce577405663</value></node><item-id label="Item ID" type="text-single"><value>item-fdce7a93-737e-4828-91c1-8dad68a62579</value></item-id><item label="Item" type="text-multi"><value><item id="item-fdce7a93-737e-4828-91c1-8dad68a62579"><test>item-fdce7a93-737e-4828-91c1-8dad68a62579</test></item></value></item></result>

2022-11-14 22:06:50 | [Mutex] notify: [retrieved:item:item-fdce7a93-737e-4828-91c1-8dad68a62579:payload-matches:true:localhost]

2022-11-14 22:06:50 | [Mutex] received everything.

2022-11-14 22:06:50 | [Mutex] isItemNotified: retrieved:item:item-fdce7a93-737e-4828-91c1-8dad68a62579:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-14 22:06:50 |

2022-11-14 22:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:50 | ------------------------------------

2022-11-14 22:06:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-14 22:06:50 | 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-c6a3c73a-41df-4ec0-bd04-fce577405663</value><value>node-5f93772d-6d3d-417a-9502-74130a151de5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-11-14 22:06:50 |

2022-11-14 22:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:50 | ------------------------------------

2022-11-14 22:06:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c6a3c73a-41df-4ec0-bd04-fce577405663)</node-pattern></data>

2022-11-14 22:06:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.153s
2022-11-14 22:06:48 |

2022-11-14 22:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:48 | ------------------------------------

2022-11-14 22:06:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-14 22:06:48 | 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-11-14 22:06:50 |

2022-11-14 22:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 22:06:50 | ------------------------------------

2022-11-14 22:06:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c6a3c73a-41df-4ec0-bd04-fce577405663</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-14 22:06:50 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>