Generated by TestNG with ReportNG at 21:15 PST on Wednesday 15 February 2023
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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-02-15 21:29:36 |

2023-02-15 21:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:36 | ------------------------------------

2023-02-15 21:29:36 | [Mutex] waiting for: [configured:node:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:node-60523bc2-ca58-46cd-a003-39b63fe2ac20]

2023-02-15 21:29:36 | [Mutex] received everything.

2023-02-15 21:29:36 | [Mutex] isItemNotified: configured:node:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:node-60523bc2-ca58-46cd-a003-39b63fe2ac20 :: true

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:104dd14e-feed-4bfc-97c2-a1c1fe24402d:localhost]

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:104dd14e-feed-4bfc-97c2-a1c1fe24402d:localhost]

2023-02-15 21:29:37 | [Mutex] received everything.

2023-02-15 21:29:37 | [Mutex] isItemNotified: received:node:104dd14e-feed-4bfc-97c2-a1c1fe24402d:localhost:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147 :: true

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:95eefc22-0c45-433a-a77e-1a2f9defba13:localhost]

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:95eefc22-0c45-433a-a77e-1a2f9defba13:localhost]

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:95eefc22-0c45-433a-a77e-1a2f9defba13:localhost]

2023-02-15 21:29:37 | [Mutex] waiting for: [received:nodes:95eefc22-0c45-433a-a77e-1a2f9defba13:localhost]

2023-02-15 21:29:37 | [Mutex] received everything.

2023-02-15 21:29:37 | [Mutex] isItemNotified: received:node:95eefc22-0c45-433a-a77e-1a2f9defba13:localhost:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147 :: false

createNodes 1.422s
2023-02-15 21:29:34 |

2023-02-15 21:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:34 | ------------------------------------

2023-02-15 21:29:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</title></pubsub></data>

2023-02-15 21:29:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:29:35 | [Mutex] waiting for: [received:nodes:a273b8ad-31ed-4a24-9736-8365d6e6e665:localhost]

2023-02-15 21:29:35 | [Mutex] waiting for: [received:nodes:a273b8ad-31ed-4a24-9736-8365d6e6e665:localhost]

2023-02-15 21:29:35 | [Mutex] waiting for: [received:nodes:a273b8ad-31ed-4a24-9736-8365d6e6e665:localhost]

2023-02-15 21:29:35 | [Mutex] waiting for: [received:nodes:a273b8ad-31ed-4a24-9736-8365d6e6e665:localhost]

2023-02-15 21:29:35 | [Mutex] received everything.

2023-02-15 21:29:35 | [Mutex] isItemNotified: received:node:a273b8ad-31ed-4a24-9736-8365d6e6e665:localhost:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147 :: true

createSubnodes 1.025s
2023-02-15 21:29:35 |

2023-02-15 21:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:35 | ------------------------------------

2023-02-15 21:29:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-60523bc2-ca58-46cd-a003-39b63fe2ac20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 60523bc2-ca58-46cd-a003-39b63fe2ac20</title></pubsub></data>

2023-02-15 21:29:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:29:36 | [Mutex] waiting for: [received:nodes:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost]

2023-02-15 21:29:36 | [Mutex] waiting for: [received:nodes:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost]

2023-02-15 21:29:36 | [Mutex] waiting for: [received:nodes:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost]

2023-02-15 21:29:36 | [Mutex] waiting for: [received:nodes:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost]

2023-02-15 21:29:36 | [Mutex] waiting for: [received:nodes:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost]

2023-02-15 21:29:36 | [Mutex] received everything.

2023-02-15 21:29:36 | [Mutex] isItemNotified: received:node:1852fd3b-9808-4cdc-913b-f1ce5a23a19d:localhost:node-60523bc2-ca58-46cd-a003-39b63fe2ac20:Node 60523bc2-ca58-46cd-a003-39b63fe2ac20 :: true

deleteNodes 1.020s
2023-02-15 21:29:42 |

2023-02-15 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:42 | ------------------------------------

2023-02-15 21:29:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-60523bc2-ca58-46cd-a003-39b63fe2ac20</node></data>

2023-02-15 21:29:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:29:43 | [Mutex] waiting for: [received:nodes:708dfc9f-3c0c-411b-a74e-3c1e3f48ac8b:localhost]

2023-02-15 21:29:43 | [Mutex] waiting for: [received:nodes:708dfc9f-3c0c-411b-a74e-3c1e3f48ac8b:localhost]

2023-02-15 21:29:43 | [Mutex] received everything.

2023-02-15 21:29:43 | [Mutex] isItemNotified: received:node:708dfc9f-3c0c-411b-a74e-3c1e3f48ac8b:localhost:node-60523bc2-ca58-46cd-a003-39b63fe2ac20:Node 60523bc2-ca58-46cd-a003-39b63fe2ac20 :: false

deleteSubnodes 1.152s
2023-02-15 21:29:41 |

2023-02-15 21:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:41 | ------------------------------------

2023-02-15 21:29:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node></data>

2023-02-15 21:29:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-15 21:29:42 | [Mutex] waiting for: [received:nodes:a213dcca-242f-4d2f-88d5-73acfecb3db9:localhost]

2023-02-15 21:29:42 | [Mutex] waiting for: [received:nodes:a213dcca-242f-4d2f-88d5-73acfecb3db9:localhost]

2023-02-15 21:29:42 | [Mutex] waiting for: [received:nodes:a213dcca-242f-4d2f-88d5-73acfecb3db9:localhost]

2023-02-15 21:29:42 | [Mutex] waiting for: [received:nodes:a213dcca-242f-4d2f-88d5-73acfecb3db9:localhost]

2023-02-15 21:29:42 | [Mutex] received everything.

2023-02-15 21:29:42 | [Mutex] isItemNotified: received:node:a213dcca-242f-4d2f-88d5-73acfecb3db9:localhost:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147 :: false

2023-02-15 21:29:42 | [Mutex] waiting for: [received:nodes:e47ebf4f-7d95-4936-99f5-345e8a1a81b8:localhost]

2023-02-15 21:29:42 | [Mutex] received everything.

2023-02-15 21:29:42 | [Mutex] isItemNotified: received:node:e47ebf4f-7d95-4936-99f5-345e8a1a81b8:localhost:node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147:Node 7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147 :: false

publishItemsToNodes 0.187s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><item-id>item-66de66be-fb73-426f-b8ae-2167678def40</item-id><entry><test>item-66de66be-fb73-426f-b8ae-2167678def40</test></entry></data>

2023-02-15 21:29:39 | 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-66de66be-fb73-426f-b8ae-2167678def40</value></item-id></result>

2023-02-15 21:29:39 | [Mutex] received everything.

2023-02-15 21:29:39 | [Mutex] isItemNotified: published:item:notifieditem-66de66be-fb73-426f-b8ae-2167678def40:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><item-id>item-66de66be-fb73-426f-b8ae-2167678def40</item-id></data>

2023-02-15 21:29:39 | 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-66de66be-fb73-426f-b8ae-2167678def40</value></item-id></result>

2023-02-15 21:29:39 | [Mutex] received everything.

2023-02-15 21:29:39 | [Mutex] isItemNotified: retracted:item:notifieditem-66de66be-fb73-426f-b8ae-2167678def40:admin@test-domain.com :: true

retrieveItemsFromNodes 0.245s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><item-id>item-66de66be-fb73-426f-b8ae-2167678def40</item-id></data>

2023-02-15 21:29:39 | 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-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</value></node><item-id label="Item ID" type="text-single"><value>item-66de66be-fb73-426f-b8ae-2167678def40</value></item-id><item label="Item" type="text-multi"><value><item id="item-66de66be-fb73-426f-b8ae-2167678def40"><test>item-66de66be-fb73-426f-b8ae-2167678def40</test></item></value></item></result>

2023-02-15 21:29:39 | [Mutex] notify: [retrieved:item:item-66de66be-fb73-426f-b8ae-2167678def40:payload-matches:true:localhost]

2023-02-15 21:29:39 | [Mutex] received everything.

2023-02-15 21:29:39 | [Mutex] isItemNotified: retrieved:item:item-66de66be-fb73-426f-b8ae-2167678def40:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-15 21:29:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</value><value>node-60523bc2-ca58-46cd-a003-39b63fe2ac20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29: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-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147)</node-pattern></data>

2023-02-15 21:29:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.177s
2023-02-15 21:29:37 |

2023-02-15 21:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:37 | ------------------------------------

2023-02-15 21:29:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-15 21:29:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2023-02-15 21:29:39 |

2023-02-15 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-15 21:29:39 | ------------------------------------

2023-02-15 21:29:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7f97da6b-d5fb-4bc1-8ccb-7eae21b8e147</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-15 21:29:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>