Generated by TestNG with ReportNG at 21:40 PST on Monday 06 December 2021
root@b2c2a8eba6e6 / 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.420s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-12-06 21:54:00 |

2021-12-06 21:54:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:00 | ------------------------------------

2021-12-06 21:54:00 | [Mutex] waiting for: [configured:node:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:node-0c6feea9-f9a2-428d-b114-65120c165506]

2021-12-06 21:54:00 | [Mutex] received everything.

2021-12-06 21:54:00 | [Mutex] isItemNotified: configured:node:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:node-0c6feea9-f9a2-428d-b114-65120c165506 :: true

2021-12-06 21:54:01 | [Mutex] waiting for: [received:nodes:92068c62-ac89-4eb5-999b-67a41800bccf:localhost]

2021-12-06 21:54:01 | [Mutex] received everything.

2021-12-06 21:54:01 | [Mutex] isItemNotified: received:node:92068c62-ac89-4eb5-999b-67a41800bccf:localhost:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:Node a489dc28-eae5-4cf6-b42a-0726a66995a3 :: true

2021-12-06 21:54:01 | [Mutex] waiting for: [received:nodes:a9d5b4d5-c943-46eb-9f98-2748bb8a3063:localhost]

2021-12-06 21:54:01 | [Mutex] received everything.

2021-12-06 21:54:01 | [Mutex] isItemNotified: received:node:a9d5b4d5-c943-46eb-9f98-2748bb8a3063:localhost:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:Node a489dc28-eae5-4cf6-b42a-0726a66995a3 :: false

createNodes 1.602s
2021-12-06 21:53:57 |

2021-12-06 21:53:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:53:57 | ------------------------------------

2021-12-06 21:53:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a489dc28-eae5-4cf6-b42a-0726a66995a3</title></pubsub></data>

2021-12-06 21:53:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-06 21:53:59 | [Mutex] waiting for: [received:nodes:e46ef818-ddc9-4c87-bf7a-2f3753c879bf:localhost]

2021-12-06 21:53:59 | [Mutex] received everything.

2021-12-06 21:53:59 | [Mutex] isItemNotified: received:node:e46ef818-ddc9-4c87-bf7a-2f3753c879bf:localhost:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:Node a489dc28-eae5-4cf6-b42a-0726a66995a3 :: true

createSubnodes 1.032s
2021-12-06 21:53:59 |

2021-12-06 21:53:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:53:59 | ------------------------------------

2021-12-06 21:53:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0c6feea9-f9a2-428d-b114-65120c165506</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c6feea9-f9a2-428d-b114-65120c165506</title></pubsub></data>

2021-12-06 21:53:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-06 21:54:00 | [Mutex] waiting for: [received:nodes:ff3cbec4-4bac-4796-a03f-4584dd547d04:localhost]

2021-12-06 21:54:00 | [Mutex] waiting for: [received:nodes:ff3cbec4-4bac-4796-a03f-4584dd547d04:localhost]

2021-12-06 21:54:00 | [Mutex] waiting for: [received:nodes:ff3cbec4-4bac-4796-a03f-4584dd547d04:localhost]

2021-12-06 21:54:00 | [Mutex] waiting for: [received:nodes:ff3cbec4-4bac-4796-a03f-4584dd547d04:localhost]

2021-12-06 21:54:00 | [Mutex] received everything.

2021-12-06 21:54:00 | [Mutex] isItemNotified: received:node:ff3cbec4-4bac-4796-a03f-4584dd547d04:localhost:node-0c6feea9-f9a2-428d-b114-65120c165506:Node 0c6feea9-f9a2-428d-b114-65120c165506 :: true

deleteNodes 1.024s
2021-12-06 21:54:06 |

2021-12-06 21:54:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:06 | ------------------------------------

2021-12-06 21:54:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0c6feea9-f9a2-428d-b114-65120c165506</node></data>

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

2021-12-06 21:54:07 | [Mutex] waiting for: [received:nodes:de95b5d2-9a1e-4b1b-aa0c-971dbbe5f958:localhost]

2021-12-06 21:54:07 | [Mutex] received everything.

2021-12-06 21:54:07 | [Mutex] isItemNotified: received:node:de95b5d2-9a1e-4b1b-aa0c-971dbbe5f958:localhost:node-0c6feea9-f9a2-428d-b114-65120c165506:Node 0c6feea9-f9a2-428d-b114-65120c165506 :: false

deleteSubnodes 1.175s
2021-12-06 21:54:05 |

2021-12-06 21:54:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:05 | ------------------------------------

2021-12-06 21:54:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node></data>

2021-12-06 21:54:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-06 21:54:06 | [Mutex] waiting for: [received:nodes:e4d00088-4f87-4054-a432-a7b6f145d6a2:localhost]

2021-12-06 21:54:06 | [Mutex] received everything.

2021-12-06 21:54:06 | [Mutex] isItemNotified: received:node:e4d00088-4f87-4054-a432-a7b6f145d6a2:localhost:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:Node a489dc28-eae5-4cf6-b42a-0726a66995a3 :: false

2021-12-06 21:54:06 | [Mutex] waiting for: [received:nodes:dbf3cc51-12be-446e-979a-b0c3a2481c44:localhost]

2021-12-06 21:54:06 | [Mutex] received everything.

2021-12-06 21:54:06 | [Mutex] isItemNotified: received:node:dbf3cc51-12be-446e-979a-b0c3a2481c44:localhost:node-a489dc28-eae5-4cf6-b42a-0726a66995a3:Node a489dc28-eae5-4cf6-b42a-0726a66995a3 :: false

publishItemsToNodes 0.275s
2021-12-06 21:54:02 |

2021-12-06 21:54:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:02 | ------------------------------------

2021-12-06 21:54:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><item-id>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</item-id><entry><test>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</test></entry></data>

2021-12-06 21:54:03 | 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-9d7dd614-3c33-4135-9676-fd35a789f8cb</value></item-id></result>

2021-12-06 21:54:03 | [Mutex] received everything.

2021-12-06 21:54:03 | [Mutex] isItemNotified: published:item:notifieditem-9d7dd614-3c33-4135-9676-fd35a789f8cb:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-12-06 21:54:03 |

2021-12-06 21:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:03 | ------------------------------------

2021-12-06 21:54:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><item-id>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</item-id></data>

2021-12-06 21:54:03 | 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-9d7dd614-3c33-4135-9676-fd35a789f8cb</value></item-id></result>

2021-12-06 21:54:03 | [Mutex] received everything.

2021-12-06 21:54:03 | [Mutex] isItemNotified: retracted:item:notifieditem-9d7dd614-3c33-4135-9676-fd35a789f8cb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.383s
2021-12-06 21:54:03 |

2021-12-06 21:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:03 | ------------------------------------

2021-12-06 21:54:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><item-id>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</item-id></data>

2021-12-06 21:54:03 | 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-a489dc28-eae5-4cf6-b42a-0726a66995a3</value></node><item-id type="text-single" label="Item ID"><value>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d7dd614-3c33-4135-9676-fd35a789f8cb"><test>item-9d7dd614-3c33-4135-9676-fd35a789f8cb</test></item></value></item></result>

2021-12-06 21:54:03 | [Mutex] notify: [retrieved:item:item-9d7dd614-3c33-4135-9676-fd35a789f8cb:payload-matches:true:localhost]

2021-12-06 21:54:03 | [Mutex] received everything.

2021-12-06 21:54:03 | [Mutex] isItemNotified: retrieved:item:item-9d7dd614-3c33-4135-9676-fd35a789f8cb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-12-06 21:54:03 |

2021-12-06 21:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:03 | ------------------------------------

2021-12-06 21:54:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-06 21:54:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-0c6feea9-f9a2-428d-b114-65120c165506</value><value>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.070s
2021-12-06 21:54:03 |

2021-12-06 21:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:03 | ------------------------------------

2021-12-06 21:54:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a489dc28-eae5-4cf6-b42a-0726a66995a3)</node-pattern></data>

2021-12-06 21:54:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.192s
2021-12-06 21:54:01 |

2021-12-06 21:54:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:01 | ------------------------------------

2021-12-06 21:54:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-06 21:54:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.167s
2021-12-06 21:54:03 |

2021-12-06 21:54:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-06 21:54:03 | ------------------------------------

2021-12-06 21:54:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a489dc28-eae5-4cf6-b42a-0726a66995a3</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-06 21:54:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>