Generated by TestNG with ReportNG at 04:16 PST on Thursday 24 November 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.393s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-11-24 04:31:26 |

2022-11-24 04:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:26 | ------------------------------------

2022-11-24 04:31:26 | [Mutex] waiting for: [configured:node:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:node-17ef37d4-b72c-4da0-832d-c511f2a0e127]

2022-11-24 04:31:26 | [Mutex] received everything.

2022-11-24 04:31:26 | [Mutex] isItemNotified: configured:node:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:node-17ef37d4-b72c-4da0-832d-c511f2a0e127 :: true

2022-11-24 04:31:27 | [Mutex] waiting for: [received:nodes:3efda844-3672-4e4e-9ce4-1984ba20b3f7:localhost]

2022-11-24 04:31:27 | [Mutex] received everything.

2022-11-24 04:31:27 | [Mutex] isItemNotified: received:node:3efda844-3672-4e4e-9ce4-1984ba20b3f7:localhost:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a :: true

2022-11-24 04:31:27 | [Mutex] waiting for: [received:nodes:015dd1a9-3428-4102-bb3d-d6ad697c5f71:localhost]

2022-11-24 04:31:27 | [Mutex] waiting for: [received:nodes:015dd1a9-3428-4102-bb3d-d6ad697c5f71:localhost]

2022-11-24 04:31:27 | [Mutex] received everything.

2022-11-24 04:31:27 | [Mutex] isItemNotified: received:node:015dd1a9-3428-4102-bb3d-d6ad697c5f71:localhost:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a :: false

createNodes 1.365s
2022-11-24 04:31:24 |

2022-11-24 04:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:24 | ------------------------------------

2022-11-24 04:31:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</title></pubsub></data>

2022-11-24 04:31:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 04:31:25 | [Mutex] waiting for: [received:nodes:cddb0989-293b-4354-ae9c-c8fc1337513b:localhost]

2022-11-24 04:31:25 | [Mutex] received everything.

2022-11-24 04:31:25 | [Mutex] isItemNotified: received:node:cddb0989-293b-4354-ae9c-c8fc1337513b:localhost:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a :: true

createSubnodes 1.021s
2022-11-24 04:31:25 |

2022-11-24 04:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:25 | ------------------------------------

2022-11-24 04:31:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-17ef37d4-b72c-4da0-832d-c511f2a0e127</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 17ef37d4-b72c-4da0-832d-c511f2a0e127</title></pubsub></data>

2022-11-24 04:31:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 04:31:26 | [Mutex] waiting for: [received:nodes:e691a8c5-7670-43b7-890c-bb0873ad9d5a:localhost]

2022-11-24 04:31:26 | [Mutex] waiting for: [received:nodes:e691a8c5-7670-43b7-890c-bb0873ad9d5a:localhost]

2022-11-24 04:31:26 | [Mutex] received everything.

2022-11-24 04:31:26 | [Mutex] isItemNotified: received:node:e691a8c5-7670-43b7-890c-bb0873ad9d5a:localhost:node-17ef37d4-b72c-4da0-832d-c511f2a0e127:Node 17ef37d4-b72c-4da0-832d-c511f2a0e127 :: true

deleteNodes 1.021s
2022-11-24 04:31:31 |

2022-11-24 04:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:31 | ------------------------------------

2022-11-24 04:31:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-17ef37d4-b72c-4da0-832d-c511f2a0e127</node></data>

2022-11-24 04:31:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 04:31:32 | [Mutex] waiting for: [received:nodes:ebef6d18-3068-40ec-b9a5-b4bb921983e6:localhost]

2022-11-24 04:31:32 | [Mutex] received everything.

2022-11-24 04:31:32 | [Mutex] isItemNotified: received:node:ebef6d18-3068-40ec-b9a5-b4bb921983e6:localhost:node-17ef37d4-b72c-4da0-832d-c511f2a0e127:Node 17ef37d4-b72c-4da0-832d-c511f2a0e127 :: false

deleteSubnodes 1.130s
2022-11-24 04:31:30 |

2022-11-24 04:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:30 | ------------------------------------

2022-11-24 04:31:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node></data>

2022-11-24 04:31:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-24 04:31:31 | [Mutex] waiting for: [received:nodes:87fc9dd9-73c5-4b72-8bd1-9a4e0f662dee:localhost]

2022-11-24 04:31:31 | [Mutex] waiting for: [received:nodes:87fc9dd9-73c5-4b72-8bd1-9a4e0f662dee:localhost]

2022-11-24 04:31:31 | [Mutex] received everything.

2022-11-24 04:31:31 | [Mutex] isItemNotified: received:node:87fc9dd9-73c5-4b72-8bd1-9a4e0f662dee:localhost:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a :: false

2022-11-24 04:31:31 | [Mutex] waiting for: [received:nodes:ac740621-69d5-4196-be44-056e2bc26c31:localhost]

2022-11-24 04:31:31 | [Mutex] received everything.

2022-11-24 04:31:31 | [Mutex] isItemNotified: received:node:ac740621-69d5-4196-be44-056e2bc26c31:localhost:node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a:Node 56d6a3a7-219a-4c9f-8894-e2592ba5ab8a :: false

publishItemsToNodes 0.244s
2022-11-24 04:31:28 |

2022-11-24 04:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:28 | ------------------------------------

2022-11-24 04:31:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><item-id>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</item-id><entry><test>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</test></entry></data>

2022-11-24 04:31:29 | 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-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</value></item-id></result>

2022-11-24 04:31:29 | [Mutex] waiting for: [published:item:notifieditem-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff:admin@test-domain.com]

2022-11-24 04:31:29 | [Mutex] received everything.

2022-11-24 04:31:29 | [Mutex] isItemNotified: published:item:notifieditem-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-11-24 04:31:29 |

2022-11-24 04:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:29 | ------------------------------------

2022-11-24 04:31:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><item-id>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</item-id></data>

2022-11-24 04:31:29 | 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-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</value></item-id></result>

2022-11-24 04:31:29 | [Mutex] received everything.

2022-11-24 04:31:29 | [Mutex] isItemNotified: retracted:item:notifieditem-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2022-11-24 04:31:29 |

2022-11-24 04:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:29 | ------------------------------------

2022-11-24 04:31:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><item-id>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</item-id></data>

2022-11-24 04:31:29 | 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-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</value></node><item-id label="Item ID" type="text-single"><value>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff"><test>item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff</test></item></value></item></result>

2022-11-24 04:31:29 | [Mutex] notify: [retrieved:item:item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff:payload-matches:true:localhost]

2022-11-24 04:31:29 | [Mutex] received everything.

2022-11-24 04:31:29 | [Mutex] isItemNotified: retrieved:item:item-2a7857f9-9ec7-4b65-9a0d-674a67ef93ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-11-24 04:31:29 |

2022-11-24 04:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:29 | ------------------------------------

2022-11-24 04:31:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-24 04:31:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-17ef37d4-b72c-4da0-832d-c511f2a0e127</value><value>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-11-24 04:31:29 |

2022-11-24 04:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:29 | ------------------------------------

2022-11-24 04:31:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a)</node-pattern></data>

2022-11-24 04:31:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.140s
2022-11-24 04:31:27 |

2022-11-24 04:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:27 | ------------------------------------

2022-11-24 04:31:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-24 04:31:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2022-11-24 04:31:29 |

2022-11-24 04:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-24 04:31:29 | ------------------------------------

2022-11-24 04:31:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56d6a3a7-219a-4c9f-8894-e2592ba5ab8a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-24 04:31:29 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>