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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-09-23 23:25:00 |

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

2020-09-23 23:25:00 | ------------------------------------

2020-09-23 23:25:00 | [Mutex] waiting for: [configured:node:node-8da308ed-5424-42e6-9644-3b4f110b0668:node-c00ae351-1ad3-4141-b006-1f0506c243d9]

2020-09-23 23:25:01 | [Mutex] received everything.

2020-09-23 23:25:01 | [Mutex] isItemNotified: configured:node:node-8da308ed-5424-42e6-9644-3b4f110b0668:node-c00ae351-1ad3-4141-b006-1f0506c243d9 :: true

2020-09-23 23:25:02 | [Mutex] waiting for: [received:nodes:bcab0054-8aff-4316-80c3-06ae13e22b96:localhost]

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

2020-09-23 23:25:02 | [Mutex] isItemNotified: received:node:bcab0054-8aff-4316-80c3-06ae13e22b96:localhost:node-8da308ed-5424-42e6-9644-3b4f110b0668:Node 8da308ed-5424-42e6-9644-3b4f110b0668 :: true

2020-09-23 23:25:02 | [Mutex] waiting for: [received:nodes:ed4afd0f-dae0-4b92-b535-e68e41872647:localhost]

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

2020-09-23 23:25:02 | [Mutex] isItemNotified: received:node:ed4afd0f-dae0-4b92-b535-e68e41872647:localhost:node-8da308ed-5424-42e6-9644-3b4f110b0668:Node 8da308ed-5424-42e6-9644-3b4f110b0668 :: false

createNodes 1.584s
2020-09-23 23:24:58 |

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

2020-09-23 23:24:58 | ------------------------------------

2020-09-23 23:24:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8da308ed-5424-42e6-9644-3b4f110b0668</title></pubsub></data>

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

2020-09-23 23:24:59 | [Mutex] waiting for: [received:nodes:88f05c82-05e4-4901-af3e-660a0488b6e5:localhost]

2020-09-23 23:24:59 | [Mutex] received everything.

2020-09-23 23:24:59 | [Mutex] isItemNotified: received:node:88f05c82-05e4-4901-af3e-660a0488b6e5:localhost:node-8da308ed-5424-42e6-9644-3b4f110b0668:Node 8da308ed-5424-42e6-9644-3b4f110b0668 :: true

createSubnodes 1.036s
2020-09-23 23:24:59 |

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

2020-09-23 23:24:59 | ------------------------------------

2020-09-23 23:24:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c00ae351-1ad3-4141-b006-1f0506c243d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c00ae351-1ad3-4141-b006-1f0506c243d9</title></pubsub></data>

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

2020-09-23 23:25:00 | [Mutex] waiting for: [received:nodes:1476f15f-9467-40b9-8338-a8d6c36a3d1a:localhost]

2020-09-23 23:25:00 | [Mutex] received everything.

2020-09-23 23:25:00 | [Mutex] isItemNotified: received:node:1476f15f-9467-40b9-8338-a8d6c36a3d1a:localhost:node-c00ae351-1ad3-4141-b006-1f0506c243d9:Node c00ae351-1ad3-4141-b006-1f0506c243d9 :: true

deleteNodes 1.018s
2020-09-23 23:25:06 |

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

2020-09-23 23:25:06 | ------------------------------------

2020-09-23 23:25:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c00ae351-1ad3-4141-b006-1f0506c243d9</node></data>

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

2020-09-23 23:25:07 | [Mutex] waiting for: [received:nodes:89a6f4f9-2b0a-46ee-96fc-87f5581c65e0:localhost]

2020-09-23 23:25:07 | [Mutex] received everything.

2020-09-23 23:25:07 | [Mutex] isItemNotified: received:node:89a6f4f9-2b0a-46ee-96fc-87f5581c65e0:localhost:node-c00ae351-1ad3-4141-b006-1f0506c243d9:Node c00ae351-1ad3-4141-b006-1f0506c243d9 :: false

deleteSubnodes 1.130s
2020-09-23 23:25:05 |

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

2020-09-23 23:25:05 | ------------------------------------

2020-09-23 23:25:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node></data>

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

2020-09-23 23:25:06 | [Mutex] waiting for: [received:nodes:ac426d53-aa0d-4262-9d42-bb9a401fdffe:localhost]

2020-09-23 23:25:06 | [Mutex] received everything.

2020-09-23 23:25:06 | [Mutex] isItemNotified: received:node:ac426d53-aa0d-4262-9d42-bb9a401fdffe:localhost:node-8da308ed-5424-42e6-9644-3b4f110b0668:Node 8da308ed-5424-42e6-9644-3b4f110b0668 :: false

2020-09-23 23:25:06 | [Mutex] waiting for: [received:nodes:a7a3eb14-6626-44fd-a87f-72220a888b29:localhost]

2020-09-23 23:25:06 | [Mutex] received everything.

2020-09-23 23:25:06 | [Mutex] isItemNotified: received:node:a7a3eb14-6626-44fd-a87f-72220a888b29:localhost:node-8da308ed-5424-42e6-9644-3b4f110b0668:Node 8da308ed-5424-42e6-9644-3b4f110b0668 :: false

publishItemsToNodes 0.202s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

2020-09-23 23:25:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><item-id>item-753504b6-706d-4051-95fa-28dc46a6e618</item-id><entry><test>item-753504b6-706d-4051-95fa-28dc46a6e618</test></entry></data>

2020-09-23 23:25:03 | 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-753504b6-706d-4051-95fa-28dc46a6e618</value></item-id></result>

2020-09-23 23:25:03 | [Mutex] received everything.

2020-09-23 23:25:03 | [Mutex] isItemNotified: published:item:notifieditem-753504b6-706d-4051-95fa-28dc46a6e618:admin@test-domain.com :: true

retractItemsFromNodes 0.163s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

2020-09-23 23:25:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><item-id>item-753504b6-706d-4051-95fa-28dc46a6e618</item-id></data>

2020-09-23 23:25:03 | 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-753504b6-706d-4051-95fa-28dc46a6e618</value></item-id></result>

2020-09-23 23:25:03 | [Mutex] received everything.

2020-09-23 23:25:03 | [Mutex] isItemNotified: retracted:item:notifieditem-753504b6-706d-4051-95fa-28dc46a6e618:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

2020-09-23 23:25:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><item-id>item-753504b6-706d-4051-95fa-28dc46a6e618</item-id></data>

2020-09-23 23:25:03 | 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-8da308ed-5424-42e6-9644-3b4f110b0668</value></node><item-id label="Item ID" type="text-single"><value>item-753504b6-706d-4051-95fa-28dc46a6e618</value></item-id><item label="Item" type="text-multi"><value><item id="item-753504b6-706d-4051-95fa-28dc46a6e618"><test>item-753504b6-706d-4051-95fa-28dc46a6e618</test></item></value></item></result>

2020-09-23 23:25:03 | [Mutex] notify: [retrieved:item:item-753504b6-706d-4051-95fa-28dc46a6e618:payload-matches:true:localhost]

2020-09-23 23:25:03 | [Mutex] received everything.

2020-09-23 23:25:03 | [Mutex] isItemNotified: retrieved:item:item-753504b6-706d-4051-95fa-28dc46a6e618:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

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

2020-09-23 23:25:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c00ae351-1ad3-4141-b006-1f0506c243d9</value><value>node-8da308ed-5424-42e6-9644-3b4f110b0668</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

2020-09-23 23:25:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8da308ed-5424-42e6-9644-3b4f110b0668)</node-pattern></data>

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

subscribeNodes 1.127s
2020-09-23 23:25:02 |

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

2020-09-23 23:25:02 | ------------------------------------

2020-09-23 23:25:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2020-09-23 23:25:03 |

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

2020-09-23 23:25:03 | ------------------------------------

2020-09-23 23:25:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8da308ed-5424-42e6-9644-3b4f110b0668</node><jids><value>admin@test-domain.com</value></jids></data>

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