Generated by TestNG with ReportNG at 22:49 PDT on Monday 26 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.120s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2021-04-26 23:03:40 |

2021-04-26 23:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:40 | ------------------------------------

2021-04-26 23:03:40 | [Mutex] waiting for: [configured:node:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:node-ed40d129-7149-47fb-bf7b-7fddac5cfb59]

2021-04-26 23:03:40 | [Mutex] received everything.

2021-04-26 23:03:40 | [Mutex] isItemNotified: configured:node:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:node-ed40d129-7149-47fb-bf7b-7fddac5cfb59 :: true

2021-04-26 23:03:41 | [Mutex] waiting for: [received:nodes:60262a9b-97e3-4931-9188-fc7fa8c71a91:localhost]

2021-04-26 23:03:41 | [Mutex] received everything.

2021-04-26 23:03:41 | [Mutex] isItemNotified: received:node:60262a9b-97e3-4931-9188-fc7fa8c71a91:localhost:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:Node 83d46fdc-19e5-4df1-b355-bc6089b6409d :: true

2021-04-26 23:03:41 | [Mutex] waiting for: [received:nodes:05dd13a0-45c0-44f8-a5b5-c0ef6080acbc:localhost]

2021-04-26 23:03:41 | [Mutex] received everything.

2021-04-26 23:03:41 | [Mutex] isItemNotified: received:node:05dd13a0-45c0-44f8-a5b5-c0ef6080acbc:localhost:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:Node 83d46fdc-19e5-4df1-b355-bc6089b6409d :: false

createNodes 1.549s
2021-04-26 23:03:38 |

2021-04-26 23:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:38 | ------------------------------------

2021-04-26 23:03:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 83d46fdc-19e5-4df1-b355-bc6089b6409d</title></pubsub></data>

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

2021-04-26 23:03:39 | [Mutex] waiting for: [received:nodes:6ce57f9c-287a-4145-853c-a5be96ebcea5:localhost]

2021-04-26 23:03:39 | [Mutex] received everything.

2021-04-26 23:03:39 | [Mutex] isItemNotified: received:node:6ce57f9c-287a-4145-853c-a5be96ebcea5:localhost:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:Node 83d46fdc-19e5-4df1-b355-bc6089b6409d :: true

createSubnodes 1.052s
2021-04-26 23:03:39 |

2021-04-26 23:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:39 | ------------------------------------

2021-04-26 23:03:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed40d129-7149-47fb-bf7b-7fddac5cfb59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ed40d129-7149-47fb-bf7b-7fddac5cfb59</title></pubsub></data>

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

2021-04-26 23:03:40 | [Mutex] waiting for: [received:nodes:b5c9b453-6fb4-44fc-afcf-a718b67e557c:localhost]

2021-04-26 23:03:40 | [Mutex] received everything.

2021-04-26 23:03:40 | [Mutex] isItemNotified: received:node:b5c9b453-6fb4-44fc-afcf-a718b67e557c:localhost:node-ed40d129-7149-47fb-bf7b-7fddac5cfb59:Node ed40d129-7149-47fb-bf7b-7fddac5cfb59 :: true

deleteNodes 1.023s
2021-04-26 23:03:46 |

2021-04-26 23:03:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:46 | ------------------------------------

2021-04-26 23:03:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed40d129-7149-47fb-bf7b-7fddac5cfb59</node></data>

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

2021-04-26 23:03:47 | [Mutex] waiting for: [received:nodes:9df341c1-c96f-4263-b057-9a44c81be7c5:localhost]

2021-04-26 23:03:47 | [Mutex] received everything.

2021-04-26 23:03:47 | [Mutex] isItemNotified: received:node:9df341c1-c96f-4263-b057-9a44c81be7c5:localhost:node-ed40d129-7149-47fb-bf7b-7fddac5cfb59:Node ed40d129-7149-47fb-bf7b-7fddac5cfb59 :: false

deleteSubnodes 1.172s
2021-04-26 23:03:45 |

2021-04-26 23:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:45 | ------------------------------------

2021-04-26 23:03:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node></data>

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

2021-04-26 23:03:46 | [Mutex] waiting for: [received:nodes:13fb4714-e7bc-425b-a77c-949ac3ac3b41:localhost]

2021-04-26 23:03:46 | [Mutex] waiting for: [received:nodes:13fb4714-e7bc-425b-a77c-949ac3ac3b41:localhost]

2021-04-26 23:03:46 | [Mutex] received everything.

2021-04-26 23:03:46 | [Mutex] isItemNotified: received:node:13fb4714-e7bc-425b-a77c-949ac3ac3b41:localhost:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:Node 83d46fdc-19e5-4df1-b355-bc6089b6409d :: false

2021-04-26 23:03:46 | [Mutex] waiting for: [received:nodes:cba81b3d-1b80-4ac2-82e2-19691d13ac60:localhost]

2021-04-26 23:03:46 | [Mutex] received everything.

2021-04-26 23:03:46 | [Mutex] isItemNotified: received:node:cba81b3d-1b80-4ac2-82e2-19691d13ac60:localhost:node-83d46fdc-19e5-4df1-b355-bc6089b6409d:Node 83d46fdc-19e5-4df1-b355-bc6089b6409d :: false

publishItemsToNodes 0.225s
2021-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

2021-04-26 23:03:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><item-id>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</item-id><entry><test>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</test></entry></data>

2021-04-26 23:03:43 | 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-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</value></item-id></result>

2021-04-26 23:03:43 | [Mutex] waiting for: [published:item:notifieditem-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c:admin@test-domain.com]

2021-04-26 23:03:43 | [Mutex] received everything.

2021-04-26 23:03:43 | [Mutex] isItemNotified: published:item:notifieditem-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2021-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

2021-04-26 23:03:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><item-id>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</item-id></data>

2021-04-26 23:03:43 | 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-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</value></item-id></result>

2021-04-26 23:03:43 | [Mutex] received everything.

2021-04-26 23:03:43 | [Mutex] isItemNotified: retracted:item:notifieditem-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.353s
2021-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

2021-04-26 23:03:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><item-id>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</item-id></data>

2021-04-26 23:03:43 | 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-83d46fdc-19e5-4df1-b355-bc6089b6409d</value></node><item-id type="text-single" label="Item ID"><value>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</value></item-id><item type="text-multi" label="Item"><value><item id="item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c"><test>item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c</test></item></value></item></result>

2021-04-26 23:03:43 | [Mutex] notify: [retrieved:item:item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c:payload-matches:true:localhost]

2021-04-26 23:03:43 | [Mutex] received everything.

2021-04-26 23:03:43 | [Mutex] isItemNotified: retrieved:item:item-abf2ff59-c15c-4862-b4ec-9d2cc1d66a2c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

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

2021-04-26 23:03:43 | 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-83d46fdc-19e5-4df1-b355-bc6089b6409d</value><value>node-ed40d129-7149-47fb-bf7b-7fddac5cfb59</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

2021-04-26 23:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-83d46fdc-19e5-4df1-b355-bc6089b6409d)</node-pattern></data>

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

subscribeNodes 1.127s
2021-04-26 23:03:41 |

2021-04-26 23:03:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:41 | ------------------------------------

2021-04-26 23:03:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 23:03:42 | 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-04-26 23:03:43 |

2021-04-26 23:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 23:03:43 | ------------------------------------

2021-04-26 23:03:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-83d46fdc-19e5-4df1-b355-bc6089b6409d</node><jids><value>admin@test-domain.com</value></jids></data>

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