Generated by TestNG with ReportNG at 22:44 PDT on Saturday 18 March 2023
root@f9c07ffec79b / 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.498s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-03-18 22:59:24 |

2023-03-18 22:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:24 | ------------------------------------

2023-03-18 22:59:24 | [Mutex] waiting for: [configured:node:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937]

2023-03-18 22:59:24 | [Mutex] received everything.

2023-03-18 22:59:24 | [Mutex] isItemNotified: configured:node:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937 :: true

2023-03-18 22:59:25 | [Mutex] waiting for: [received:nodes:db928a23-6d32-4107-bdf5-cf41f0c01c46:localhost]

2023-03-18 22:59:25 | [Mutex] received everything.

2023-03-18 22:59:25 | [Mutex] isItemNotified: received:node:db928a23-6d32-4107-bdf5-cf41f0c01c46:localhost:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d :: true

2023-03-18 22:59:25 | [Mutex] waiting for: [received:nodes:2dcc9321-f403-44ca-a594-4452483b3a48:localhost]

2023-03-18 22:59:25 | [Mutex] waiting for: [received:nodes:2dcc9321-f403-44ca-a594-4452483b3a48:localhost]

2023-03-18 22:59:25 | [Mutex] waiting for: [received:nodes:2dcc9321-f403-44ca-a594-4452483b3a48:localhost]

2023-03-18 22:59:25 | [Mutex] received everything.

2023-03-18 22:59:25 | [Mutex] isItemNotified: received:node:2dcc9321-f403-44ca-a594-4452483b3a48:localhost:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d :: false

createNodes 1.480s
2023-03-18 22:59:21 |

2023-03-18 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:21 | ------------------------------------

2023-03-18 22:59:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d</title></pubsub></data>

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

2023-03-18 22:59:23 | [Mutex] waiting for: [received:nodes:8adafab3-0f3c-4f03-b1cb-4e7407b34328:localhost]

2023-03-18 22:59:23 | [Mutex] waiting for: [received:nodes:8adafab3-0f3c-4f03-b1cb-4e7407b34328:localhost]

2023-03-18 22:59:23 | [Mutex] waiting for: [received:nodes:8adafab3-0f3c-4f03-b1cb-4e7407b34328:localhost]

2023-03-18 22:59:23 | [Mutex] received everything.

2023-03-18 22:59:23 | [Mutex] isItemNotified: received:node:8adafab3-0f3c-4f03-b1cb-4e7407b34328:localhost:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d :: true

createSubnodes 1.021s
2023-03-18 22:59:23 |

2023-03-18 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:23 | ------------------------------------

2023-03-18 22:59:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f6276ca9-f2bb-4e96-996a-ca3e4d92f937</title></pubsub></data>

2023-03-18 22:59:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:59:24 | [Mutex] waiting for: [received:nodes:e4d703d2-9455-40fe-b2a1-4a3e5c705408:localhost]

2023-03-18 22:59:24 | [Mutex] waiting for: [received:nodes:e4d703d2-9455-40fe-b2a1-4a3e5c705408:localhost]

2023-03-18 22:59:24 | [Mutex] waiting for: [received:nodes:e4d703d2-9455-40fe-b2a1-4a3e5c705408:localhost]

2023-03-18 22:59:24 | [Mutex] waiting for: [received:nodes:e4d703d2-9455-40fe-b2a1-4a3e5c705408:localhost]

2023-03-18 22:59:24 | [Mutex] received everything.

2023-03-18 22:59:24 | [Mutex] isItemNotified: received:node:e4d703d2-9455-40fe-b2a1-4a3e5c705408:localhost:node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937:Node f6276ca9-f2bb-4e96-996a-ca3e4d92f937 :: true

deleteNodes 1.017s
2023-03-18 22:59:29 |

2023-03-18 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:29 | ------------------------------------

2023-03-18 22:59:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937</node></data>

2023-03-18 22:59:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:59:30 | [Mutex] waiting for: [received:nodes:0d2a86c1-0146-44a1-9b34-52c25967c9bb:localhost]

2023-03-18 22:59:30 | [Mutex] waiting for: [received:nodes:0d2a86c1-0146-44a1-9b34-52c25967c9bb:localhost]

2023-03-18 22:59:30 | [Mutex] waiting for: [received:nodes:0d2a86c1-0146-44a1-9b34-52c25967c9bb:localhost]

2023-03-18 22:59:30 | [Mutex] received everything.

2023-03-18 22:59:30 | [Mutex] isItemNotified: received:node:0d2a86c1-0146-44a1-9b34-52c25967c9bb:localhost:node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937:Node f6276ca9-f2bb-4e96-996a-ca3e4d92f937 :: false

deleteSubnodes 1.134s
2023-03-18 22:59:28 |

2023-03-18 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:28 | ------------------------------------

2023-03-18 22:59:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node></data>

2023-03-18 22:59:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:59:29 | [Mutex] waiting for: [received:nodes:1ba97432-0514-409c-8356-b6a3972cff55:localhost]

2023-03-18 22:59:29 | [Mutex] waiting for: [received:nodes:1ba97432-0514-409c-8356-b6a3972cff55:localhost]

2023-03-18 22:59:29 | [Mutex] waiting for: [received:nodes:1ba97432-0514-409c-8356-b6a3972cff55:localhost]

2023-03-18 22:59:29 | [Mutex] waiting for: [received:nodes:1ba97432-0514-409c-8356-b6a3972cff55:localhost]

2023-03-18 22:59:29 | [Mutex] received everything.

2023-03-18 22:59:29 | [Mutex] isItemNotified: received:node:1ba97432-0514-409c-8356-b6a3972cff55:localhost:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d :: false

2023-03-18 22:59:29 | [Mutex] waiting for: [received:nodes:a359a38c-9a6d-4c0a-ba7d-74b1a7f88f32:localhost]

2023-03-18 22:59:29 | [Mutex] received everything.

2023-03-18 22:59:29 | [Mutex] isItemNotified: received:node:a359a38c-9a6d-4c0a-ba7d-74b1a7f88f32:localhost:node-9a5ed6e7-21c7-4fb6-90db-df77c764288d:Node 9a5ed6e7-21c7-4fb6-90db-df77c764288d :: false

publishItemsToNodes 0.204s
2023-03-18 22:59:26 |

2023-03-18 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:26 | ------------------------------------

2023-03-18 22:59:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><item-id>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</item-id><entry><test>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</test></entry></data>

2023-03-18 22:59:26 | 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-fa828720-3e23-49cb-9bba-1c151dbe3d0e</value></item-id></result>

2023-03-18 22:59:26 | [Mutex] received everything.

2023-03-18 22:59:26 | [Mutex] isItemNotified: published:item:notifieditem-fa828720-3e23-49cb-9bba-1c151dbe3d0e:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2023-03-18 22:59:27 |

2023-03-18 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:27 | ------------------------------------

2023-03-18 22:59:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><item-id>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</item-id></data>

2023-03-18 22:59:27 | 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-fa828720-3e23-49cb-9bba-1c151dbe3d0e</value></item-id></result>

2023-03-18 22:59:27 | [Mutex] received everything.

2023-03-18 22:59:27 | [Mutex] isItemNotified: retracted:item:notifieditem-fa828720-3e23-49cb-9bba-1c151dbe3d0e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2023-03-18 22:59:26 |

2023-03-18 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:26 | ------------------------------------

2023-03-18 22:59:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><item-id>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</item-id></data>

2023-03-18 22:59:26 | 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-9a5ed6e7-21c7-4fb6-90db-df77c764288d</value></node><item-id type="text-single" label="Item ID"><value>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</value></item-id><item type="text-multi" label="Item"><value><item id="item-fa828720-3e23-49cb-9bba-1c151dbe3d0e"><test>item-fa828720-3e23-49cb-9bba-1c151dbe3d0e</test></item></value></item></result>

2023-03-18 22:59:26 | [Mutex] notify: [retrieved:item:item-fa828720-3e23-49cb-9bba-1c151dbe3d0e:payload-matches:true:localhost]

2023-03-18 22:59:26 | [Mutex] received everything.

2023-03-18 22:59:26 | [Mutex] isItemNotified: retrieved:item:item-fa828720-3e23-49cb-9bba-1c151dbe3d0e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-18 22:59:26 |

2023-03-18 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:26 | ------------------------------------

2023-03-18 22:59:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-18 22:59:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</value><value>test</value><value>node-f6276ca9-f2bb-4e96-996a-ca3e4d92f937</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-18 22:59:26 |

2023-03-18 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:26 | ------------------------------------

2023-03-18 22:59:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9a5ed6e7-21c7-4fb6-90db-df77c764288d)</node-pattern></data>

2023-03-18 22:59:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.138s
2023-03-18 22:59:25 |

2023-03-18 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:25 | ------------------------------------

2023-03-18 22:59:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:59:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.187s
2023-03-18 22:59:27 |

2023-03-18 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:59:27 | ------------------------------------

2023-03-18 22:59:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9a5ed6e7-21c7-4fb6-90db-df77c764288d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:59:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>