Generated by TestNG with ReportNG at 22:35 PDT on Friday 28 August 2020
root@3f11cf2bdf81 / 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.953s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2020-08-28 22:50:59 |

2020-08-28 22:50:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:50:59 | ------------------------------------

2020-08-28 22:50:59 | [Mutex] waiting for: [configured:node:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:node-1330b6a7-958e-4790-b953-8b4b80d1d21c]

2020-08-28 22:51:00 | [Mutex] received everything.

2020-08-28 22:51:00 | [Mutex] isItemNotified: configured:node:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:node-1330b6a7-958e-4790-b953-8b4b80d1d21c :: true

2020-08-28 22:51:01 | [Mutex] waiting for: [received:nodes:24fa76c6-3b82-4879-85dd-539ae40a2f6b:localhost]

2020-08-28 22:51:01 | [Mutex] received everything.

2020-08-28 22:51:01 | [Mutex] isItemNotified: received:node:24fa76c6-3b82-4879-85dd-539ae40a2f6b:localhost:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907 :: true

2020-08-28 22:51:01 | [Mutex] waiting for: [received:nodes:729efadb-eb2f-4a14-84b7-19b2f50f28f4:localhost]

2020-08-28 22:51:01 | [Mutex] received everything.

2020-08-28 22:51:01 | [Mutex] isItemNotified: received:node:729efadb-eb2f-4a14-84b7-19b2f50f28f4:localhost:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907 :: false

createNodes 1.447s
2020-08-28 22:50:57 |

2020-08-28 22:50:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:50:57 | ------------------------------------

2020-08-28 22:50:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907</title></pubsub></data>

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

2020-08-28 22:50:58 | [Mutex] waiting for: [received:nodes:8d1c7593-21d9-4904-9b9b-821dd744a03f:localhost]

2020-08-28 22:50:58 | [Mutex] waiting for: [received:nodes:8d1c7593-21d9-4904-9b9b-821dd744a03f:localhost]

2020-08-28 22:50:58 | [Mutex] received everything.

2020-08-28 22:50:58 | [Mutex] isItemNotified: received:node:8d1c7593-21d9-4904-9b9b-821dd744a03f:localhost:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907 :: true

createSubnodes 1.024s
2020-08-28 22:50:58 |

2020-08-28 22:50:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:50:58 | ------------------------------------

2020-08-28 22:50:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1330b6a7-958e-4790-b953-8b4b80d1d21c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1330b6a7-958e-4790-b953-8b4b80d1d21c</title></pubsub></data>

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

2020-08-28 22:50:59 | [Mutex] waiting for: [received:nodes:2c11229d-c078-4e0d-a85b-1de3d06cddc8:localhost]

2020-08-28 22:50:59 | [Mutex] received everything.

2020-08-28 22:50:59 | [Mutex] isItemNotified: received:node:2c11229d-c078-4e0d-a85b-1de3d06cddc8:localhost:node-1330b6a7-958e-4790-b953-8b4b80d1d21c:Node 1330b6a7-958e-4790-b953-8b4b80d1d21c :: true

deleteNodes 1.016s
2020-08-28 22:51:05 |

2020-08-28 22:51:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:05 | ------------------------------------

2020-08-28 22:51:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1330b6a7-958e-4790-b953-8b4b80d1d21c</node></data>

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

2020-08-28 22:51:06 | [Mutex] waiting for: [received:nodes:5623db25-bbdb-44e5-bf7f-3d70f3eb9993:localhost]

2020-08-28 22:51:06 | [Mutex] received everything.

2020-08-28 22:51:06 | [Mutex] isItemNotified: received:node:5623db25-bbdb-44e5-bf7f-3d70f3eb9993:localhost:node-1330b6a7-958e-4790-b953-8b4b80d1d21c:Node 1330b6a7-958e-4790-b953-8b4b80d1d21c :: false

deleteSubnodes 1.103s
2020-08-28 22:51:04 |

2020-08-28 22:51:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:04 | ------------------------------------

2020-08-28 22:51:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node></data>

2020-08-28 22:51:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-28 22:51:05 | [Mutex] waiting for: [received:nodes:7bb369aa-98fe-4b05-9d12-b155c54c735f:localhost]

2020-08-28 22:51:05 | [Mutex] received everything.

2020-08-28 22:51:05 | [Mutex] isItemNotified: received:node:7bb369aa-98fe-4b05-9d12-b155c54c735f:localhost:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907 :: false

2020-08-28 22:51:05 | [Mutex] waiting for: [received:nodes:c7a8cb74-db98-4554-8403-e80022b41ed5:localhost]

2020-08-28 22:51:05 | [Mutex] received everything.

2020-08-28 22:51:05 | [Mutex] isItemNotified: received:node:c7a8cb74-db98-4554-8403-e80022b41ed5:localhost:node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907:Node e0bc80ac-5723-4b6e-a81a-4f6ef078e907 :: false

publishItemsToNodes 0.195s
2020-08-28 22:51:02 |

2020-08-28 22:51:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:02 | ------------------------------------

2020-08-28 22:51:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><item-id>item-19234803-493f-489f-bf02-cca554e345a8</item-id><entry><test>item-19234803-493f-489f-bf02-cca554e345a8</test></entry></data>

2020-08-28 22:51:02 | 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-19234803-493f-489f-bf02-cca554e345a8</value></item-id></result>

2020-08-28 22:51:02 | [Mutex] waiting for: [published:item:notifieditem-19234803-493f-489f-bf02-cca554e345a8:admin@test-domain.com]

2020-08-28 22:51:02 | [Mutex] received everything.

2020-08-28 22:51:02 | [Mutex] isItemNotified: published:item:notifieditem-19234803-493f-489f-bf02-cca554e345a8:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2020-08-28 22:51:02 |

2020-08-28 22:51:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:02 | ------------------------------------

2020-08-28 22:51:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><item-id>item-19234803-493f-489f-bf02-cca554e345a8</item-id></data>

2020-08-28 22:51: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-19234803-493f-489f-bf02-cca554e345a8</value></item-id></result>

2020-08-28 22:51:03 | [Mutex] received everything.

2020-08-28 22:51:03 | [Mutex] isItemNotified: retracted:item:notifieditem-19234803-493f-489f-bf02-cca554e345a8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2020-08-28 22:51:02 |

2020-08-28 22:51:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:02 | ------------------------------------

2020-08-28 22:51:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><item-id>item-19234803-493f-489f-bf02-cca554e345a8</item-id></data>

2020-08-28 22:51:02 | 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-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</value></node><item-id label="Item ID" type="text-single"><value>item-19234803-493f-489f-bf02-cca554e345a8</value></item-id><item label="Item" type="text-multi"><value><item id="item-19234803-493f-489f-bf02-cca554e345a8"><test>item-19234803-493f-489f-bf02-cca554e345a8</test></item></value></item></result>

2020-08-28 22:51:02 | [Mutex] notify: [retrieved:item:item-19234803-493f-489f-bf02-cca554e345a8:payload-matches:true:localhost]

2020-08-28 22:51:02 | [Mutex] received everything.

2020-08-28 22:51:02 | [Mutex] isItemNotified: retrieved:item:item-19234803-493f-489f-bf02-cca554e345a8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-08-28 22:51:02 |

2020-08-28 22:51:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:02 | ------------------------------------

2020-08-28 22:51:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-28 22:51:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</value><value>test</value><value>node-1330b6a7-958e-4790-b953-8b4b80d1d21c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-28 22:51:02 |

2020-08-28 22:51:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:02 | ------------------------------------

2020-08-28 22:51:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907)</node-pattern></data>

2020-08-28 22:51:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.134s
2020-08-28 22:51:01 |

2020-08-28 22:51:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:01 | ------------------------------------

2020-08-28 22:51:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-28 22:51:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2020-08-28 22:51:03 |

2020-08-28 22:51:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 22:51:03 | ------------------------------------

2020-08-28 22:51:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e0bc80ac-5723-4b6e-a81a-4f6ef078e907</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-28 22:51:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>