Generated by TestNG with ReportNG at 09:40 PST on Friday 30 December 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.659s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-12-30 09:55:27 |

2022-12-30 09:55:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:27 | ------------------------------------

2022-12-30 09:55:27 | [Mutex] waiting for: [configured:node:node-17066c22-9542-437b-845d-28445af8a2d9:node-c60e739e-309a-4152-b2bf-7d0becaee26e]

2022-12-30 09:55:27 | [Mutex] received everything.

2022-12-30 09:55:27 | [Mutex] isItemNotified: configured:node:node-17066c22-9542-437b-845d-28445af8a2d9:node-c60e739e-309a-4152-b2bf-7d0becaee26e :: true

2022-12-30 09:55:28 | [Mutex] waiting for: [received:nodes:95a987c8-e160-4eaf-8bd1-7c15acd7b85b:localhost]

2022-12-30 09:55:28 | [Mutex] received everything.

2022-12-30 09:55:28 | [Mutex] isItemNotified: received:node:95a987c8-e160-4eaf-8bd1-7c15acd7b85b:localhost:node-17066c22-9542-437b-845d-28445af8a2d9:Node 17066c22-9542-437b-845d-28445af8a2d9 :: true

2022-12-30 09:55:28 | [Mutex] waiting for: [received:nodes:10a41808-511f-45dc-855b-17bbff1d2ea2:localhost]

2022-12-30 09:55:28 | [Mutex] waiting for: [received:nodes:10a41808-511f-45dc-855b-17bbff1d2ea2:localhost]

2022-12-30 09:55:28 | [Mutex] waiting for: [received:nodes:10a41808-511f-45dc-855b-17bbff1d2ea2:localhost]

2022-12-30 09:55:28 | [Mutex] waiting for: [received:nodes:10a41808-511f-45dc-855b-17bbff1d2ea2:localhost]

2022-12-30 09:55:28 | [Mutex] received everything.

2022-12-30 09:55:28 | [Mutex] isItemNotified: received:node:10a41808-511f-45dc-855b-17bbff1d2ea2:localhost:node-17066c22-9542-437b-845d-28445af8a2d9:Node 17066c22-9542-437b-845d-28445af8a2d9 :: false

createNodes 1.500s
2022-12-30 09:55:25 |

2022-12-30 09:55:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:25 | ------------------------------------

2022-12-30 09:55:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 17066c22-9542-437b-845d-28445af8a2d9</title></pubsub></data>

2022-12-30 09:55:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 09:55:26 | [Mutex] waiting for: [received:nodes:a3708564-1406-4f89-b98f-e22e1ee38900:localhost]

2022-12-30 09:55:26 | [Mutex] waiting for: [received:nodes:a3708564-1406-4f89-b98f-e22e1ee38900:localhost]

2022-12-30 09:55:26 | [Mutex] waiting for: [received:nodes:a3708564-1406-4f89-b98f-e22e1ee38900:localhost]

2022-12-30 09:55:26 | [Mutex] waiting for: [received:nodes:a3708564-1406-4f89-b98f-e22e1ee38900:localhost]

2022-12-30 09:55:26 | [Mutex] received everything.

2022-12-30 09:55:26 | [Mutex] isItemNotified: received:node:a3708564-1406-4f89-b98f-e22e1ee38900:localhost:node-17066c22-9542-437b-845d-28445af8a2d9:Node 17066c22-9542-437b-845d-28445af8a2d9 :: true

createSubnodes 1.030s
2022-12-30 09:55:26 |

2022-12-30 09:55:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:26 | ------------------------------------

2022-12-30 09:55:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c60e739e-309a-4152-b2bf-7d0becaee26e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c60e739e-309a-4152-b2bf-7d0becaee26e</title></pubsub></data>

2022-12-30 09:55:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 09:55:27 | [Mutex] waiting for: [received:nodes:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost]

2022-12-30 09:55:27 | [Mutex] waiting for: [received:nodes:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost]

2022-12-30 09:55:27 | [Mutex] waiting for: [received:nodes:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost]

2022-12-30 09:55:27 | [Mutex] waiting for: [received:nodes:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost]

2022-12-30 09:55:27 | [Mutex] waiting for: [received:nodes:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost]

2022-12-30 09:55:27 | [Mutex] received everything.

2022-12-30 09:55:27 | [Mutex] isItemNotified: received:node:568a24fa-ed1b-4b9b-ab90-702ff9fbdfc2:localhost:node-c60e739e-309a-4152-b2bf-7d0becaee26e:Node c60e739e-309a-4152-b2bf-7d0becaee26e :: true

deleteNodes 1.026s
2022-12-30 09:55:33 |

2022-12-30 09:55:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:33 | ------------------------------------

2022-12-30 09:55:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c60e739e-309a-4152-b2bf-7d0becaee26e</node></data>

2022-12-30 09:55:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 09:55:34 | [Mutex] waiting for: [received:nodes:719ee212-4831-4075-9612-331cd380dfa1:localhost]

2022-12-30 09:55:34 | [Mutex] waiting for: [received:nodes:719ee212-4831-4075-9612-331cd380dfa1:localhost]

2022-12-30 09:55:34 | [Mutex] waiting for: [received:nodes:719ee212-4831-4075-9612-331cd380dfa1:localhost]

2022-12-30 09:55:34 | [Mutex] received everything.

2022-12-30 09:55:34 | [Mutex] isItemNotified: received:node:719ee212-4831-4075-9612-331cd380dfa1:localhost:node-c60e739e-309a-4152-b2bf-7d0becaee26e:Node c60e739e-309a-4152-b2bf-7d0becaee26e :: false

deleteSubnodes 1.148s
2022-12-30 09:55:32 |

2022-12-30 09:55:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:32 | ------------------------------------

2022-12-30 09:55:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node></data>

2022-12-30 09:55:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 09:55:33 | [Mutex] waiting for: [received:nodes:bb12c53e-f233-4707-bb33-708b04bb3ba8:localhost]

2022-12-30 09:55:33 | [Mutex] received everything.

2022-12-30 09:55:33 | [Mutex] isItemNotified: received:node:bb12c53e-f233-4707-bb33-708b04bb3ba8:localhost:node-17066c22-9542-437b-845d-28445af8a2d9:Node 17066c22-9542-437b-845d-28445af8a2d9 :: false

2022-12-30 09:55:33 | [Mutex] waiting for: [received:nodes:bd5066b1-fbef-4122-bdc6-9956de091afd:localhost]

2022-12-30 09:55:33 | [Mutex] received everything.

2022-12-30 09:55:33 | [Mutex] isItemNotified: received:node:bd5066b1-fbef-4122-bdc6-9956de091afd:localhost:node-17066c22-9542-437b-845d-28445af8a2d9:Node 17066c22-9542-437b-845d-28445af8a2d9 :: false

publishItemsToNodes 0.296s
2022-12-30 09:55:29 |

2022-12-30 09:55:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:29 | ------------------------------------

2022-12-30 09:55:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><item-id>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</item-id><entry><test>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</test></entry></data>

2022-12-30 09:55:30 | 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-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</value></item-id></result>

2022-12-30 09:55:30 | [Mutex] waiting for: [published:item:notifieditem-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:admin@test-domain.com]

2022-12-30 09:55:30 | [Mutex] received everything.

2022-12-30 09:55:30 | [Mutex] isItemNotified: published:item:notifieditem-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-12-30 09:55:30 |

2022-12-30 09:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:30 | ------------------------------------

2022-12-30 09:55:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><item-id>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</item-id></data>

2022-12-30 09:55:30 | 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-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</value></item-id></result>

2022-12-30 09:55:30 | [Mutex] waiting for: [retracted:item:notifieditem-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:admin@test-domain.com]

2022-12-30 09:55:30 | [Mutex] received everything.

2022-12-30 09:55:30 | [Mutex] isItemNotified: retracted:item:notifieditem-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2022-12-30 09:55:30 |

2022-12-30 09:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:30 | ------------------------------------

2022-12-30 09:55:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><item-id>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</item-id></data>

2022-12-30 09:55:30 | 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-17066c22-9542-437b-845d-28445af8a2d9</value></node><item-id label="Item ID" type="text-single"><value>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</value></item-id><item label="Item" type="text-multi"><value><item id="item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4"><test>item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4</test></item></value></item></result>

2022-12-30 09:55:30 | [Mutex] notify: [retrieved:item:item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:payload-matches:true:localhost]

2022-12-30 09:55:30 | [Mutex] received everything.

2022-12-30 09:55:30 | [Mutex] isItemNotified: retrieved:item:item-5a8ee4bf-f83a-430c-babd-1feb0822a9c4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-30 09:55:30 |

2022-12-30 09:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:30 | ------------------------------------

2022-12-30 09:55:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-30 09:55:30 | 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-17066c22-9542-437b-845d-28445af8a2d9</value><value>node-c60e739e-309a-4152-b2bf-7d0becaee26e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-12-30 09:55:30 |

2022-12-30 09:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:30 | ------------------------------------

2022-12-30 09:55:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-17066c22-9542-437b-845d-28445af8a2d9)</node-pattern></data>

2022-12-30 09:55:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.137s
2022-12-30 09:55:28 |

2022-12-30 09:55:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:28 | ------------------------------------

2022-12-30 09:55:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 09:55:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2022-12-30 09:55:30 |

2022-12-30 09:55:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 09:55:30 | ------------------------------------

2022-12-30 09:55:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-17066c22-9542-437b-845d-28445af8a2d9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-30 09:55:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>