Generated by TestNG with ReportNG at 21:18 PST on Monday 14 November 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.484s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-11-14 21:32:36 |

2022-11-14 21:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:36 | ------------------------------------

2022-11-14 21:32:36 | [Mutex] waiting for: [configured:node:node-fe750013-715c-4e06-aa75-4a86e7520540:node-efe4c4b4-0a95-422a-8bd0-872a3d530b68]

2022-11-14 21:32:36 | [Mutex] received everything.

2022-11-14 21:32:36 | [Mutex] isItemNotified: configured:node:node-fe750013-715c-4e06-aa75-4a86e7520540:node-efe4c4b4-0a95-422a-8bd0-872a3d530b68 :: true

2022-11-14 21:32:37 | [Mutex] waiting for: [received:nodes:0bea5ae3-6dc7-4d75-89c4-0b4d7408b003:localhost]

2022-11-14 21:32:37 | [Mutex] received everything.

2022-11-14 21:32:37 | [Mutex] isItemNotified: received:node:0bea5ae3-6dc7-4d75-89c4-0b4d7408b003:localhost:node-fe750013-715c-4e06-aa75-4a86e7520540:Node fe750013-715c-4e06-aa75-4a86e7520540 :: true

2022-11-14 21:32:37 | [Mutex] waiting for: [received:nodes:6a416104-0dda-4779-a67a-2ab43495e717:localhost]

2022-11-14 21:32:37 | [Mutex] waiting for: [received:nodes:6a416104-0dda-4779-a67a-2ab43495e717:localhost]

2022-11-14 21:32:37 | [Mutex] waiting for: [received:nodes:6a416104-0dda-4779-a67a-2ab43495e717:localhost]

2022-11-14 21:32:37 | [Mutex] waiting for: [received:nodes:6a416104-0dda-4779-a67a-2ab43495e717:localhost]

2022-11-14 21:32:37 | [Mutex] received everything.

2022-11-14 21:32:37 | [Mutex] isItemNotified: received:node:6a416104-0dda-4779-a67a-2ab43495e717:localhost:node-fe750013-715c-4e06-aa75-4a86e7520540:Node fe750013-715c-4e06-aa75-4a86e7520540 :: false

createNodes 1.447s
2022-11-14 21:32:34 |

2022-11-14 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:34 | ------------------------------------

2022-11-14 21:32:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fe750013-715c-4e06-aa75-4a86e7520540</title></pubsub></data>

2022-11-14 21:32:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 21:32:35 | [Mutex] waiting for: [received:nodes:13ec105b-23a1-4699-bc30-cf8b7b55090d:localhost]

2022-11-14 21:32:35 | [Mutex] received everything.

2022-11-14 21:32:35 | [Mutex] isItemNotified: received:node:13ec105b-23a1-4699-bc30-cf8b7b55090d:localhost:node-fe750013-715c-4e06-aa75-4a86e7520540:Node fe750013-715c-4e06-aa75-4a86e7520540 :: true

createSubnodes 1.032s
2022-11-14 21:32:35 |

2022-11-14 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:35 | ------------------------------------

2022-11-14 21:32:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-efe4c4b4-0a95-422a-8bd0-872a3d530b68</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node efe4c4b4-0a95-422a-8bd0-872a3d530b68</title></pubsub></data>

2022-11-14 21:32:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 21:32:36 | [Mutex] waiting for: [received:nodes:88c83e65-3f41-4474-a24d-94ecd9af3062:localhost]

2022-11-14 21:32:36 | [Mutex] received everything.

2022-11-14 21:32:36 | [Mutex] isItemNotified: received:node:88c83e65-3f41-4474-a24d-94ecd9af3062:localhost:node-efe4c4b4-0a95-422a-8bd0-872a3d530b68:Node efe4c4b4-0a95-422a-8bd0-872a3d530b68 :: true

deleteNodes 1.017s
2022-11-14 21:32:41 |

2022-11-14 21:32:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:41 | ------------------------------------

2022-11-14 21:32:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-efe4c4b4-0a95-422a-8bd0-872a3d530b68</node></data>

2022-11-14 21:32:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 21:32:42 | [Mutex] waiting for: [received:nodes:5f16db6d-91a6-4b00-97d1-f086b0385c6f:localhost]

2022-11-14 21:32:42 | [Mutex] waiting for: [received:nodes:5f16db6d-91a6-4b00-97d1-f086b0385c6f:localhost]

2022-11-14 21:32:42 | [Mutex] received everything.

2022-11-14 21:32:42 | [Mutex] isItemNotified: received:node:5f16db6d-91a6-4b00-97d1-f086b0385c6f:localhost:node-efe4c4b4-0a95-422a-8bd0-872a3d530b68:Node efe4c4b4-0a95-422a-8bd0-872a3d530b68 :: false

deleteSubnodes 1.137s
2022-11-14 21:32:40 |

2022-11-14 21:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:40 | ------------------------------------

2022-11-14 21:32:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node></data>

2022-11-14 21:32:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-14 21:32:41 | [Mutex] waiting for: [received:nodes:e8ae2055-9e0c-490a-b4d8-58546aaf5642:localhost]

2022-11-14 21:32:41 | [Mutex] waiting for: [received:nodes:e8ae2055-9e0c-490a-b4d8-58546aaf5642:localhost]

2022-11-14 21:32:41 | [Mutex] received everything.

2022-11-14 21:32:41 | [Mutex] isItemNotified: received:node:e8ae2055-9e0c-490a-b4d8-58546aaf5642:localhost:node-fe750013-715c-4e06-aa75-4a86e7520540:Node fe750013-715c-4e06-aa75-4a86e7520540 :: false

2022-11-14 21:32:41 | [Mutex] waiting for: [received:nodes:f830f272-11b1-4a33-819d-05095cc45a96:localhost]

2022-11-14 21:32:41 | [Mutex] received everything.

2022-11-14 21:32:41 | [Mutex] isItemNotified: received:node:f830f272-11b1-4a33-819d-05095cc45a96:localhost:node-fe750013-715c-4e06-aa75-4a86e7520540:Node fe750013-715c-4e06-aa75-4a86e7520540 :: false

publishItemsToNodes 0.211s
2022-11-14 21:32:38 |

2022-11-14 21:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:38 | ------------------------------------

2022-11-14 21:32:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><item-id>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</item-id><entry><test>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</test></entry></data>

2022-11-14 21:32:38 | 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-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</value></item-id></result>

2022-11-14 21:32:38 | [Mutex] waiting for: [published:item:notifieditem-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330:admin@test-domain.com]

2022-11-14 21:32:38 | [Mutex] received everything.

2022-11-14 21:32:38 | [Mutex] isItemNotified: published:item:notifieditem-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-11-14 21:32:39 |

2022-11-14 21:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:39 | ------------------------------------

2022-11-14 21:32:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><item-id>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</item-id></data>

2022-11-14 21:32:39 | 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-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</value></item-id></result>

2022-11-14 21:32:39 | [Mutex] received everything.

2022-11-14 21:32:39 | [Mutex] isItemNotified: retracted:item:notifieditem-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330:admin@test-domain.com :: true

retrieveItemsFromNodes 0.176s
2022-11-14 21:32:38 |

2022-11-14 21:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:38 | ------------------------------------

2022-11-14 21:32:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><item-id>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</item-id></data>

2022-11-14 21:32:39 | 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-fe750013-715c-4e06-aa75-4a86e7520540</value></node><item-id type="text-single" label="Item ID"><value>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330"><test>item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330</test></item></value></item></result>

2022-11-14 21:32:39 | [Mutex] notify: [retrieved:item:item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330:payload-matches:true:localhost]

2022-11-14 21:32:39 | [Mutex] received everything.

2022-11-14 21:32:39 | [Mutex] isItemNotified: retrieved:item:item-9d1493dd-b1b2-4c1c-8c4f-4b19b1043330:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-11-14 21:32:39 |

2022-11-14 21:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:39 | ------------------------------------

2022-11-14 21:32:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-14 21:32:39 | 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-efe4c4b4-0a95-422a-8bd0-872a3d530b68</value><value>node-fe750013-715c-4e06-aa75-4a86e7520540</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-11-14 21:32:39 |

2022-11-14 21:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:39 | ------------------------------------

2022-11-14 21:32:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fe750013-715c-4e06-aa75-4a86e7520540)</node-pattern></data>

2022-11-14 21:32:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-11-14 21:32:37 |

2022-11-14 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:37 | ------------------------------------

2022-11-14 21:32:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-14 21:32:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2022-11-14 21:32:39 |

2022-11-14 21:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-14 21:32:39 | ------------------------------------

2022-11-14 21:32:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fe750013-715c-4e06-aa75-4a86e7520540</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-14 21:32:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>