Generated by TestNG with ReportNG at 23:57 PDT on Tuesday 15 September 2020
root@b111a435ccb0 / 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.136s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.081s
2020-09-16 00:12:44 |

2020-09-16 00:12:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:44 | ------------------------------------

2020-09-16 00:12:44 | [Mutex] waiting for: [configured:node:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:node-7e6235c9-1583-43a2-9348-7311a5eda45f]

2020-09-16 00:12:44 | [Mutex] received everything.

2020-09-16 00:12:44 | [Mutex] isItemNotified: configured:node:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:node-7e6235c9-1583-43a2-9348-7311a5eda45f :: true

2020-09-16 00:12:45 | [Mutex] waiting for: [received:nodes:9d7a5fdd-eeb1-45a4-90e0-70b278794ae0:localhost]

2020-09-16 00:12:45 | [Mutex] received everything.

2020-09-16 00:12:45 | [Mutex] isItemNotified: received:node:9d7a5fdd-eeb1-45a4-90e0-70b278794ae0:localhost:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0 :: true

2020-09-16 00:12:45 | [Mutex] waiting for: [received:nodes:b7f654c9-dbdd-40a6-b483-dbc9b9349ded:localhost]

2020-09-16 00:12:45 | [Mutex] waiting for: [received:nodes:b7f654c9-dbdd-40a6-b483-dbc9b9349ded:localhost]

2020-09-16 00:12:45 | [Mutex] received everything.

2020-09-16 00:12:45 | [Mutex] isItemNotified: received:node:b7f654c9-dbdd-40a6-b483-dbc9b9349ded:localhost:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0 :: false

createNodes 1.416s
2020-09-16 00:12:42 |

2020-09-16 00:12:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:42 | ------------------------------------

2020-09-16 00:12:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0</title></pubsub></data>

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

2020-09-16 00:12:43 | [Mutex] waiting for: [received:nodes:fbfcece2-f227-4f0b-ab30-55363664f4d2:localhost]

2020-09-16 00:12:43 | [Mutex] received everything.

2020-09-16 00:12:43 | [Mutex] isItemNotified: received:node:fbfcece2-f227-4f0b-ab30-55363664f4d2:localhost:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0 :: true

createSubnodes 1.023s
2020-09-16 00:12:43 |

2020-09-16 00:12:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:43 | ------------------------------------

2020-09-16 00:12:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7e6235c9-1583-43a2-9348-7311a5eda45f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7e6235c9-1583-43a2-9348-7311a5eda45f</title></pubsub></data>

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

2020-09-16 00:12:44 | [Mutex] waiting for: [received:nodes:d1511850-a4d6-47f6-b543-5ffc6ea65eff:localhost]

2020-09-16 00:12:44 | [Mutex] received everything.

2020-09-16 00:12:44 | [Mutex] isItemNotified: received:node:d1511850-a4d6-47f6-b543-5ffc6ea65eff:localhost:node-7e6235c9-1583-43a2-9348-7311a5eda45f:Node 7e6235c9-1583-43a2-9348-7311a5eda45f :: true

deleteNodes 1.020s
2020-09-16 00:12:50 |

2020-09-16 00:12:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:50 | ------------------------------------

2020-09-16 00:12:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7e6235c9-1583-43a2-9348-7311a5eda45f</node></data>

2020-09-16 00:12:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 00:12:51 | [Mutex] waiting for: [received:nodes:1c6ebbc9-8ba6-4f9f-b5a3-57170c6ad66c:localhost]

2020-09-16 00:12:51 | [Mutex] received everything.

2020-09-16 00:12:51 | [Mutex] isItemNotified: received:node:1c6ebbc9-8ba6-4f9f-b5a3-57170c6ad66c:localhost:node-7e6235c9-1583-43a2-9348-7311a5eda45f:Node 7e6235c9-1583-43a2-9348-7311a5eda45f :: false

deleteSubnodes 1.120s
2020-09-16 00:12:49 |

2020-09-16 00:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:49 | ------------------------------------

2020-09-16 00:12:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node></data>

2020-09-16 00:12:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 00:12:50 | [Mutex] waiting for: [received:nodes:993eed04-628b-418c-bcef-4e9b52a2d5d4:localhost]

2020-09-16 00:12:50 | [Mutex] received everything.

2020-09-16 00:12:50 | [Mutex] isItemNotified: received:node:993eed04-628b-418c-bcef-4e9b52a2d5d4:localhost:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0 :: false

2020-09-16 00:12:50 | [Mutex] waiting for: [received:nodes:0ce98ff3-18d0-4a6e-9b9a-4b745b487022:localhost]

2020-09-16 00:12:50 | [Mutex] received everything.

2020-09-16 00:12:50 | [Mutex] isItemNotified: received:node:0ce98ff3-18d0-4a6e-9b9a-4b745b487022:localhost:node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0:Node 7a515266-f1fb-4f1d-b8d7-1b8b27429be0 :: false

publishItemsToNodes 0.228s
2020-09-16 00:12:46 |

2020-09-16 00:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:46 | ------------------------------------

2020-09-16 00:12:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><item-id>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</item-id><entry><test>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</test></entry></data>

2020-09-16 00:12:47 | 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-f0650a61-bc70-499f-98e5-6ea88a12cc99</value></item-id></result>

2020-09-16 00:12:47 | [Mutex] received everything.

2020-09-16 00:12:47 | [Mutex] isItemNotified: published:item:notifieditem-f0650a61-bc70-499f-98e5-6ea88a12cc99:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2020-09-16 00:12:47 |

2020-09-16 00:12:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:47 | ------------------------------------

2020-09-16 00:12:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><item-id>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</item-id></data>

2020-09-16 00:12:47 | 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-f0650a61-bc70-499f-98e5-6ea88a12cc99</value></item-id></result>

2020-09-16 00:12:47 | [Mutex] received everything.

2020-09-16 00:12:47 | [Mutex] isItemNotified: retracted:item:notifieditem-f0650a61-bc70-499f-98e5-6ea88a12cc99:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2020-09-16 00:12:47 |

2020-09-16 00:12:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:47 | ------------------------------------

2020-09-16 00:12:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><item-id>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</item-id></data>

2020-09-16 00:12:47 | 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-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</value></node><item-id label="Item ID" type="text-single"><value>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</value></item-id><item label="Item" type="text-multi"><value><item id="item-f0650a61-bc70-499f-98e5-6ea88a12cc99"><test>item-f0650a61-bc70-499f-98e5-6ea88a12cc99</test></item></value></item></result>

2020-09-16 00:12:47 | [Mutex] notify: [retrieved:item:item-f0650a61-bc70-499f-98e5-6ea88a12cc99:payload-matches:true:localhost]

2020-09-16 00:12:47 | [Mutex] received everything.

2020-09-16 00:12:47 | [Mutex] isItemNotified: retrieved:item:item-f0650a61-bc70-499f-98e5-6ea88a12cc99:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-16 00:12:47 |

2020-09-16 00:12:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:47 | ------------------------------------

2020-09-16 00:12:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-16 00:12:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-7e6235c9-1583-43a2-9348-7311a5eda45f</value><value>test</value><value>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-16 00:12:47 |

2020-09-16 00:12:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:47 | ------------------------------------

2020-09-16 00:12:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0)</node-pattern></data>

2020-09-16 00:12:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2020-09-16 00:12:45 |

2020-09-16 00:12:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:45 | ------------------------------------

2020-09-16 00:12:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 00:12:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.353s
2020-09-16 00:12:47 |

2020-09-16 00:12:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 00:12:47 | ------------------------------------

2020-09-16 00:12:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a515266-f1fb-4f1d-b8d7-1b8b27429be0</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 00:12:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>