Generated by TestNG with ReportNG at 22:25 PDT on Friday 23 October 2020
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 : 9.932s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2020-10-23 22:40:52 |

2020-10-23 22:40:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:52 | ------------------------------------

2020-10-23 22:40:52 | [Mutex] waiting for: [configured:node:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:node-38120211-26af-480e-8a4d-4be561971c6b]

2020-10-23 22:40:52 | [Mutex] received everything.

2020-10-23 22:40:52 | [Mutex] isItemNotified: configured:node:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:node-38120211-26af-480e-8a4d-4be561971c6b :: true

2020-10-23 22:40:53 | [Mutex] waiting for: [received:nodes:a43c3bfc-2a13-4bb2-a276-6dc31e235475:localhost]

2020-10-23 22:40:53 | [Mutex] received everything.

2020-10-23 22:40:53 | [Mutex] isItemNotified: received:node:a43c3bfc-2a13-4bb2-a276-6dc31e235475:localhost:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c :: true

2020-10-23 22:40:53 | [Mutex] waiting for: [received:nodes:86172883-3577-410b-a5ce-37fc9083bfe6:localhost]

2020-10-23 22:40:53 | [Mutex] received everything.

2020-10-23 22:40:53 | [Mutex] isItemNotified: received:node:86172883-3577-410b-a5ce-37fc9083bfe6:localhost:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c :: false

createNodes 1.465s
2020-10-23 22:40:49 |

2020-10-23 22:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:49 | ------------------------------------

2020-10-23 22:40:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</title></pubsub></data>

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

2020-10-23 22:40:51 | [Mutex] waiting for: [received:nodes:f8e4b77b-a416-4536-ae6a-733e1d7c5ea2:localhost]

2020-10-23 22:40:51 | [Mutex] waiting for: [received:nodes:f8e4b77b-a416-4536-ae6a-733e1d7c5ea2:localhost]

2020-10-23 22:40:51 | [Mutex] received everything.

2020-10-23 22:40:51 | [Mutex] isItemNotified: received:node:f8e4b77b-a416-4536-ae6a-733e1d7c5ea2:localhost:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c :: true

createSubnodes 1.030s
2020-10-23 22:40:51 |

2020-10-23 22:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:51 | ------------------------------------

2020-10-23 22:40:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-38120211-26af-480e-8a4d-4be561971c6b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 38120211-26af-480e-8a4d-4be561971c6b</title></pubsub></data>

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

2020-10-23 22:40:52 | [Mutex] waiting for: [received:nodes:3ef5f82b-bd0a-44bc-9c7c-60ec214fa336:localhost]

2020-10-23 22:40:52 | [Mutex] received everything.

2020-10-23 22:40:52 | [Mutex] isItemNotified: received:node:3ef5f82b-bd0a-44bc-9c7c-60ec214fa336:localhost:node-38120211-26af-480e-8a4d-4be561971c6b:Node 38120211-26af-480e-8a4d-4be561971c6b :: true

deleteNodes 1.025s
2020-10-23 22:40:57 |

2020-10-23 22:40:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:57 | ------------------------------------

2020-10-23 22:40:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-38120211-26af-480e-8a4d-4be561971c6b</node></data>

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

2020-10-23 22:40:58 | [Mutex] waiting for: [received:nodes:6062722c-cd23-45dd-9c88-b609f71e1fc2:localhost]

2020-10-23 22:40:58 | [Mutex] waiting for: [received:nodes:6062722c-cd23-45dd-9c88-b609f71e1fc2:localhost]

2020-10-23 22:40:58 | [Mutex] received everything.

2020-10-23 22:40:58 | [Mutex] isItemNotified: received:node:6062722c-cd23-45dd-9c88-b609f71e1fc2:localhost:node-38120211-26af-480e-8a4d-4be561971c6b:Node 38120211-26af-480e-8a4d-4be561971c6b :: false

deleteSubnodes 1.115s
2020-10-23 22:40:56 |

2020-10-23 22:40:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:56 | ------------------------------------

2020-10-23 22:40:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node></data>

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

2020-10-23 22:40:57 | [Mutex] waiting for: [received:nodes:debc8dd5-16ce-4296-8f24-8733d0807a60:localhost]

2020-10-23 22:40:57 | [Mutex] received everything.

2020-10-23 22:40:57 | [Mutex] isItemNotified: received:node:debc8dd5-16ce-4296-8f24-8733d0807a60:localhost:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c :: false

2020-10-23 22:40:57 | [Mutex] waiting for: [received:nodes:4991263c-4379-4e38-8800-cb02e127da2d:localhost]

2020-10-23 22:40:57 | [Mutex] received everything.

2020-10-23 22:40:57 | [Mutex] isItemNotified: received:node:4991263c-4379-4e38-8800-cb02e127da2d:localhost:node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c:Node 3e7286f3-ef72-4dfb-9a92-3fb43cbe865c :: false

publishItemsToNodes 0.243s
2020-10-23 22:40:54 |

2020-10-23 22:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:54 | ------------------------------------

2020-10-23 22:40:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><item-id>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</item-id><entry><test>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</test></entry></data>

2020-10-23 22:40:54 | 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-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</value></item-id></result>

2020-10-23 22:40:54 | [Mutex] received everything.

2020-10-23 22:40:54 | [Mutex] isItemNotified: published:item:notifieditem-39bd1865-bb10-42f0-a43c-bbf0fb7ce545:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2020-10-23 22:40:55 |

2020-10-23 22:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:55 | ------------------------------------

2020-10-23 22:40:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><item-id>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</item-id></data>

2020-10-23 22:40:55 | 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-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</value></item-id></result>

2020-10-23 22:40:55 | [Mutex] received everything.

2020-10-23 22:40:55 | [Mutex] isItemNotified: retracted:item:notifieditem-39bd1865-bb10-42f0-a43c-bbf0fb7ce545:admin@test-domain.com :: true

retrieveItemsFromNodes 0.273s
2020-10-23 22:40:54 |

2020-10-23 22:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:54 | ------------------------------------

2020-10-23 22:40:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><item-id>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</item-id></data>

2020-10-23 22:40:55 | 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-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</value></node><item-id label="Item ID" type="text-single"><value>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</value></item-id><item label="Item" type="text-multi"><value><item id="item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545"><test>item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545</test></item></value></item></result>

2020-10-23 22:40:55 | [Mutex] notify: [retrieved:item:item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545:payload-matches:true:localhost]

2020-10-23 22:40:55 | [Mutex] received everything.

2020-10-23 22:40:55 | [Mutex] isItemNotified: retrieved:item:item-39bd1865-bb10-42f0-a43c-bbf0fb7ce545:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-23 22:40:55 |

2020-10-23 22:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:55 | ------------------------------------

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

2020-10-23 22:40:55 | 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-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</value><value>node-38120211-26af-480e-8a4d-4be561971c6b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-23 22:40:55 |

2020-10-23 22:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:55 | ------------------------------------

2020-10-23 22:40:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c)</node-pattern></data>

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

subscribeNodes 1.128s
2020-10-23 22:40:53 |

2020-10-23 22:40:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:53 | ------------------------------------

2020-10-23 22:40:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.195s
2020-10-23 22:40:55 |

2020-10-23 22:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:40:55 | ------------------------------------

2020-10-23 22:40:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3e7286f3-ef72-4dfb-9a92-3fb43cbe865c</node><jids><value>admin@test-domain.com</value></jids></data>

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