Generated by TestNG with ReportNG at 22:30 PDT on Thursday 23 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.576s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-06-23 22:45:49 |

2022-06-23 22:45:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:49 | ------------------------------------

2022-06-23 22:45:49 | [Mutex] waiting for: [configured:node:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:node-5c4497ce-733e-4c7f-a849-27702f2030c6]

2022-06-23 22:45:49 | [Mutex] received everything.

2022-06-23 22:45:49 | [Mutex] isItemNotified: configured:node:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:node-5c4497ce-733e-4c7f-a849-27702f2030c6 :: true

2022-06-23 22:45:50 | [Mutex] waiting for: [received:nodes:25856dd2-2380-4af4-ae06-93d40e91b51b:localhost]

2022-06-23 22:45:50 | [Mutex] received everything.

2022-06-23 22:45:50 | [Mutex] isItemNotified: received:node:25856dd2-2380-4af4-ae06-93d40e91b51b:localhost:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc :: true

2022-06-23 22:45:50 | [Mutex] waiting for: [received:nodes:c9ff7bde-55a5-4005-8bca-2ec2dd2858ff:localhost]

2022-06-23 22:45:50 | [Mutex] received everything.

2022-06-23 22:45:50 | [Mutex] isItemNotified: received:node:c9ff7bde-55a5-4005-8bca-2ec2dd2858ff:localhost:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc :: false

createNodes 1.513s
2022-06-23 22:45:46 |

2022-06-23 22:45:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:46 | ------------------------------------

2022-06-23 22:45:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc</title></pubsub></data>

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

2022-06-23 22:45:48 | [Mutex] waiting for: [received:nodes:3ac220cb-6c38-4726-82fa-3412112d8e1c:localhost]

2022-06-23 22:45:48 | [Mutex] received everything.

2022-06-23 22:45:48 | [Mutex] isItemNotified: received:node:3ac220cb-6c38-4726-82fa-3412112d8e1c:localhost:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc :: true

createSubnodes 1.032s
2022-06-23 22:45:48 |

2022-06-23 22:45:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:48 | ------------------------------------

2022-06-23 22:45:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c4497ce-733e-4c7f-a849-27702f2030c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c4497ce-733e-4c7f-a849-27702f2030c6</title></pubsub></data>

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

2022-06-23 22:45:49 | [Mutex] waiting for: [received:nodes:bdd3377d-472b-484a-a54f-d775ceae8358:localhost]

2022-06-23 22:45:49 | [Mutex] waiting for: [received:nodes:bdd3377d-472b-484a-a54f-d775ceae8358:localhost]

2022-06-23 22:45:49 | [Mutex] waiting for: [received:nodes:bdd3377d-472b-484a-a54f-d775ceae8358:localhost]

2022-06-23 22:45:49 | [Mutex] received everything.

2022-06-23 22:45:49 | [Mutex] isItemNotified: received:node:bdd3377d-472b-484a-a54f-d775ceae8358:localhost:node-5c4497ce-733e-4c7f-a849-27702f2030c6:Node 5c4497ce-733e-4c7f-a849-27702f2030c6 :: true

deleteNodes 1.015s
2022-06-23 22:45:54 |

2022-06-23 22:45:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:54 | ------------------------------------

2022-06-23 22:45:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c4497ce-733e-4c7f-a849-27702f2030c6</node></data>

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

2022-06-23 22:45:55 | [Mutex] waiting for: [received:nodes:0709cd79-863b-492d-975b-6ffd8a9ebf63:localhost]

2022-06-23 22:45:55 | [Mutex] waiting for: [received:nodes:0709cd79-863b-492d-975b-6ffd8a9ebf63:localhost]

2022-06-23 22:45:55 | [Mutex] received everything.

2022-06-23 22:45:55 | [Mutex] isItemNotified: received:node:0709cd79-863b-492d-975b-6ffd8a9ebf63:localhost:node-5c4497ce-733e-4c7f-a849-27702f2030c6:Node 5c4497ce-733e-4c7f-a849-27702f2030c6 :: false

deleteSubnodes 1.114s
2022-06-23 22:45:53 |

2022-06-23 22:45:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:53 | ------------------------------------

2022-06-23 22:45:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node></data>

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

2022-06-23 22:45:54 | [Mutex] waiting for: [received:nodes:5198bea6-7a58-4a13-b2b6-c3d21528eaa8:localhost]

2022-06-23 22:45:54 | [Mutex] waiting for: [received:nodes:5198bea6-7a58-4a13-b2b6-c3d21528eaa8:localhost]

2022-06-23 22:45:54 | [Mutex] waiting for: [received:nodes:5198bea6-7a58-4a13-b2b6-c3d21528eaa8:localhost]

2022-06-23 22:45:54 | [Mutex] received everything.

2022-06-23 22:45:54 | [Mutex] isItemNotified: received:node:5198bea6-7a58-4a13-b2b6-c3d21528eaa8:localhost:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc :: false

2022-06-23 22:45:54 | [Mutex] waiting for: [received:nodes:7c349dc8-ec51-4bef-aaca-745e787550ea:localhost]

2022-06-23 22:45:54 | [Mutex] received everything.

2022-06-23 22:45:54 | [Mutex] isItemNotified: received:node:7c349dc8-ec51-4bef-aaca-745e787550ea:localhost:node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc:Node 0b1793ef-b66a-4854-92b3-6d03f8fe99bc :: false

publishItemsToNodes 0.188s
2022-06-23 22:45:51 |

2022-06-23 22:45:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:51 | ------------------------------------

2022-06-23 22:45:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><item-id>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</item-id><entry><test>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</test></entry></data>

2022-06-23 22:45:51 | 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-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</value></item-id></result>

2022-06-23 22:45:51 | [Mutex] received everything.

2022-06-23 22:45:51 | [Mutex] isItemNotified: published:item:notifieditem-de08bad2-0848-4dfa-83fd-2f8f7d121cd4:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2022-06-23 22:45:52 |

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

2022-06-23 22:45:52 | ------------------------------------

2022-06-23 22:45:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><item-id>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</item-id></data>

2022-06-23 22:45:52 | 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-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</value></item-id></result>

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

2022-06-23 22:45:52 | [Mutex] isItemNotified: retracted:item:notifieditem-de08bad2-0848-4dfa-83fd-2f8f7d121cd4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2022-06-23 22:45:51 |

2022-06-23 22:45:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:51 | ------------------------------------

2022-06-23 22:45:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><item-id>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</item-id></data>

2022-06-23 22:45:51 | 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-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</value></node><item-id type="text-single" label="Item ID"><value>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</value></item-id><item type="text-multi" label="Item"><value><item id="item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4"><test>item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4</test></item></value></item></result>

2022-06-23 22:45:51 | [Mutex] notify: [retrieved:item:item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4:payload-matches:true:localhost]

2022-06-23 22:45:51 | [Mutex] received everything.

2022-06-23 22:45:51 | [Mutex] isItemNotified: retrieved:item:item-de08bad2-0848-4dfa-83fd-2f8f7d121cd4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-23 22:45:51 |

2022-06-23 22:45:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:51 | ------------------------------------

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

2022-06-23 22:45:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-5c4497ce-733e-4c7f-a849-27702f2030c6</value><value>test</value><value>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-23 22:45:52 |

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

2022-06-23 22:45:52 | ------------------------------------

2022-06-23 22:45:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc)</node-pattern></data>

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

subscribeNodes 1.194s
2022-06-23 22:45:50 |

2022-06-23 22:45:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:45:50 | ------------------------------------

2022-06-23 22:45:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.243s
2022-06-23 22:45:52 |

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

2022-06-23 22:45:52 | ------------------------------------

2022-06-23 22:45:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0b1793ef-b66a-4854-92b3-6d03f8fe99bc</node><jids><value>admin@test-domain.com</value></jids></data>

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