Generated by TestNG with ReportNG at 22:50 PDT on Friday 02 October 2020
root@eaa73862192b / 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.894s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2020-10-02 23:06:07 |

2020-10-02 23:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:06:07 | ------------------------------------

2020-10-02 23:06:07 | [Mutex] waiting for: [configured:node:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:node-055ddedf-a911-452f-951f-464cfe4596bc]

2020-10-02 23:06:07 | [Mutex] received everything.

2020-10-02 23:06:07 | [Mutex] isItemNotified: configured:node:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:node-055ddedf-a911-452f-951f-464cfe4596bc :: true

2020-10-02 23:06:08 | [Mutex] waiting for: [received:nodes:5b9f4b53-82fa-4d09-af3f-22b393a2f9aa:localhost]

2020-10-02 23:06:08 | [Mutex] received everything.

2020-10-02 23:06:08 | [Mutex] isItemNotified: received:node:5b9f4b53-82fa-4d09-af3f-22b393a2f9aa:localhost:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20 :: true

2020-10-02 23:06:08 | [Mutex] waiting for: [received:nodes:4773fd34-e9eb-4011-a476-c5ff1df95fbb:localhost]

2020-10-02 23:06:08 | [Mutex] waiting for: [received:nodes:4773fd34-e9eb-4011-a476-c5ff1df95fbb:localhost]

2020-10-02 23:06:08 | [Mutex] waiting for: [received:nodes:4773fd34-e9eb-4011-a476-c5ff1df95fbb:localhost]

2020-10-02 23:06:08 | [Mutex] received everything.

2020-10-02 23:06:08 | [Mutex] isItemNotified: received:node:4773fd34-e9eb-4011-a476-c5ff1df95fbb:localhost:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20 :: false

createNodes 1.405s
2020-10-02 23:06:05 |

2020-10-02 23:06:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:06:05 | ------------------------------------

2020-10-02 23:06:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20</title></pubsub></data>

2020-10-02 23:06: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-02 23:06:06 | [Mutex] waiting for: [received:nodes:519f0566-c731-4a5b-a741-a482e97b95b7:localhost]

2020-10-02 23:06:06 | [Mutex] received everything.

2020-10-02 23:06:06 | [Mutex] isItemNotified: received:node:519f0566-c731-4a5b-a741-a482e97b95b7:localhost:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20 :: true

createSubnodes 1.024s
2020-10-02 23:06:06 |

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

2020-10-02 23:06:06 | ------------------------------------

2020-10-02 23:06:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-055ddedf-a911-452f-951f-464cfe4596bc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 055ddedf-a911-452f-951f-464cfe4596bc</title></pubsub></data>

2020-10-02 23:06: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-02 23:06:07 | [Mutex] waiting for: [received:nodes:b8968c28-5caf-4932-8bd6-8590d66c4113:localhost]

2020-10-02 23:06:07 | [Mutex] received everything.

2020-10-02 23:06:07 | [Mutex] isItemNotified: received:node:b8968c28-5caf-4932-8bd6-8590d66c4113:localhost:node-055ddedf-a911-452f-951f-464cfe4596bc:Node 055ddedf-a911-452f-951f-464cfe4596bc :: true

deleteNodes 1.015s
2020-10-02 23:06:13 |

2020-10-02 23:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:06:13 | ------------------------------------

2020-10-02 23:06:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-055ddedf-a911-452f-951f-464cfe4596bc</node></data>

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

2020-10-02 23:06:14 | [Mutex] waiting for: [received:nodes:ba5826fd-4f0b-42f5-b4d6-b769093d28c5:localhost]

2020-10-02 23:06:14 | [Mutex] received everything.

2020-10-02 23:06:14 | [Mutex] isItemNotified: received:node:ba5826fd-4f0b-42f5-b4d6-b769093d28c5:localhost:node-055ddedf-a911-452f-951f-464cfe4596bc:Node 055ddedf-a911-452f-951f-464cfe4596bc :: false

deleteSubnodes 1.146s
2020-10-02 23:06:12 |

2020-10-02 23:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:06:12 | ------------------------------------

2020-10-02 23:06:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node></data>

2020-10-02 23:06: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-02 23:06:13 | [Mutex] waiting for: [received:nodes:654d4e13-9936-4e90-abf4-6574e7147b63:localhost]

2020-10-02 23:06:13 | [Mutex] received everything.

2020-10-02 23:06:13 | [Mutex] isItemNotified: received:node:654d4e13-9936-4e90-abf4-6574e7147b63:localhost:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20 :: false

2020-10-02 23:06:13 | [Mutex] waiting for: [received:nodes:bc1484fc-81be-413d-badb-d848cd336946:localhost]

2020-10-02 23:06:13 | [Mutex] received everything.

2020-10-02 23:06:13 | [Mutex] isItemNotified: received:node:bc1484fc-81be-413d-badb-d848cd336946:localhost:node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20:Node 1ee280f2-ce31-4614-88fe-c32f4c9e3d20 :: false

publishItemsToNodes 0.211s
2020-10-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><item-id>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</item-id><entry><test>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</test></entry></data>

2020-10-02 23:06:10 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</value></item-id></result>

2020-10-02 23:06:10 | [Mutex] waiting for: [published:item:notifieditem-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a:admin@test-domain.com]

2020-10-02 23:06:10 | [Mutex] received everything.

2020-10-02 23:06:10 | [Mutex] isItemNotified: published:item:notifieditem-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a:admin@test-domain.com :: true

retractItemsFromNodes 0.304s
2020-10-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><item-id>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</item-id></data>

2020-10-02 23:06:10 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</value></item-id></result>

2020-10-02 23:06:10 | [Mutex] received everything.

2020-10-02 23:06:10 | [Mutex] isItemNotified: retracted:item:notifieditem-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2020-10-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><item-id>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</item-id></data>

2020-10-02 23:06:10 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</value></node><item-id type="text-single" label="Item ID"><value>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</value></item-id><item type="text-multi" label="Item"><value><item id="item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a"><test>item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a</test></item></value></item></result>

2020-10-02 23:06:10 | [Mutex] notify: [retrieved:item:item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a:payload-matches:true:localhost]

2020-10-02 23:06:10 | [Mutex] received everything.

2020-10-02 23:06:10 | [Mutex] isItemNotified: retrieved:item:item-4a8035c3-37b8-4d65-bc5b-7d1ad723e69a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06: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-02 23:06:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</value><value>node-055ddedf-a911-452f-951f-464cfe4596bc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06: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-1ee280f2-ce31-4614-88fe-c32f4c9e3d20)</node-pattern></data>

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

subscribeNodes 1.159s
2020-10-02 23:06:08 |

2020-10-02 23:06:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-02 23:06:08 | ------------------------------------

2020-10-02 23:06:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-02 23:06:09 | 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-02 23:06:10 |

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

2020-10-02 23:06:10 | ------------------------------------

2020-10-02 23:06:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1ee280f2-ce31-4614-88fe-c32f4c9e3d20</node><jids><value>admin@test-domain.com</value></jids></data>

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