Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 21 April 2021
root@785cf647a4ab / 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.987s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-04-21 22:44:07 |

2021-04-21 22:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:07 | ------------------------------------

2021-04-21 22:44:07 | [Mutex] waiting for: [configured:node:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:node-da202a56-c915-4884-ab04-c00cb9fed4cc]

2021-04-21 22:44:07 | [Mutex] received everything.

2021-04-21 22:44:07 | [Mutex] isItemNotified: configured:node:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:node-da202a56-c915-4884-ab04-c00cb9fed4cc :: true

2021-04-21 22:44:08 | [Mutex] waiting for: [received:nodes:0fc4a8e4-cc02-4a8b-89fd-bad34ca3228d:localhost]

2021-04-21 22:44:08 | [Mutex] received everything.

2021-04-21 22:44:08 | [Mutex] isItemNotified: received:node:0fc4a8e4-cc02-4a8b-89fd-bad34ca3228d:localhost:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:Node 4b1d9645-1b48-441d-bb92-e8e168c3016c :: true

2021-04-21 22:44:08 | [Mutex] waiting for: [received:nodes:96a15406-37dd-45bd-9730-078f36b22bba:localhost]

2021-04-21 22:44:08 | [Mutex] received everything.

2021-04-21 22:44:08 | [Mutex] isItemNotified: received:node:96a15406-37dd-45bd-9730-078f36b22bba:localhost:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:Node 4b1d9645-1b48-441d-bb92-e8e168c3016c :: false

createNodes 1.530s
2021-04-21 22:44:05 |

2021-04-21 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:05 | ------------------------------------

2021-04-21 22:44:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4b1d9645-1b48-441d-bb92-e8e168c3016c</title></pubsub></data>

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

2021-04-21 22:44:06 | [Mutex] waiting for: [received:nodes:41eebec7-bc54-48cb-89b2-69b5d77d78db:localhost]

2021-04-21 22:44:06 | [Mutex] received everything.

2021-04-21 22:44:06 | [Mutex] isItemNotified: received:node:41eebec7-bc54-48cb-89b2-69b5d77d78db:localhost:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:Node 4b1d9645-1b48-441d-bb92-e8e168c3016c :: true

createSubnodes 1.028s
2021-04-21 22:44:06 |

2021-04-21 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:06 | ------------------------------------

2021-04-21 22:44:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da202a56-c915-4884-ab04-c00cb9fed4cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da202a56-c915-4884-ab04-c00cb9fed4cc</title></pubsub></data>

2021-04-21 22:44: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-21 22:44:07 | [Mutex] waiting for: [received:nodes:295c169a-9a27-4615-8da8-8b4ffef38ff9:localhost]

2021-04-21 22:44:07 | [Mutex] received everything.

2021-04-21 22:44:07 | [Mutex] isItemNotified: received:node:295c169a-9a27-4615-8da8-8b4ffef38ff9:localhost:node-da202a56-c915-4884-ab04-c00cb9fed4cc:Node da202a56-c915-4884-ab04-c00cb9fed4cc :: true

deleteNodes 1.025s
2021-04-21 22:44:13 |

2021-04-21 22:44:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:13 | ------------------------------------

2021-04-21 22:44:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da202a56-c915-4884-ab04-c00cb9fed4cc</node></data>

2021-04-21 22:44:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-21 22:44:14 | [Mutex] waiting for: [received:nodes:3b16bdff-ca0a-47a8-9ab3-ef5f59823e16:localhost]

2021-04-21 22:44:14 | [Mutex] received everything.

2021-04-21 22:44:14 | [Mutex] isItemNotified: received:node:3b16bdff-ca0a-47a8-9ab3-ef5f59823e16:localhost:node-da202a56-c915-4884-ab04-c00cb9fed4cc:Node da202a56-c915-4884-ab04-c00cb9fed4cc :: false

deleteSubnodes 1.136s
2021-04-21 22:44:12 |

2021-04-21 22:44:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:12 | ------------------------------------

2021-04-21 22:44:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node></data>

2021-04-21 22:44: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-21 22:44:13 | [Mutex] waiting for: [received:nodes:7567798f-f306-42a9-b895-d706ca568781:localhost]

2021-04-21 22:44:13 | [Mutex] waiting for: [received:nodes:7567798f-f306-42a9-b895-d706ca568781:localhost]

2021-04-21 22:44:13 | [Mutex] received everything.

2021-04-21 22:44:13 | [Mutex] isItemNotified: received:node:7567798f-f306-42a9-b895-d706ca568781:localhost:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:Node 4b1d9645-1b48-441d-bb92-e8e168c3016c :: false

2021-04-21 22:44:13 | [Mutex] waiting for: [received:nodes:2a9ac067-0ee8-4093-a462-5e316d8f2bff:localhost]

2021-04-21 22:44:13 | [Mutex] received everything.

2021-04-21 22:44:13 | [Mutex] isItemNotified: received:node:2a9ac067-0ee8-4093-a462-5e316d8f2bff:localhost:node-4b1d9645-1b48-441d-bb92-e8e168c3016c:Node 4b1d9645-1b48-441d-bb92-e8e168c3016c :: false

publishItemsToNodes 0.177s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

2021-04-21 22:44:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><item-id>item-a73d0f90-a395-4da5-b149-9a84702fe989</item-id><entry><test>item-a73d0f90-a395-4da5-b149-9a84702fe989</test></entry></data>

2021-04-21 22:44:10 | 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-a73d0f90-a395-4da5-b149-9a84702fe989</value></item-id></result>

2021-04-21 22:44:10 | [Mutex] waiting for: [published:item:notifieditem-a73d0f90-a395-4da5-b149-9a84702fe989:admin@test-domain.com]

2021-04-21 22:44:10 | [Mutex] received everything.

2021-04-21 22:44:10 | [Mutex] isItemNotified: published:item:notifieditem-a73d0f90-a395-4da5-b149-9a84702fe989:admin@test-domain.com :: true

retractItemsFromNodes 0.155s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

2021-04-21 22:44:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><item-id>item-a73d0f90-a395-4da5-b149-9a84702fe989</item-id></data>

2021-04-21 22:44:10 | 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-a73d0f90-a395-4da5-b149-9a84702fe989</value></item-id></result>

2021-04-21 22:44:10 | [Mutex] received everything.

2021-04-21 22:44:10 | [Mutex] isItemNotified: retracted:item:notifieditem-a73d0f90-a395-4da5-b149-9a84702fe989:admin@test-domain.com :: true

retrieveItemsFromNodes 0.306s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

2021-04-21 22:44:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><item-id>item-a73d0f90-a395-4da5-b149-9a84702fe989</item-id></data>

2021-04-21 22:44:10 | 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-4b1d9645-1b48-441d-bb92-e8e168c3016c</value></node><item-id label="Item ID" type="text-single"><value>item-a73d0f90-a395-4da5-b149-9a84702fe989</value></item-id><item label="Item" type="text-multi"><value><item id="item-a73d0f90-a395-4da5-b149-9a84702fe989"><test>item-a73d0f90-a395-4da5-b149-9a84702fe989</test></item></value></item></result>

2021-04-21 22:44:10 | [Mutex] notify: [retrieved:item:item-a73d0f90-a395-4da5-b149-9a84702fe989:payload-matches:true:localhost]

2021-04-21 22:44:10 | [Mutex] received everything.

2021-04-21 22:44:10 | [Mutex] isItemNotified: retrieved:item:item-a73d0f90-a395-4da5-b149-9a84702fe989:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

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

2021-04-21 22:44:10 | 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-4b1d9645-1b48-441d-bb92-e8e168c3016c</value><value>node-da202a56-c915-4884-ab04-c00cb9fed4cc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

2021-04-21 22:44:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4b1d9645-1b48-441d-bb92-e8e168c3016c)</node-pattern></data>

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

subscribeNodes 1.150s
2021-04-21 22:44:08 |

2021-04-21 22:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:08 | ------------------------------------

2021-04-21 22:44:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-21 22:44:09 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.319s
2021-04-21 22:44:10 |

2021-04-21 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:44:10 | ------------------------------------

2021-04-21 22:44:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4b1d9645-1b48-441d-bb92-e8e168c3016c</node><jids><value>admin@test-domain.com</value></jids></data>

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