Generated by TestNG with ReportNG at 22:30 PDT on Friday 17 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.684s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-06-17 22:52:18 |

2022-06-17 22:52:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:18 | ------------------------------------

2022-06-17 22:52:18 | [Mutex] waiting for: [configured:node:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:node-4b3c09db-ee64-45c3-8704-98c56b29ec17]

2022-06-17 22:52:18 | [Mutex] received everything.

2022-06-17 22:52:18 | [Mutex] isItemNotified: configured:node:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:node-4b3c09db-ee64-45c3-8704-98c56b29ec17 :: true

2022-06-17 22:52:19 | [Mutex] waiting for: [received:nodes:ae6bc816-3b3b-45ac-a7a4-4d3463221ae8:localhost]

2022-06-17 22:52:19 | [Mutex] received everything.

2022-06-17 22:52:19 | [Mutex] isItemNotified: received:node:ae6bc816-3b3b-45ac-a7a4-4d3463221ae8:localhost:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:Node ee02b80e-b87e-4270-8c24-f03f3aeb787d :: true

2022-06-17 22:52:19 | [Mutex] waiting for: [received:nodes:718bcf42-dd8a-45eb-a6f3-f701488f6fa5:localhost]

2022-06-17 22:52:19 | [Mutex] received everything.

2022-06-17 22:52:19 | [Mutex] isItemNotified: received:node:718bcf42-dd8a-45eb-a6f3-f701488f6fa5:localhost:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:Node ee02b80e-b87e-4270-8c24-f03f3aeb787d :: false

createNodes 1.449s
2022-06-17 22:52:16 |

2022-06-17 22:52:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:16 | ------------------------------------

2022-06-17 22:52:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee02b80e-b87e-4270-8c24-f03f3aeb787d</title></pubsub></data>

2022-06-17 22:52:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-17 22:52:17 | [Mutex] waiting for: [received:nodes:ee69abba-3a98-4745-a4be-1f8a447ee3b7:localhost]

2022-06-17 22:52:17 | [Mutex] received everything.

2022-06-17 22:52:17 | [Mutex] isItemNotified: received:node:ee69abba-3a98-4745-a4be-1f8a447ee3b7:localhost:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:Node ee02b80e-b87e-4270-8c24-f03f3aeb787d :: true

createSubnodes 1.026s
2022-06-17 22:52:17 |

2022-06-17 22:52:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:17 | ------------------------------------

2022-06-17 22:52:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b3c09db-ee64-45c3-8704-98c56b29ec17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4b3c09db-ee64-45c3-8704-98c56b29ec17</title></pubsub></data>

2022-06-17 22:52:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-17 22:52:18 | [Mutex] waiting for: [received:nodes:4e29e58a-6a7e-45a5-8b37-1728c46a6d56:localhost]

2022-06-17 22:52:18 | [Mutex] waiting for: [received:nodes:4e29e58a-6a7e-45a5-8b37-1728c46a6d56:localhost]

2022-06-17 22:52:18 | [Mutex] waiting for: [received:nodes:4e29e58a-6a7e-45a5-8b37-1728c46a6d56:localhost]

2022-06-17 22:52:18 | [Mutex] waiting for: [received:nodes:4e29e58a-6a7e-45a5-8b37-1728c46a6d56:localhost]

2022-06-17 22:52:18 | [Mutex] received everything.

2022-06-17 22:52:18 | [Mutex] isItemNotified: received:node:4e29e58a-6a7e-45a5-8b37-1728c46a6d56:localhost:node-4b3c09db-ee64-45c3-8704-98c56b29ec17:Node 4b3c09db-ee64-45c3-8704-98c56b29ec17 :: true

deleteNodes 1.017s
2022-06-17 22:52:24 |

2022-06-17 22:52:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:24 | ------------------------------------

2022-06-17 22:52:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b3c09db-ee64-45c3-8704-98c56b29ec17</node></data>

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

2022-06-17 22:52:25 | [Mutex] waiting for: [received:nodes:c10cfc2c-5352-4b66-b998-b1cd69e3c86e:localhost]

2022-06-17 22:52:25 | [Mutex] waiting for: [received:nodes:c10cfc2c-5352-4b66-b998-b1cd69e3c86e:localhost]

2022-06-17 22:52:25 | [Mutex] waiting for: [received:nodes:c10cfc2c-5352-4b66-b998-b1cd69e3c86e:localhost]

2022-06-17 22:52:25 | [Mutex] received everything.

2022-06-17 22:52:25 | [Mutex] isItemNotified: received:node:c10cfc2c-5352-4b66-b998-b1cd69e3c86e:localhost:node-4b3c09db-ee64-45c3-8704-98c56b29ec17:Node 4b3c09db-ee64-45c3-8704-98c56b29ec17 :: false

deleteSubnodes 1.179s
2022-06-17 22:52:22 |

2022-06-17 22:52:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:22 | ------------------------------------

2022-06-17 22:52:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node></data>

2022-06-17 22:52:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-17 22:52:24 | [Mutex] waiting for: [received:nodes:53777297-f15c-4265-82d0-98b2dc51fa8c:localhost]

2022-06-17 22:52:24 | [Mutex] received everything.

2022-06-17 22:52:24 | [Mutex] isItemNotified: received:node:53777297-f15c-4265-82d0-98b2dc51fa8c:localhost:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:Node ee02b80e-b87e-4270-8c24-f03f3aeb787d :: false

2022-06-17 22:52:24 | [Mutex] waiting for: [received:nodes:02099dff-7d78-40fe-b3f0-fcdf1123f295:localhost]

2022-06-17 22:52:24 | [Mutex] received everything.

2022-06-17 22:52:24 | [Mutex] isItemNotified: received:node:02099dff-7d78-40fe-b3f0-fcdf1123f295:localhost:node-ee02b80e-b87e-4270-8c24-f03f3aeb787d:Node ee02b80e-b87e-4270-8c24-f03f3aeb787d :: false

publishItemsToNodes 0.229s
2022-06-17 22:52:20 |

2022-06-17 22:52:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:20 | ------------------------------------

2022-06-17 22:52:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><item-id>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</item-id><entry><test>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</test></entry></data>

2022-06-17 22:52:21 | 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-25b0d6cb-d132-4eba-9c45-30a70206ef3c</value></item-id></result>

2022-06-17 22:52:21 | [Mutex] received everything.

2022-06-17 22:52:21 | [Mutex] isItemNotified: published:item:notifieditem-25b0d6cb-d132-4eba-9c45-30a70206ef3c:admin@test-domain.com :: true

retractItemsFromNodes 0.281s
2022-06-17 22:52:21 |

2022-06-17 22:52:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:21 | ------------------------------------

2022-06-17 22:52:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><item-id>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</item-id></data>

2022-06-17 22:52:21 | 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-25b0d6cb-d132-4eba-9c45-30a70206ef3c</value></item-id></result>

2022-06-17 22:52:21 | [Mutex] received everything.

2022-06-17 22:52:21 | [Mutex] isItemNotified: retracted:item:notifieditem-25b0d6cb-d132-4eba-9c45-30a70206ef3c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2022-06-17 22:52:21 |

2022-06-17 22:52:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:21 | ------------------------------------

2022-06-17 22:52:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><item-id>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</item-id></data>

2022-06-17 22:52:21 | 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-ee02b80e-b87e-4270-8c24-f03f3aeb787d</value></node><item-id type="text-single" label="Item ID"><value>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</value></item-id><item type="text-multi" label="Item"><value><item id="item-25b0d6cb-d132-4eba-9c45-30a70206ef3c"><test>item-25b0d6cb-d132-4eba-9c45-30a70206ef3c</test></item></value></item></result>

2022-06-17 22:52:21 | [Mutex] notify: [retrieved:item:item-25b0d6cb-d132-4eba-9c45-30a70206ef3c:payload-matches:true:localhost]

2022-06-17 22:52:21 | [Mutex] received everything.

2022-06-17 22:52:21 | [Mutex] isItemNotified: retrieved:item:item-25b0d6cb-d132-4eba-9c45-30a70206ef3c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-06-17 22:52:21 |

2022-06-17 22:52:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:21 | ------------------------------------

2022-06-17 22:52:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-17 22:52:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-4b3c09db-ee64-45c3-8704-98c56b29ec17</value><value>test</value><value>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-06-17 22:52:21 |

2022-06-17 22:52:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:21 | ------------------------------------

2022-06-17 22:52:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee02b80e-b87e-4270-8c24-f03f3aeb787d)</node-pattern></data>

2022-06-17 22:52:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.169s
2022-06-17 22:52:19 |

2022-06-17 22:52:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:19 | ------------------------------------

2022-06-17 22:52:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-17 22:52:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2022-06-17 22:52:21 |

2022-06-17 22:52:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-17 22:52:21 | ------------------------------------

2022-06-17 22:52:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee02b80e-b87e-4270-8c24-f03f3aeb787d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-17 22:52:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>