Generated by TestNG with ReportNG at 23:13 PDT on Saturday 04 November 2023
root@8dfa9d99ff97 / 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.192s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2023-11-04 23:28:03 |

2023-11-04 23:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:03 | ------------------------------------

2023-11-04 23:28:03 | [Mutex] waiting for: [configured:node:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:node-de162785-442d-4c34-aa25-fa5017ef590b]

2023-11-04 23:28:03 | [Mutex] received everything.

2023-11-04 23:28:03 | [Mutex] isItemNotified: configured:node:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:node-de162785-442d-4c34-aa25-fa5017ef590b :: true

2023-11-04 23:28:04 | [Mutex] waiting for: [received:nodes:04f76880-e3fa-47c0-84ea-1efcd0d759ea:localhost]

2023-11-04 23:28:04 | [Mutex] received everything.

2023-11-04 23:28:04 | [Mutex] isItemNotified: received:node:04f76880-e3fa-47c0-84ea-1efcd0d759ea:localhost:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992 :: true

2023-11-04 23:28:04 | [Mutex] waiting for: [received:nodes:021c3cef-69bd-4646-b202-4b566f6471a5:localhost]

2023-11-04 23:28:04 | [Mutex] waiting for: [received:nodes:021c3cef-69bd-4646-b202-4b566f6471a5:localhost]

2023-11-04 23:28:04 | [Mutex] waiting for: [received:nodes:021c3cef-69bd-4646-b202-4b566f6471a5:localhost]

2023-11-04 23:28:04 | [Mutex] waiting for: [received:nodes:021c3cef-69bd-4646-b202-4b566f6471a5:localhost]

2023-11-04 23:28:04 | [Mutex] received everything.

2023-11-04 23:28:04 | [Mutex] isItemNotified: received:node:021c3cef-69bd-4646-b202-4b566f6471a5:localhost:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992 :: false

createNodes 1.413s
2023-11-04 23:28:01 |

2023-11-04 23:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:01 | ------------------------------------

2023-11-04 23:28:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992</title></pubsub></data>

2023-11-04 23:28:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:28:02 | [Mutex] waiting for: [received:nodes:74da7356-3414-4602-ae4e-5603edb1e961:localhost]

2023-11-04 23:28:02 | [Mutex] waiting for: [received:nodes:74da7356-3414-4602-ae4e-5603edb1e961:localhost]

2023-11-04 23:28:02 | [Mutex] waiting for: [received:nodes:74da7356-3414-4602-ae4e-5603edb1e961:localhost]

2023-11-04 23:28:02 | [Mutex] received everything.

2023-11-04 23:28:02 | [Mutex] isItemNotified: received:node:74da7356-3414-4602-ae4e-5603edb1e961:localhost:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992 :: true

createSubnodes 1.022s
2023-11-04 23:28:02 |

2023-11-04 23:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:02 | ------------------------------------

2023-11-04 23:28:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-de162785-442d-4c34-aa25-fa5017ef590b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node de162785-442d-4c34-aa25-fa5017ef590b</title></pubsub></data>

2023-11-04 23:28:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:28:03 | [Mutex] waiting for: [received:nodes:7522df93-d7a1-47ed-a3dd-4a050aca4139:localhost]

2023-11-04 23:28:03 | [Mutex] waiting for: [received:nodes:7522df93-d7a1-47ed-a3dd-4a050aca4139:localhost]

2023-11-04 23:28:03 | [Mutex] waiting for: [received:nodes:7522df93-d7a1-47ed-a3dd-4a050aca4139:localhost]

2023-11-04 23:28:03 | [Mutex] waiting for: [received:nodes:7522df93-d7a1-47ed-a3dd-4a050aca4139:localhost]

2023-11-04 23:28:03 | [Mutex] received everything.

2023-11-04 23:28:03 | [Mutex] isItemNotified: received:node:7522df93-d7a1-47ed-a3dd-4a050aca4139:localhost:node-de162785-442d-4c34-aa25-fa5017ef590b:Node de162785-442d-4c34-aa25-fa5017ef590b :: true

deleteNodes 1.018s
2023-11-04 23:28:08 |

2023-11-04 23:28:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:08 | ------------------------------------

2023-11-04 23:28:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-de162785-442d-4c34-aa25-fa5017ef590b</node></data>

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

2023-11-04 23:28:09 | [Mutex] waiting for: [received:nodes:664baca4-029b-4d42-9ca2-bc4d14061a19:localhost]

2023-11-04 23:28:09 | [Mutex] waiting for: [received:nodes:664baca4-029b-4d42-9ca2-bc4d14061a19:localhost]

2023-11-04 23:28:09 | [Mutex] received everything.

2023-11-04 23:28:09 | [Mutex] isItemNotified: received:node:664baca4-029b-4d42-9ca2-bc4d14061a19:localhost:node-de162785-442d-4c34-aa25-fa5017ef590b:Node de162785-442d-4c34-aa25-fa5017ef590b :: false

deleteSubnodes 1.104s
2023-11-04 23:28:07 |

2023-11-04 23:28:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:07 | ------------------------------------

2023-11-04 23:28:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node></data>

2023-11-04 23:28:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-11-04 23:28:08 | [Mutex] waiting for: [received:nodes:38ea0e52-d19a-4fac-824c-ca99d56e5bfe:localhost]

2023-11-04 23:28:08 | [Mutex] waiting for: [received:nodes:38ea0e52-d19a-4fac-824c-ca99d56e5bfe:localhost]

2023-11-04 23:28:08 | [Mutex] waiting for: [received:nodes:38ea0e52-d19a-4fac-824c-ca99d56e5bfe:localhost]

2023-11-04 23:28:08 | [Mutex] waiting for: [received:nodes:38ea0e52-d19a-4fac-824c-ca99d56e5bfe:localhost]

2023-11-04 23:28:08 | [Mutex] received everything.

2023-11-04 23:28:08 | [Mutex] isItemNotified: received:node:38ea0e52-d19a-4fac-824c-ca99d56e5bfe:localhost:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992 :: false

2023-11-04 23:28:08 | [Mutex] waiting for: [received:nodes:1d8cb5b5-6727-4d67-91ae-c1f3076105d2:localhost]

2023-11-04 23:28:08 | [Mutex] received everything.

2023-11-04 23:28:08 | [Mutex] isItemNotified: received:node:1d8cb5b5-6727-4d67-91ae-c1f3076105d2:localhost:node-2763b0f7-f0e6-4eac-87ed-90ca686b9992:Node 2763b0f7-f0e6-4eac-87ed-90ca686b9992 :: false

publishItemsToNodes 0.163s
2023-11-04 23:28:05 |

2023-11-04 23:28:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:05 | ------------------------------------

2023-11-04 23:28:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><item-id>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</item-id><entry><test>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</test></entry></data>

2023-11-04 23:28:06 | 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-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</value></item-id></result>

2023-11-04 23:28:06 | [Mutex] received everything.

2023-11-04 23:28:06 | [Mutex] isItemNotified: published:item:notifieditem-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2023-11-04 23:28:06 |

2023-11-04 23:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:06 | ------------------------------------

2023-11-04 23:28:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><item-id>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</item-id></data>

2023-11-04 23:28:06 | 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-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</value></item-id></result>

2023-11-04 23:28:06 | [Mutex] received everything.

2023-11-04 23:28:06 | [Mutex] isItemNotified: retracted:item:notifieditem-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.159s
2023-11-04 23:28:06 |

2023-11-04 23:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:06 | ------------------------------------

2023-11-04 23:28:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><item-id>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</item-id></data>

2023-11-04 23:28:06 | 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-2763b0f7-f0e6-4eac-87ed-90ca686b9992</value></node><item-id label="Item ID" type="text-single"><value>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</value></item-id><item label="Item" type="text-multi"><value><item id="item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f"><test>item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f</test></item></value></item></result>

2023-11-04 23:28:06 | [Mutex] notify: [retrieved:item:item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f:payload-matches:true:localhost]

2023-11-04 23:28:06 | [Mutex] received everything.

2023-11-04 23:28:06 | [Mutex] isItemNotified: retrieved:item:item-e5b4501b-97b8-45fd-8cf1-c3d8b8a6973f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-11-04 23:28:06 |

2023-11-04 23:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:06 | ------------------------------------

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

2023-11-04 23:28:06 | 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-2763b0f7-f0e6-4eac-87ed-90ca686b9992</value><value>node-de162785-442d-4c34-aa25-fa5017ef590b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-11-04 23:28:06 |

2023-11-04 23:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:06 | ------------------------------------

2023-11-04 23:28:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2763b0f7-f0e6-4eac-87ed-90ca686b9992)</node-pattern></data>

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

subscribeNodes 1.100s
2023-11-04 23:28:04 |

2023-11-04 23:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:04 | ------------------------------------

2023-11-04 23:28:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><jids><value>admin@test-domain.com</value></jids></data>

2023-11-04 23:28:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.210s
2023-11-04 23:28:06 |

2023-11-04 23:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-11-04 23:28:06 | ------------------------------------

2023-11-04 23:28:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2763b0f7-f0e6-4eac-87ed-90ca686b9992</node><jids><value>admin@test-domain.com</value></jids></data>

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