Generated by TestNG with ReportNG at 22:43 PDT on Tuesday 25 May 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.444s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-05-25 22:59:17 |

2021-05-25 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:17 | ------------------------------------

2021-05-25 22:59:17 | [Mutex] waiting for: [configured:node:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:node-bd2668a2-dad9-4b13-87cd-f1fec5668a41]

2021-05-25 22:59:17 | [Mutex] received everything.

2021-05-25 22:59:17 | [Mutex] isItemNotified: configured:node:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:node-bd2668a2-dad9-4b13-87cd-f1fec5668a41 :: true

2021-05-25 22:59:18 | [Mutex] waiting for: [received:nodes:95dda7d3-9934-4701-9987-f6725863bbe6:localhost]

2021-05-25 22:59:18 | [Mutex] received everything.

2021-05-25 22:59:18 | [Mutex] isItemNotified: received:node:95dda7d3-9934-4701-9987-f6725863bbe6:localhost:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:Node 60ace511-1b7d-4d07-b3ef-97ba0f813972 :: true

2021-05-25 22:59:18 | [Mutex] waiting for: [received:nodes:dfc50bf1-209d-42ea-8828-e9b5e0a415ba:localhost]

2021-05-25 22:59:18 | [Mutex] waiting for: [received:nodes:dfc50bf1-209d-42ea-8828-e9b5e0a415ba:localhost]

2021-05-25 22:59:18 | [Mutex] waiting for: [received:nodes:dfc50bf1-209d-42ea-8828-e9b5e0a415ba:localhost]

2021-05-25 22:59:18 | [Mutex] waiting for: [received:nodes:dfc50bf1-209d-42ea-8828-e9b5e0a415ba:localhost]

2021-05-25 22:59:18 | [Mutex] received everything.

2021-05-25 22:59:18 | [Mutex] isItemNotified: received:node:dfc50bf1-209d-42ea-8828-e9b5e0a415ba:localhost:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:Node 60ace511-1b7d-4d07-b3ef-97ba0f813972 :: false

createNodes 1.496s
2021-05-25 22:59:14 |

2021-05-25 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:14 | ------------------------------------

2021-05-25 22:59:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 60ace511-1b7d-4d07-b3ef-97ba0f813972</title></pubsub></data>

2021-05-25 22:59:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-25 22:59:15 | [Mutex] waiting for: [received:nodes:cb494de6-435a-4a6f-b19f-33b115838aef:localhost]

2021-05-25 22:59:15 | [Mutex] received everything.

2021-05-25 22:59:15 | [Mutex] isItemNotified: received:node:cb494de6-435a-4a6f-b19f-33b115838aef:localhost:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:Node 60ace511-1b7d-4d07-b3ef-97ba0f813972 :: true

createSubnodes 1.030s
2021-05-25 22:59:15 |

2021-05-25 22:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:15 | ------------------------------------

2021-05-25 22:59:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bd2668a2-dad9-4b13-87cd-f1fec5668a41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bd2668a2-dad9-4b13-87cd-f1fec5668a41</title></pubsub></data>

2021-05-25 22:59:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-25 22:59:17 | [Mutex] waiting for: [received:nodes:4f2f119d-5218-4d91-8067-a5852fffd94d:localhost]

2021-05-25 22:59:17 | [Mutex] received everything.

2021-05-25 22:59:17 | [Mutex] isItemNotified: received:node:4f2f119d-5218-4d91-8067-a5852fffd94d:localhost:node-bd2668a2-dad9-4b13-87cd-f1fec5668a41:Node bd2668a2-dad9-4b13-87cd-f1fec5668a41 :: true

deleteNodes 1.026s
2021-05-25 22:59:22 |

2021-05-25 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:22 | ------------------------------------

2021-05-25 22:59:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bd2668a2-dad9-4b13-87cd-f1fec5668a41</node></data>

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

2021-05-25 22:59:23 | [Mutex] waiting for: [received:nodes:cdeec8f8-280b-44d8-9ccf-23583c7f3b43:localhost]

2021-05-25 22:59:23 | [Mutex] received everything.

2021-05-25 22:59:23 | [Mutex] isItemNotified: received:node:cdeec8f8-280b-44d8-9ccf-23583c7f3b43:localhost:node-bd2668a2-dad9-4b13-87cd-f1fec5668a41:Node bd2668a2-dad9-4b13-87cd-f1fec5668a41 :: false

deleteSubnodes 1.159s
2021-05-25 22:59:21 |

2021-05-25 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:21 | ------------------------------------

2021-05-25 22:59:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node></data>

2021-05-25 22:59:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-25 22:59:22 | [Mutex] waiting for: [received:nodes:5779bb97-acd5-411f-813f-28a029d5419c:localhost]

2021-05-25 22:59:22 | [Mutex] received everything.

2021-05-25 22:59:22 | [Mutex] isItemNotified: received:node:5779bb97-acd5-411f-813f-28a029d5419c:localhost:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:Node 60ace511-1b7d-4d07-b3ef-97ba0f813972 :: false

2021-05-25 22:59:22 | [Mutex] waiting for: [received:nodes:f2de06ed-9a52-4590-ab05-2408ed1f614d:localhost]

2021-05-25 22:59:22 | [Mutex] received everything.

2021-05-25 22:59:22 | [Mutex] isItemNotified: received:node:f2de06ed-9a52-4590-ab05-2408ed1f614d:localhost:node-60ace511-1b7d-4d07-b3ef-97ba0f813972:Node 60ace511-1b7d-4d07-b3ef-97ba0f813972 :: false

publishItemsToNodes 0.241s
2021-05-25 22:59:19 |

2021-05-25 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:19 | ------------------------------------

2021-05-25 22:59:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><item-id>item-f5c4857a-f2df-4679-961e-27ef19b2c165</item-id><entry><test>item-f5c4857a-f2df-4679-961e-27ef19b2c165</test></entry></data>

2021-05-25 22:59:19 | 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-f5c4857a-f2df-4679-961e-27ef19b2c165</value></item-id></result>

2021-05-25 22:59:19 | [Mutex] waiting for: [published:item:notifieditem-f5c4857a-f2df-4679-961e-27ef19b2c165:admin@test-domain.com]

2021-05-25 22:59:19 | [Mutex] received everything.

2021-05-25 22:59:19 | [Mutex] isItemNotified: published:item:notifieditem-f5c4857a-f2df-4679-961e-27ef19b2c165:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-05-25 22:59:20 |

2021-05-25 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:20 | ------------------------------------

2021-05-25 22:59:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><item-id>item-f5c4857a-f2df-4679-961e-27ef19b2c165</item-id></data>

2021-05-25 22:59:20 | 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-f5c4857a-f2df-4679-961e-27ef19b2c165</value></item-id></result>

2021-05-25 22:59:20 | [Mutex] received everything.

2021-05-25 22:59:20 | [Mutex] isItemNotified: retracted:item:notifieditem-f5c4857a-f2df-4679-961e-27ef19b2c165:admin@test-domain.com :: true

retrieveItemsFromNodes 0.376s
2021-05-25 22:59:19 |

2021-05-25 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:19 | ------------------------------------

2021-05-25 22:59:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><item-id>item-f5c4857a-f2df-4679-961e-27ef19b2c165</item-id></data>

2021-05-25 22:59:19 | 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-60ace511-1b7d-4d07-b3ef-97ba0f813972</value></node><item-id label="Item ID" type="text-single"><value>item-f5c4857a-f2df-4679-961e-27ef19b2c165</value></item-id><item label="Item" type="text-multi"><value><item id="item-f5c4857a-f2df-4679-961e-27ef19b2c165"><test>item-f5c4857a-f2df-4679-961e-27ef19b2c165</test></item></value></item></result>

2021-05-25 22:59:19 | [Mutex] notify: [retrieved:item:item-f5c4857a-f2df-4679-961e-27ef19b2c165:payload-matches:true:localhost]

2021-05-25 22:59:19 | [Mutex] received everything.

2021-05-25 22:59:19 | [Mutex] isItemNotified: retrieved:item:item-f5c4857a-f2df-4679-961e-27ef19b2c165:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-25 22:59:19 |

2021-05-25 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:19 | ------------------------------------

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

2021-05-25 22:59:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</value><value>test</value><value>node-bd2668a2-dad9-4b13-87cd-f1fec5668a41</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-25 22:59:20 |

2021-05-25 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:20 | ------------------------------------

2021-05-25 22:59:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-60ace511-1b7d-4d07-b3ef-97ba0f813972)</node-pattern></data>

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

subscribeNodes 1.201s
2021-05-25 22:59:18 |

2021-05-25 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:18 | ------------------------------------

2021-05-25 22:59:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.395s
2021-05-25 22:59:20 |

2021-05-25 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:20 | ------------------------------------

2021-05-25 22:59:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-60ace511-1b7d-4d07-b3ef-97ba0f813972</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-25 22:59:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>