Generated by TestNG with ReportNG at 22:06 PST on Monday 06 December 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.510s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.136s
2021-12-06 22:25:24 |

2021-12-06 22:25:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:24 | ------------------------------------

2021-12-06 22:25:24 | [Mutex] waiting for: [configured:node:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:node-0a935279-f796-4ceb-a019-89ea798697b1]

2021-12-06 22:25:25 | [Mutex] received everything.

2021-12-06 22:25:25 | [Mutex] isItemNotified: configured:node:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:node-0a935279-f796-4ceb-a019-89ea798697b1 :: true

2021-12-06 22:25:26 | [Mutex] waiting for: [received:nodes:d8e5ff15-8566-49a0-9fb9-125352b5ca5b:localhost]

2021-12-06 22:25:26 | [Mutex] waiting for: [received:nodes:d8e5ff15-8566-49a0-9fb9-125352b5ca5b:localhost]

2021-12-06 22:25:26 | [Mutex] received everything.

2021-12-06 22:25:26 | [Mutex] isItemNotified: received:node:d8e5ff15-8566-49a0-9fb9-125352b5ca5b:localhost:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:Node 42407fa9-f9f5-441a-98bf-285bc9355bd9 :: true

2021-12-06 22:25:26 | [Mutex] waiting for: [received:nodes:9c3dd431-a4ae-4b54-8e4b-9573aacd8984:localhost]

2021-12-06 22:25:26 | [Mutex] waiting for: [received:nodes:9c3dd431-a4ae-4b54-8e4b-9573aacd8984:localhost]

2021-12-06 22:25:26 | [Mutex] received everything.

2021-12-06 22:25:26 | [Mutex] isItemNotified: received:node:9c3dd431-a4ae-4b54-8e4b-9573aacd8984:localhost:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:Node 42407fa9-f9f5-441a-98bf-285bc9355bd9 :: false

createNodes 1.590s
2021-12-06 22:25:22 |

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

2021-12-06 22:25:22 | ------------------------------------

2021-12-06 22:25:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 42407fa9-f9f5-441a-98bf-285bc9355bd9</title></pubsub></data>

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

2021-12-06 22:25:23 | [Mutex] waiting for: [received:nodes:3e488cf4-75c3-48c8-9f25-bdefe49522ae:localhost]

2021-12-06 22:25:23 | [Mutex] received everything.

2021-12-06 22:25:23 | [Mutex] isItemNotified: received:node:3e488cf4-75c3-48c8-9f25-bdefe49522ae:localhost:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:Node 42407fa9-f9f5-441a-98bf-285bc9355bd9 :: true

createSubnodes 1.027s
2021-12-06 22:25:23 |

2021-12-06 22:25:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:23 | ------------------------------------

2021-12-06 22:25:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a935279-f796-4ceb-a019-89ea798697b1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0a935279-f796-4ceb-a019-89ea798697b1</title></pubsub></data>

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

2021-12-06 22:25:24 | [Mutex] waiting for: [received:nodes:bd6921c2-f2dd-43d3-90e8-1e2de95a55b4:localhost]

2021-12-06 22:25:24 | [Mutex] waiting for: [received:nodes:bd6921c2-f2dd-43d3-90e8-1e2de95a55b4:localhost]

2021-12-06 22:25:24 | [Mutex] waiting for: [received:nodes:bd6921c2-f2dd-43d3-90e8-1e2de95a55b4:localhost]

2021-12-06 22:25:24 | [Mutex] waiting for: [received:nodes:bd6921c2-f2dd-43d3-90e8-1e2de95a55b4:localhost]

2021-12-06 22:25:24 | [Mutex] received everything.

2021-12-06 22:25:24 | [Mutex] isItemNotified: received:node:bd6921c2-f2dd-43d3-90e8-1e2de95a55b4:localhost:node-0a935279-f796-4ceb-a019-89ea798697b1:Node 0a935279-f796-4ceb-a019-89ea798697b1 :: true

deleteNodes 1.062s
2021-12-06 22:25:30 |

2021-12-06 22:25:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:30 | ------------------------------------

2021-12-06 22:25:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a935279-f796-4ceb-a019-89ea798697b1</node></data>

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

2021-12-06 22:25:31 | [Mutex] waiting for: [received:nodes:693efea1-549b-4b1a-8394-ec47b6c9a4fe:localhost]

2021-12-06 22:25:31 | [Mutex] received everything.

2021-12-06 22:25:31 | [Mutex] isItemNotified: received:node:693efea1-549b-4b1a-8394-ec47b6c9a4fe:localhost:node-0a935279-f796-4ceb-a019-89ea798697b1:Node 0a935279-f796-4ceb-a019-89ea798697b1 :: false

deleteSubnodes 1.129s
2021-12-06 22:25:29 |

2021-12-06 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:29 | ------------------------------------

2021-12-06 22:25:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node></data>

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

2021-12-06 22:25:30 | [Mutex] waiting for: [received:nodes:9c527c33-7176-43f6-95ae-e6604552bc51:localhost]

2021-12-06 22:25:30 | [Mutex] received everything.

2021-12-06 22:25:30 | [Mutex] isItemNotified: received:node:9c527c33-7176-43f6-95ae-e6604552bc51:localhost:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:Node 42407fa9-f9f5-441a-98bf-285bc9355bd9 :: false

2021-12-06 22:25:30 | [Mutex] waiting for: [received:nodes:0238064e-92c0-4f3f-a2ae-e62be67b19a1:localhost]

2021-12-06 22:25:30 | [Mutex] received everything.

2021-12-06 22:25:30 | [Mutex] isItemNotified: received:node:0238064e-92c0-4f3f-a2ae-e62be67b19a1:localhost:node-42407fa9-f9f5-441a-98bf-285bc9355bd9:Node 42407fa9-f9f5-441a-98bf-285bc9355bd9 :: false

publishItemsToNodes 0.267s
2021-12-06 22:25:27 |

2021-12-06 22:25:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:27 | ------------------------------------

2021-12-06 22:25:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><item-id>item-144565df-3253-4611-b2f6-cdd50024e156</item-id><entry><test>item-144565df-3253-4611-b2f6-cdd50024e156</test></entry></data>

2021-12-06 22:25:27 | 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-144565df-3253-4611-b2f6-cdd50024e156</value></item-id></result>

2021-12-06 22:25:27 | [Mutex] waiting for: [published:item:notifieditem-144565df-3253-4611-b2f6-cdd50024e156:admin@test-domain.com]

2021-12-06 22:25:27 | [Mutex] received everything.

2021-12-06 22:25:27 | [Mutex] isItemNotified: published:item:notifieditem-144565df-3253-4611-b2f6-cdd50024e156:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2021-12-06 22:25:28 |

2021-12-06 22:25:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:28 | ------------------------------------

2021-12-06 22:25:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><item-id>item-144565df-3253-4611-b2f6-cdd50024e156</item-id></data>

2021-12-06 22:25:28 | 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-144565df-3253-4611-b2f6-cdd50024e156</value></item-id></result>

2021-12-06 22:25:28 | [Mutex] received everything.

2021-12-06 22:25:28 | [Mutex] isItemNotified: retracted:item:notifieditem-144565df-3253-4611-b2f6-cdd50024e156:admin@test-domain.com :: true

retrieveItemsFromNodes 0.433s
2021-12-06 22:25:27 |

2021-12-06 22:25:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:27 | ------------------------------------

2021-12-06 22:25:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><item-id>item-144565df-3253-4611-b2f6-cdd50024e156</item-id></data>

2021-12-06 22:25:28 | 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-42407fa9-f9f5-441a-98bf-285bc9355bd9</value></node><item-id label="Item ID" type="text-single"><value>item-144565df-3253-4611-b2f6-cdd50024e156</value></item-id><item label="Item" type="text-multi"><value><item id="item-144565df-3253-4611-b2f6-cdd50024e156"><test>item-144565df-3253-4611-b2f6-cdd50024e156</test></item></value></item></result>

2021-12-06 22:25:28 | [Mutex] notify: [retrieved:item:item-144565df-3253-4611-b2f6-cdd50024e156:payload-matches:true:localhost]

2021-12-06 22:25:28 | [Mutex] received everything.

2021-12-06 22:25:28 | [Mutex] isItemNotified: retrieved:item:item-144565df-3253-4611-b2f6-cdd50024e156:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-12-06 22:25:28 |

2021-12-06 22:25:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:28 | ------------------------------------

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

2021-12-06 22:25:28 | 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-42407fa9-f9f5-441a-98bf-285bc9355bd9</value><value>node-0a935279-f796-4ceb-a019-89ea798697b1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-12-06 22:25:28 |

2021-12-06 22:25:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:28 | ------------------------------------

2021-12-06 22:25:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-42407fa9-f9f5-441a-98bf-285bc9355bd9)</node-pattern></data>

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

subscribeNodes 1.176s
2021-12-06 22:25:26 |

2021-12-06 22:25:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:26 | ------------------------------------

2021-12-06 22:25:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.351s
2021-12-06 22:25:28 |

2021-12-06 22:25:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 22:25:28 | ------------------------------------

2021-12-06 22:25:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-42407fa9-f9f5-441a-98bf-285bc9355bd9</node><jids><value>admin@test-domain.com</value></jids></data>

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