Generated by TestNG with ReportNG at 22:21 PDT on Tuesday 27 September 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.439s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-09-27 22:36:42 |

2022-09-27 22:36:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:42 | ------------------------------------

2022-09-27 22:36:42 | [Mutex] waiting for: [configured:node:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:node-73dd48d9-d6c8-4beb-8fe5-7508c588c068]

2022-09-27 22:36:42 | [Mutex] received everything.

2022-09-27 22:36:42 | [Mutex] isItemNotified: configured:node:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:node-73dd48d9-d6c8-4beb-8fe5-7508c588c068 :: true

2022-09-27 22:36:43 | [Mutex] waiting for: [received:nodes:fb08d374-eb73-40c0-a0c0-13da676c53b8:localhost]

2022-09-27 22:36:43 | [Mutex] received everything.

2022-09-27 22:36:43 | [Mutex] isItemNotified: received:node:fb08d374-eb73-40c0-a0c0-13da676c53b8:localhost:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff :: true

2022-09-27 22:36:43 | [Mutex] waiting for: [received:nodes:c3933e70-64ad-48cc-be53-05b31029ff4a:localhost]

2022-09-27 22:36:43 | [Mutex] waiting for: [received:nodes:c3933e70-64ad-48cc-be53-05b31029ff4a:localhost]

2022-09-27 22:36:43 | [Mutex] received everything.

2022-09-27 22:36:43 | [Mutex] isItemNotified: received:node:c3933e70-64ad-48cc-be53-05b31029ff4a:localhost:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff :: false

createNodes 1.416s
2022-09-27 22:36:40 |

2022-09-27 22:36:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:40 | ------------------------------------

2022-09-27 22:36:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff</title></pubsub></data>

2022-09-27 22:36:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 22:36:41 | [Mutex] waiting for: [received:nodes:1e0f37da-c548-4cd7-afe4-da6afd934432:localhost]

2022-09-27 22:36:41 | [Mutex] received everything.

2022-09-27 22:36:41 | [Mutex] isItemNotified: received:node:1e0f37da-c548-4cd7-afe4-da6afd934432:localhost:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff :: true

createSubnodes 1.029s
2022-09-27 22:36:41 |

2022-09-27 22:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:41 | ------------------------------------

2022-09-27 22:36:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-73dd48d9-d6c8-4beb-8fe5-7508c588c068</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73dd48d9-d6c8-4beb-8fe5-7508c588c068</title></pubsub></data>

2022-09-27 22:36:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 22:36:42 | [Mutex] waiting for: [received:nodes:bce04b9a-459b-4b51-9b31-38c766a091d1:localhost]

2022-09-27 22:36:42 | [Mutex] received everything.

2022-09-27 22:36:42 | [Mutex] isItemNotified: received:node:bce04b9a-459b-4b51-9b31-38c766a091d1:localhost:node-73dd48d9-d6c8-4beb-8fe5-7508c588c068:Node 73dd48d9-d6c8-4beb-8fe5-7508c588c068 :: true

deleteNodes 1.017s
2022-09-27 22:36:48 |

2022-09-27 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:48 | ------------------------------------

2022-09-27 22:36:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-73dd48d9-d6c8-4beb-8fe5-7508c588c068</node></data>

2022-09-27 22:36:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 22:36:49 | [Mutex] waiting for: [received:nodes:003d310f-a68b-4976-93a6-a00c32be5059:localhost]

2022-09-27 22:36:49 | [Mutex] received everything.

2022-09-27 22:36:49 | [Mutex] isItemNotified: received:node:003d310f-a68b-4976-93a6-a00c32be5059:localhost:node-73dd48d9-d6c8-4beb-8fe5-7508c588c068:Node 73dd48d9-d6c8-4beb-8fe5-7508c588c068 :: false

deleteSubnodes 1.144s
2022-09-27 22:36:46 |

2022-09-27 22:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:46 | ------------------------------------

2022-09-27 22:36:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node></data>

2022-09-27 22:36:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-27 22:36:47 | [Mutex] waiting for: [received:nodes:2a1eff9e-605a-4fca-908f-1ce8265d6305:localhost]

2022-09-27 22:36:48 | [Mutex] received everything.

2022-09-27 22:36:48 | [Mutex] isItemNotified: received:node:2a1eff9e-605a-4fca-908f-1ce8265d6305:localhost:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff :: false

2022-09-27 22:36:48 | [Mutex] waiting for: [received:nodes:4a52f7e5-6466-4b9e-b30c-728de896286c:localhost]

2022-09-27 22:36:48 | [Mutex] received everything.

2022-09-27 22:36:48 | [Mutex] isItemNotified: received:node:4a52f7e5-6466-4b9e-b30c-728de896286c:localhost:node-4f18a6b1-9b6d-4dfd-9681-479f0731adff:Node 4f18a6b1-9b6d-4dfd-9681-479f0731adff :: false

publishItemsToNodes 0.195s
2022-09-27 22:36:44 |

2022-09-27 22:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:44 | ------------------------------------

2022-09-27 22:36:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><item-id>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</item-id><entry><test>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</test></entry></data>

2022-09-27 22:36:45 | 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-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</value></item-id></result>

2022-09-27 22:36:45 | [Mutex] waiting for: [published:item:notifieditem-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e:admin@test-domain.com]

2022-09-27 22:36:45 | [Mutex] received everything.

2022-09-27 22:36:45 | [Mutex] isItemNotified: published:item:notifieditem-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2022-09-27 22:36:45 |

2022-09-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:45 | ------------------------------------

2022-09-27 22:36:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><item-id>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</item-id></data>

2022-09-27 22:36:45 | 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-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</value></item-id></result>

2022-09-27 22:36:45 | [Mutex] received everything.

2022-09-27 22:36:45 | [Mutex] isItemNotified: retracted:item:notifieditem-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.196s
2022-09-27 22:36:45 |

2022-09-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:45 | ------------------------------------

2022-09-27 22:36:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><item-id>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</item-id></data>

2022-09-27 22:36:45 | 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-4f18a6b1-9b6d-4dfd-9681-479f0731adff</value></node><item-id label="Item ID" type="text-single"><value>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</value></item-id><item label="Item" type="text-multi"><value><item id="item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e"><test>item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e</test></item></value></item></result>

2022-09-27 22:36:45 | [Mutex] notify: [retrieved:item:item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e:payload-matches:true:localhost]

2022-09-27 22:36:45 | [Mutex] received everything.

2022-09-27 22:36:45 | [Mutex] isItemNotified: retrieved:item:item-01fb8f83-c53e-4dcd-9019-11f9ba2cfb9e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-09-27 22:36:45 |

2022-09-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:45 | ------------------------------------

2022-09-27 22:36:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-27 22:36:45 | 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-73dd48d9-d6c8-4beb-8fe5-7508c588c068</value><value>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-27 22:36:45 |

2022-09-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:45 | ------------------------------------

2022-09-27 22:36:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f18a6b1-9b6d-4dfd-9681-479f0731adff)</node-pattern></data>

2022-09-27 22:36:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.150s
2022-09-27 22:36:43 |

2022-09-27 22:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:43 | ------------------------------------

2022-09-27 22:36:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-27 22:36:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.205s
2022-09-27 22:36:45 |

2022-09-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-27 22:36:45 | ------------------------------------

2022-09-27 22:36:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4f18a6b1-9b6d-4dfd-9681-479f0731adff</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-27 22:36:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>