Generated by TestNG with ReportNG at 21:42 PST on Monday 09 November 2020
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 : 10.072s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.139s
2020-11-09 21:56:56 |

2020-11-09 21:56:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:56 | ------------------------------------

2020-11-09 21:56:56 | [Mutex] waiting for: [configured:node:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00]

2020-11-09 21:56:56 | [Mutex] received everything.

2020-11-09 21:56:56 | [Mutex] isItemNotified: configured:node:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00 :: true

2020-11-09 21:56:57 | [Mutex] waiting for: [received:nodes:c22771e8-055a-4ca2-95fb-f4a51266a94d:localhost]

2020-11-09 21:56:57 | [Mutex] received everything.

2020-11-09 21:56:57 | [Mutex] isItemNotified: received:node:c22771e8-055a-4ca2-95fb-f4a51266a94d:localhost:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:Node 5528ee66-8765-46b8-a8f4-ee5a64585bea :: true

2020-11-09 21:56:57 | [Mutex] waiting for: [received:nodes:995ed89a-a1aa-48e3-b72c-c79bcbf7c2d3:localhost]

2020-11-09 21:56:57 | [Mutex] waiting for: [received:nodes:995ed89a-a1aa-48e3-b72c-c79bcbf7c2d3:localhost]

2020-11-09 21:56:57 | [Mutex] received everything.

2020-11-09 21:56:57 | [Mutex] isItemNotified: received:node:995ed89a-a1aa-48e3-b72c-c79bcbf7c2d3:localhost:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:Node 5528ee66-8765-46b8-a8f4-ee5a64585bea :: false

createNodes 1.546s
2020-11-09 21:56:54 |

2020-11-09 21:56:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:54 | ------------------------------------

2020-11-09 21:56:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5528ee66-8765-46b8-a8f4-ee5a64585bea</title></pubsub></data>

2020-11-09 21:56:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:56:55 | [Mutex] waiting for: [received:nodes:fbf81245-3a5e-44c0-93cf-6229802821f0:localhost]

2020-11-09 21:56:55 | [Mutex] received everything.

2020-11-09 21:56:55 | [Mutex] isItemNotified: received:node:fbf81245-3a5e-44c0-93cf-6229802821f0:localhost:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:Node 5528ee66-8765-46b8-a8f4-ee5a64585bea :: true

createSubnodes 1.034s
2020-11-09 21:56:55 |

2020-11-09 21:56:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:55 | ------------------------------------

2020-11-09 21:56:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 94c8714a-ac0a-4f67-88b8-f2a8ad86fb00</title></pubsub></data>

2020-11-09 21:56:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:56:56 | [Mutex] waiting for: [received:nodes:38ec9d79-8a40-4d92-92eb-21e25d030394:localhost]

2020-11-09 21:56:56 | [Mutex] received everything.

2020-11-09 21:56:56 | [Mutex] isItemNotified: received:node:38ec9d79-8a40-4d92-92eb-21e25d030394:localhost:node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00:Node 94c8714a-ac0a-4f67-88b8-f2a8ad86fb00 :: true

deleteNodes 1.027s
2020-11-09 21:57:02 |

2020-11-09 21:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:57:02 | ------------------------------------

2020-11-09 21:57:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00</node></data>

2020-11-09 21:57:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:57:03 | [Mutex] waiting for: [received:nodes:6239f853-115d-4ce5-a2e9-af67455435ea:localhost]

2020-11-09 21:57:03 | [Mutex] received everything.

2020-11-09 21:57:03 | [Mutex] isItemNotified: received:node:6239f853-115d-4ce5-a2e9-af67455435ea:localhost:node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00:Node 94c8714a-ac0a-4f67-88b8-f2a8ad86fb00 :: false

deleteSubnodes 1.139s
2020-11-09 21:57:00 |

2020-11-09 21:57:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:57:00 | ------------------------------------

2020-11-09 21:57:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node></data>

2020-11-09 21:57:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:57:02 | [Mutex] waiting for: [received:nodes:b1f100ca-5315-48bc-930c-35067be59238:localhost]

2020-11-09 21:57:02 | [Mutex] received everything.

2020-11-09 21:57:02 | [Mutex] isItemNotified: received:node:b1f100ca-5315-48bc-930c-35067be59238:localhost:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:Node 5528ee66-8765-46b8-a8f4-ee5a64585bea :: false

2020-11-09 21:57:02 | [Mutex] waiting for: [received:nodes:8ec8ea80-4e61-4c13-aa29-cdf4547bcb77:localhost]

2020-11-09 21:57:02 | [Mutex] received everything.

2020-11-09 21:57:02 | [Mutex] isItemNotified: received:node:8ec8ea80-4e61-4c13-aa29-cdf4547bcb77:localhost:node-5528ee66-8765-46b8-a8f4-ee5a64585bea:Node 5528ee66-8765-46b8-a8f4-ee5a64585bea :: false

publishItemsToNodes 0.198s
2020-11-09 21:56:58 |

2020-11-09 21:56:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:58 | ------------------------------------

2020-11-09 21:56:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><item-id>item-93acd067-924f-422c-87f8-a1e86c4fed49</item-id><entry><test>item-93acd067-924f-422c-87f8-a1e86c4fed49</test></entry></data>

2020-11-09 21:56:59 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-93acd067-924f-422c-87f8-a1e86c4fed49</value></item-id></result>

2020-11-09 21:56:59 | [Mutex] waiting for: [published:item:notifieditem-93acd067-924f-422c-87f8-a1e86c4fed49:admin@test-domain.com]

2020-11-09 21:56:59 | [Mutex] received everything.

2020-11-09 21:56:59 | [Mutex] isItemNotified: published:item:notifieditem-93acd067-924f-422c-87f8-a1e86c4fed49:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-11-09 21:56:59 |

2020-11-09 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:59 | ------------------------------------

2020-11-09 21:56:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><item-id>item-93acd067-924f-422c-87f8-a1e86c4fed49</item-id></data>

2020-11-09 21:56:59 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-93acd067-924f-422c-87f8-a1e86c4fed49</value></item-id></result>

2020-11-09 21:56:59 | [Mutex] waiting for: [retracted:item:notifieditem-93acd067-924f-422c-87f8-a1e86c4fed49:admin@test-domain.com]

2020-11-09 21:56:59 | [Mutex] received everything.

2020-11-09 21:56:59 | [Mutex] isItemNotified: retracted:item:notifieditem-93acd067-924f-422c-87f8-a1e86c4fed49:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2020-11-09 21:56:59 |

2020-11-09 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:59 | ------------------------------------

2020-11-09 21:56:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><item-id>item-93acd067-924f-422c-87f8-a1e86c4fed49</item-id></data>

2020-11-09 21:56:59 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</value></node><item-id type="text-single" label="Item ID"><value>item-93acd067-924f-422c-87f8-a1e86c4fed49</value></item-id><item type="text-multi" label="Item"><value><item id="item-93acd067-924f-422c-87f8-a1e86c4fed49"><test>item-93acd067-924f-422c-87f8-a1e86c4fed49</test></item></value></item></result>

2020-11-09 21:56:59 | [Mutex] notify: [retrieved:item:item-93acd067-924f-422c-87f8-a1e86c4fed49:payload-matches:true:localhost]

2020-11-09 21:56:59 | [Mutex] received everything.

2020-11-09 21:56:59 | [Mutex] isItemNotified: retrieved:item:item-93acd067-924f-422c-87f8-a1e86c4fed49:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-11-09 21:56:59 |

2020-11-09 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:59 | ------------------------------------

2020-11-09 21:56:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-09 21:56:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</value><value>node-94c8714a-ac0a-4f67-88b8-f2a8ad86fb00</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-11-09 21:56:59 |

2020-11-09 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:59 | ------------------------------------

2020-11-09 21:56:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5528ee66-8765-46b8-a8f4-ee5a64585bea)</node-pattern></data>

2020-11-09 21:56:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.100s
2020-11-09 21:56:57 |

2020-11-09 21:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:57 | ------------------------------------

2020-11-09 21:56:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-09 21:56:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.212s
2020-11-09 21:56:59 |

2020-11-09 21:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:56:59 | ------------------------------------

2020-11-09 21:56:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5528ee66-8765-46b8-a8f4-ee5a64585bea</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-09 21:56:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>