Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 24 March 2021
root@43fec6d4badf / 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.003s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2021-03-24 22:58:39 |

2021-03-24 22:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:39 | ------------------------------------

2021-03-24 22:58:39 | [Mutex] waiting for: [configured:node:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:node-18af59c2-5092-459c-8d08-35c06dc5ffcb]

2021-03-24 22:58:39 | [Mutex] received everything.

2021-03-24 22:58:39 | [Mutex] isItemNotified: configured:node:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:node-18af59c2-5092-459c-8d08-35c06dc5ffcb :: true

2021-03-24 22:58:40 | [Mutex] waiting for: [received:nodes:af4545f8-1546-4e68-8596-38e936a0db8e:localhost]

2021-03-24 22:58:40 | [Mutex] received everything.

2021-03-24 22:58:40 | [Mutex] isItemNotified: received:node:af4545f8-1546-4e68-8596-38e936a0db8e:localhost:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907 :: true

2021-03-24 22:58:40 | [Mutex] waiting for: [received:nodes:a71a896d-8a22-45df-9ea8-4d8da5d7ada4:localhost]

2021-03-24 22:58:40 | [Mutex] waiting for: [received:nodes:a71a896d-8a22-45df-9ea8-4d8da5d7ada4:localhost]

2021-03-24 22:58:40 | [Mutex] received everything.

2021-03-24 22:58:40 | [Mutex] isItemNotified: received:node:a71a896d-8a22-45df-9ea8-4d8da5d7ada4:localhost:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907 :: false

createNodes 1.420s
2021-03-24 22:58:36 |

2021-03-24 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:36 | ------------------------------------

2021-03-24 22:58:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907</title></pubsub></data>

2021-03-24 22:58:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:58:38 | [Mutex] waiting for: [received:nodes:1e1ad435-1114-4dad-b360-01ed60119692:localhost]

2021-03-24 22:58:38 | [Mutex] received everything.

2021-03-24 22:58:38 | [Mutex] isItemNotified: received:node:1e1ad435-1114-4dad-b360-01ed60119692:localhost:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907 :: true

createSubnodes 1.034s
2021-03-24 22:58:38 |

2021-03-24 22:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:38 | ------------------------------------

2021-03-24 22:58:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-18af59c2-5092-459c-8d08-35c06dc5ffcb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 18af59c2-5092-459c-8d08-35c06dc5ffcb</title></pubsub></data>

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

2021-03-24 22:58:39 | [Mutex] waiting for: [received:nodes:5522fdaf-6ee6-4887-b391-d1bbca5e1059:localhost]

2021-03-24 22:58:39 | [Mutex] received everything.

2021-03-24 22:58:39 | [Mutex] isItemNotified: received:node:5522fdaf-6ee6-4887-b391-d1bbca5e1059:localhost:node-18af59c2-5092-459c-8d08-35c06dc5ffcb:Node 18af59c2-5092-459c-8d08-35c06dc5ffcb :: true

deleteNodes 1.029s
2021-03-24 22:58:45 |

2021-03-24 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:45 | ------------------------------------

2021-03-24 22:58:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-18af59c2-5092-459c-8d08-35c06dc5ffcb</node></data>

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

2021-03-24 22:58:46 | [Mutex] waiting for: [received:nodes:c0407884-bbd1-46dc-a3f4-5d1884b4faa1:localhost]

2021-03-24 22:58:46 | [Mutex] waiting for: [received:nodes:c0407884-bbd1-46dc-a3f4-5d1884b4faa1:localhost]

2021-03-24 22:58:46 | [Mutex] received everything.

2021-03-24 22:58:46 | [Mutex] isItemNotified: received:node:c0407884-bbd1-46dc-a3f4-5d1884b4faa1:localhost:node-18af59c2-5092-459c-8d08-35c06dc5ffcb:Node 18af59c2-5092-459c-8d08-35c06dc5ffcb :: false

deleteSubnodes 1.123s
2021-03-24 22:58:43 |

2021-03-24 22:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:43 | ------------------------------------

2021-03-24 22:58:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node></data>

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

2021-03-24 22:58:45 | [Mutex] waiting for: [received:nodes:21fce02a-bd49-4a63-bdbe-a12037c9a84c:localhost]

2021-03-24 22:58:45 | [Mutex] waiting for: [received:nodes:21fce02a-bd49-4a63-bdbe-a12037c9a84c:localhost]

2021-03-24 22:58:45 | [Mutex] received everything.

2021-03-24 22:58:45 | [Mutex] isItemNotified: received:node:21fce02a-bd49-4a63-bdbe-a12037c9a84c:localhost:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907 :: false

2021-03-24 22:58:45 | [Mutex] waiting for: [received:nodes:d931afa3-bb7d-4ce7-8400-7b672ce444d5:localhost]

2021-03-24 22:58:45 | [Mutex] received everything.

2021-03-24 22:58:45 | [Mutex] isItemNotified: received:node:d931afa3-bb7d-4ce7-8400-7b672ce444d5:localhost:node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907:Node 05ec7778-e1a9-4c94-999e-c2ecf9dbc907 :: false

publishItemsToNodes 0.295s
2021-03-24 22:58:41 |

2021-03-24 22:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:41 | ------------------------------------

2021-03-24 22:58:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><item-id>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</item-id><entry><test>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</test></entry></data>

2021-03-24 22:58:41 | 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-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</value></item-id></result>

2021-03-24 22:58:41 | [Mutex] waiting for: [published:item:notifieditem-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:admin@test-domain.com]

2021-03-24 22:58:42 | [Mutex] received everything.

2021-03-24 22:58:42 | [Mutex] isItemNotified: published:item:notifieditem-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2021-03-24 22:58:42 |

2021-03-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:42 | ------------------------------------

2021-03-24 22:58:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><item-id>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</item-id></data>

2021-03-24 22:58:42 | 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-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</value></item-id></result>

2021-03-24 22:58:42 | [Mutex] waiting for: [retracted:item:notifieditem-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:admin@test-domain.com]

2021-03-24 22:58:42 | [Mutex] received everything.

2021-03-24 22:58:42 | [Mutex] isItemNotified: retracted:item:notifieditem-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2021-03-24 22:58:42 |

2021-03-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:42 | ------------------------------------

2021-03-24 22:58:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><item-id>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</item-id></data>

2021-03-24 22:58:42 | 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-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</value></node><item-id label="Item ID" type="text-single"><value>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</value></item-id><item label="Item" type="text-multi"><value><item id="item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973"><test>item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973</test></item></value></item></result>

2021-03-24 22:58:42 | [Mutex] notify: [retrieved:item:item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:payload-matches:true:localhost]

2021-03-24 22:58:42 | [Mutex] received everything.

2021-03-24 22:58:42 | [Mutex] isItemNotified: retrieved:item:item-7a5ecb40-b936-468a-b0d9-0bc5b37f9973:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-03-24 22:58:42 |

2021-03-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:42 | ------------------------------------

2021-03-24 22:58:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-24 22:58:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</value><value>test</value><value>node-18af59c2-5092-459c-8d08-35c06dc5ffcb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-24 22:58:42 |

2021-03-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:42 | ------------------------------------

2021-03-24 22:58:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907)</node-pattern></data>

2021-03-24 22:58:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.172s
2021-03-24 22:58:40 |

2021-03-24 22:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:40 | ------------------------------------

2021-03-24 22:58:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:58:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.218s
2021-03-24 22:58:42 |

2021-03-24 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:42 | ------------------------------------

2021-03-24 22:58:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05ec7778-e1a9-4c94-999e-c2ecf9dbc907</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:58:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>