Generated by TestNG with ReportNG at 22:17 PDT on Friday 09 October 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 : 10.407s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.143s
2020-10-09 22:32:33 |

2020-10-09 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:33 | ------------------------------------

2020-10-09 22:32:33 | [Mutex] waiting for: [configured:node:node-beefc41a-262e-41ab-a676-2cc27395e469:node-b17153a3-5217-466a-8ba9-d9cd4448bb14]

2020-10-09 22:32:33 | [Mutex] received everything.

2020-10-09 22:32:33 | [Mutex] isItemNotified: configured:node:node-beefc41a-262e-41ab-a676-2cc27395e469:node-b17153a3-5217-466a-8ba9-d9cd4448bb14 :: true

2020-10-09 22:32:34 | [Mutex] waiting for: [received:nodes:99af5eee-cf62-423e-b4df-2078166b03f8:localhost]

2020-10-09 22:32:34 | [Mutex] received everything.

2020-10-09 22:32:34 | [Mutex] isItemNotified: received:node:99af5eee-cf62-423e-b4df-2078166b03f8:localhost:node-beefc41a-262e-41ab-a676-2cc27395e469:Node beefc41a-262e-41ab-a676-2cc27395e469 :: true

2020-10-09 22:32:34 | [Mutex] waiting for: [received:nodes:3d1d1cf0-6e73-43c8-90ae-cc58c53704e7:localhost]

2020-10-09 22:32:34 | [Mutex] received everything.

2020-10-09 22:32:34 | [Mutex] isItemNotified: received:node:3d1d1cf0-6e73-43c8-90ae-cc58c53704e7:localhost:node-beefc41a-262e-41ab-a676-2cc27395e469:Node beefc41a-262e-41ab-a676-2cc27395e469 :: false

createNodes 1.387s
2020-10-09 22:32:31 |

2020-10-09 22:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:31 | ------------------------------------

2020-10-09 22:32:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node beefc41a-262e-41ab-a676-2cc27395e469</title></pubsub></data>

2020-10-09 22:32:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 22:32:32 | [Mutex] waiting for: [received:nodes:aebab5b3-a1f2-43ba-8f0c-394f182812ae:localhost]

2020-10-09 22:32:32 | [Mutex] received everything.

2020-10-09 22:32:32 | [Mutex] isItemNotified: received:node:aebab5b3-a1f2-43ba-8f0c-394f182812ae:localhost:node-beefc41a-262e-41ab-a676-2cc27395e469:Node beefc41a-262e-41ab-a676-2cc27395e469 :: true

createSubnodes 1.027s
2020-10-09 22:32:32 |

2020-10-09 22:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:32 | ------------------------------------

2020-10-09 22:32:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b17153a3-5217-466a-8ba9-d9cd4448bb14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b17153a3-5217-466a-8ba9-d9cd4448bb14</title></pubsub></data>

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

2020-10-09 22:32:33 | [Mutex] waiting for: [received:nodes:b8d149d3-d75f-4cc7-877c-3be1c03a85b5:localhost]

2020-10-09 22:32:33 | [Mutex] received everything.

2020-10-09 22:32:33 | [Mutex] isItemNotified: received:node:b8d149d3-d75f-4cc7-877c-3be1c03a85b5:localhost:node-b17153a3-5217-466a-8ba9-d9cd4448bb14:Node b17153a3-5217-466a-8ba9-d9cd4448bb14 :: true

deleteNodes 1.022s
2020-10-09 22:32:39 |

2020-10-09 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:39 | ------------------------------------

2020-10-09 22:32:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b17153a3-5217-466a-8ba9-d9cd4448bb14</node></data>

2020-10-09 22:32:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 22:32:40 | [Mutex] waiting for: [received:nodes:32591057-959b-4b90-a586-df839490b39b:localhost]

2020-10-09 22:32:40 | [Mutex] received everything.

2020-10-09 22:32:40 | [Mutex] isItemNotified: received:node:32591057-959b-4b90-a586-df839490b39b:localhost:node-b17153a3-5217-466a-8ba9-d9cd4448bb14:Node b17153a3-5217-466a-8ba9-d9cd4448bb14 :: false

deleteSubnodes 1.178s
2020-10-09 22:32:38 |

2020-10-09 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:38 | ------------------------------------

2020-10-09 22:32:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node></data>

2020-10-09 22:32:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 22:32:39 | [Mutex] waiting for: [received:nodes:8034dc32-a8cf-4a29-a0bc-ded79296eddf:localhost]

2020-10-09 22:32:39 | [Mutex] received everything.

2020-10-09 22:32:39 | [Mutex] isItemNotified: received:node:8034dc32-a8cf-4a29-a0bc-ded79296eddf:localhost:node-beefc41a-262e-41ab-a676-2cc27395e469:Node beefc41a-262e-41ab-a676-2cc27395e469 :: false

2020-10-09 22:32:39 | [Mutex] waiting for: [received:nodes:de390b43-30b1-4824-b286-2ec846e08489:localhost]

2020-10-09 22:32:39 | [Mutex] received everything.

2020-10-09 22:32:39 | [Mutex] isItemNotified: received:node:de390b43-30b1-4824-b286-2ec846e08489:localhost:node-beefc41a-262e-41ab-a676-2cc27395e469:Node beefc41a-262e-41ab-a676-2cc27395e469 :: false

publishItemsToNodes 0.278s
2020-10-09 22:32:35 |

2020-10-09 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:35 | ------------------------------------

2020-10-09 22:32:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><item-id>item-f7e43d66-a961-498c-aa6a-27999f17b514</item-id><entry><test>item-f7e43d66-a961-498c-aa6a-27999f17b514</test></entry></data>

2020-10-09 22:32:36 | 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-f7e43d66-a961-498c-aa6a-27999f17b514</value></item-id></result>

2020-10-09 22:32:36 | [Mutex] waiting for: [published:item:notifieditem-f7e43d66-a961-498c-aa6a-27999f17b514:admin@test-domain.com]

2020-10-09 22:32:36 | [Mutex] received everything.

2020-10-09 22:32:36 | [Mutex] isItemNotified: published:item:notifieditem-f7e43d66-a961-498c-aa6a-27999f17b514:admin@test-domain.com :: true

retractItemsFromNodes 0.334s
2020-10-09 22:32:36 |

2020-10-09 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:36 | ------------------------------------

2020-10-09 22:32:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><item-id>item-f7e43d66-a961-498c-aa6a-27999f17b514</item-id></data>

2020-10-09 22:32:36 | 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-f7e43d66-a961-498c-aa6a-27999f17b514</value></item-id></result>

2020-10-09 22:32:36 | [Mutex] waiting for: [retracted:item:notifieditem-f7e43d66-a961-498c-aa6a-27999f17b514:admin@test-domain.com]

2020-10-09 22:32:36 | [Mutex] received everything.

2020-10-09 22:32:36 | [Mutex] isItemNotified: retracted:item:notifieditem-f7e43d66-a961-498c-aa6a-27999f17b514:admin@test-domain.com :: true

retrieveItemsFromNodes 0.347s
2020-10-09 22:32:36 |

2020-10-09 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:36 | ------------------------------------

2020-10-09 22:32:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><item-id>item-f7e43d66-a961-498c-aa6a-27999f17b514</item-id></data>

2020-10-09 22:32:36 | 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-beefc41a-262e-41ab-a676-2cc27395e469</value></node><item-id label="Item ID" type="text-single"><value>item-f7e43d66-a961-498c-aa6a-27999f17b514</value></item-id><item label="Item" type="text-multi"><value><item id="item-f7e43d66-a961-498c-aa6a-27999f17b514"><test>item-f7e43d66-a961-498c-aa6a-27999f17b514</test></item></value></item></result>

2020-10-09 22:32:36 | [Mutex] notify: [retrieved:item:item-f7e43d66-a961-498c-aa6a-27999f17b514:payload-matches:true:localhost]

2020-10-09 22:32:36 | [Mutex] received everything.

2020-10-09 22:32:36 | [Mutex] isItemNotified: retrieved:item:item-f7e43d66-a961-498c-aa6a-27999f17b514:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2020-10-09 22:32:36 |

2020-10-09 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:36 | ------------------------------------

2020-10-09 22:32:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-09 22:32:36 | 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-beefc41a-262e-41ab-a676-2cc27395e469</value><value>node-b17153a3-5217-466a-8ba9-d9cd4448bb14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-10-09 22:32:36 |

2020-10-09 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:36 | ------------------------------------

2020-10-09 22:32:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-beefc41a-262e-41ab-a676-2cc27395e469)</node-pattern></data>

2020-10-09 22:32:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.194s
2020-10-09 22:32:34 |

2020-10-09 22:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:34 | ------------------------------------

2020-10-09 22:32:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-09 22:32:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.384s
2020-10-09 22:32:36 |

2020-10-09 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:32:36 | ------------------------------------

2020-10-09 22:32:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-beefc41a-262e-41ab-a676-2cc27395e469</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-09 22:32:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>