Generated by TestNG with ReportNG at 22:22 PDT on Sunday 01 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.639s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-05-01 22:36:51 |

2022-05-01 22:36:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:51 | ------------------------------------

2022-05-01 22:36:51 | [Mutex] waiting for: [configured:node:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b]

2022-05-01 22:36:51 | [Mutex] received everything.

2022-05-01 22:36:51 | [Mutex] isItemNotified: configured:node:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b :: true

2022-05-01 22:36:52 | [Mutex] waiting for: [received:nodes:7dd738b9-a4bb-4341-bd4a-e5d4e192e1ec:localhost]

2022-05-01 22:36:52 | [Mutex] received everything.

2022-05-01 22:36:52 | [Mutex] isItemNotified: received:node:7dd738b9-a4bb-4341-bd4a-e5d4e192e1ec:localhost:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507 :: true

2022-05-01 22:36:52 | [Mutex] waiting for: [received:nodes:a462163c-bc68-43e6-a825-cf397d24132b:localhost]

2022-05-01 22:36:52 | [Mutex] received everything.

2022-05-01 22:36:52 | [Mutex] isItemNotified: received:node:a462163c-bc68-43e6-a825-cf397d24132b:localhost:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507 :: false

createNodes 1.507s
2022-05-01 22:36:49 |

2022-05-01 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:49 | ------------------------------------

2022-05-01 22:36:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507</title></pubsub></data>

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

2022-05-01 22:36:50 | [Mutex] waiting for: [received:nodes:6ff0968e-445d-4b91-a8d1-90e1af40a45e:localhost]

2022-05-01 22:36:50 | [Mutex] received everything.

2022-05-01 22:36:50 | [Mutex] isItemNotified: received:node:6ff0968e-445d-4b91-a8d1-90e1af40a45e:localhost:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507 :: true

createSubnodes 1.033s
2022-05-01 22:36:50 |

2022-05-01 22:36:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:50 | ------------------------------------

2022-05-01 22:36:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bdbb807d-eafd-4cdf-8c38-c56066b59e5b</title></pubsub></data>

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

2022-05-01 22:36:51 | [Mutex] waiting for: [received:nodes:d0448629-d6f8-442b-96c4-98670e7afa71:localhost]

2022-05-01 22:36:51 | [Mutex] received everything.

2022-05-01 22:36:51 | [Mutex] isItemNotified: received:node:d0448629-d6f8-442b-96c4-98670e7afa71:localhost:node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b:Node bdbb807d-eafd-4cdf-8c38-c56066b59e5b :: true

deleteNodes 1.017s
2022-05-01 22:36:56 |

2022-05-01 22:36:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:56 | ------------------------------------

2022-05-01 22:36:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b</node></data>

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

2022-05-01 22:36:57 | [Mutex] waiting for: [received:nodes:7fd97d94-16e0-4425-87b2-592a9114909b:localhost]

2022-05-01 22:36:57 | [Mutex] waiting for: [received:nodes:7fd97d94-16e0-4425-87b2-592a9114909b:localhost]

2022-05-01 22:36:57 | [Mutex] received everything.

2022-05-01 22:36:57 | [Mutex] isItemNotified: received:node:7fd97d94-16e0-4425-87b2-592a9114909b:localhost:node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b:Node bdbb807d-eafd-4cdf-8c38-c56066b59e5b :: false

deleteSubnodes 1.122s
2022-05-01 22:36:55 |

2022-05-01 22:36:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:55 | ------------------------------------

2022-05-01 22:36:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node></data>

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

2022-05-01 22:36:56 | [Mutex] waiting for: [received:nodes:1a8c9489-3cc6-45ba-ab08-1b3c0231898f:localhost]

2022-05-01 22:36:56 | [Mutex] waiting for: [received:nodes:1a8c9489-3cc6-45ba-ab08-1b3c0231898f:localhost]

2022-05-01 22:36:56 | [Mutex] waiting for: [received:nodes:1a8c9489-3cc6-45ba-ab08-1b3c0231898f:localhost]

2022-05-01 22:36:56 | [Mutex] waiting for: [received:nodes:1a8c9489-3cc6-45ba-ab08-1b3c0231898f:localhost]

2022-05-01 22:36:56 | [Mutex] received everything.

2022-05-01 22:36:56 | [Mutex] isItemNotified: received:node:1a8c9489-3cc6-45ba-ab08-1b3c0231898f:localhost:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507 :: false

2022-05-01 22:36:56 | [Mutex] waiting for: [received:nodes:bf060152-5792-47d4-a45f-ed3f765f0e96:localhost]

2022-05-01 22:36:56 | [Mutex] received everything.

2022-05-01 22:36:56 | [Mutex] isItemNotified: received:node:bf060152-5792-47d4-a45f-ed3f765f0e96:localhost:node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507:Node c3cc4f65-da74-4d5c-a6fc-0daf9351d507 :: false

publishItemsToNodes 0.198s
2022-05-01 22:36:53 |

2022-05-01 22:36:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:53 | ------------------------------------

2022-05-01 22:36:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><item-id>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</item-id><entry><test>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</test></entry></data>

2022-05-01 22:36:54 | 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-167e7f97-08c2-4c7b-a3ae-96261d9f3179</value></item-id></result>

2022-05-01 22:36:54 | [Mutex] received everything.

2022-05-01 22:36:54 | [Mutex] isItemNotified: published:item:notifieditem-167e7f97-08c2-4c7b-a3ae-96261d9f3179:admin@test-domain.com :: true

retractItemsFromNodes 0.221s
2022-05-01 22:36:54 |

2022-05-01 22:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:54 | ------------------------------------

2022-05-01 22:36:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><item-id>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</item-id></data>

2022-05-01 22:36:54 | 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-167e7f97-08c2-4c7b-a3ae-96261d9f3179</value></item-id></result>

2022-05-01 22:36:54 | [Mutex] waiting for: [retracted:item:notifieditem-167e7f97-08c2-4c7b-a3ae-96261d9f3179:admin@test-domain.com]

2022-05-01 22:36:54 | [Mutex] received everything.

2022-05-01 22:36:54 | [Mutex] isItemNotified: retracted:item:notifieditem-167e7f97-08c2-4c7b-a3ae-96261d9f3179:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2022-05-01 22:36:54 |

2022-05-01 22:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:54 | ------------------------------------

2022-05-01 22:36:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><item-id>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</item-id></data>

2022-05-01 22:36:54 | 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-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</value></node><item-id label="Item ID" type="text-single"><value>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</value></item-id><item label="Item" type="text-multi"><value><item id="item-167e7f97-08c2-4c7b-a3ae-96261d9f3179"><test>item-167e7f97-08c2-4c7b-a3ae-96261d9f3179</test></item></value></item></result>

2022-05-01 22:36:54 | [Mutex] notify: [retrieved:item:item-167e7f97-08c2-4c7b-a3ae-96261d9f3179:payload-matches:true:localhost]

2022-05-01 22:36:54 | [Mutex] received everything.

2022-05-01 22:36:54 | [Mutex] isItemNotified: retrieved:item:item-167e7f97-08c2-4c7b-a3ae-96261d9f3179:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-01 22:36:54 |

2022-05-01 22:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:54 | ------------------------------------

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

2022-05-01 22:36:54 | 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-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</value><value>node-bdbb807d-eafd-4cdf-8c38-c56066b59e5b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-05-01 22:36:54 |

2022-05-01 22:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:54 | ------------------------------------

2022-05-01 22:36:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507)</node-pattern></data>

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

subscribeNodes 1.154s
2022-05-01 22:36:52 |

2022-05-01 22:36:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:52 | ------------------------------------

2022-05-01 22:36:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.189s
2022-05-01 22:36:54 |

2022-05-01 22:36:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-01 22:36:54 | ------------------------------------

2022-05-01 22:36:54 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c3cc4f65-da74-4d5c-a6fc-0daf9351d507</node><jids><value>admin@test-domain.com</value></jids></data>

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