Generated by TestNG with ReportNG at 21:14 PST on Monday 21 December 2020
root@87f6aca6b6f2 / 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.888s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2020-12-21 21:29:44 |

2020-12-21 21:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:44 | ------------------------------------

2020-12-21 21:29:44 | [Mutex] waiting for: [configured:node:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3]

2020-12-21 21:29:45 | [Mutex] received everything.

2020-12-21 21:29:45 | [Mutex] isItemNotified: configured:node:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3 :: true

2020-12-21 21:29:46 | [Mutex] waiting for: [received:nodes:ae3aa341-e9c7-46a8-ac10-6d6fc980e432:localhost]

2020-12-21 21:29:46 | [Mutex] received everything.

2020-12-21 21:29:46 | [Mutex] isItemNotified: received:node:ae3aa341-e9c7-46a8-ac10-6d6fc980e432:localhost:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:Node dbb0fcfe-694d-42af-943a-6c3a31a68806 :: true

2020-12-21 21:29:46 | [Mutex] waiting for: [received:nodes:745c6adb-ae24-4a7a-9579-898adffdcfd4:localhost]

2020-12-21 21:29:46 | [Mutex] received everything.

2020-12-21 21:29:46 | [Mutex] isItemNotified: received:node:745c6adb-ae24-4a7a-9579-898adffdcfd4:localhost:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:Node dbb0fcfe-694d-42af-943a-6c3a31a68806 :: false

createNodes 1.432s
2020-12-21 21:29:42 |

2020-12-21 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:42 | ------------------------------------

2020-12-21 21:29:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dbb0fcfe-694d-42af-943a-6c3a31a68806</title></pubsub></data>

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

2020-12-21 21:29:43 | [Mutex] waiting for: [received:nodes:6f1b9405-96d0-4106-9a41-427eb1dbb602:localhost]

2020-12-21 21:29:43 | [Mutex] received everything.

2020-12-21 21:29:43 | [Mutex] isItemNotified: received:node:6f1b9405-96d0-4106-9a41-427eb1dbb602:localhost:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:Node dbb0fcfe-694d-42af-943a-6c3a31a68806 :: true

createSubnodes 1.021s
2020-12-21 21:29:43 |

2020-12-21 21:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:43 | ------------------------------------

2020-12-21 21:29:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 240a088d-e824-4bcb-b5cb-ec2d2b82e5c3</title></pubsub></data>

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

2020-12-21 21:29:44 | [Mutex] waiting for: [received:nodes:8f6f2498-1495-4d7b-b6c3-b39d85b7a1f7:localhost]

2020-12-21 21:29:44 | [Mutex] received everything.

2020-12-21 21:29:44 | [Mutex] isItemNotified: received:node:8f6f2498-1495-4d7b-b6c3-b39d85b7a1f7:localhost:node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3:Node 240a088d-e824-4bcb-b5cb-ec2d2b82e5c3 :: true

deleteNodes 1.022s
2020-12-21 21:29:50 |

2020-12-21 21:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:50 | ------------------------------------

2020-12-21 21:29:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3</node></data>

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

2020-12-21 21:29:51 | [Mutex] waiting for: [received:nodes:5bd3800c-22e6-4602-ac12-d9a0ab028851:localhost]

2020-12-21 21:29:51 | [Mutex] received everything.

2020-12-21 21:29:51 | [Mutex] isItemNotified: received:node:5bd3800c-22e6-4602-ac12-d9a0ab028851:localhost:node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3:Node 240a088d-e824-4bcb-b5cb-ec2d2b82e5c3 :: false

deleteSubnodes 1.142s
2020-12-21 21:29:49 |

2020-12-21 21:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:49 | ------------------------------------

2020-12-21 21:29:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node></data>

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

2020-12-21 21:29:50 | [Mutex] waiting for: [received:nodes:244d8c13-af43-4dba-a309-46696ee1c6c0:localhost]

2020-12-21 21:29:50 | [Mutex] waiting for: [received:nodes:244d8c13-af43-4dba-a309-46696ee1c6c0:localhost]

2020-12-21 21:29:50 | [Mutex] received everything.

2020-12-21 21:29:50 | [Mutex] isItemNotified: received:node:244d8c13-af43-4dba-a309-46696ee1c6c0:localhost:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:Node dbb0fcfe-694d-42af-943a-6c3a31a68806 :: false

2020-12-21 21:29:50 | [Mutex] waiting for: [received:nodes:d71c70d7-606a-4b92-bae4-5645a96e9d0a:localhost]

2020-12-21 21:29:50 | [Mutex] received everything.

2020-12-21 21:29:50 | [Mutex] isItemNotified: received:node:d71c70d7-606a-4b92-bae4-5645a96e9d0a:localhost:node-dbb0fcfe-694d-42af-943a-6c3a31a68806:Node dbb0fcfe-694d-42af-943a-6c3a31a68806 :: false

publishItemsToNodes 0.302s
2020-12-21 21:29:47 |

2020-12-21 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:47 | ------------------------------------

2020-12-21 21:29:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><item-id>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</item-id><entry><test>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</test></entry></data>

2020-12-21 21:29:47 | 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-8418fdda-c5c2-4ff6-8980-b53835710d7b</value></item-id></result>

2020-12-21 21:29:47 | [Mutex] waiting for: [published:item:notifieditem-8418fdda-c5c2-4ff6-8980-b53835710d7b:admin@test-domain.com]

2020-12-21 21:29:47 | [Mutex] received everything.

2020-12-21 21:29:47 | [Mutex] isItemNotified: published:item:notifieditem-8418fdda-c5c2-4ff6-8980-b53835710d7b:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2020-12-21 21:29:47 |

2020-12-21 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:47 | ------------------------------------

2020-12-21 21:29:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><item-id>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</item-id></data>

2020-12-21 21:29:48 | 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-8418fdda-c5c2-4ff6-8980-b53835710d7b</value></item-id></result>

2020-12-21 21:29:48 | [Mutex] waiting for: [retracted:item:notifieditem-8418fdda-c5c2-4ff6-8980-b53835710d7b:admin@test-domain.com]

2020-12-21 21:29:48 | [Mutex] received everything.

2020-12-21 21:29:48 | [Mutex] isItemNotified: retracted:item:notifieditem-8418fdda-c5c2-4ff6-8980-b53835710d7b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-12-21 21:29:47 |

2020-12-21 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:47 | ------------------------------------

2020-12-21 21:29:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><item-id>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</item-id></data>

2020-12-21 21:29:47 | 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-dbb0fcfe-694d-42af-943a-6c3a31a68806</value></node><item-id label="Item ID" type="text-single"><value>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</value></item-id><item label="Item" type="text-multi"><value><item id="item-8418fdda-c5c2-4ff6-8980-b53835710d7b"><test>item-8418fdda-c5c2-4ff6-8980-b53835710d7b</test></item></value></item></result>

2020-12-21 21:29:47 | [Mutex] notify: [retrieved:item:item-8418fdda-c5c2-4ff6-8980-b53835710d7b:payload-matches:true:localhost]

2020-12-21 21:29:47 | [Mutex] received everything.

2020-12-21 21:29:47 | [Mutex] isItemNotified: retrieved:item:item-8418fdda-c5c2-4ff6-8980-b53835710d7b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-21 21:29:47 |

2020-12-21 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:47 | ------------------------------------

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

2020-12-21 21:29:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</value><value>test</value><value>node-240a088d-e824-4bcb-b5cb-ec2d2b82e5c3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-12-21 21:29:47 |

2020-12-21 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:47 | ------------------------------------

2020-12-21 21:29:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dbb0fcfe-694d-42af-943a-6c3a31a68806)</node-pattern></data>

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

subscribeNodes 1.113s
2020-12-21 21:29:46 |

2020-12-21 21:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:46 | ------------------------------------

2020-12-21 21:29:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-12-21 21:29:48 |

2020-12-21 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:29:48 | ------------------------------------

2020-12-21 21:29:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dbb0fcfe-694d-42af-943a-6c3a31a68806</node><jids><value>admin@test-domain.com</value></jids></data>

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