Generated by TestNG with ReportNG at 02:19 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.090s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2020-09-18 02:36:11 |

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

2020-09-18 02:36:11 | ------------------------------------

2020-09-18 02:36:11 | [Mutex] waiting for: [configured:node:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:node-1138024b-dc07-4d93-a4de-f01a7dda5275]

2020-09-18 02:36:11 | [Mutex] received everything.

2020-09-18 02:36:11 | [Mutex] isItemNotified: configured:node:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:node-1138024b-dc07-4d93-a4de-f01a7dda5275 :: true

2020-09-18 02:36:12 | [Mutex] waiting for: [received:nodes:6dffa94f-5efb-41c6-9001-b43f6cd6ca50:localhost]

2020-09-18 02:36:12 | [Mutex] received everything.

2020-09-18 02:36:12 | [Mutex] isItemNotified: received:node:6dffa94f-5efb-41c6-9001-b43f6cd6ca50:localhost:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9 :: true

2020-09-18 02:36:12 | [Mutex] waiting for: [received:nodes:5692d3c5-e5d0-4a23-a5c7-c0db50987b24:localhost]

2020-09-18 02:36:12 | [Mutex] received everything.

2020-09-18 02:36:12 | [Mutex] isItemNotified: received:node:5692d3c5-e5d0-4a23-a5c7-c0db50987b24:localhost:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9 :: false

createNodes 1.557s
2020-09-18 02:36:08 |

2020-09-18 02:36:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:36:08 | ------------------------------------

2020-09-18 02:36:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</title></pubsub></data>

2020-09-18 02:36: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-18 02:36:10 | [Mutex] waiting for: [received:nodes:e37196c7-8def-4b68-85c4-3561a37bb1d2:localhost]

2020-09-18 02:36:10 | [Mutex] received everything.

2020-09-18 02:36:10 | [Mutex] isItemNotified: received:node:e37196c7-8def-4b68-85c4-3561a37bb1d2:localhost:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9 :: true

createSubnodes 1.029s
2020-09-18 02:36:10 |

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

2020-09-18 02:36:10 | ------------------------------------

2020-09-18 02:36:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1138024b-dc07-4d93-a4de-f01a7dda5275</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1138024b-dc07-4d93-a4de-f01a7dda5275</title></pubsub></data>

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

2020-09-18 02:36:11 | [Mutex] waiting for: [received:nodes:ce47005b-08cb-40ac-9293-a6b23f086f5f:localhost]

2020-09-18 02:36:11 | [Mutex] received everything.

2020-09-18 02:36:11 | [Mutex] isItemNotified: received:node:ce47005b-08cb-40ac-9293-a6b23f086f5f:localhost:node-1138024b-dc07-4d93-a4de-f01a7dda5275:Node 1138024b-dc07-4d93-a4de-f01a7dda5275 :: true

deleteNodes 1.020s
2020-09-18 02:36:16 |

2020-09-18 02:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:36:16 | ------------------------------------

2020-09-18 02:36:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1138024b-dc07-4d93-a4de-f01a7dda5275</node></data>

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

2020-09-18 02:36:17 | [Mutex] waiting for: [received:nodes:7df2479a-feb9-4a41-a615-f1c486e93e5a:localhost]

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

2020-09-18 02:36:17 | [Mutex] isItemNotified: received:node:7df2479a-feb9-4a41-a615-f1c486e93e5a:localhost:node-1138024b-dc07-4d93-a4de-f01a7dda5275:Node 1138024b-dc07-4d93-a4de-f01a7dda5275 :: false

deleteSubnodes 1.111s
2020-09-18 02:36:15 |

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

2020-09-18 02:36:15 | ------------------------------------

2020-09-18 02:36:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node></data>

2020-09-18 02:36: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-18 02:36:16 | [Mutex] waiting for: [received:nodes:d95084ea-6868-4726-bb51-8a386ae70e20:localhost]

2020-09-18 02:36:16 | [Mutex] received everything.

2020-09-18 02:36:16 | [Mutex] isItemNotified: received:node:d95084ea-6868-4726-bb51-8a386ae70e20:localhost:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9 :: false

2020-09-18 02:36:16 | [Mutex] waiting for: [received:nodes:9c74b01b-c717-482d-860d-25f36de889cb:localhost]

2020-09-18 02:36:16 | [Mutex] received everything.

2020-09-18 02:36:16 | [Mutex] isItemNotified: received:node:9c74b01b-c717-482d-860d-25f36de889cb:localhost:node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9:Node 0b30e4e5-e27a-42ab-a87f-00ad9b463ff9 :: false

publishItemsToNodes 0.206s
2020-09-18 02:36:13 |

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

2020-09-18 02:36:13 | ------------------------------------

2020-09-18 02:36:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><item-id>item-74d4e387-2620-45cd-8f40-8b985bbb7171</item-id><entry><test>item-74d4e387-2620-45cd-8f40-8b985bbb7171</test></entry></data>

2020-09-18 02:36: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-74d4e387-2620-45cd-8f40-8b985bbb7171</value></item-id></result>

2020-09-18 02:36:13 | [Mutex] waiting for: [published:item:notifieditem-74d4e387-2620-45cd-8f40-8b985bbb7171:admin@test-domain.com]

2020-09-18 02:36:13 | [Mutex] received everything.

2020-09-18 02:36:13 | [Mutex] isItemNotified: published:item:notifieditem-74d4e387-2620-45cd-8f40-8b985bbb7171:admin@test-domain.com :: true

retractItemsFromNodes 0.210s
2020-09-18 02:36:14 |

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

2020-09-18 02:36:14 | ------------------------------------

2020-09-18 02:36:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><item-id>item-74d4e387-2620-45cd-8f40-8b985bbb7171</item-id></data>

2020-09-18 02:36:14 | 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-74d4e387-2620-45cd-8f40-8b985bbb7171</value></item-id></result>

2020-09-18 02:36:14 | [Mutex] received everything.

2020-09-18 02:36:14 | [Mutex] isItemNotified: retracted:item:notifieditem-74d4e387-2620-45cd-8f40-8b985bbb7171:admin@test-domain.com :: true

retrieveItemsFromNodes 0.335s
2020-09-18 02:36:13 |

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

2020-09-18 02:36:13 | ------------------------------------

2020-09-18 02:36:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><item-id>item-74d4e387-2620-45cd-8f40-8b985bbb7171</item-id></data>

2020-09-18 02:36:14 | 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-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</value></node><item-id label="Item ID" type="text-single"><value>item-74d4e387-2620-45cd-8f40-8b985bbb7171</value></item-id><item label="Item" type="text-multi"><value><item id="item-74d4e387-2620-45cd-8f40-8b985bbb7171"><test>item-74d4e387-2620-45cd-8f40-8b985bbb7171</test></item></value></item></result>

2020-09-18 02:36:14 | [Mutex] notify: [retrieved:item:item-74d4e387-2620-45cd-8f40-8b985bbb7171:payload-matches:true:localhost]

2020-09-18 02:36:14 | [Mutex] received everything.

2020-09-18 02:36:14 | [Mutex] isItemNotified: retrieved:item:item-74d4e387-2620-45cd-8f40-8b985bbb7171:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-18 02:36:14 |

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

2020-09-18 02:36:14 | ------------------------------------

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

2020-09-18 02:36:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-1138024b-dc07-4d93-a4de-f01a7dda5275</value><value>test</value><value>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-09-18 02:36:14 |

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

2020-09-18 02:36:14 | ------------------------------------

2020-09-18 02:36:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9)</node-pattern></data>

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

subscribeNodes 1.131s
2020-09-18 02:36:12 |

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

2020-09-18 02:36:12 | ------------------------------------

2020-09-18 02:36:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.239s
2020-09-18 02:36:14 |

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

2020-09-18 02:36:14 | ------------------------------------

2020-09-18 02:36:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0b30e4e5-e27a-42ab-a87f-00ad9b463ff9</node><jids><value>admin@test-domain.com</value></jids></data>

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