Generated by TestNG with ReportNG at 21:13 PST on Tuesday 02 February 2021
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.463s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.135s
2021-02-02 21:31:17 |

2021-02-02 21:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:17 | ------------------------------------

2021-02-02 21:31:17 | [Mutex] waiting for: [configured:node:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:node-5a0410db-5b03-4dbd-a403-57abbd291e4c]

2021-02-02 21:31:17 | [Mutex] received everything.

2021-02-02 21:31:17 | [Mutex] isItemNotified: configured:node:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:node-5a0410db-5b03-4dbd-a403-57abbd291e4c :: true

2021-02-02 21:31:18 | [Mutex] waiting for: [received:nodes:0c12cbcb-9a76-4e27-a3ec-4e9a336d7dfd:localhost]

2021-02-02 21:31:18 | [Mutex] received everything.

2021-02-02 21:31:18 | [Mutex] isItemNotified: received:node:0c12cbcb-9a76-4e27-a3ec-4e9a336d7dfd:localhost:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50 :: true

2021-02-02 21:31:18 | [Mutex] waiting for: [received:nodes:337efb19-f622-4757-8bf4-90b779981411:localhost]

2021-02-02 21:31:18 | [Mutex] waiting for: [received:nodes:337efb19-f622-4757-8bf4-90b779981411:localhost]

2021-02-02 21:31:18 | [Mutex] waiting for: [received:nodes:337efb19-f622-4757-8bf4-90b779981411:localhost]

2021-02-02 21:31:18 | [Mutex] received everything.

2021-02-02 21:31:18 | [Mutex] isItemNotified: received:node:337efb19-f622-4757-8bf4-90b779981411:localhost:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50 :: false

createNodes 1.615s
2021-02-02 21:31:15 |

2021-02-02 21:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:15 | ------------------------------------

2021-02-02 21:31:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</title></pubsub></data>

2021-02-02 21:31:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-02 21:31:16 | [Mutex] waiting for: [received:nodes:cb309277-c1ea-4f13-9ddf-5e582283c715:localhost]

2021-02-02 21:31:16 | [Mutex] received everything.

2021-02-02 21:31:16 | [Mutex] isItemNotified: received:node:cb309277-c1ea-4f13-9ddf-5e582283c715:localhost:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50 :: true

createSubnodes 1.032s
2021-02-02 21:31:16 |

2021-02-02 21:31:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:16 | ------------------------------------

2021-02-02 21:31:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5a0410db-5b03-4dbd-a403-57abbd291e4c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5a0410db-5b03-4dbd-a403-57abbd291e4c</title></pubsub></data>

2021-02-02 21:31:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-02 21:31:17 | [Mutex] waiting for: [received:nodes:83765263-996a-470c-920c-f574df0a76f5:localhost]

2021-02-02 21:31:17 | [Mutex] received everything.

2021-02-02 21:31:17 | [Mutex] isItemNotified: received:node:83765263-996a-470c-920c-f574df0a76f5:localhost:node-5a0410db-5b03-4dbd-a403-57abbd291e4c:Node 5a0410db-5b03-4dbd-a403-57abbd291e4c :: true

deleteNodes 1.018s
2021-02-02 21:31:23 |

2021-02-02 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:23 | ------------------------------------

2021-02-02 21:31:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5a0410db-5b03-4dbd-a403-57abbd291e4c</node></data>

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

2021-02-02 21:31:24 | [Mutex] waiting for: [received:nodes:f41f6726-25ea-4484-826e-3076f4d67212:localhost]

2021-02-02 21:31:24 | [Mutex] received everything.

2021-02-02 21:31:24 | [Mutex] isItemNotified: received:node:f41f6726-25ea-4484-826e-3076f4d67212:localhost:node-5a0410db-5b03-4dbd-a403-57abbd291e4c:Node 5a0410db-5b03-4dbd-a403-57abbd291e4c :: false

deleteSubnodes 1.137s
2021-02-02 21:31:22 |

2021-02-02 21:31:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:22 | ------------------------------------

2021-02-02 21:31:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node></data>

2021-02-02 21:31:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-02 21:31:23 | [Mutex] waiting for: [received:nodes:e7fde9b4-8e97-40dc-8bc0-87d88b4d0eba:localhost]

2021-02-02 21:31:23 | [Mutex] received everything.

2021-02-02 21:31:23 | [Mutex] isItemNotified: received:node:e7fde9b4-8e97-40dc-8bc0-87d88b4d0eba:localhost:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50 :: false

2021-02-02 21:31:23 | [Mutex] waiting for: [received:nodes:5618dbff-bc08-42df-b1b9-fe9dcd3f41e9:localhost]

2021-02-02 21:31:23 | [Mutex] received everything.

2021-02-02 21:31:23 | [Mutex] isItemNotified: received:node:5618dbff-bc08-42df-b1b9-fe9dcd3f41e9:localhost:node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50:Node b799ecb6-34ac-4c0e-bc99-45cfee9a5f50 :: false

publishItemsToNodes 0.258s
2021-02-02 21:31:19 |

2021-02-02 21:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:19 | ------------------------------------

2021-02-02 21:31:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><item-id>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</item-id><entry><test>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</test></entry></data>

2021-02-02 21:31:20 | 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-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</value></item-id></result>

2021-02-02 21:31:20 | [Mutex] received everything.

2021-02-02 21:31:20 | [Mutex] isItemNotified: published:item:notifieditem-9694f806-43b9-4a17-bb6b-a77bc9c8ea80:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-02-02 21:31:20 |

2021-02-02 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:20 | ------------------------------------

2021-02-02 21:31:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><item-id>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</item-id></data>

2021-02-02 21:31:20 | 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-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</value></item-id></result>

2021-02-02 21:31:20 | [Mutex] received everything.

2021-02-02 21:31:20 | [Mutex] isItemNotified: retracted:item:notifieditem-9694f806-43b9-4a17-bb6b-a77bc9c8ea80:admin@test-domain.com :: true

retrieveItemsFromNodes 0.338s
2021-02-02 21:31:20 |

2021-02-02 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:20 | ------------------------------------

2021-02-02 21:31:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><item-id>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</item-id></data>

2021-02-02 21:31:20 | 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-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</value></node><item-id label="Item ID" type="text-single"><value>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</value></item-id><item label="Item" type="text-multi"><value><item id="item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80"><test>item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80</test></item></value></item></result>

2021-02-02 21:31:20 | [Mutex] notify: [retrieved:item:item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80:payload-matches:true:localhost]

2021-02-02 21:31:20 | [Mutex] received everything.

2021-02-02 21:31:20 | [Mutex] isItemNotified: retrieved:item:item-9694f806-43b9-4a17-bb6b-a77bc9c8ea80:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2021-02-02 21:31:20 |

2021-02-02 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:20 | ------------------------------------

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

2021-02-02 21:31:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-5a0410db-5b03-4dbd-a403-57abbd291e4c</value><value>test</value><value>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-02-02 21:31:20 |

2021-02-02 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:20 | ------------------------------------

2021-02-02 21:31:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50)</node-pattern></data>

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

subscribeNodes 1.133s
2021-02-02 21:31:18 |

2021-02-02 21:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:18 | ------------------------------------

2021-02-02 21:31:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-02 21:31:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.287s
2021-02-02 21:31:20 |

2021-02-02 21:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-02 21:31:20 | ------------------------------------

2021-02-02 21:31:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b799ecb6-34ac-4c0e-bc99-45cfee9a5f50</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-02 21:31:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>