Generated by TestNG with ReportNG at 09:45 PDT on Thursday 27 May 2021
root@f29ef40080b5 / 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.143s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2021-05-27 10:00:17 |

2021-05-27 10:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:17 | ------------------------------------

2021-05-27 10:00:17 | [Mutex] waiting for: [configured:node:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:node-ade1daab-9ec8-4b22-82f0-f6c72a504347]

2021-05-27 10:00:17 | [Mutex] received everything.

2021-05-27 10:00:17 | [Mutex] isItemNotified: configured:node:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:node-ade1daab-9ec8-4b22-82f0-f6c72a504347 :: true

2021-05-27 10:00:18 | [Mutex] waiting for: [received:nodes:759433dd-ef42-4bac-80bb-824919fa8d8c:localhost]

2021-05-27 10:00:18 | [Mutex] received everything.

2021-05-27 10:00:18 | [Mutex] isItemNotified: received:node:759433dd-ef42-4bac-80bb-824919fa8d8c:localhost:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:Node 82131d37-2f67-46fe-bbfa-47f531ac87a8 :: true

2021-05-27 10:00:18 | [Mutex] waiting for: [received:nodes:4868c168-0437-4b6b-8880-9f8b4d3cb66b:localhost]

2021-05-27 10:00:18 | [Mutex] received everything.

2021-05-27 10:00:18 | [Mutex] isItemNotified: received:node:4868c168-0437-4b6b-8880-9f8b4d3cb66b:localhost:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:Node 82131d37-2f67-46fe-bbfa-47f531ac87a8 :: false

createNodes 1.580s
2021-05-27 10:00:14 |

2021-05-27 10:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:14 | ------------------------------------

2021-05-27 10:00:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 82131d37-2f67-46fe-bbfa-47f531ac87a8</title></pubsub></data>

2021-05-27 10:00:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:00:16 | [Mutex] waiting for: [received:nodes:2ea59356-dc92-4cd5-81b5-6a71d2a49189:localhost]

2021-05-27 10:00:16 | [Mutex] received everything.

2021-05-27 10:00:16 | [Mutex] isItemNotified: received:node:2ea59356-dc92-4cd5-81b5-6a71d2a49189:localhost:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:Node 82131d37-2f67-46fe-bbfa-47f531ac87a8 :: true

createSubnodes 1.025s
2021-05-27 10:00:16 |

2021-05-27 10:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:16 | ------------------------------------

2021-05-27 10:00:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ade1daab-9ec8-4b22-82f0-f6c72a504347</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ade1daab-9ec8-4b22-82f0-f6c72a504347</title></pubsub></data>

2021-05-27 10:00: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-27 10:00:17 | [Mutex] waiting for: [received:nodes:ddcd7285-7dd6-4d84-93a9-aa2bccb54e61:localhost]

2021-05-27 10:00:17 | [Mutex] waiting for: [received:nodes:ddcd7285-7dd6-4d84-93a9-aa2bccb54e61:localhost]

2021-05-27 10:00:17 | [Mutex] received everything.

2021-05-27 10:00:17 | [Mutex] isItemNotified: received:node:ddcd7285-7dd6-4d84-93a9-aa2bccb54e61:localhost:node-ade1daab-9ec8-4b22-82f0-f6c72a504347:Node ade1daab-9ec8-4b22-82f0-f6c72a504347 :: true

deleteNodes 1.020s
2021-05-27 10:00:22 |

2021-05-27 10:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:22 | ------------------------------------

2021-05-27 10:00:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ade1daab-9ec8-4b22-82f0-f6c72a504347</node></data>

2021-05-27 10:00: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-27 10:00:23 | [Mutex] waiting for: [received:nodes:20d3e09f-cdb1-4dce-83a5-e2ccaaf83d56:localhost]

2021-05-27 10:00:23 | [Mutex] received everything.

2021-05-27 10:00:23 | [Mutex] isItemNotified: received:node:20d3e09f-cdb1-4dce-83a5-e2ccaaf83d56:localhost:node-ade1daab-9ec8-4b22-82f0-f6c72a504347:Node ade1daab-9ec8-4b22-82f0-f6c72a504347 :: false

deleteSubnodes 1.122s
2021-05-27 10:00:21 |

2021-05-27 10:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:21 | ------------------------------------

2021-05-27 10:00:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node></data>

2021-05-27 10:00: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-27 10:00:22 | [Mutex] waiting for: [received:nodes:3f638ee2-28c1-41c1-a22d-1f9d7f99aa8f:localhost]

2021-05-27 10:00:22 | [Mutex] waiting for: [received:nodes:3f638ee2-28c1-41c1-a22d-1f9d7f99aa8f:localhost]

2021-05-27 10:00:22 | [Mutex] received everything.

2021-05-27 10:00:22 | [Mutex] isItemNotified: received:node:3f638ee2-28c1-41c1-a22d-1f9d7f99aa8f:localhost:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:Node 82131d37-2f67-46fe-bbfa-47f531ac87a8 :: false

2021-05-27 10:00:22 | [Mutex] waiting for: [received:nodes:2c42b39c-085c-4c88-b785-56cbd4405e3e:localhost]

2021-05-27 10:00:22 | [Mutex] received everything.

2021-05-27 10:00:22 | [Mutex] isItemNotified: received:node:2c42b39c-085c-4c88-b785-56cbd4405e3e:localhost:node-82131d37-2f67-46fe-bbfa-47f531ac87a8:Node 82131d37-2f67-46fe-bbfa-47f531ac87a8 :: false

publishItemsToNodes 0.243s
2021-05-27 10:00:19 |

2021-05-27 10:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:19 | ------------------------------------

2021-05-27 10:00:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><item-id>item-fbc43cb4-4546-46ea-8876-56874fb02219</item-id><entry><test>item-fbc43cb4-4546-46ea-8876-56874fb02219</test></entry></data>

2021-05-27 10:00: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-fbc43cb4-4546-46ea-8876-56874fb02219</value></item-id></result>

2021-05-27 10:00:19 | [Mutex] received everything.

2021-05-27 10:00:19 | [Mutex] isItemNotified: published:item:notifieditem-fbc43cb4-4546-46ea-8876-56874fb02219:admin@test-domain.com :: true

retractItemsFromNodes 0.391s
2021-05-27 10:00:20 |

2021-05-27 10:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:20 | ------------------------------------

2021-05-27 10:00:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><item-id>item-fbc43cb4-4546-46ea-8876-56874fb02219</item-id></data>

2021-05-27 10:00: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-fbc43cb4-4546-46ea-8876-56874fb02219</value></item-id></result>

2021-05-27 10:00:20 | [Mutex] received everything.

2021-05-27 10:00:20 | [Mutex] isItemNotified: retracted:item:notifieditem-fbc43cb4-4546-46ea-8876-56874fb02219:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2021-05-27 10:00:19 |

2021-05-27 10:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:19 | ------------------------------------

2021-05-27 10:00:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><item-id>item-fbc43cb4-4546-46ea-8876-56874fb02219</item-id></data>

2021-05-27 10:00:20 | 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-82131d37-2f67-46fe-bbfa-47f531ac87a8</value></node><item-id label="Item ID" type="text-single"><value>item-fbc43cb4-4546-46ea-8876-56874fb02219</value></item-id><item label="Item" type="text-multi"><value><item id="item-fbc43cb4-4546-46ea-8876-56874fb02219"><test>item-fbc43cb4-4546-46ea-8876-56874fb02219</test></item></value></item></result>

2021-05-27 10:00:20 | [Mutex] notify: [retrieved:item:item-fbc43cb4-4546-46ea-8876-56874fb02219:payload-matches:true:localhost]

2021-05-27 10:00:20 | [Mutex] received everything.

2021-05-27 10:00:20 | [Mutex] isItemNotified: retrieved:item:item-fbc43cb4-4546-46ea-8876-56874fb02219:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-27 10:00:20 |

2021-05-27 10:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:20 | ------------------------------------

2021-05-27 10:00:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-27 10:00:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ade1daab-9ec8-4b22-82f0-f6c72a504347</value><value>test</value><value>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 10:00:20 |

2021-05-27 10:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:20 | ------------------------------------

2021-05-27 10:00: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-82131d37-2f67-46fe-bbfa-47f531ac87a8)</node-pattern></data>

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

subscribeNodes 1.182s
2021-05-27 10:00:18 |

2021-05-27 10:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:18 | ------------------------------------

2021-05-27 10:00:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 10:00: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.231s
2021-05-27 10:00:20 |

2021-05-27 10:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:00:20 | ------------------------------------

2021-05-27 10:00:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-82131d37-2f67-46fe-bbfa-47f531ac87a8</node><jids><value>admin@test-domain.com</value></jids></data>

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