Generated by TestNG with ReportNG at 22:45 PDT on Sunday 06 August 2023
root@a4d66e74f1de / Java 17.0.8 (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.227s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2023-08-06 22:59:56 |

2023-08-06 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:56 | ------------------------------------

2023-08-06 22:59:56 | [Mutex] waiting for: [configured:node:node-571930d7-88cb-4460-b67f-0a419b805fa9:node-d70a3db2-5826-4272-a90d-538dde30af3e]

2023-08-06 22:59:56 | [Mutex] received everything.

2023-08-06 22:59:56 | [Mutex] isItemNotified: configured:node:node-571930d7-88cb-4460-b67f-0a419b805fa9:node-d70a3db2-5826-4272-a90d-538dde30af3e :: true

2023-08-06 22:59:57 | [Mutex] waiting for: [received:nodes:dc8a9d85-4dff-4dda-8c35-ef6e1587bc45:localhost]

2023-08-06 22:59:57 | [Mutex] received everything.

2023-08-06 22:59:57 | [Mutex] isItemNotified: received:node:dc8a9d85-4dff-4dda-8c35-ef6e1587bc45:localhost:node-571930d7-88cb-4460-b67f-0a419b805fa9:Node 571930d7-88cb-4460-b67f-0a419b805fa9 :: true

2023-08-06 22:59:57 | [Mutex] waiting for: [received:nodes:7555176e-aa1c-4da9-8433-115573fb78d9:localhost]

2023-08-06 22:59:57 | [Mutex] waiting for: [received:nodes:7555176e-aa1c-4da9-8433-115573fb78d9:localhost]

2023-08-06 22:59:57 | [Mutex] waiting for: [received:nodes:7555176e-aa1c-4da9-8433-115573fb78d9:localhost]

2023-08-06 22:59:57 | [Mutex] waiting for: [received:nodes:7555176e-aa1c-4da9-8433-115573fb78d9:localhost]

2023-08-06 22:59:57 | [Mutex] received everything.

2023-08-06 22:59:57 | [Mutex] isItemNotified: received:node:7555176e-aa1c-4da9-8433-115573fb78d9:localhost:node-571930d7-88cb-4460-b67f-0a419b805fa9:Node 571930d7-88cb-4460-b67f-0a419b805fa9 :: false

createNodes 1.379s
2023-08-06 22:59:54 |

2023-08-06 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:54 | ------------------------------------

2023-08-06 22:59:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 571930d7-88cb-4460-b67f-0a419b805fa9</title></pubsub></data>

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

2023-08-06 22:59:55 | [Mutex] waiting for: [received:nodes:59523003-c85e-4e3a-b86d-4562d7fc2da7:localhost]

2023-08-06 22:59:55 | [Mutex] waiting for: [received:nodes:59523003-c85e-4e3a-b86d-4562d7fc2da7:localhost]

2023-08-06 22:59:55 | [Mutex] waiting for: [received:nodes:59523003-c85e-4e3a-b86d-4562d7fc2da7:localhost]

2023-08-06 22:59:55 | [Mutex] received everything.

2023-08-06 22:59:55 | [Mutex] isItemNotified: received:node:59523003-c85e-4e3a-b86d-4562d7fc2da7:localhost:node-571930d7-88cb-4460-b67f-0a419b805fa9:Node 571930d7-88cb-4460-b67f-0a419b805fa9 :: true

createSubnodes 1.022s
2023-08-06 22:59:55 |

2023-08-06 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:55 | ------------------------------------

2023-08-06 22:59:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d70a3db2-5826-4272-a90d-538dde30af3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d70a3db2-5826-4272-a90d-538dde30af3e</title></pubsub></data>

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

2023-08-06 22:59:56 | [Mutex] waiting for: [received:nodes:3b1949a8-36c2-4bdb-892c-3cb1eb4395ed:localhost]

2023-08-06 22:59:56 | [Mutex] waiting for: [received:nodes:3b1949a8-36c2-4bdb-892c-3cb1eb4395ed:localhost]

2023-08-06 22:59:56 | [Mutex] waiting for: [received:nodes:3b1949a8-36c2-4bdb-892c-3cb1eb4395ed:localhost]

2023-08-06 22:59:56 | [Mutex] received everything.

2023-08-06 22:59:56 | [Mutex] isItemNotified: received:node:3b1949a8-36c2-4bdb-892c-3cb1eb4395ed:localhost:node-d70a3db2-5826-4272-a90d-538dde30af3e:Node d70a3db2-5826-4272-a90d-538dde30af3e :: true

deleteNodes 1.017s
2023-08-06 23:00:02 |

2023-08-06 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:00:02 | ------------------------------------

2023-08-06 23:00:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d70a3db2-5826-4272-a90d-538dde30af3e</node></data>

2023-08-06 23:00:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 23:00:03 | [Mutex] waiting for: [received:nodes:09a4749a-899e-41e2-924f-cd80103b3457:localhost]

2023-08-06 23:00:03 | [Mutex] waiting for: [received:nodes:09a4749a-899e-41e2-924f-cd80103b3457:localhost]

2023-08-06 23:00:03 | [Mutex] waiting for: [received:nodes:09a4749a-899e-41e2-924f-cd80103b3457:localhost]

2023-08-06 23:00:03 | [Mutex] received everything.

2023-08-06 23:00:03 | [Mutex] isItemNotified: received:node:09a4749a-899e-41e2-924f-cd80103b3457:localhost:node-d70a3db2-5826-4272-a90d-538dde30af3e:Node d70a3db2-5826-4272-a90d-538dde30af3e :: false

deleteSubnodes 1.115s
2023-08-06 23:00:00 |

2023-08-06 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 23:00:00 | ------------------------------------

2023-08-06 23:00:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node></data>

2023-08-06 23:00:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 23:00:02 | [Mutex] waiting for: [received:nodes:313e0aaa-808a-4112-9b4b-0f66c80930ff:localhost]

2023-08-06 23:00:02 | [Mutex] waiting for: [received:nodes:313e0aaa-808a-4112-9b4b-0f66c80930ff:localhost]

2023-08-06 23:00:02 | [Mutex] waiting for: [received:nodes:313e0aaa-808a-4112-9b4b-0f66c80930ff:localhost]

2023-08-06 23:00:02 | [Mutex] waiting for: [received:nodes:313e0aaa-808a-4112-9b4b-0f66c80930ff:localhost]

2023-08-06 23:00:02 | [Mutex] received everything.

2023-08-06 23:00:02 | [Mutex] isItemNotified: received:node:313e0aaa-808a-4112-9b4b-0f66c80930ff:localhost:node-571930d7-88cb-4460-b67f-0a419b805fa9:Node 571930d7-88cb-4460-b67f-0a419b805fa9 :: false

2023-08-06 23:00:02 | [Mutex] waiting for: [received:nodes:b1749f24-6ea0-405a-b843-113a9da49d6b:localhost]

2023-08-06 23:00:02 | [Mutex] received everything.

2023-08-06 23:00:02 | [Mutex] isItemNotified: received:node:b1749f24-6ea0-405a-b843-113a9da49d6b:localhost:node-571930d7-88cb-4460-b67f-0a419b805fa9:Node 571930d7-88cb-4460-b67f-0a419b805fa9 :: false

publishItemsToNodes 0.217s
2023-08-06 22:59:58 |

2023-08-06 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:58 | ------------------------------------

2023-08-06 22:59:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><item-id>item-c82daf77-2a78-441e-b946-9da734d67c03</item-id><entry><test>item-c82daf77-2a78-441e-b946-9da734d67c03</test></entry></data>

2023-08-06 22:59:59 | 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-c82daf77-2a78-441e-b946-9da734d67c03</value></item-id></result>

2023-08-06 22:59:59 | [Mutex] waiting for: [published:item:notifieditem-c82daf77-2a78-441e-b946-9da734d67c03:admin@test-domain.com]

2023-08-06 22:59:59 | [Mutex] received everything.

2023-08-06 22:59:59 | [Mutex] isItemNotified: published:item:notifieditem-c82daf77-2a78-441e-b946-9da734d67c03:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2023-08-06 22:59:59 |

2023-08-06 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:59 | ------------------------------------

2023-08-06 22:59:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><item-id>item-c82daf77-2a78-441e-b946-9da734d67c03</item-id></data>

2023-08-06 22:59:59 | 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-c82daf77-2a78-441e-b946-9da734d67c03</value></item-id></result>

2023-08-06 22:59:59 | [Mutex] waiting for: [retracted:item:notifieditem-c82daf77-2a78-441e-b946-9da734d67c03:admin@test-domain.com]

2023-08-06 22:59:59 | [Mutex] received everything.

2023-08-06 22:59:59 | [Mutex] isItemNotified: retracted:item:notifieditem-c82daf77-2a78-441e-b946-9da734d67c03:admin@test-domain.com :: true

retrieveItemsFromNodes 0.182s
2023-08-06 22:59:59 |

2023-08-06 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:59 | ------------------------------------

2023-08-06 22:59:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><item-id>item-c82daf77-2a78-441e-b946-9da734d67c03</item-id></data>

2023-08-06 22:59:59 | 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-571930d7-88cb-4460-b67f-0a419b805fa9</value></node><item-id label="Item ID" type="text-single"><value>item-c82daf77-2a78-441e-b946-9da734d67c03</value></item-id><item label="Item" type="text-multi"><value><item id="item-c82daf77-2a78-441e-b946-9da734d67c03"><test>item-c82daf77-2a78-441e-b946-9da734d67c03</test></item></value></item></result>

2023-08-06 22:59:59 | [Mutex] notify: [retrieved:item:item-c82daf77-2a78-441e-b946-9da734d67c03:payload-matches:true:localhost]

2023-08-06 22:59:59 | [Mutex] received everything.

2023-08-06 22:59:59 | [Mutex] isItemNotified: retrieved:item:item-c82daf77-2a78-441e-b946-9da734d67c03:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-06 22:59:59 |

2023-08-06 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:59 | ------------------------------------

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

2023-08-06 22:59:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-571930d7-88cb-4460-b67f-0a419b805fa9</value><value>test</value><value>node-d70a3db2-5826-4272-a90d-538dde30af3e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-06 22:59:59 |

2023-08-06 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:59 | ------------------------------------

2023-08-06 22:59:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-571930d7-88cb-4460-b67f-0a419b805fa9)</node-pattern></data>

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

subscribeNodes 1.112s
2023-08-06 22:59:57 |

2023-08-06 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:57 | ------------------------------------

2023-08-06 22:59:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.183s
2023-08-06 22:59:59 |

2023-08-06 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:59:59 | ------------------------------------

2023-08-06 22:59:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-571930d7-88cb-4460-b67f-0a419b805fa9</node><jids><value>admin@test-domain.com</value></jids></data>

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