Generated by TestNG with ReportNG at 21:41 PST on Tuesday 23 February 2021
root@eaa73862192b / 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 : 9.795s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2021-02-23 21:55:37 |

2021-02-23 21:55:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:37 | ------------------------------------

2021-02-23 21:55:37 | [Mutex] waiting for: [configured:node:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36]

2021-02-23 21:55:37 | [Mutex] received everything.

2021-02-23 21:55:37 | [Mutex] isItemNotified: configured:node:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36 :: true

2021-02-23 21:55:38 | [Mutex] waiting for: [received:nodes:3a1c3d53-4079-4ef7-889e-4148de6f3897:localhost]

2021-02-23 21:55:38 | [Mutex] received everything.

2021-02-23 21:55:38 | [Mutex] isItemNotified: received:node:3a1c3d53-4079-4ef7-889e-4148de6f3897:localhost:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231 :: true

2021-02-23 21:55:38 | [Mutex] waiting for: [received:nodes:ba274947-63e4-4459-95b2-833afae99ad9:localhost]

2021-02-23 21:55:38 | [Mutex] received everything.

2021-02-23 21:55:38 | [Mutex] isItemNotified: received:node:ba274947-63e4-4459-95b2-833afae99ad9:localhost:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231 :: false

createNodes 1.327s
2021-02-23 21:55:35 |

2021-02-23 21:55:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:35 | ------------------------------------

2021-02-23 21:55:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</title></pubsub></data>

2021-02-23 21:55:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:36 | [Mutex] waiting for: [received:nodes:3cc69feb-0a49-4a1f-a1be-c4d32f382283:localhost]

2021-02-23 21:55:36 | [Mutex] received everything.

2021-02-23 21:55:36 | [Mutex] isItemNotified: received:node:3cc69feb-0a49-4a1f-a1be-c4d32f382283:localhost:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231 :: true

createSubnodes 1.030s
2021-02-23 21:55:36 |

2021-02-23 21:55:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:36 | ------------------------------------

2021-02-23 21:55:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f5aae038-f7e1-4e0a-b32f-d963ad3d2d36</title></pubsub></data>

2021-02-23 21:55:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:37 | [Mutex] waiting for: [received:nodes:9645f833-1296-4a0c-8344-e34f9653930b:localhost]

2021-02-23 21:55:37 | [Mutex] waiting for: [received:nodes:9645f833-1296-4a0c-8344-e34f9653930b:localhost]

2021-02-23 21:55:37 | [Mutex] received everything.

2021-02-23 21:55:37 | [Mutex] isItemNotified: received:node:9645f833-1296-4a0c-8344-e34f9653930b:localhost:node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36:Node f5aae038-f7e1-4e0a-b32f-d963ad3d2d36 :: true

deleteNodes 1.019s
2021-02-23 21:55:43 |

2021-02-23 21:55:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:43 | ------------------------------------

2021-02-23 21:55:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36</node></data>

2021-02-23 21:55:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:44 | [Mutex] waiting for: [received:nodes:2c513e12-4822-415c-9505-556bab15e3f0:localhost]

2021-02-23 21:55:44 | [Mutex] waiting for: [received:nodes:2c513e12-4822-415c-9505-556bab15e3f0:localhost]

2021-02-23 21:55:44 | [Mutex] received everything.

2021-02-23 21:55:44 | [Mutex] isItemNotified: received:node:2c513e12-4822-415c-9505-556bab15e3f0:localhost:node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36:Node f5aae038-f7e1-4e0a-b32f-d963ad3d2d36 :: false

deleteSubnodes 1.231s
2021-02-23 21:55:42 |

2021-02-23 21:55:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:42 | ------------------------------------

2021-02-23 21:55:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node></data>

2021-02-23 21:55:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:55:43 | [Mutex] waiting for: [received:nodes:67496c13-f6f7-4868-9679-e735ebd6d1ab:localhost]

2021-02-23 21:55:43 | [Mutex] received everything.

2021-02-23 21:55:43 | [Mutex] isItemNotified: received:node:67496c13-f6f7-4868-9679-e735ebd6d1ab:localhost:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231 :: false

2021-02-23 21:55:43 | [Mutex] waiting for: [received:nodes:c7fce627-0782-407e-b1fe-2f58d4d48854:localhost]

2021-02-23 21:55:43 | [Mutex] received everything.

2021-02-23 21:55:43 | [Mutex] isItemNotified: received:node:c7fce627-0782-407e-b1fe-2f58d4d48854:localhost:node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231:Node 0cde430e-ae8e-4b3c-8fb7-48c30b1fc231 :: false

publishItemsToNodes 0.232s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><item-id>item-08c44e11-2f48-43d3-9b34-b39a165ad488</item-id><entry><test>item-08c44e11-2f48-43d3-9b34-b39a165ad488</test></entry></data>

2021-02-23 21:55:40 | 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-08c44e11-2f48-43d3-9b34-b39a165ad488</value></item-id></result>

2021-02-23 21:55:40 | [Mutex] waiting for: [published:item:notifieditem-08c44e11-2f48-43d3-9b34-b39a165ad488:admin@test-domain.com]

2021-02-23 21:55:40 | [Mutex] received everything.

2021-02-23 21:55:40 | [Mutex] isItemNotified: published:item:notifieditem-08c44e11-2f48-43d3-9b34-b39a165ad488:admin@test-domain.com :: true

retractItemsFromNodes 0.244s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><item-id>item-08c44e11-2f48-43d3-9b34-b39a165ad488</item-id></data>

2021-02-23 21:55:40 | 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-08c44e11-2f48-43d3-9b34-b39a165ad488</value></item-id></result>

2021-02-23 21:55:40 | [Mutex] received everything.

2021-02-23 21:55:40 | [Mutex] isItemNotified: retracted:item:notifieditem-08c44e11-2f48-43d3-9b34-b39a165ad488:admin@test-domain.com :: true

retrieveItemsFromNodes 0.155s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><item-id>item-08c44e11-2f48-43d3-9b34-b39a165ad488</item-id></data>

2021-02-23 21:55:40 | 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-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</value></node><item-id label="Item ID" type="text-single"><value>item-08c44e11-2f48-43d3-9b34-b39a165ad488</value></item-id><item label="Item" type="text-multi"><value><item id="item-08c44e11-2f48-43d3-9b34-b39a165ad488"><test>item-08c44e11-2f48-43d3-9b34-b39a165ad488</test></item></value></item></result>

2021-02-23 21:55:40 | [Mutex] notify: [retrieved:item:item-08c44e11-2f48-43d3-9b34-b39a165ad488:payload-matches:true:localhost]

2021-02-23 21:55:40 | [Mutex] received everything.

2021-02-23 21:55:40 | [Mutex] isItemNotified: retrieved:item:item-08c44e11-2f48-43d3-9b34-b39a165ad488:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-23 21:55:40 | 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-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</value><value>node-f5aae038-f7e1-4e0a-b32f-d963ad3d2d36</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231)</node-pattern></data>

2021-02-23 21:55:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.138s
2021-02-23 21:55:38 |

2021-02-23 21:55:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:38 | ------------------------------------

2021-02-23 21:55:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:55:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.276s
2021-02-23 21:55:40 |

2021-02-23 21:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:55:40 | ------------------------------------

2021-02-23 21:55:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0cde430e-ae8e-4b3c-8fb7-48c30b1fc231</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:55:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>