Generated by TestNG with ReportNG at 23:02 PDT on Wednesday 02 September 2020
root@aaf3988fc7fc / 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.984s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2020-09-02 23:17:10 |

2020-09-02 23:17:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:10 | ------------------------------------

2020-09-02 23:17:10 | [Mutex] waiting for: [configured:node:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab]

2020-09-02 23:17:10 | [Mutex] received everything.

2020-09-02 23:17:10 | [Mutex] isItemNotified: configured:node:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab :: true

2020-09-02 23:17:11 | [Mutex] waiting for: [received:nodes:14c259c0-a976-4ec0-8ecd-adca61d11279:localhost]

2020-09-02 23:17:11 | [Mutex] received everything.

2020-09-02 23:17:11 | [Mutex] isItemNotified: received:node:14c259c0-a976-4ec0-8ecd-adca61d11279:localhost:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a :: true

2020-09-02 23:17:11 | [Mutex] waiting for: [received:nodes:5887e262-cc90-49fe-a8b2-5be659eab23f:localhost]

2020-09-02 23:17:11 | [Mutex] received everything.

2020-09-02 23:17:11 | [Mutex] isItemNotified: received:node:5887e262-cc90-49fe-a8b2-5be659eab23f:localhost:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a :: false

createNodes 1.618s
2020-09-02 23:17:07 |

2020-09-02 23:17:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:07 | ------------------------------------

2020-09-02 23:17:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</title></pubsub></data>

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

2020-09-02 23:17:09 | [Mutex] waiting for: [received:nodes:06e363f0-94b7-4617-bf8d-c7fdf5b4a507:localhost]

2020-09-02 23:17:09 | [Mutex] waiting for: [received:nodes:06e363f0-94b7-4617-bf8d-c7fdf5b4a507:localhost]

2020-09-02 23:17:09 | [Mutex] waiting for: [received:nodes:06e363f0-94b7-4617-bf8d-c7fdf5b4a507:localhost]

2020-09-02 23:17:09 | [Mutex] received everything.

2020-09-02 23:17:09 | [Mutex] isItemNotified: received:node:06e363f0-94b7-4617-bf8d-c7fdf5b4a507:localhost:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a :: true

createSubnodes 1.023s
2020-09-02 23:17:09 |

2020-09-02 23:17:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:09 | ------------------------------------

2020-09-02 23:17:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c8cdfa58-c25d-4a56-8a98-fbb214d257ab</title></pubsub></data>

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

2020-09-02 23:17:10 | [Mutex] waiting for: [received:nodes:c7622747-2754-4ef4-88dc-a05ba172a2f4:localhost]

2020-09-02 23:17:10 | [Mutex] received everything.

2020-09-02 23:17:10 | [Mutex] isItemNotified: received:node:c7622747-2754-4ef4-88dc-a05ba172a2f4:localhost:node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab:Node c8cdfa58-c25d-4a56-8a98-fbb214d257ab :: true

deleteNodes 1.022s
2020-09-02 23:17:15 |

2020-09-02 23:17:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:15 | ------------------------------------

2020-09-02 23:17:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab</node></data>

2020-09-02 23:17:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 23:17:16 | [Mutex] waiting for: [received:nodes:a9c93eca-25ef-49c5-a3d7-e4ab4c65c0cb:localhost]

2020-09-02 23:17:17 | [Mutex] waiting for: [received:nodes:a9c93eca-25ef-49c5-a3d7-e4ab4c65c0cb:localhost]

2020-09-02 23:17:17 | [Mutex] received everything.

2020-09-02 23:17:17 | [Mutex] isItemNotified: received:node:a9c93eca-25ef-49c5-a3d7-e4ab4c65c0cb:localhost:node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab:Node c8cdfa58-c25d-4a56-8a98-fbb214d257ab :: false

deleteSubnodes 1.134s
2020-09-02 23:17:14 |

2020-09-02 23:17:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:14 | ------------------------------------

2020-09-02 23:17:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node></data>

2020-09-02 23:17:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-02 23:17:15 | [Mutex] waiting for: [received:nodes:4c1c0abc-ab89-4240-adc9-55b87876f4e5:localhost]

2020-09-02 23:17:15 | [Mutex] received everything.

2020-09-02 23:17:15 | [Mutex] isItemNotified: received:node:4c1c0abc-ab89-4240-adc9-55b87876f4e5:localhost:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a :: false

2020-09-02 23:17:15 | [Mutex] waiting for: [received:nodes:5e11ee84-bb98-4845-a774-c73d8ff2f5d2:localhost]

2020-09-02 23:17:15 | [Mutex] received everything.

2020-09-02 23:17:15 | [Mutex] isItemNotified: received:node:5e11ee84-bb98-4845-a774-c73d8ff2f5d2:localhost:node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a:Node 3ffd7fb4-22d0-4ade-bb8d-025818c17b9a :: false

publishItemsToNodes 0.237s
2020-09-02 23:17:12 |

2020-09-02 23:17:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:12 | ------------------------------------

2020-09-02 23:17:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><item-id>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</item-id><entry><test>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</test></entry></data>

2020-09-02 23:17:13 | 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-38768533-7121-4cbc-ae46-2e143fbbb4ad</value></item-id></result>

2020-09-02 23:17:13 | [Mutex] received everything.

2020-09-02 23:17:13 | [Mutex] isItemNotified: published:item:notifieditem-38768533-7121-4cbc-ae46-2e143fbbb4ad:admin@test-domain.com :: true

retractItemsFromNodes 0.201s
2020-09-02 23:17:13 |

2020-09-02 23:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:13 | ------------------------------------

2020-09-02 23:17:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><item-id>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</item-id></data>

2020-09-02 23:17:13 | 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-38768533-7121-4cbc-ae46-2e143fbbb4ad</value></item-id></result>

2020-09-02 23:17:13 | [Mutex] waiting for: [retracted:item:notifieditem-38768533-7121-4cbc-ae46-2e143fbbb4ad:admin@test-domain.com]

2020-09-02 23:17:13 | [Mutex] received everything.

2020-09-02 23:17:13 | [Mutex] isItemNotified: retracted:item:notifieditem-38768533-7121-4cbc-ae46-2e143fbbb4ad:admin@test-domain.com :: true

retrieveItemsFromNodes 0.180s
2020-09-02 23:17:13 |

2020-09-02 23:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:13 | ------------------------------------

2020-09-02 23:17:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><item-id>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</item-id></data>

2020-09-02 23:17:13 | 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-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</value></node><item-id label="Item ID" type="text-single"><value>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</value></item-id><item label="Item" type="text-multi"><value><item id="item-38768533-7121-4cbc-ae46-2e143fbbb4ad"><test>item-38768533-7121-4cbc-ae46-2e143fbbb4ad</test></item></value></item></result>

2020-09-02 23:17:13 | [Mutex] notify: [retrieved:item:item-38768533-7121-4cbc-ae46-2e143fbbb4ad:payload-matches:true:localhost]

2020-09-02 23:17:13 | [Mutex] received everything.

2020-09-02 23:17:13 | [Mutex] isItemNotified: retrieved:item:item-38768533-7121-4cbc-ae46-2e143fbbb4ad:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-02 23:17:13 |

2020-09-02 23:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:13 | ------------------------------------

2020-09-02 23:17:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-02 23:17:13 | 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-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</value><value>node-c8cdfa58-c25d-4a56-8a98-fbb214d257ab</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-02 23:17:13 |

2020-09-02 23:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:13 | ------------------------------------

2020-09-02 23:17:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a)</node-pattern></data>

2020-09-02 23:17:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.096s
2020-09-02 23:17:11 |

2020-09-02 23:17:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:11 | ------------------------------------

2020-09-02 23:17:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 23:17:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.286s
2020-09-02 23:17:13 |

2020-09-02 23:17:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-02 23:17:13 | ------------------------------------

2020-09-02 23:17:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3ffd7fb4-22d0-4ade-bb8d-025818c17b9a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-02 23:17:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>