Generated by TestNG with ReportNG at 22:09 PST on Wednesday 19 January 2022
root@785cf647a4ab / 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.437s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2022-01-19 22:22:47 |

2022-01-19 22:22:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:47 | ------------------------------------

2022-01-19 22:22:47 | [Mutex] waiting for: [configured:node:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca]

2022-01-19 22:22:47 | [Mutex] received everything.

2022-01-19 22:22:47 | [Mutex] isItemNotified: configured:node:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca :: true

2022-01-19 22:22:48 | [Mutex] waiting for: [received:nodes:0bf8c89a-c16a-4844-a1b6-678b83136f22:localhost]

2022-01-19 22:22:48 | [Mutex] received everything.

2022-01-19 22:22:48 | [Mutex] isItemNotified: received:node:0bf8c89a-c16a-4844-a1b6-678b83136f22:localhost:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:Node 893b3815-26e3-4f38-8c04-ba32ce8a597d :: true

2022-01-19 22:22:48 | [Mutex] waiting for: [received:nodes:1bcd5c85-4bcd-4a9c-b8dc-3ec5414f8614:localhost]

2022-01-19 22:22:48 | [Mutex] received everything.

2022-01-19 22:22:48 | [Mutex] isItemNotified: received:node:1bcd5c85-4bcd-4a9c-b8dc-3ec5414f8614:localhost:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:Node 893b3815-26e3-4f38-8c04-ba32ce8a597d :: false

createNodes 1.519s
2022-01-19 22:22:45 |

2022-01-19 22:22:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:45 | ------------------------------------

2022-01-19 22:22:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 893b3815-26e3-4f38-8c04-ba32ce8a597d</title></pubsub></data>

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

2022-01-19 22:22:46 | [Mutex] waiting for: [received:nodes:b5c0fefc-af2d-4b79-b421-b4a93fad0578:localhost]

2022-01-19 22:22:46 | [Mutex] received everything.

2022-01-19 22:22:46 | [Mutex] isItemNotified: received:node:b5c0fefc-af2d-4b79-b421-b4a93fad0578:localhost:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:Node 893b3815-26e3-4f38-8c04-ba32ce8a597d :: true

createSubnodes 1.030s
2022-01-19 22:22:46 |

2022-01-19 22:22:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:46 | ------------------------------------

2022-01-19 22:22:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0aabc6cf-b80c-41ac-b7b2-091d4296b5ca</title></pubsub></data>

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

2022-01-19 22:22:47 | [Mutex] waiting for: [received:nodes:bd1b8f84-0457-426d-ba5d-8bae90509072:localhost]

2022-01-19 22:22:47 | [Mutex] received everything.

2022-01-19 22:22:47 | [Mutex] isItemNotified: received:node:bd1b8f84-0457-426d-ba5d-8bae90509072:localhost:node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca:Node 0aabc6cf-b80c-41ac-b7b2-091d4296b5ca :: true

deleteNodes 1.020s
2022-01-19 22:22:53 |

2022-01-19 22:22:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:53 | ------------------------------------

2022-01-19 22:22:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca</node></data>

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

2022-01-19 22:22:54 | [Mutex] waiting for: [received:nodes:37a26baa-0f88-4626-879c-d3675cff21e0:localhost]

2022-01-19 22:22:54 | [Mutex] received everything.

2022-01-19 22:22:54 | [Mutex] isItemNotified: received:node:37a26baa-0f88-4626-879c-d3675cff21e0:localhost:node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca:Node 0aabc6cf-b80c-41ac-b7b2-091d4296b5ca :: false

deleteSubnodes 1.197s
2022-01-19 22:22:52 |

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

2022-01-19 22:22:52 | ------------------------------------

2022-01-19 22:22:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node></data>

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

2022-01-19 22:22:53 | [Mutex] waiting for: [received:nodes:2b227074-780a-4f4a-a394-11a0b22fd802:localhost]

2022-01-19 22:22:53 | [Mutex] received everything.

2022-01-19 22:22:53 | [Mutex] isItemNotified: received:node:2b227074-780a-4f4a-a394-11a0b22fd802:localhost:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:Node 893b3815-26e3-4f38-8c04-ba32ce8a597d :: false

2022-01-19 22:22:53 | [Mutex] waiting for: [received:nodes:d2b2a9f4-b6b0-4b00-909b-7345e7eb19e8:localhost]

2022-01-19 22:22:53 | [Mutex] received everything.

2022-01-19 22:22:53 | [Mutex] isItemNotified: received:node:d2b2a9f4-b6b0-4b00-909b-7345e7eb19e8:localhost:node-893b3815-26e3-4f38-8c04-ba32ce8a597d:Node 893b3815-26e3-4f38-8c04-ba32ce8a597d :: false

publishItemsToNodes 0.321s
2022-01-19 22:22:50 |

2022-01-19 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:50 | ------------------------------------

2022-01-19 22:22:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><item-id>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</item-id><entry><test>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</test></entry></data>

2022-01-19 22:22:50 | 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-ebef64b7-6e8c-45ba-80fc-6f58ba261978</value></item-id></result>

2022-01-19 22:22:50 | [Mutex] received everything.

2022-01-19 22:22:50 | [Mutex] isItemNotified: published:item:notifieditem-ebef64b7-6e8c-45ba-80fc-6f58ba261978:admin@test-domain.com :: true

retractItemsFromNodes 0.333s
2022-01-19 22:22:50 |

2022-01-19 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:50 | ------------------------------------

2022-01-19 22:22:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><item-id>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</item-id></data>

2022-01-19 22:22:51 | 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-ebef64b7-6e8c-45ba-80fc-6f58ba261978</value></item-id></result>

2022-01-19 22:22:51 | [Mutex] received everything.

2022-01-19 22:22:51 | [Mutex] isItemNotified: retracted:item:notifieditem-ebef64b7-6e8c-45ba-80fc-6f58ba261978:admin@test-domain.com :: true

retrieveItemsFromNodes 0.407s
2022-01-19 22:22:50 |

2022-01-19 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:50 | ------------------------------------

2022-01-19 22:22:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><item-id>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</item-id></data>

2022-01-19 22:22:50 | 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-893b3815-26e3-4f38-8c04-ba32ce8a597d</value></node><item-id label="Item ID" type="text-single"><value>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</value></item-id><item label="Item" type="text-multi"><value><item id="item-ebef64b7-6e8c-45ba-80fc-6f58ba261978"><test>item-ebef64b7-6e8c-45ba-80fc-6f58ba261978</test></item></value></item></result>

2022-01-19 22:22:50 | [Mutex] notify: [retrieved:item:item-ebef64b7-6e8c-45ba-80fc-6f58ba261978:payload-matches:true:localhost]

2022-01-19 22:22:50 | [Mutex] received everything.

2022-01-19 22:22:50 | [Mutex] isItemNotified: retrieved:item:item-ebef64b7-6e8c-45ba-80fc-6f58ba261978:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-01-19 22:22:50 |

2022-01-19 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:50 | ------------------------------------

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

2022-01-19 22:22:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</value><value>test</value><value>node-0aabc6cf-b80c-41ac-b7b2-091d4296b5ca</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-01-19 22:22:50 |

2022-01-19 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:50 | ------------------------------------

2022-01-19 22:22:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-893b3815-26e3-4f38-8c04-ba32ce8a597d)</node-pattern></data>

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

subscribeNodes 1.169s
2022-01-19 22:22:48 |

2022-01-19 22:22:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:48 | ------------------------------------

2022-01-19 22:22:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.257s
2022-01-19 22:22:51 |

2022-01-19 22:22:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:22:51 | ------------------------------------

2022-01-19 22:22:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-893b3815-26e3-4f38-8c04-ba32ce8a597d</node><jids><value>admin@test-domain.com</value></jids></data>

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