Generated by TestNG with ReportNG at 22:18 PDT on Thursday 30 June 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.610s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-06-30 22:32:31 |

2022-06-30 22:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:31 | ------------------------------------

2022-06-30 22:32:31 | [Mutex] waiting for: [configured:node:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b]

2022-06-30 22:32:31 | [Mutex] received everything.

2022-06-30 22:32:31 | [Mutex] isItemNotified: configured:node:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b :: true

2022-06-30 22:32:32 | [Mutex] waiting for: [received:nodes:f5b20f84-2bc6-4e7b-a95f-acaf2fccecf1:localhost]

2022-06-30 22:32:32 | [Mutex] received everything.

2022-06-30 22:32:32 | [Mutex] isItemNotified: received:node:f5b20f84-2bc6-4e7b-a95f-acaf2fccecf1:localhost:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288 :: true

2022-06-30 22:32:32 | [Mutex] waiting for: [received:nodes:dc95946a-db8e-4b1e-9d67-de366dcd6969:localhost]

2022-06-30 22:32:32 | [Mutex] waiting for: [received:nodes:dc95946a-db8e-4b1e-9d67-de366dcd6969:localhost]

2022-06-30 22:32:32 | [Mutex] waiting for: [received:nodes:dc95946a-db8e-4b1e-9d67-de366dcd6969:localhost]

2022-06-30 22:32:32 | [Mutex] received everything.

2022-06-30 22:32:32 | [Mutex] isItemNotified: received:node:dc95946a-db8e-4b1e-9d67-de366dcd6969:localhost:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288 :: false

createNodes 1.440s
2022-06-30 22:32:28 |

2022-06-30 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:28 | ------------------------------------

2022-06-30 22:32:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288</title></pubsub></data>

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

2022-06-30 22:32:30 | [Mutex] waiting for: [received:nodes:d1330350-7bdd-4b25-abda-608ef7e6679b:localhost]

2022-06-30 22:32:30 | [Mutex] received everything.

2022-06-30 22:32:30 | [Mutex] isItemNotified: received:node:d1330350-7bdd-4b25-abda-608ef7e6679b:localhost:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288 :: true

createSubnodes 1.031s
2022-06-30 22:32:30 |

2022-06-30 22:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:30 | ------------------------------------

2022-06-30 22:32:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4b23ff78-0e14-44e8-b57f-8fff9dd53f1b</title></pubsub></data>

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

2022-06-30 22:32:31 | [Mutex] waiting for: [received:nodes:cd578a67-a3fc-4280-8958-94b8196239ca:localhost]

2022-06-30 22:32:31 | [Mutex] received everything.

2022-06-30 22:32:31 | [Mutex] isItemNotified: received:node:cd578a67-a3fc-4280-8958-94b8196239ca:localhost:node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b:Node 4b23ff78-0e14-44e8-b57f-8fff9dd53f1b :: true

deleteNodes 1.018s
2022-06-30 22:32:36 |

2022-06-30 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:36 | ------------------------------------

2022-06-30 22:32:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b</node></data>

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

2022-06-30 22:32:37 | [Mutex] waiting for: [received:nodes:34afa005-69b3-4495-b333-0d1b88ee159f:localhost]

2022-06-30 22:32:37 | [Mutex] received everything.

2022-06-30 22:32:37 | [Mutex] isItemNotified: received:node:34afa005-69b3-4495-b333-0d1b88ee159f:localhost:node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b:Node 4b23ff78-0e14-44e8-b57f-8fff9dd53f1b :: false

deleteSubnodes 1.134s
2022-06-30 22:32:35 |

2022-06-30 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:35 | ------------------------------------

2022-06-30 22:32:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node></data>

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

2022-06-30 22:32:36 | [Mutex] waiting for: [received:nodes:52701941-783b-42ef-827f-01a4b92d5191:localhost]

2022-06-30 22:32:36 | [Mutex] received everything.

2022-06-30 22:32:36 | [Mutex] isItemNotified: received:node:52701941-783b-42ef-827f-01a4b92d5191:localhost:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288 :: false

2022-06-30 22:32:36 | [Mutex] waiting for: [received:nodes:eb6b0aba-e15d-42f9-87e2-5911ec2ed537:localhost]

2022-06-30 22:32:36 | [Mutex] received everything.

2022-06-30 22:32:36 | [Mutex] isItemNotified: received:node:eb6b0aba-e15d-42f9-87e2-5911ec2ed537:localhost:node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288:Node cd2a0b23-65cb-4b33-b660-b68d9f6c9288 :: false

publishItemsToNodes 0.188s
2022-06-30 22:32:33 |

2022-06-30 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:33 | ------------------------------------

2022-06-30 22:32:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><item-id>item-0fb69ddd-9000-4f60-81ac-12469947128a</item-id><entry><test>item-0fb69ddd-9000-4f60-81ac-12469947128a</test></entry></data>

2022-06-30 22:32:33 | 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-0fb69ddd-9000-4f60-81ac-12469947128a</value></item-id></result>

2022-06-30 22:32:33 | [Mutex] waiting for: [published:item:notifieditem-0fb69ddd-9000-4f60-81ac-12469947128a:admin@test-domain.com]

2022-06-30 22:32:33 | [Mutex] received everything.

2022-06-30 22:32:33 | [Mutex] isItemNotified: published:item:notifieditem-0fb69ddd-9000-4f60-81ac-12469947128a:admin@test-domain.com :: true

retractItemsFromNodes 0.273s
2022-06-30 22:32:33 |

2022-06-30 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:33 | ------------------------------------

2022-06-30 22:32:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><item-id>item-0fb69ddd-9000-4f60-81ac-12469947128a</item-id></data>

2022-06-30 22:32:34 | 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-0fb69ddd-9000-4f60-81ac-12469947128a</value></item-id></result>

2022-06-30 22:32:34 | [Mutex] received everything.

2022-06-30 22:32:34 | [Mutex] isItemNotified: retracted:item:notifieditem-0fb69ddd-9000-4f60-81ac-12469947128a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2022-06-30 22:32:33 |

2022-06-30 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:33 | ------------------------------------

2022-06-30 22:32:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><item-id>item-0fb69ddd-9000-4f60-81ac-12469947128a</item-id></data>

2022-06-30 22:32:33 | 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-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</value></node><item-id label="Item ID" type="text-single"><value>item-0fb69ddd-9000-4f60-81ac-12469947128a</value></item-id><item label="Item" type="text-multi"><value><item id="item-0fb69ddd-9000-4f60-81ac-12469947128a"><test>item-0fb69ddd-9000-4f60-81ac-12469947128a</test></item></value></item></result>

2022-06-30 22:32:33 | [Mutex] notify: [retrieved:item:item-0fb69ddd-9000-4f60-81ac-12469947128a:payload-matches:true:localhost]

2022-06-30 22:32:33 | [Mutex] received everything.

2022-06-30 22:32:33 | [Mutex] isItemNotified: retrieved:item:item-0fb69ddd-9000-4f60-81ac-12469947128a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-30 22:32:33 |

2022-06-30 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:33 | ------------------------------------

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

2022-06-30 22:32:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</value><value>test</value><value>node-4b23ff78-0e14-44e8-b57f-8fff9dd53f1b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-06-30 22:32:33 |

2022-06-30 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:33 | ------------------------------------

2022-06-30 22:32:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288)</node-pattern></data>

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

subscribeNodes 1.109s
2022-06-30 22:32:32 |

2022-06-30 22:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:32 | ------------------------------------

2022-06-30 22:32:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.230s
2022-06-30 22:32:34 |

2022-06-30 22:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 22:32:34 | ------------------------------------

2022-06-30 22:32:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cd2a0b23-65cb-4b33-b660-b68d9f6c9288</node><jids><value>admin@test-domain.com</value></jids></data>

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