Generated by TestNG with ReportNG at 21:27 PST on Thursday 14 January 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.410s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2021-01-14 21:45:15 |

2021-01-14 21:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:15 | ------------------------------------

2021-01-14 21:45:15 | [Mutex] waiting for: [configured:node:node-778fb955-78e9-4977-ab44-f238cffefa57:node-5f0722c8-f6d4-4c68-b913-e485290ced82]

2021-01-14 21:45:15 | [Mutex] received everything.

2021-01-14 21:45:15 | [Mutex] isItemNotified: configured:node:node-778fb955-78e9-4977-ab44-f238cffefa57:node-5f0722c8-f6d4-4c68-b913-e485290ced82 :: true

2021-01-14 21:45:16 | [Mutex] waiting for: [received:nodes:711a3eb9-ab8b-4328-9dda-8a273d07ff24:localhost]

2021-01-14 21:45:16 | [Mutex] received everything.

2021-01-14 21:45:16 | [Mutex] isItemNotified: received:node:711a3eb9-ab8b-4328-9dda-8a273d07ff24:localhost:node-778fb955-78e9-4977-ab44-f238cffefa57:Node 778fb955-78e9-4977-ab44-f238cffefa57 :: true

2021-01-14 21:45:16 | [Mutex] waiting for: [received:nodes:d22c20b3-f1c5-441e-89c8-10efa947ef5c:localhost]

2021-01-14 21:45:16 | [Mutex] waiting for: [received:nodes:d22c20b3-f1c5-441e-89c8-10efa947ef5c:localhost]

2021-01-14 21:45:16 | [Mutex] received everything.

2021-01-14 21:45:16 | [Mutex] isItemNotified: received:node:d22c20b3-f1c5-441e-89c8-10efa947ef5c:localhost:node-778fb955-78e9-4977-ab44-f238cffefa57:Node 778fb955-78e9-4977-ab44-f238cffefa57 :: false

createNodes 1.470s
2021-01-14 21:45:13 |

2021-01-14 21:45:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:13 | ------------------------------------

2021-01-14 21:45:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 778fb955-78e9-4977-ab44-f238cffefa57</title></pubsub></data>

2021-01-14 21:45:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:45:14 | [Mutex] waiting for: [received:nodes:f32f3900-3b7f-44ec-9c91-316e418a97a0:localhost]

2021-01-14 21:45:14 | [Mutex] received everything.

2021-01-14 21:45:14 | [Mutex] isItemNotified: received:node:f32f3900-3b7f-44ec-9c91-316e418a97a0:localhost:node-778fb955-78e9-4977-ab44-f238cffefa57:Node 778fb955-78e9-4977-ab44-f238cffefa57 :: true

createSubnodes 1.037s
2021-01-14 21:45:14 |

2021-01-14 21:45:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:14 | ------------------------------------

2021-01-14 21:45:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f0722c8-f6d4-4c68-b913-e485290ced82</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f0722c8-f6d4-4c68-b913-e485290ced82</title></pubsub></data>

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

2021-01-14 21:45:15 | [Mutex] waiting for: [received:nodes:0fe461f9-f022-4d46-84dd-9de33ab89932:localhost]

2021-01-14 21:45:15 | [Mutex] received everything.

2021-01-14 21:45:15 | [Mutex] isItemNotified: received:node:0fe461f9-f022-4d46-84dd-9de33ab89932:localhost:node-5f0722c8-f6d4-4c68-b913-e485290ced82:Node 5f0722c8-f6d4-4c68-b913-e485290ced82 :: true

deleteNodes 1.025s
2021-01-14 21:45:21 |

2021-01-14 21:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:21 | ------------------------------------

2021-01-14 21:45:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f0722c8-f6d4-4c68-b913-e485290ced82</node></data>

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

2021-01-14 21:45:22 | [Mutex] waiting for: [received:nodes:650bb593-dfb0-45e3-9fc0-f7a586fcc15f:localhost]

2021-01-14 21:45:22 | [Mutex] received everything.

2021-01-14 21:45:22 | [Mutex] isItemNotified: received:node:650bb593-dfb0-45e3-9fc0-f7a586fcc15f:localhost:node-5f0722c8-f6d4-4c68-b913-e485290ced82:Node 5f0722c8-f6d4-4c68-b913-e485290ced82 :: false

deleteSubnodes 1.212s
2021-01-14 21:45:20 |

2021-01-14 21:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:20 | ------------------------------------

2021-01-14 21:45:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node></data>

2021-01-14 21:45:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 21:45:21 | [Mutex] waiting for: [received:nodes:d69e6fb4-f778-4821-8f3e-edbbbcac473d:localhost]

2021-01-14 21:45:21 | [Mutex] received everything.

2021-01-14 21:45:21 | [Mutex] isItemNotified: received:node:d69e6fb4-f778-4821-8f3e-edbbbcac473d:localhost:node-778fb955-78e9-4977-ab44-f238cffefa57:Node 778fb955-78e9-4977-ab44-f238cffefa57 :: false

2021-01-14 21:45:21 | [Mutex] waiting for: [received:nodes:562d621e-41a0-4bf8-983a-b33e2da23306:localhost]

2021-01-14 21:45:21 | [Mutex] received everything.

2021-01-14 21:45:21 | [Mutex] isItemNotified: received:node:562d621e-41a0-4bf8-983a-b33e2da23306:localhost:node-778fb955-78e9-4977-ab44-f238cffefa57:Node 778fb955-78e9-4977-ab44-f238cffefa57 :: false

publishItemsToNodes 0.243s
2021-01-14 21:45:18 |

2021-01-14 21:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:18 | ------------------------------------

2021-01-14 21:45:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><item-id>item-f481b22a-01ba-495e-89e4-739748d51128</item-id><entry><test>item-f481b22a-01ba-495e-89e4-739748d51128</test></entry></data>

2021-01-14 21:45:18 | 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-f481b22a-01ba-495e-89e4-739748d51128</value></item-id></result>

2021-01-14 21:45:18 | [Mutex] received everything.

2021-01-14 21:45:18 | [Mutex] isItemNotified: published:item:notifieditem-f481b22a-01ba-495e-89e4-739748d51128:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2021-01-14 21:45:18 |

2021-01-14 21:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:18 | ------------------------------------

2021-01-14 21:45:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><item-id>item-f481b22a-01ba-495e-89e4-739748d51128</item-id></data>

2021-01-14 21:45:19 | 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-f481b22a-01ba-495e-89e4-739748d51128</value></item-id></result>

2021-01-14 21:45:19 | [Mutex] received everything.

2021-01-14 21:45:19 | [Mutex] isItemNotified: retracted:item:notifieditem-f481b22a-01ba-495e-89e4-739748d51128:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2021-01-14 21:45:18 |

2021-01-14 21:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:18 | ------------------------------------

2021-01-14 21:45:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><item-id>item-f481b22a-01ba-495e-89e4-739748d51128</item-id></data>

2021-01-14 21:45:18 | 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-778fb955-78e9-4977-ab44-f238cffefa57</value></node><item-id label="Item ID" type="text-single"><value>item-f481b22a-01ba-495e-89e4-739748d51128</value></item-id><item label="Item" type="text-multi"><value><item id="item-f481b22a-01ba-495e-89e4-739748d51128"><test>item-f481b22a-01ba-495e-89e4-739748d51128</test></item></value></item></result>

2021-01-14 21:45:18 | [Mutex] notify: [retrieved:item:item-f481b22a-01ba-495e-89e4-739748d51128:payload-matches:true:localhost]

2021-01-14 21:45:18 | [Mutex] received everything.

2021-01-14 21:45:18 | [Mutex] isItemNotified: retrieved:item:item-f481b22a-01ba-495e-89e4-739748d51128:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-14 21:45:18 |

2021-01-14 21:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:18 | ------------------------------------

2021-01-14 21:45:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-14 21:45:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-778fb955-78e9-4977-ab44-f238cffefa57</value><value>test</value><value>node-5f0722c8-f6d4-4c68-b913-e485290ced82</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-14 21:45:18 |

2021-01-14 21:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:18 | ------------------------------------

2021-01-14 21:45:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-778fb955-78e9-4977-ab44-f238cffefa57)</node-pattern></data>

2021-01-14 21:45:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.182s
2021-01-14 21:45:16 |

2021-01-14 21:45:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:16 | ------------------------------------

2021-01-14 21:45:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 21:45:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.311s
2021-01-14 21:45:19 |

2021-01-14 21:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 21:45:19 | ------------------------------------

2021-01-14 21:45:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-778fb955-78e9-4977-ab44-f238cffefa57</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 21:45:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>