Generated by TestNG with ReportNG at 00:12 PDT on Sunday 05 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.465s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2023-11-05 00:27:04 |

2023-11-05 00:27:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:04 | ------------------------------------

2023-11-05 00:27:04 | [Mutex] waiting for: [configured:node:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:node-dc6421af-f336-4fc9-adf6-d9e8796546e2]

2023-11-05 00:27:04 | [Mutex] received everything.

2023-11-05 00:27:04 | [Mutex] isItemNotified: configured:node:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:node-dc6421af-f336-4fc9-adf6-d9e8796546e2 :: true

2023-11-05 00:27:05 | [Mutex] waiting for: [received:nodes:a9bab039-d7f3-42e5-b40e-7dc598711a4e:localhost]

2023-11-05 00:27:05 | [Mutex] received everything.

2023-11-05 00:27:05 | [Mutex] isItemNotified: received:node:a9bab039-d7f3-42e5-b40e-7dc598711a4e:localhost:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08 :: true

2023-11-05 00:27:05 | [Mutex] waiting for: [received:nodes:018db6b3-9596-4803-bfdb-6fe719f74208:localhost]

2023-11-05 00:27:05 | [Mutex] waiting for: [received:nodes:018db6b3-9596-4803-bfdb-6fe719f74208:localhost]

2023-11-05 00:27:05 | [Mutex] waiting for: [received:nodes:018db6b3-9596-4803-bfdb-6fe719f74208:localhost]

2023-11-05 00:27:05 | [Mutex] waiting for: [received:nodes:018db6b3-9596-4803-bfdb-6fe719f74208:localhost]

2023-11-05 00:27:05 | [Mutex] received everything.

2023-11-05 00:27:05 | [Mutex] isItemNotified: received:node:018db6b3-9596-4803-bfdb-6fe719f74208:localhost:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08 :: false

createNodes 1.474s
2023-11-05 00:27:01 |

2023-11-05 00:27:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:01 | ------------------------------------

2023-11-05 00:27:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08</title></pubsub></data>

2023-11-05 00:27:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 00:27:03 | [Mutex] waiting for: [received:nodes:383f15b7-5111-44cb-8c9a-131596f32a41:localhost]

2023-11-05 00:27:03 | [Mutex] waiting for: [received:nodes:383f15b7-5111-44cb-8c9a-131596f32a41:localhost]

2023-11-05 00:27:03 | [Mutex] waiting for: [received:nodes:383f15b7-5111-44cb-8c9a-131596f32a41:localhost]

2023-11-05 00:27:03 | [Mutex] waiting for: [received:nodes:383f15b7-5111-44cb-8c9a-131596f32a41:localhost]

2023-11-05 00:27:03 | [Mutex] received everything.

2023-11-05 00:27:03 | [Mutex] isItemNotified: received:node:383f15b7-5111-44cb-8c9a-131596f32a41:localhost:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08 :: true

createSubnodes 1.023s
2023-11-05 00:27:03 |

2023-11-05 00:27:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:03 | ------------------------------------

2023-11-05 00:27:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc6421af-f336-4fc9-adf6-d9e8796546e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dc6421af-f336-4fc9-adf6-d9e8796546e2</title></pubsub></data>

2023-11-05 00:27:03 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 00:27:04 | [Mutex] waiting for: [received:nodes:eb897624-5545-4792-a552-28e529c5de02:localhost]

2023-11-05 00:27:04 | [Mutex] waiting for: [received:nodes:eb897624-5545-4792-a552-28e529c5de02:localhost]

2023-11-05 00:27:04 | [Mutex] waiting for: [received:nodes:eb897624-5545-4792-a552-28e529c5de02:localhost]

2023-11-05 00:27:04 | [Mutex] waiting for: [received:nodes:eb897624-5545-4792-a552-28e529c5de02:localhost]

2023-11-05 00:27:04 | [Mutex] received everything.

2023-11-05 00:27:04 | [Mutex] isItemNotified: received:node:eb897624-5545-4792-a552-28e529c5de02:localhost:node-dc6421af-f336-4fc9-adf6-d9e8796546e2:Node dc6421af-f336-4fc9-adf6-d9e8796546e2 :: true

deleteNodes 1.018s
2023-11-05 00:27:09 |

2023-11-05 00:27:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:09 | ------------------------------------

2023-11-05 00:27:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc6421af-f336-4fc9-adf6-d9e8796546e2</node></data>

2023-11-05 00:27:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 00:27:10 | [Mutex] waiting for: [received:nodes:16ada01c-1a6c-40bb-8c25-71a21b2957ba:localhost]

2023-11-05 00:27:10 | [Mutex] waiting for: [received:nodes:16ada01c-1a6c-40bb-8c25-71a21b2957ba:localhost]

2023-11-05 00:27:10 | [Mutex] waiting for: [received:nodes:16ada01c-1a6c-40bb-8c25-71a21b2957ba:localhost]

2023-11-05 00:27:10 | [Mutex] received everything.

2023-11-05 00:27:10 | [Mutex] isItemNotified: received:node:16ada01c-1a6c-40bb-8c25-71a21b2957ba:localhost:node-dc6421af-f336-4fc9-adf6-d9e8796546e2:Node dc6421af-f336-4fc9-adf6-d9e8796546e2 :: false

deleteSubnodes 1.106s
2023-11-05 00:27:08 |

2023-11-05 00:27:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:08 | ------------------------------------

2023-11-05 00:27:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node></data>

2023-11-05 00:27:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-05 00:27:09 | [Mutex] waiting for: [received:nodes:e1b4da9f-6e85-47a2-8378-cdf52b9f7221:localhost]

2023-11-05 00:27:09 | [Mutex] waiting for: [received:nodes:e1b4da9f-6e85-47a2-8378-cdf52b9f7221:localhost]

2023-11-05 00:27:09 | [Mutex] waiting for: [received:nodes:e1b4da9f-6e85-47a2-8378-cdf52b9f7221:localhost]

2023-11-05 00:27:09 | [Mutex] received everything.

2023-11-05 00:27:09 | [Mutex] isItemNotified: received:node:e1b4da9f-6e85-47a2-8378-cdf52b9f7221:localhost:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08 :: false

2023-11-05 00:27:09 | [Mutex] waiting for: [received:nodes:9827972b-7776-4257-acf4-a6620e8c6922:localhost]

2023-11-05 00:27:09 | [Mutex] received everything.

2023-11-05 00:27:09 | [Mutex] isItemNotified: received:node:9827972b-7776-4257-acf4-a6620e8c6922:localhost:node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08:Node d3de1474-623c-4cc4-a57b-f1cd3d4aec08 :: false

publishItemsToNodes 0.248s
2023-11-05 00:27:06 |

2023-11-05 00:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:06 | ------------------------------------

2023-11-05 00:27:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><item-id>item-687e18e0-523f-45cc-97d8-478cf23846c5</item-id><entry><test>item-687e18e0-523f-45cc-97d8-478cf23846c5</test></entry></data>

2023-11-05 00:27:06 | 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-687e18e0-523f-45cc-97d8-478cf23846c5</value></item-id></result>

2023-11-05 00:27:06 | [Mutex] received everything.

2023-11-05 00:27:06 | [Mutex] isItemNotified: published:item:notifieditem-687e18e0-523f-45cc-97d8-478cf23846c5:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2023-11-05 00:27:06 |

2023-11-05 00:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:06 | ------------------------------------

2023-11-05 00:27:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><item-id>item-687e18e0-523f-45cc-97d8-478cf23846c5</item-id></data>

2023-11-05 00:27:07 | 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-687e18e0-523f-45cc-97d8-478cf23846c5</value></item-id></result>

2023-11-05 00:27:07 | [Mutex] received everything.

2023-11-05 00:27:07 | [Mutex] isItemNotified: retracted:item:notifieditem-687e18e0-523f-45cc-97d8-478cf23846c5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.220s
2023-11-05 00:27:06 |

2023-11-05 00:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:06 | ------------------------------------

2023-11-05 00:27:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><item-id>item-687e18e0-523f-45cc-97d8-478cf23846c5</item-id></data>

2023-11-05 00:27:06 | 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-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</value></node><item-id type="text-single" label="Item ID"><value>item-687e18e0-523f-45cc-97d8-478cf23846c5</value></item-id><item type="text-multi" label="Item"><value><item id="item-687e18e0-523f-45cc-97d8-478cf23846c5"><test>item-687e18e0-523f-45cc-97d8-478cf23846c5</test></item></value></item></result>

2023-11-05 00:27:06 | [Mutex] notify: [retrieved:item:item-687e18e0-523f-45cc-97d8-478cf23846c5:payload-matches:true:localhost]

2023-11-05 00:27:06 | [Mutex] received everything.

2023-11-05 00:27:06 | [Mutex] isItemNotified: retrieved:item:item-687e18e0-523f-45cc-97d8-478cf23846c5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-11-05 00:27:06 |

2023-11-05 00:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:06 | ------------------------------------

2023-11-05 00:27:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-11-05 00:27:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-dc6421af-f336-4fc9-adf6-d9e8796546e2</value><value>test</value><value>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-11-05 00:27:06 |

2023-11-05 00:27:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:06 | ------------------------------------

2023-11-05 00:27:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08)</node-pattern></data>

2023-11-05 00:27:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.113s
2023-11-05 00:27:05 |

2023-11-05 00:27:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:05 | ------------------------------------

2023-11-05 00:27:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.159s
2023-11-05 00:27:07 |

2023-11-05 00:27:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-05 00:27:07 | ------------------------------------

2023-11-05 00:27:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d3de1474-623c-4cc4-a57b-f1cd3d4aec08</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-05 00:27:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>