Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 24 May 2023
root@8f5c98824654 / Java 17.0.6 (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.604s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-05-24 22:45:22 |

2023-05-24 22:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:22 | ------------------------------------

2023-05-24 22:45:22 | [Mutex] waiting for: [configured:node:node-1c5d2678-3cd7-47e3-939a-736e0443986b:node-90699afb-ed01-4531-8b49-53d974896afd]

2023-05-24 22:45:22 | [Mutex] received everything.

2023-05-24 22:45:22 | [Mutex] isItemNotified: configured:node:node-1c5d2678-3cd7-47e3-939a-736e0443986b:node-90699afb-ed01-4531-8b49-53d974896afd :: true

2023-05-24 22:45:23 | [Mutex] waiting for: [received:nodes:009ba1b8-0270-4ccf-b1e0-b98aae5a1e8c:localhost]

2023-05-24 22:45:23 | [Mutex] received everything.

2023-05-24 22:45:23 | [Mutex] isItemNotified: received:node:009ba1b8-0270-4ccf-b1e0-b98aae5a1e8c:localhost:node-1c5d2678-3cd7-47e3-939a-736e0443986b:Node 1c5d2678-3cd7-47e3-939a-736e0443986b :: true

2023-05-24 22:45:24 | [Mutex] waiting for: [received:nodes:39b5ee18-d229-4d63-b14f-237f44a2ea65:localhost]

2023-05-24 22:45:24 | [Mutex] waiting for: [received:nodes:39b5ee18-d229-4d63-b14f-237f44a2ea65:localhost]

2023-05-24 22:45:24 | [Mutex] waiting for: [received:nodes:39b5ee18-d229-4d63-b14f-237f44a2ea65:localhost]

2023-05-24 22:45:24 | [Mutex] waiting for: [received:nodes:39b5ee18-d229-4d63-b14f-237f44a2ea65:localhost]

2023-05-24 22:45:24 | [Mutex] received everything.

2023-05-24 22:45:24 | [Mutex] isItemNotified: received:node:39b5ee18-d229-4d63-b14f-237f44a2ea65:localhost:node-1c5d2678-3cd7-47e3-939a-736e0443986b:Node 1c5d2678-3cd7-47e3-939a-736e0443986b :: false

createNodes 1.550s
2023-05-24 22:45:20 |

2023-05-24 22:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:20 | ------------------------------------

2023-05-24 22:45:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1c5d2678-3cd7-47e3-939a-736e0443986b</title></pubsub></data>

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

2023-05-24 22:45:21 | [Mutex] waiting for: [received:nodes:f5cf1a39-5f9a-4c4e-a36f-bc317d5a612b:localhost]

2023-05-24 22:45:21 | [Mutex] waiting for: [received:nodes:f5cf1a39-5f9a-4c4e-a36f-bc317d5a612b:localhost]

2023-05-24 22:45:21 | [Mutex] waiting for: [received:nodes:f5cf1a39-5f9a-4c4e-a36f-bc317d5a612b:localhost]

2023-05-24 22:45:21 | [Mutex] waiting for: [received:nodes:f5cf1a39-5f9a-4c4e-a36f-bc317d5a612b:localhost]

2023-05-24 22:45:21 | [Mutex] received everything.

2023-05-24 22:45:21 | [Mutex] isItemNotified: received:node:f5cf1a39-5f9a-4c4e-a36f-bc317d5a612b:localhost:node-1c5d2678-3cd7-47e3-939a-736e0443986b:Node 1c5d2678-3cd7-47e3-939a-736e0443986b :: true

createSubnodes 1.031s
2023-05-24 22:45:21 |

2023-05-24 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:21 | ------------------------------------

2023-05-24 22:45:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-90699afb-ed01-4531-8b49-53d974896afd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 90699afb-ed01-4531-8b49-53d974896afd</title></pubsub></data>

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

2023-05-24 22:45:22 | [Mutex] waiting for: [received:nodes:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost]

2023-05-24 22:45:22 | [Mutex] waiting for: [received:nodes:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost]

2023-05-24 22:45:22 | [Mutex] waiting for: [received:nodes:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost]

2023-05-24 22:45:22 | [Mutex] waiting for: [received:nodes:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost]

2023-05-24 22:45:22 | [Mutex] waiting for: [received:nodes:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost]

2023-05-24 22:45:22 | [Mutex] received everything.

2023-05-24 22:45:22 | [Mutex] isItemNotified: received:node:71cfe902-7e11-44a3-9dd9-2f198c999663:localhost:node-90699afb-ed01-4531-8b49-53d974896afd:Node 90699afb-ed01-4531-8b49-53d974896afd :: true

deleteNodes 1.029s
2023-05-24 22:45:28 |

2023-05-24 22:45:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:28 | ------------------------------------

2023-05-24 22:45:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-90699afb-ed01-4531-8b49-53d974896afd</node></data>

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

2023-05-24 22:45:29 | [Mutex] waiting for: [received:nodes:a0ea4e28-9b90-49b9-a5ee-192c11825503:localhost]

2023-05-24 22:45:29 | [Mutex] waiting for: [received:nodes:a0ea4e28-9b90-49b9-a5ee-192c11825503:localhost]

2023-05-24 22:45:29 | [Mutex] waiting for: [received:nodes:a0ea4e28-9b90-49b9-a5ee-192c11825503:localhost]

2023-05-24 22:45:29 | [Mutex] received everything.

2023-05-24 22:45:29 | [Mutex] isItemNotified: received:node:a0ea4e28-9b90-49b9-a5ee-192c11825503:localhost:node-90699afb-ed01-4531-8b49-53d974896afd:Node 90699afb-ed01-4531-8b49-53d974896afd :: false

deleteSubnodes 1.158s
2023-05-24 22:45:27 |

2023-05-24 22:45:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:27 | ------------------------------------

2023-05-24 22:45:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node></data>

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

2023-05-24 22:45:28 | [Mutex] waiting for: [received:nodes:b0ea49f4-e2d1-407e-9a60-dc519010d2de:localhost]

2023-05-24 22:45:28 | [Mutex] waiting for: [received:nodes:b0ea49f4-e2d1-407e-9a60-dc519010d2de:localhost]

2023-05-24 22:45:28 | [Mutex] received everything.

2023-05-24 22:45:28 | [Mutex] isItemNotified: received:node:b0ea49f4-e2d1-407e-9a60-dc519010d2de:localhost:node-1c5d2678-3cd7-47e3-939a-736e0443986b:Node 1c5d2678-3cd7-47e3-939a-736e0443986b :: false

2023-05-24 22:45:28 | [Mutex] waiting for: [received:nodes:7e924fbd-b524-4182-a546-6eb8c1f9a6f6:localhost]

2023-05-24 22:45:28 | [Mutex] received everything.

2023-05-24 22:45:28 | [Mutex] isItemNotified: received:node:7e924fbd-b524-4182-a546-6eb8c1f9a6f6:localhost:node-1c5d2678-3cd7-47e3-939a-736e0443986b:Node 1c5d2678-3cd7-47e3-939a-736e0443986b :: false

publishItemsToNodes 0.238s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

2023-05-24 22:45:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><item-id>item-4093afc3-fe97-44cb-84f3-61f0de39268e</item-id><entry><test>item-4093afc3-fe97-44cb-84f3-61f0de39268e</test></entry></data>

2023-05-24 22:45:25 | 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-4093afc3-fe97-44cb-84f3-61f0de39268e</value></item-id></result>

2023-05-24 22:45:25 | [Mutex] received everything.

2023-05-24 22:45:25 | [Mutex] isItemNotified: published:item:notifieditem-4093afc3-fe97-44cb-84f3-61f0de39268e:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

2023-05-24 22:45:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><item-id>item-4093afc3-fe97-44cb-84f3-61f0de39268e</item-id></data>

2023-05-24 22:45:25 | 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-4093afc3-fe97-44cb-84f3-61f0de39268e</value></item-id></result>

2023-05-24 22:45:25 | [Mutex] received everything.

2023-05-24 22:45:25 | [Mutex] isItemNotified: retracted:item:notifieditem-4093afc3-fe97-44cb-84f3-61f0de39268e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

2023-05-24 22:45:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><item-id>item-4093afc3-fe97-44cb-84f3-61f0de39268e</item-id></data>

2023-05-24 22:45:25 | 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-1c5d2678-3cd7-47e3-939a-736e0443986b</value></node><item-id type="text-single" label="Item ID"><value>item-4093afc3-fe97-44cb-84f3-61f0de39268e</value></item-id><item type="text-multi" label="Item"><value><item id="item-4093afc3-fe97-44cb-84f3-61f0de39268e"><test>item-4093afc3-fe97-44cb-84f3-61f0de39268e</test></item></value></item></result>

2023-05-24 22:45:25 | [Mutex] notify: [retrieved:item:item-4093afc3-fe97-44cb-84f3-61f0de39268e:payload-matches:true:localhost]

2023-05-24 22:45:25 | [Mutex] received everything.

2023-05-24 22:45:25 | [Mutex] isItemNotified: retrieved:item:item-4093afc3-fe97-44cb-84f3-61f0de39268e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

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

2023-05-24 22:45:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-90699afb-ed01-4531-8b49-53d974896afd</value><value>test</value><value>node-1c5d2678-3cd7-47e3-939a-736e0443986b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

2023-05-24 22:45:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1c5d2678-3cd7-47e3-939a-736e0443986b)</node-pattern></data>

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

subscribeNodes 1.106s
2023-05-24 22:45:24 |

2023-05-24 22:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:24 | ------------------------------------

2023-05-24 22:45:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2023-05-24 22:45:25 |

2023-05-24 22:45:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:45:25 | ------------------------------------

2023-05-24 22:45:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1c5d2678-3cd7-47e3-939a-736e0443986b</node><jids><value>admin@test-domain.com</value></jids></data>

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