Generated by TestNG with ReportNG at 22:49 PDT on Monday 18 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.598s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-07-18 23:05:47 |

2022-07-18 23:05:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:47 | ------------------------------------

2022-07-18 23:05:47 | [Mutex] waiting for: [configured:node:node-0655b03c-442a-498b-8d01-64efafe0f9a8:node-688615af-735d-4a7d-afa9-aebb0a3e273f]

2022-07-18 23:05:47 | [Mutex] received everything.

2022-07-18 23:05:47 | [Mutex] isItemNotified: configured:node:node-0655b03c-442a-498b-8d01-64efafe0f9a8:node-688615af-735d-4a7d-afa9-aebb0a3e273f :: true

2022-07-18 23:05:48 | [Mutex] waiting for: [received:nodes:7fd7a4c9-2c0a-4edc-8edf-73e89ab66c2f:localhost]

2022-07-18 23:05:48 | [Mutex] received everything.

2022-07-18 23:05:48 | [Mutex] isItemNotified: received:node:7fd7a4c9-2c0a-4edc-8edf-73e89ab66c2f:localhost:node-0655b03c-442a-498b-8d01-64efafe0f9a8:Node 0655b03c-442a-498b-8d01-64efafe0f9a8 :: true

2022-07-18 23:05:48 | [Mutex] waiting for: [received:nodes:f611caf4-6515-498e-9ff4-290ffc68e45a:localhost]

2022-07-18 23:05:48 | [Mutex] received everything.

2022-07-18 23:05:48 | [Mutex] isItemNotified: received:node:f611caf4-6515-498e-9ff4-290ffc68e45a:localhost:node-0655b03c-442a-498b-8d01-64efafe0f9a8:Node 0655b03c-442a-498b-8d01-64efafe0f9a8 :: false

createNodes 1.480s
2022-07-18 23:05:45 |

2022-07-18 23:05:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:45 | ------------------------------------

2022-07-18 23:05:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0655b03c-442a-498b-8d01-64efafe0f9a8</title></pubsub></data>

2022-07-18 23:05:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-18 23:05:46 | [Mutex] waiting for: [received:nodes:7ac85d81-4332-44a1-ac55-eb5a49c98712:localhost]

2022-07-18 23:05:46 | [Mutex] received everything.

2022-07-18 23:05:46 | [Mutex] isItemNotified: received:node:7ac85d81-4332-44a1-ac55-eb5a49c98712:localhost:node-0655b03c-442a-498b-8d01-64efafe0f9a8:Node 0655b03c-442a-498b-8d01-64efafe0f9a8 :: true

createSubnodes 1.023s
2022-07-18 23:05:46 |

2022-07-18 23:05:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:46 | ------------------------------------

2022-07-18 23:05:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-688615af-735d-4a7d-afa9-aebb0a3e273f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 688615af-735d-4a7d-afa9-aebb0a3e273f</title></pubsub></data>

2022-07-18 23:05:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-18 23:05:47 | [Mutex] waiting for: [received:nodes:4031a85b-4226-4a4a-aed8-d78e68e34037:localhost]

2022-07-18 23:05:47 | [Mutex] waiting for: [received:nodes:4031a85b-4226-4a4a-aed8-d78e68e34037:localhost]

2022-07-18 23:05:47 | [Mutex] waiting for: [received:nodes:4031a85b-4226-4a4a-aed8-d78e68e34037:localhost]

2022-07-18 23:05:47 | [Mutex] received everything.

2022-07-18 23:05:47 | [Mutex] isItemNotified: received:node:4031a85b-4226-4a4a-aed8-d78e68e34037:localhost:node-688615af-735d-4a7d-afa9-aebb0a3e273f:Node 688615af-735d-4a7d-afa9-aebb0a3e273f :: true

deleteNodes 1.017s
2022-07-18 23:05:52 |

2022-07-18 23:05:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:52 | ------------------------------------

2022-07-18 23:05:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-688615af-735d-4a7d-afa9-aebb0a3e273f</node></data>

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

2022-07-18 23:05:53 | [Mutex] waiting for: [received:nodes:dcc10039-485b-4f03-a4b7-5c1fa6f8ee27:localhost]

2022-07-18 23:05:53 | [Mutex] received everything.

2022-07-18 23:05:53 | [Mutex] isItemNotified: received:node:dcc10039-485b-4f03-a4b7-5c1fa6f8ee27:localhost:node-688615af-735d-4a7d-afa9-aebb0a3e273f:Node 688615af-735d-4a7d-afa9-aebb0a3e273f :: false

deleteSubnodes 1.124s
2022-07-18 23:05:51 |

2022-07-18 23:05:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:51 | ------------------------------------

2022-07-18 23:05:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node></data>

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

2022-07-18 23:05:52 | [Mutex] waiting for: [received:nodes:138eee6a-3c7c-4743-a50a-28450635399b:localhost]

2022-07-18 23:05:52 | [Mutex] waiting for: [received:nodes:138eee6a-3c7c-4743-a50a-28450635399b:localhost]

2022-07-18 23:05:52 | [Mutex] waiting for: [received:nodes:138eee6a-3c7c-4743-a50a-28450635399b:localhost]

2022-07-18 23:05:52 | [Mutex] waiting for: [received:nodes:138eee6a-3c7c-4743-a50a-28450635399b:localhost]

2022-07-18 23:05:52 | [Mutex] received everything.

2022-07-18 23:05:52 | [Mutex] isItemNotified: received:node:138eee6a-3c7c-4743-a50a-28450635399b:localhost:node-0655b03c-442a-498b-8d01-64efafe0f9a8:Node 0655b03c-442a-498b-8d01-64efafe0f9a8 :: false

2022-07-18 23:05:52 | [Mutex] waiting for: [received:nodes:71eec509-6b5d-4131-b276-7a4dba21442c:localhost]

2022-07-18 23:05:52 | [Mutex] received everything.

2022-07-18 23:05:52 | [Mutex] isItemNotified: received:node:71eec509-6b5d-4131-b276-7a4dba21442c:localhost:node-0655b03c-442a-498b-8d01-64efafe0f9a8:Node 0655b03c-442a-498b-8d01-64efafe0f9a8 :: false

publishItemsToNodes 0.205s
2022-07-18 23:05:49 |

2022-07-18 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:49 | ------------------------------------

2022-07-18 23:05:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><item-id>item-7951711e-1368-42a2-92c4-5c364d0db00c</item-id><entry><test>item-7951711e-1368-42a2-92c4-5c364d0db00c</test></entry></data>

2022-07-18 23:05:49 | 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-7951711e-1368-42a2-92c4-5c364d0db00c</value></item-id></result>

2022-07-18 23:05:49 | [Mutex] received everything.

2022-07-18 23:05:49 | [Mutex] isItemNotified: published:item:notifieditem-7951711e-1368-42a2-92c4-5c364d0db00c:admin@test-domain.com :: true

retractItemsFromNodes 0.254s
2022-07-18 23:05:50 |

2022-07-18 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:50 | ------------------------------------

2022-07-18 23:05:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><item-id>item-7951711e-1368-42a2-92c4-5c364d0db00c</item-id></data>

2022-07-18 23:05:50 | 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-7951711e-1368-42a2-92c4-5c364d0db00c</value></item-id></result>

2022-07-18 23:05:50 | [Mutex] waiting for: [retracted:item:notifieditem-7951711e-1368-42a2-92c4-5c364d0db00c:admin@test-domain.com]

2022-07-18 23:05:50 | [Mutex] received everything.

2022-07-18 23:05:50 | [Mutex] isItemNotified: retracted:item:notifieditem-7951711e-1368-42a2-92c4-5c364d0db00c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.235s
2022-07-18 23:05:49 |

2022-07-18 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:49 | ------------------------------------

2022-07-18 23:05:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><item-id>item-7951711e-1368-42a2-92c4-5c364d0db00c</item-id></data>

2022-07-18 23:05:50 | 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-0655b03c-442a-498b-8d01-64efafe0f9a8</value></node><item-id type="text-single" label="Item ID"><value>item-7951711e-1368-42a2-92c4-5c364d0db00c</value></item-id><item type="text-multi" label="Item"><value><item id="item-7951711e-1368-42a2-92c4-5c364d0db00c"><test>item-7951711e-1368-42a2-92c4-5c364d0db00c</test></item></value></item></result>

2022-07-18 23:05:50 | [Mutex] notify: [retrieved:item:item-7951711e-1368-42a2-92c4-5c364d0db00c:payload-matches:true:localhost]

2022-07-18 23:05:50 | [Mutex] received everything.

2022-07-18 23:05:50 | [Mutex] isItemNotified: retrieved:item:item-7951711e-1368-42a2-92c4-5c364d0db00c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-18 23:05:50 |

2022-07-18 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:50 | ------------------------------------

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

2022-07-18 23:05:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-0655b03c-442a-498b-8d01-64efafe0f9a8</value><value>node-688615af-735d-4a7d-afa9-aebb0a3e273f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-18 23:05:50 |

2022-07-18 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:50 | ------------------------------------

2022-07-18 23:05: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-0655b03c-442a-498b-8d01-64efafe0f9a8)</node-pattern></data>

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

subscribeNodes 1.112s
2022-07-18 23:05:48 |

2022-07-18 23:05:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:48 | ------------------------------------

2022-07-18 23:05:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-18 23:05: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.280s
2022-07-18 23:05:50 |

2022-07-18 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 23:05:50 | ------------------------------------

2022-07-18 23:05:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0655b03c-442a-498b-8d01-64efafe0f9a8</node><jids><value>admin@test-domain.com</value></jids></data>

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