Generated by TestNG with ReportNG at 21:42 PST on Monday 21 December 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.031s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2020-12-21 21:59:09 |

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

2020-12-21 21:59:09 | ------------------------------------

2020-12-21 21:59:09 | [Mutex] waiting for: [configured:node:node-9b583bfe-8580-447e-8745-7885374e4256:node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc]

2020-12-21 21:59:09 | [Mutex] received everything.

2020-12-21 21:59:09 | [Mutex] isItemNotified: configured:node:node-9b583bfe-8580-447e-8745-7885374e4256:node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc :: true

2020-12-21 21:59:10 | [Mutex] waiting for: [received:nodes:4f81dc7f-f612-4569-88a4-911bf5e40f25:localhost]

2020-12-21 21:59:10 | [Mutex] received everything.

2020-12-21 21:59:10 | [Mutex] isItemNotified: received:node:4f81dc7f-f612-4569-88a4-911bf5e40f25:localhost:node-9b583bfe-8580-447e-8745-7885374e4256:Node 9b583bfe-8580-447e-8745-7885374e4256 :: true

2020-12-21 21:59:10 | [Mutex] waiting for: [received:nodes:383d86f5-ab88-4ca2-897e-911aa25527e2:localhost]

2020-12-21 21:59:10 | [Mutex] received everything.

2020-12-21 21:59:10 | [Mutex] isItemNotified: received:node:383d86f5-ab88-4ca2-897e-911aa25527e2:localhost:node-9b583bfe-8580-447e-8745-7885374e4256:Node 9b583bfe-8580-447e-8745-7885374e4256 :: false

createNodes 1.572s
2020-12-21 21:59:07 |

2020-12-21 21:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:59:07 | ------------------------------------

2020-12-21 21:59:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9b583bfe-8580-447e-8745-7885374e4256</title></pubsub></data>

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

2020-12-21 21:59:08 | [Mutex] waiting for: [received:nodes:67ee1e91-5ed3-4da0-9fd2-b48de1d01ffb:localhost]

2020-12-21 21:59:08 | [Mutex] waiting for: [received:nodes:67ee1e91-5ed3-4da0-9fd2-b48de1d01ffb:localhost]

2020-12-21 21:59:08 | [Mutex] received everything.

2020-12-21 21:59:08 | [Mutex] isItemNotified: received:node:67ee1e91-5ed3-4da0-9fd2-b48de1d01ffb:localhost:node-9b583bfe-8580-447e-8745-7885374e4256:Node 9b583bfe-8580-447e-8745-7885374e4256 :: true

createSubnodes 1.029s
2020-12-21 21:59:08 |

2020-12-21 21:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:59:08 | ------------------------------------

2020-12-21 21:59:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc</title></pubsub></data>

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

2020-12-21 21:59:09 | [Mutex] waiting for: [received:nodes:b6107df1-26b0-4812-9d33-77c64346ec88:localhost]

2020-12-21 21:59:09 | [Mutex] waiting for: [received:nodes:b6107df1-26b0-4812-9d33-77c64346ec88:localhost]

2020-12-21 21:59:09 | [Mutex] received everything.

2020-12-21 21:59:09 | [Mutex] isItemNotified: received:node:b6107df1-26b0-4812-9d33-77c64346ec88:localhost:node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc:Node 2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc :: true

deleteNodes 1.015s
2020-12-21 21:59:15 |

2020-12-21 21:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:59:15 | ------------------------------------

2020-12-21 21:59:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc</node></data>

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

2020-12-21 21:59:16 | [Mutex] waiting for: [received:nodes:6c7fce53-3353-4b77-abd3-cc31a9e16f7b:localhost]

2020-12-21 21:59:16 | [Mutex] received everything.

2020-12-21 21:59:16 | [Mutex] isItemNotified: received:node:6c7fce53-3353-4b77-abd3-cc31a9e16f7b:localhost:node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc:Node 2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc :: false

deleteSubnodes 1.122s
2020-12-21 21:59:14 |

2020-12-21 21:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:59:14 | ------------------------------------

2020-12-21 21:59:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node></data>

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

2020-12-21 21:59:15 | [Mutex] waiting for: [received:nodes:d8d63df7-e473-44c2-8c8c-75ea0b60e114:localhost]

2020-12-21 21:59:15 | [Mutex] waiting for: [received:nodes:d8d63df7-e473-44c2-8c8c-75ea0b60e114:localhost]

2020-12-21 21:59:15 | [Mutex] waiting for: [received:nodes:d8d63df7-e473-44c2-8c8c-75ea0b60e114:localhost]

2020-12-21 21:59:15 | [Mutex] received everything.

2020-12-21 21:59:15 | [Mutex] isItemNotified: received:node:d8d63df7-e473-44c2-8c8c-75ea0b60e114:localhost:node-9b583bfe-8580-447e-8745-7885374e4256:Node 9b583bfe-8580-447e-8745-7885374e4256 :: false

2020-12-21 21:59:15 | [Mutex] waiting for: [received:nodes:01b63661-c1e8-4340-9af5-097b6bc98b1d:localhost]

2020-12-21 21:59:15 | [Mutex] received everything.

2020-12-21 21:59:15 | [Mutex] isItemNotified: received:node:01b63661-c1e8-4340-9af5-097b6bc98b1d:localhost:node-9b583bfe-8580-447e-8745-7885374e4256:Node 9b583bfe-8580-447e-8745-7885374e4256 :: false

publishItemsToNodes 0.182s
2020-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

2020-12-21 21:59:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><item-id>item-a4f54999-70a2-454e-89d4-6a496d602ee5</item-id><entry><test>item-a4f54999-70a2-454e-89d4-6a496d602ee5</test></entry></data>

2020-12-21 21:59:12 | 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-a4f54999-70a2-454e-89d4-6a496d602ee5</value></item-id></result>

2020-12-21 21:59:12 | [Mutex] waiting for: [published:item:notifieditem-a4f54999-70a2-454e-89d4-6a496d602ee5:admin@test-domain.com]

2020-12-21 21:59:12 | [Mutex] received everything.

2020-12-21 21:59:12 | [Mutex] isItemNotified: published:item:notifieditem-a4f54999-70a2-454e-89d4-6a496d602ee5:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2020-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

2020-12-21 21:59:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><item-id>item-a4f54999-70a2-454e-89d4-6a496d602ee5</item-id></data>

2020-12-21 21:59:12 | 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-a4f54999-70a2-454e-89d4-6a496d602ee5</value></item-id></result>

2020-12-21 21:59:12 | [Mutex] received everything.

2020-12-21 21:59:12 | [Mutex] isItemNotified: retracted:item:notifieditem-a4f54999-70a2-454e-89d4-6a496d602ee5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.266s
2020-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

2020-12-21 21:59:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><item-id>item-a4f54999-70a2-454e-89d4-6a496d602ee5</item-id></data>

2020-12-21 21:59:12 | 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-9b583bfe-8580-447e-8745-7885374e4256</value></node><item-id label="Item ID" type="text-single"><value>item-a4f54999-70a2-454e-89d4-6a496d602ee5</value></item-id><item label="Item" type="text-multi"><value><item id="item-a4f54999-70a2-454e-89d4-6a496d602ee5"><test>item-a4f54999-70a2-454e-89d4-6a496d602ee5</test></item></value></item></result>

2020-12-21 21:59:12 | [Mutex] notify: [retrieved:item:item-a4f54999-70a2-454e-89d4-6a496d602ee5:payload-matches:true:localhost]

2020-12-21 21:59:12 | [Mutex] received everything.

2020-12-21 21:59:12 | [Mutex] isItemNotified: retrieved:item:item-a4f54999-70a2-454e-89d4-6a496d602ee5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

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

2020-12-21 21:59:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9b583bfe-8580-447e-8745-7885374e4256</value><value>test</value><value>node-2aeccb22-44c6-49b0-ad7a-9baa1fdf41cc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

2020-12-21 21:59:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9b583bfe-8580-447e-8745-7885374e4256)</node-pattern></data>

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

subscribeNodes 1.127s
2020-12-21 21:59:10 |

2020-12-21 21:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-21 21:59:10 | ------------------------------------

2020-12-21 21:59:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-21 21:59:11 | 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-12-21 21:59:12 |

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

2020-12-21 21:59:12 | ------------------------------------

2020-12-21 21:59:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9b583bfe-8580-447e-8745-7885374e4256</node><jids><value>admin@test-domain.com</value></jids></data>

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