Generated by TestNG with ReportNG at 22:13 PDT on Sunday 11 October 2020
root@87f6aca6b6f2 / 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.244s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.164s
2020-10-11 22:29:40 |

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

2020-10-11 22:29:40 | ------------------------------------

2020-10-11 22:29:40 | [Mutex] waiting for: [configured:node:node-2658d85c-363f-48e8-b4d8-2509e29be68e:node-d8bfa9c3-2a45-482a-be37-0398b90ec05a]

2020-10-11 22:29:40 | [Mutex] received everything.

2020-10-11 22:29:40 | [Mutex] isItemNotified: configured:node:node-2658d85c-363f-48e8-b4d8-2509e29be68e:node-d8bfa9c3-2a45-482a-be37-0398b90ec05a :: true

2020-10-11 22:29:41 | [Mutex] waiting for: [received:nodes:7a49bfa1-95df-40e3-8adf-08b6e512bfdf:localhost]

2020-10-11 22:29:41 | [Mutex] received everything.

2020-10-11 22:29:41 | [Mutex] isItemNotified: received:node:7a49bfa1-95df-40e3-8adf-08b6e512bfdf:localhost:node-2658d85c-363f-48e8-b4d8-2509e29be68e:Node 2658d85c-363f-48e8-b4d8-2509e29be68e :: true

2020-10-11 22:29:41 | [Mutex] waiting for: [received:nodes:8f177350-dafa-4cd7-960f-798fcad7370e:localhost]

2020-10-11 22:29:41 | [Mutex] waiting for: [received:nodes:8f177350-dafa-4cd7-960f-798fcad7370e:localhost]

2020-10-11 22:29:41 | [Mutex] received everything.

2020-10-11 22:29:41 | [Mutex] isItemNotified: received:node:8f177350-dafa-4cd7-960f-798fcad7370e:localhost:node-2658d85c-363f-48e8-b4d8-2509e29be68e:Node 2658d85c-363f-48e8-b4d8-2509e29be68e :: false

createNodes 1.460s
2020-10-11 22:29:37 |

2020-10-11 22:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:37 | ------------------------------------

2020-10-11 22:29:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2658d85c-363f-48e8-b4d8-2509e29be68e</title></pubsub></data>

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

2020-10-11 22:29:39 | [Mutex] waiting for: [received:nodes:b7ff477f-df5a-4e49-80c4-675d42b03257:localhost]

2020-10-11 22:29:39 | [Mutex] received everything.

2020-10-11 22:29:39 | [Mutex] isItemNotified: received:node:b7ff477f-df5a-4e49-80c4-675d42b03257:localhost:node-2658d85c-363f-48e8-b4d8-2509e29be68e:Node 2658d85c-363f-48e8-b4d8-2509e29be68e :: true

createSubnodes 1.042s
2020-10-11 22:29:39 |

2020-10-11 22:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:39 | ------------------------------------

2020-10-11 22:29:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8bfa9c3-2a45-482a-be37-0398b90ec05a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8bfa9c3-2a45-482a-be37-0398b90ec05a</title></pubsub></data>

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

2020-10-11 22:29:40 | [Mutex] waiting for: [received:nodes:be002eec-cea1-440b-8cf8-8d87c484ca4d:localhost]

2020-10-11 22:29:40 | [Mutex] received everything.

2020-10-11 22:29:40 | [Mutex] isItemNotified: received:node:be002eec-cea1-440b-8cf8-8d87c484ca4d:localhost:node-d8bfa9c3-2a45-482a-be37-0398b90ec05a:Node d8bfa9c3-2a45-482a-be37-0398b90ec05a :: true

deleteNodes 1.021s
2020-10-11 22:29:45 |

2020-10-11 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:45 | ------------------------------------

2020-10-11 22:29:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8bfa9c3-2a45-482a-be37-0398b90ec05a</node></data>

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

2020-10-11 22:29:46 | [Mutex] waiting for: [received:nodes:a720a3bb-6183-4c40-9d98-271954127a56:localhost]

2020-10-11 22:29:46 | [Mutex] received everything.

2020-10-11 22:29:46 | [Mutex] isItemNotified: received:node:a720a3bb-6183-4c40-9d98-271954127a56:localhost:node-d8bfa9c3-2a45-482a-be37-0398b90ec05a:Node d8bfa9c3-2a45-482a-be37-0398b90ec05a :: false

deleteSubnodes 1.202s
2020-10-11 22:29:44 |

2020-10-11 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:44 | ------------------------------------

2020-10-11 22:29:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node></data>

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

2020-10-11 22:29:45 | [Mutex] waiting for: [received:nodes:9d9f4b2b-9879-477a-8d02-701ffaa30af3:localhost]

2020-10-11 22:29:45 | [Mutex] received everything.

2020-10-11 22:29:45 | [Mutex] isItemNotified: received:node:9d9f4b2b-9879-477a-8d02-701ffaa30af3:localhost:node-2658d85c-363f-48e8-b4d8-2509e29be68e:Node 2658d85c-363f-48e8-b4d8-2509e29be68e :: false

2020-10-11 22:29:45 | [Mutex] waiting for: [received:nodes:04d44537-1be0-4c8e-a96d-9c7ce351c423:localhost]

2020-10-11 22:29:45 | [Mutex] received everything.

2020-10-11 22:29:45 | [Mutex] isItemNotified: received:node:04d44537-1be0-4c8e-a96d-9c7ce351c423:localhost:node-2658d85c-363f-48e8-b4d8-2509e29be68e:Node 2658d85c-363f-48e8-b4d8-2509e29be68e :: false

publishItemsToNodes 0.191s
2020-10-11 22:29:42 |

2020-10-11 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:42 | ------------------------------------

2020-10-11 22:29:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><item-id>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</item-id><entry><test>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</test></entry></data>

2020-10-11 22:29:42 | 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-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</value></item-id></result>

2020-10-11 22:29:42 | [Mutex] waiting for: [published:item:notifieditem-b8e915d6-3c4a-4f63-80c1-bd90f48991d7:admin@test-domain.com]

2020-10-11 22:29:42 | [Mutex] received everything.

2020-10-11 22:29:42 | [Mutex] isItemNotified: published:item:notifieditem-b8e915d6-3c4a-4f63-80c1-bd90f48991d7:admin@test-domain.com :: true

retractItemsFromNodes 0.244s
2020-10-11 22:29:42 |

2020-10-11 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:42 | ------------------------------------

2020-10-11 22:29:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><item-id>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</item-id></data>

2020-10-11 22:29:43 | 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-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</value></item-id></result>

2020-10-11 22:29:43 | [Mutex] received everything.

2020-10-11 22:29:43 | [Mutex] isItemNotified: retracted:item:notifieditem-b8e915d6-3c4a-4f63-80c1-bd90f48991d7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.285s
2020-10-11 22:29:42 |

2020-10-11 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:42 | ------------------------------------

2020-10-11 22:29:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><item-id>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</item-id></data>

2020-10-11 22:29:42 | 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-2658d85c-363f-48e8-b4d8-2509e29be68e</value></node><item-id label="Item ID" type="text-single"><value>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</value></item-id><item label="Item" type="text-multi"><value><item id="item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7"><test>item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7</test></item></value></item></result>

2020-10-11 22:29:42 | [Mutex] notify: [retrieved:item:item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7:payload-matches:true:localhost]

2020-10-11 22:29:42 | [Mutex] received everything.

2020-10-11 22:29:42 | [Mutex] isItemNotified: retrieved:item:item-b8e915d6-3c4a-4f63-80c1-bd90f48991d7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2020-10-11 22:29:42 |

2020-10-11 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:42 | ------------------------------------

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

2020-10-11 22:29:42 | 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-2658d85c-363f-48e8-b4d8-2509e29be68e</value><value>node-d8bfa9c3-2a45-482a-be37-0398b90ec05a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-10-11 22:29:42 |

2020-10-11 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:42 | ------------------------------------

2020-10-11 22:29:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2658d85c-363f-48e8-b4d8-2509e29be68e)</node-pattern></data>

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

subscribeNodes 1.112s
2020-10-11 22:29:41 |

2020-10-11 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:41 | ------------------------------------

2020-10-11 22:29:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.378s
2020-10-11 22:29:43 |

2020-10-11 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:29:43 | ------------------------------------

2020-10-11 22:29:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2658d85c-363f-48e8-b4d8-2509e29be68e</node><jids><value>admin@test-domain.com</value></jids></data>

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