Generated by TestNG with ReportNG at 09:44 PDT on Friday 23 April 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.210s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2021-04-23 10:01:07 |

2021-04-23 10:01:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:07 | ------------------------------------

2021-04-23 10:01:07 | [Mutex] waiting for: [configured:node:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:node-36f2a6b0-888b-4b33-b94d-9d224605fa93]

2021-04-23 10:01:07 | [Mutex] received everything.

2021-04-23 10:01:07 | [Mutex] isItemNotified: configured:node:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:node-36f2a6b0-888b-4b33-b94d-9d224605fa93 :: true

2021-04-23 10:01:08 | [Mutex] waiting for: [received:nodes:7ad89813-c440-4306-9e95-ad2308cd5880:localhost]

2021-04-23 10:01:08 | [Mutex] received everything.

2021-04-23 10:01:08 | [Mutex] isItemNotified: received:node:7ad89813-c440-4306-9e95-ad2308cd5880:localhost:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:Node a1da1d20-d6a8-441c-a908-f79ef51c7d80 :: true

2021-04-23 10:01:08 | [Mutex] waiting for: [received:nodes:2af5904c-2152-4795-974a-b29985366318:localhost]

2021-04-23 10:01:08 | [Mutex] waiting for: [received:nodes:2af5904c-2152-4795-974a-b29985366318:localhost]

2021-04-23 10:01:08 | [Mutex] received everything.

2021-04-23 10:01:08 | [Mutex] isItemNotified: received:node:2af5904c-2152-4795-974a-b29985366318:localhost:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:Node a1da1d20-d6a8-441c-a908-f79ef51c7d80 :: false

createNodes 1.554s
2021-04-23 10:01:04 |

2021-04-23 10:01:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:04 | ------------------------------------

2021-04-23 10:01:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1da1d20-d6a8-441c-a908-f79ef51c7d80</title></pubsub></data>

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

2021-04-23 10:01:05 | [Mutex] waiting for: [received:nodes:0bcb814b-a9c7-480f-8b05-8b7f4aee643c:localhost]

2021-04-23 10:01:05 | [Mutex] received everything.

2021-04-23 10:01:05 | [Mutex] isItemNotified: received:node:0bcb814b-a9c7-480f-8b05-8b7f4aee643c:localhost:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:Node a1da1d20-d6a8-441c-a908-f79ef51c7d80 :: true

createSubnodes 1.025s
2021-04-23 10:01:05 |

2021-04-23 10:01:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:05 | ------------------------------------

2021-04-23 10:01:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-36f2a6b0-888b-4b33-b94d-9d224605fa93</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 36f2a6b0-888b-4b33-b94d-9d224605fa93</title></pubsub></data>

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

2021-04-23 10:01:07 | [Mutex] waiting for: [received:nodes:cbb9cacb-a34f-4526-96e8-0d25534078a9:localhost]

2021-04-23 10:01:07 | [Mutex] received everything.

2021-04-23 10:01:07 | [Mutex] isItemNotified: received:node:cbb9cacb-a34f-4526-96e8-0d25534078a9:localhost:node-36f2a6b0-888b-4b33-b94d-9d224605fa93:Node 36f2a6b0-888b-4b33-b94d-9d224605fa93 :: true

deleteNodes 1.017s
2021-04-23 10:01:12 |

2021-04-23 10:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:12 | ------------------------------------

2021-04-23 10:01:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-36f2a6b0-888b-4b33-b94d-9d224605fa93</node></data>

2021-04-23 10:01:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:13 | [Mutex] waiting for: [received:nodes:2206adb9-2f7b-47d5-bac2-1fd3aa03650d:localhost]

2021-04-23 10:01:13 | [Mutex] received everything.

2021-04-23 10:01:13 | [Mutex] isItemNotified: received:node:2206adb9-2f7b-47d5-bac2-1fd3aa03650d:localhost:node-36f2a6b0-888b-4b33-b94d-9d224605fa93:Node 36f2a6b0-888b-4b33-b94d-9d224605fa93 :: false

deleteSubnodes 1.128s
2021-04-23 10:01:11 |

2021-04-23 10:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:11 | ------------------------------------

2021-04-23 10:01:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node></data>

2021-04-23 10:01:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-23 10:01:12 | [Mutex] waiting for: [received:nodes:7fdfe376-bfcb-4545-8415-8f8c8d50f37e:localhost]

2021-04-23 10:01:12 | [Mutex] waiting for: [received:nodes:7fdfe376-bfcb-4545-8415-8f8c8d50f37e:localhost]

2021-04-23 10:01:12 | [Mutex] received everything.

2021-04-23 10:01:12 | [Mutex] isItemNotified: received:node:7fdfe376-bfcb-4545-8415-8f8c8d50f37e:localhost:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:Node a1da1d20-d6a8-441c-a908-f79ef51c7d80 :: false

2021-04-23 10:01:12 | [Mutex] waiting for: [received:nodes:04afa01d-e404-4c07-abc0-71aabec6a75c:localhost]

2021-04-23 10:01:12 | [Mutex] received everything.

2021-04-23 10:01:12 | [Mutex] isItemNotified: received:node:04afa01d-e404-4c07-abc0-71aabec6a75c:localhost:node-a1da1d20-d6a8-441c-a908-f79ef51c7d80:Node a1da1d20-d6a8-441c-a908-f79ef51c7d80 :: false

publishItemsToNodes 0.276s
2021-04-23 10:01:09 |

2021-04-23 10:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:09 | ------------------------------------

2021-04-23 10:01:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><item-id>item-8671cf16-0258-4ca2-87a4-fd0191984148</item-id><entry><test>item-8671cf16-0258-4ca2-87a4-fd0191984148</test></entry></data>

2021-04-23 10:01:09 | 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-8671cf16-0258-4ca2-87a4-fd0191984148</value></item-id></result>

2021-04-23 10:01:09 | [Mutex] waiting for: [published:item:notifieditem-8671cf16-0258-4ca2-87a4-fd0191984148:admin@test-domain.com]

2021-04-23 10:01:09 | [Mutex] received everything.

2021-04-23 10:01:09 | [Mutex] isItemNotified: published:item:notifieditem-8671cf16-0258-4ca2-87a4-fd0191984148:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-04-23 10:01:09 |

2021-04-23 10:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:09 | ------------------------------------

2021-04-23 10:01:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><item-id>item-8671cf16-0258-4ca2-87a4-fd0191984148</item-id></data>

2021-04-23 10:01:10 | 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-8671cf16-0258-4ca2-87a4-fd0191984148</value></item-id></result>

2021-04-23 10:01:10 | [Mutex] received everything.

2021-04-23 10:01:10 | [Mutex] isItemNotified: retracted:item:notifieditem-8671cf16-0258-4ca2-87a4-fd0191984148:admin@test-domain.com :: true

retrieveItemsFromNodes 0.337s
2021-04-23 10:01:09 |

2021-04-23 10:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:09 | ------------------------------------

2021-04-23 10:01:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><item-id>item-8671cf16-0258-4ca2-87a4-fd0191984148</item-id></data>

2021-04-23 10:01:09 | 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-a1da1d20-d6a8-441c-a908-f79ef51c7d80</value></node><item-id type="text-single" label="Item ID"><value>item-8671cf16-0258-4ca2-87a4-fd0191984148</value></item-id><item type="text-multi" label="Item"><value><item id="item-8671cf16-0258-4ca2-87a4-fd0191984148"><test>item-8671cf16-0258-4ca2-87a4-fd0191984148</test></item></value></item></result>

2021-04-23 10:01:09 | [Mutex] notify: [retrieved:item:item-8671cf16-0258-4ca2-87a4-fd0191984148:payload-matches:true:localhost]

2021-04-23 10:01:09 | [Mutex] received everything.

2021-04-23 10:01:09 | [Mutex] isItemNotified: retrieved:item:item-8671cf16-0258-4ca2-87a4-fd0191984148:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-23 10:01:09 |

2021-04-23 10:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:09 | ------------------------------------

2021-04-23 10:01:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-23 10:01:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-36f2a6b0-888b-4b33-b94d-9d224605fa93</value><value>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-23 10:01:09 |

2021-04-23 10:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:09 | ------------------------------------

2021-04-23 10:01:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1da1d20-d6a8-441c-a908-f79ef51c7d80)</node-pattern></data>

2021-04-23 10:01:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.155s
2021-04-23 10:01:08 |

2021-04-23 10:01:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:08 | ------------------------------------

2021-04-23 10:01:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-23 10:01:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.303s
2021-04-23 10:01:10 |

2021-04-23 10:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-23 10:01:10 | ------------------------------------

2021-04-23 10:01:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1da1d20-d6a8-441c-a908-f79ef51c7d80</node><jids><value>admin@test-domain.com</value></jids></data>

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