Generated by TestNG with ReportNG at 22:29 PDT on Friday 09 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.859s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2020-10-09 22:46:07 |

2020-10-09 22:46:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:07 | ------------------------------------

2020-10-09 22:46:07 | [Mutex] waiting for: [configured:node:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:node-d42f1942-7f50-4913-a3c7-70cf9c20942a]

2020-10-09 22:46:07 | [Mutex] received everything.

2020-10-09 22:46:07 | [Mutex] isItemNotified: configured:node:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:node-d42f1942-7f50-4913-a3c7-70cf9c20942a :: true

2020-10-09 22:46:08 | [Mutex] waiting for: [received:nodes:3cc860cf-f57f-46b4-946a-74f7ff176d10:localhost]

2020-10-09 22:46:08 | [Mutex] received everything.

2020-10-09 22:46:08 | [Mutex] isItemNotified: received:node:3cc860cf-f57f-46b4-946a-74f7ff176d10:localhost:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790 :: true

2020-10-09 22:46:08 | [Mutex] waiting for: [received:nodes:decaa642-3a54-4855-8d6b-5012915c2283:localhost]

2020-10-09 22:46:08 | [Mutex] waiting for: [received:nodes:decaa642-3a54-4855-8d6b-5012915c2283:localhost]

2020-10-09 22:46:08 | [Mutex] received everything.

2020-10-09 22:46:08 | [Mutex] isItemNotified: received:node:decaa642-3a54-4855-8d6b-5012915c2283:localhost:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790 :: false

createNodes 1.409s
2020-10-09 22:46:04 |

2020-10-09 22:46:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:04 | ------------------------------------

2020-10-09 22:46:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790</title></pubsub></data>

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

2020-10-09 22:46:06 | [Mutex] waiting for: [received:nodes:b43bce89-2e9b-4abf-aa1d-eacd5f241c17:localhost]

2020-10-09 22:46:06 | [Mutex] received everything.

2020-10-09 22:46:06 | [Mutex] isItemNotified: received:node:b43bce89-2e9b-4abf-aa1d-eacd5f241c17:localhost:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790 :: true

createSubnodes 1.039s
2020-10-09 22:46:06 |

2020-10-09 22:46:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:06 | ------------------------------------

2020-10-09 22:46:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d42f1942-7f50-4913-a3c7-70cf9c20942a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d42f1942-7f50-4913-a3c7-70cf9c20942a</title></pubsub></data>

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

2020-10-09 22:46:07 | [Mutex] waiting for: [received:nodes:606eca61-b2bd-4b0b-849e-9afea2129258:localhost]

2020-10-09 22:46:07 | [Mutex] received everything.

2020-10-09 22:46:07 | [Mutex] isItemNotified: received:node:606eca61-b2bd-4b0b-849e-9afea2129258:localhost:node-d42f1942-7f50-4913-a3c7-70cf9c20942a:Node d42f1942-7f50-4913-a3c7-70cf9c20942a :: true

deleteNodes 1.019s
2020-10-09 22:46:12 |

2020-10-09 22:46:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:12 | ------------------------------------

2020-10-09 22:46:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d42f1942-7f50-4913-a3c7-70cf9c20942a</node></data>

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

2020-10-09 22:46:13 | [Mutex] waiting for: [received:nodes:151df9a1-1f2a-41b5-900b-7872c9ecb75a:localhost]

2020-10-09 22:46:13 | [Mutex] received everything.

2020-10-09 22:46:13 | [Mutex] isItemNotified: received:node:151df9a1-1f2a-41b5-900b-7872c9ecb75a:localhost:node-d42f1942-7f50-4913-a3c7-70cf9c20942a:Node d42f1942-7f50-4913-a3c7-70cf9c20942a :: false

deleteSubnodes 1.112s
2020-10-09 22:46:11 |

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

2020-10-09 22:46:11 | ------------------------------------

2020-10-09 22:46:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node></data>

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

2020-10-09 22:46:12 | [Mutex] waiting for: [received:nodes:4818bce3-c18e-4218-9061-9a3db94e74d1:localhost]

2020-10-09 22:46:12 | [Mutex] waiting for: [received:nodes:4818bce3-c18e-4218-9061-9a3db94e74d1:localhost]

2020-10-09 22:46:12 | [Mutex] received everything.

2020-10-09 22:46:12 | [Mutex] isItemNotified: received:node:4818bce3-c18e-4218-9061-9a3db94e74d1:localhost:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790 :: false

2020-10-09 22:46:12 | [Mutex] waiting for: [received:nodes:5252edb3-9384-4da3-8db2-a446ab593bbb:localhost]

2020-10-09 22:46:12 | [Mutex] received everything.

2020-10-09 22:46:12 | [Mutex] isItemNotified: received:node:5252edb3-9384-4da3-8db2-a446ab593bbb:localhost:node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790:Node 285a63ec-bfcb-4f8a-be9c-905d6d6ad790 :: false

publishItemsToNodes 0.213s
2020-10-09 22:46:09 |

2020-10-09 22:46:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:09 | ------------------------------------

2020-10-09 22:46:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><item-id>item-17070236-7add-4ebb-a11f-eda029dccd3a</item-id><entry><test>item-17070236-7add-4ebb-a11f-eda029dccd3a</test></entry></data>

2020-10-09 22:46:09 | 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-17070236-7add-4ebb-a11f-eda029dccd3a</value></item-id></result>

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

2020-10-09 22:46:09 | [Mutex] isItemNotified: published:item:notifieditem-17070236-7add-4ebb-a11f-eda029dccd3a:admin@test-domain.com :: true

retractItemsFromNodes 0.148s
2020-10-09 22:46:10 |

2020-10-09 22:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:10 | ------------------------------------

2020-10-09 22:46:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><item-id>item-17070236-7add-4ebb-a11f-eda029dccd3a</item-id></data>

2020-10-09 22:46:10 | 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-17070236-7add-4ebb-a11f-eda029dccd3a</value></item-id></result>

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

2020-10-09 22:46:10 | [Mutex] isItemNotified: retracted:item:notifieditem-17070236-7add-4ebb-a11f-eda029dccd3a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.270s
2020-10-09 22:46:09 |

2020-10-09 22:46:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:09 | ------------------------------------

2020-10-09 22:46:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><item-id>item-17070236-7add-4ebb-a11f-eda029dccd3a</item-id></data>

2020-10-09 22:46:10 | 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-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</value></node><item-id label="Item ID" type="text-single"><value>item-17070236-7add-4ebb-a11f-eda029dccd3a</value></item-id><item label="Item" type="text-multi"><value><item id="item-17070236-7add-4ebb-a11f-eda029dccd3a"><test>item-17070236-7add-4ebb-a11f-eda029dccd3a</test></item></value></item></result>

2020-10-09 22:46:10 | [Mutex] notify: [retrieved:item:item-17070236-7add-4ebb-a11f-eda029dccd3a:payload-matches:true:localhost]

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

2020-10-09 22:46:10 | [Mutex] isItemNotified: retrieved:item:item-17070236-7add-4ebb-a11f-eda029dccd3a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-10-09 22:46:10 |

2020-10-09 22:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:10 | ------------------------------------

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

2020-10-09 22:46:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d42f1942-7f50-4913-a3c7-70cf9c20942a</value><value>test</value><value>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-09 22:46:10 |

2020-10-09 22:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:10 | ------------------------------------

2020-10-09 22:46:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790)</node-pattern></data>

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

subscribeNodes 1.151s
2020-10-09 22:46:08 |

2020-10-09 22:46:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:08 | ------------------------------------

2020-10-09 22:46:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.255s
2020-10-09 22:46:10 |

2020-10-09 22:46:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 22:46:10 | ------------------------------------

2020-10-09 22:46:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-285a63ec-bfcb-4f8a-be9c-905d6d6ad790</node><jids><value>admin@test-domain.com</value></jids></data>

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