Generated by TestNG with ReportNG at 21:25 PST on Monday 09 November 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 : 10.169s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2020-11-09 21:41:14 |

2020-11-09 21:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:14 | ------------------------------------

2020-11-09 21:41:14 | [Mutex] waiting for: [configured:node:node-e68c87d7-375e-4f39-80fd-86c233137f38:node-550cc461-9f60-4f98-815a-d1c1a11d244d]

2020-11-09 21:41:14 | [Mutex] received everything.

2020-11-09 21:41:14 | [Mutex] isItemNotified: configured:node:node-e68c87d7-375e-4f39-80fd-86c233137f38:node-550cc461-9f60-4f98-815a-d1c1a11d244d :: true

2020-11-09 21:41:15 | [Mutex] waiting for: [received:nodes:7f2fa9da-d894-4b53-8c74-6c4dba4335e1:localhost]

2020-11-09 21:41:15 | [Mutex] received everything.

2020-11-09 21:41:15 | [Mutex] isItemNotified: received:node:7f2fa9da-d894-4b53-8c74-6c4dba4335e1:localhost:node-e68c87d7-375e-4f39-80fd-86c233137f38:Node e68c87d7-375e-4f39-80fd-86c233137f38 :: true

2020-11-09 21:41:15 | [Mutex] waiting for: [received:nodes:b6d01a51-607b-4886-b169-2efd00482fc8:localhost]

2020-11-09 21:41:15 | [Mutex] received everything.

2020-11-09 21:41:15 | [Mutex] isItemNotified: received:node:b6d01a51-607b-4886-b169-2efd00482fc8:localhost:node-e68c87d7-375e-4f39-80fd-86c233137f38:Node e68c87d7-375e-4f39-80fd-86c233137f38 :: false

createNodes 1.574s
2020-11-09 21:41:12 |

2020-11-09 21:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:12 | ------------------------------------

2020-11-09 21:41:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e68c87d7-375e-4f39-80fd-86c233137f38</title></pubsub></data>

2020-11-09 21:41:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:41:13 | [Mutex] waiting for: [received:nodes:865d2b26-fa8d-43c3-943c-805aa77e4749:localhost]

2020-11-09 21:41:13 | [Mutex] waiting for: [received:nodes:865d2b26-fa8d-43c3-943c-805aa77e4749:localhost]

2020-11-09 21:41:13 | [Mutex] received everything.

2020-11-09 21:41:13 | [Mutex] isItemNotified: received:node:865d2b26-fa8d-43c3-943c-805aa77e4749:localhost:node-e68c87d7-375e-4f39-80fd-86c233137f38:Node e68c87d7-375e-4f39-80fd-86c233137f38 :: true

createSubnodes 1.032s
2020-11-09 21:41:13 |

2020-11-09 21:41:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:13 | ------------------------------------

2020-11-09 21:41:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-550cc461-9f60-4f98-815a-d1c1a11d244d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 550cc461-9f60-4f98-815a-d1c1a11d244d</title></pubsub></data>

2020-11-09 21:41:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-09 21:41:14 | [Mutex] waiting for: [received:nodes:24d52979-4421-459c-bfcd-f5ccfb80a76b:localhost]

2020-11-09 21:41:14 | [Mutex] waiting for: [received:nodes:24d52979-4421-459c-bfcd-f5ccfb80a76b:localhost]

2020-11-09 21:41:14 | [Mutex] received everything.

2020-11-09 21:41:14 | [Mutex] isItemNotified: received:node:24d52979-4421-459c-bfcd-f5ccfb80a76b:localhost:node-550cc461-9f60-4f98-815a-d1c1a11d244d:Node 550cc461-9f60-4f98-815a-d1c1a11d244d :: true

deleteNodes 1.019s
2020-11-09 21:41:20 |

2020-11-09 21:41:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:20 | ------------------------------------

2020-11-09 21:41:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-550cc461-9f60-4f98-815a-d1c1a11d244d</node></data>

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

2020-11-09 21:41:21 | [Mutex] waiting for: [received:nodes:ad3fa08c-a8d2-407b-a26d-5542af350de3:localhost]

2020-11-09 21:41:21 | [Mutex] waiting for: [received:nodes:ad3fa08c-a8d2-407b-a26d-5542af350de3:localhost]

2020-11-09 21:41:21 | [Mutex] received everything.

2020-11-09 21:41:21 | [Mutex] isItemNotified: received:node:ad3fa08c-a8d2-407b-a26d-5542af350de3:localhost:node-550cc461-9f60-4f98-815a-d1c1a11d244d:Node 550cc461-9f60-4f98-815a-d1c1a11d244d :: false

deleteSubnodes 1.117s
2020-11-09 21:41:19 |

2020-11-09 21:41:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:19 | ------------------------------------

2020-11-09 21:41:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node></data>

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

2020-11-09 21:41:20 | [Mutex] waiting for: [received:nodes:2d75018f-8d6b-495a-b39d-3e44fa5b3db6:localhost]

2020-11-09 21:41:20 | [Mutex] received everything.

2020-11-09 21:41:20 | [Mutex] isItemNotified: received:node:2d75018f-8d6b-495a-b39d-3e44fa5b3db6:localhost:node-e68c87d7-375e-4f39-80fd-86c233137f38:Node e68c87d7-375e-4f39-80fd-86c233137f38 :: false

2020-11-09 21:41:20 | [Mutex] waiting for: [received:nodes:55e74af3-b2a6-486e-8ecd-8a360425cc23:localhost]

2020-11-09 21:41:20 | [Mutex] received everything.

2020-11-09 21:41:20 | [Mutex] isItemNotified: received:node:55e74af3-b2a6-486e-8ecd-8a360425cc23:localhost:node-e68c87d7-375e-4f39-80fd-86c233137f38:Node e68c87d7-375e-4f39-80fd-86c233137f38 :: false

publishItemsToNodes 0.298s
2020-11-09 21:41:16 |

2020-11-09 21:41:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:16 | ------------------------------------

2020-11-09 21:41:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><item-id>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</item-id><entry><test>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</test></entry></data>

2020-11-09 21:41:17 | 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-19c11dc6-08a0-40e4-bd28-58c142bdc323</value></item-id></result>

2020-11-09 21:41:17 | [Mutex] received everything.

2020-11-09 21:41:17 | [Mutex] isItemNotified: published:item:notifieditem-19c11dc6-08a0-40e4-bd28-58c142bdc323:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2020-11-09 21:41:17 |

2020-11-09 21:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:17 | ------------------------------------

2020-11-09 21:41:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><item-id>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</item-id></data>

2020-11-09 21:41:17 | 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-19c11dc6-08a0-40e4-bd28-58c142bdc323</value></item-id></result>

2020-11-09 21:41:17 | [Mutex] received everything.

2020-11-09 21:41:17 | [Mutex] isItemNotified: retracted:item:notifieditem-19c11dc6-08a0-40e4-bd28-58c142bdc323:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2020-11-09 21:41:17 |

2020-11-09 21:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:17 | ------------------------------------

2020-11-09 21:41:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><item-id>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</item-id></data>

2020-11-09 21:41:17 | 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-e68c87d7-375e-4f39-80fd-86c233137f38</value></node><item-id type="text-single" label="Item ID"><value>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</value></item-id><item type="text-multi" label="Item"><value><item id="item-19c11dc6-08a0-40e4-bd28-58c142bdc323"><test>item-19c11dc6-08a0-40e4-bd28-58c142bdc323</test></item></value></item></result>

2020-11-09 21:41:17 | [Mutex] notify: [retrieved:item:item-19c11dc6-08a0-40e4-bd28-58c142bdc323:payload-matches:true:localhost]

2020-11-09 21:41:17 | [Mutex] received everything.

2020-11-09 21:41:17 | [Mutex] isItemNotified: retrieved:item:item-19c11dc6-08a0-40e4-bd28-58c142bdc323:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-09 21:41:17 |

2020-11-09 21:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:17 | ------------------------------------

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

2020-11-09 21:41:17 | 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-e68c87d7-375e-4f39-80fd-86c233137f38</value><value>node-550cc461-9f60-4f98-815a-d1c1a11d244d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-11-09 21:41:17 |

2020-11-09 21:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:17 | ------------------------------------

2020-11-09 21:41:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e68c87d7-375e-4f39-80fd-86c233137f38)</node-pattern></data>

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

subscribeNodes 1.111s
2020-11-09 21:41:15 |

2020-11-09 21:41:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:15 | ------------------------------------

2020-11-09 21:41:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.343s
2020-11-09 21:41:17 |

2020-11-09 21:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:41:17 | ------------------------------------

2020-11-09 21:41:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e68c87d7-375e-4f39-80fd-86c233137f38</node><jids><value>admin@test-domain.com</value></jids></data>

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