Generated by TestNG with ReportNG at 22:53 PDT on Thursday 13 October 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.573s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-10-13 23:08:23 |

2022-10-13 23:08:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:23 | ------------------------------------

2022-10-13 23:08:23 | [Mutex] waiting for: [configured:node:node-53189362-b423-42b7-bf84-658bd0f81d63:node-a0b4cb50-5c22-432a-8662-317a7d477280]

2022-10-13 23:08:23 | [Mutex] received everything.

2022-10-13 23:08:23 | [Mutex] isItemNotified: configured:node:node-53189362-b423-42b7-bf84-658bd0f81d63:node-a0b4cb50-5c22-432a-8662-317a7d477280 :: true

2022-10-13 23:08:25 | [Mutex] waiting for: [received:nodes:a71372f4-c35d-4cc7-ba56-fc7d2682eed7:localhost]

2022-10-13 23:08:25 | [Mutex] received everything.

2022-10-13 23:08:25 | [Mutex] isItemNotified: received:node:a71372f4-c35d-4cc7-ba56-fc7d2682eed7:localhost:node-53189362-b423-42b7-bf84-658bd0f81d63:Node 53189362-b423-42b7-bf84-658bd0f81d63 :: true

2022-10-13 23:08:25 | [Mutex] waiting for: [received:nodes:dec0e0dd-d381-4a31-83f0-6c4de5fe9a11:localhost]

2022-10-13 23:08:25 | [Mutex] received everything.

2022-10-13 23:08:25 | [Mutex] isItemNotified: received:node:dec0e0dd-d381-4a31-83f0-6c4de5fe9a11:localhost:node-53189362-b423-42b7-bf84-658bd0f81d63:Node 53189362-b423-42b7-bf84-658bd0f81d63 :: false

createNodes 1.432s
2022-10-13 23:08:21 |

2022-10-13 23:08:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:21 | ------------------------------------

2022-10-13 23:08:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53189362-b423-42b7-bf84-658bd0f81d63</title></pubsub></data>

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

2022-10-13 23:08:22 | [Mutex] waiting for: [received:nodes:6afc8362-1061-4e1e-bcb3-ec0e9154587b:localhost]

2022-10-13 23:08:22 | [Mutex] received everything.

2022-10-13 23:08:22 | [Mutex] isItemNotified: received:node:6afc8362-1061-4e1e-bcb3-ec0e9154587b:localhost:node-53189362-b423-42b7-bf84-658bd0f81d63:Node 53189362-b423-42b7-bf84-658bd0f81d63 :: true

createSubnodes 1.036s
2022-10-13 23:08:22 |

2022-10-13 23:08:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:22 | ------------------------------------

2022-10-13 23:08:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a0b4cb50-5c22-432a-8662-317a7d477280</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a0b4cb50-5c22-432a-8662-317a7d477280</title></pubsub></data>

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

2022-10-13 23:08:23 | [Mutex] waiting for: [received:nodes:ed30af8d-db18-4479-8304-7bf7f143f730:localhost]

2022-10-13 23:08:23 | [Mutex] received everything.

2022-10-13 23:08:23 | [Mutex] isItemNotified: received:node:ed30af8d-db18-4479-8304-7bf7f143f730:localhost:node-a0b4cb50-5c22-432a-8662-317a7d477280:Node a0b4cb50-5c22-432a-8662-317a7d477280 :: true

deleteNodes 1.018s
2022-10-13 23:08:29 |

2022-10-13 23:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:29 | ------------------------------------

2022-10-13 23:08:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a0b4cb50-5c22-432a-8662-317a7d477280</node></data>

2022-10-13 23:08:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-13 23:08:30 | [Mutex] waiting for: [received:nodes:12e94ba1-21f8-4a86-85a2-1c6d92b83e3e:localhost]

2022-10-13 23:08:30 | [Mutex] waiting for: [received:nodes:12e94ba1-21f8-4a86-85a2-1c6d92b83e3e:localhost]

2022-10-13 23:08:30 | [Mutex] received everything.

2022-10-13 23:08:30 | [Mutex] isItemNotified: received:node:12e94ba1-21f8-4a86-85a2-1c6d92b83e3e:localhost:node-a0b4cb50-5c22-432a-8662-317a7d477280:Node a0b4cb50-5c22-432a-8662-317a7d477280 :: false

deleteSubnodes 1.123s
2022-10-13 23:08:28 |

2022-10-13 23:08:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:28 | ------------------------------------

2022-10-13 23:08:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node></data>

2022-10-13 23:08:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-13 23:08:29 | [Mutex] waiting for: [received:nodes:8135b720-0e51-4562-9215-dc6541de30a6:localhost]

2022-10-13 23:08:29 | [Mutex] received everything.

2022-10-13 23:08:29 | [Mutex] isItemNotified: received:node:8135b720-0e51-4562-9215-dc6541de30a6:localhost:node-53189362-b423-42b7-bf84-658bd0f81d63:Node 53189362-b423-42b7-bf84-658bd0f81d63 :: false

2022-10-13 23:08:29 | [Mutex] waiting for: [received:nodes:bd49733d-b6f6-4fa1-83e9-4a2007a87c21:localhost]

2022-10-13 23:08:29 | [Mutex] received everything.

2022-10-13 23:08:29 | [Mutex] isItemNotified: received:node:bd49733d-b6f6-4fa1-83e9-4a2007a87c21:localhost:node-53189362-b423-42b7-bf84-658bd0f81d63:Node 53189362-b423-42b7-bf84-658bd0f81d63 :: false

publishItemsToNodes 0.196s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><item-id>item-4d788383-0cde-4ef2-8181-81691f82c0f2</item-id><entry><test>item-4d788383-0cde-4ef2-8181-81691f82c0f2</test></entry></data>

2022-10-13 23:08:26 | 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-4d788383-0cde-4ef2-8181-81691f82c0f2</value></item-id></result>

2022-10-13 23:08:26 | [Mutex] waiting for: [published:item:notifieditem-4d788383-0cde-4ef2-8181-81691f82c0f2:admin@test-domain.com]

2022-10-13 23:08:26 | [Mutex] received everything.

2022-10-13 23:08:26 | [Mutex] isItemNotified: published:item:notifieditem-4d788383-0cde-4ef2-8181-81691f82c0f2:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><item-id>item-4d788383-0cde-4ef2-8181-81691f82c0f2</item-id></data>

2022-10-13 23:08:26 | 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-4d788383-0cde-4ef2-8181-81691f82c0f2</value></item-id></result>

2022-10-13 23:08:26 | [Mutex] waiting for: [retracted:item:notifieditem-4d788383-0cde-4ef2-8181-81691f82c0f2:admin@test-domain.com]

2022-10-13 23:08:26 | [Mutex] received everything.

2022-10-13 23:08:26 | [Mutex] isItemNotified: retracted:item:notifieditem-4d788383-0cde-4ef2-8181-81691f82c0f2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.174s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><item-id>item-4d788383-0cde-4ef2-8181-81691f82c0f2</item-id></data>

2022-10-13 23:08:26 | 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-53189362-b423-42b7-bf84-658bd0f81d63</value></node><item-id label="Item ID" type="text-single"><value>item-4d788383-0cde-4ef2-8181-81691f82c0f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-4d788383-0cde-4ef2-8181-81691f82c0f2"><test>item-4d788383-0cde-4ef2-8181-81691f82c0f2</test></item></value></item></result>

2022-10-13 23:08:26 | [Mutex] notify: [retrieved:item:item-4d788383-0cde-4ef2-8181-81691f82c0f2:payload-matches:true:localhost]

2022-10-13 23:08:26 | [Mutex] received everything.

2022-10-13 23:08:26 | [Mutex] isItemNotified: retrieved:item:item-4d788383-0cde-4ef2-8181-81691f82c0f2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-13 23:08:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a0b4cb50-5c22-432a-8662-317a7d477280</value><value>node-53189362-b423-42b7-bf84-658bd0f81d63</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53189362-b423-42b7-bf84-658bd0f81d63)</node-pattern></data>

2022-10-13 23:08:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.171s
2022-10-13 23:08:25 |

2022-10-13 23:08:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:25 | ------------------------------------

2022-10-13 23:08:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-13 23:08:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.258s
2022-10-13 23:08:26 |

2022-10-13 23:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-13 23:08:26 | ------------------------------------

2022-10-13 23:08:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-53189362-b423-42b7-bf84-658bd0f81d63</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-13 23:08:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>