Generated by TestNG with ReportNG at 22:45 PDT on Friday 27 October 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 : 10.013s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2023-10-27 23:00:00 |

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

2023-10-27 23:00:00 | ------------------------------------

2023-10-27 23:00:01 | [Mutex] waiting for: [configured:node:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:node-e8934a93-d650-4ec6-92c3-43478ed10f11]

2023-10-27 23:00:01 | [Mutex] received everything.

2023-10-27 23:00:01 | [Mutex] isItemNotified: configured:node:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:node-e8934a93-d650-4ec6-92c3-43478ed10f11 :: true

2023-10-27 23:00:02 | [Mutex] waiting for: [received:nodes:ed257c89-5c57-4aac-9d0e-87e81264b4f1:localhost]

2023-10-27 23:00:02 | [Mutex] received everything.

2023-10-27 23:00:02 | [Mutex] isItemNotified: received:node:ed257c89-5c57-4aac-9d0e-87e81264b4f1:localhost:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:Node c229304e-8b58-44d6-b2a2-a07f5f8f0479 :: true

2023-10-27 23:00:02 | [Mutex] waiting for: [received:nodes:c6615a02-562e-4219-817f-72ace4f7bb1d:localhost]

2023-10-27 23:00:02 | [Mutex] waiting for: [received:nodes:c6615a02-562e-4219-817f-72ace4f7bb1d:localhost]

2023-10-27 23:00:02 | [Mutex] received everything.

2023-10-27 23:00:02 | [Mutex] isItemNotified: received:node:c6615a02-562e-4219-817f-72ace4f7bb1d:localhost:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:Node c229304e-8b58-44d6-b2a2-a07f5f8f0479 :: false

createNodes 1.394s
2023-10-27 22:59:58 |

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

2023-10-27 22:59:58 | ------------------------------------

2023-10-27 22:59:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c229304e-8b58-44d6-b2a2-a07f5f8f0479</title></pubsub></data>

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

2023-10-27 22:59:59 | [Mutex] waiting for: [received:nodes:74ffd8a9-50e9-4e1c-8807-b88f5f8ff8c1:localhost]

2023-10-27 22:59:59 | [Mutex] waiting for: [received:nodes:74ffd8a9-50e9-4e1c-8807-b88f5f8ff8c1:localhost]

2023-10-27 22:59:59 | [Mutex] waiting for: [received:nodes:74ffd8a9-50e9-4e1c-8807-b88f5f8ff8c1:localhost]

2023-10-27 22:59:59 | [Mutex] waiting for: [received:nodes:74ffd8a9-50e9-4e1c-8807-b88f5f8ff8c1:localhost]

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

2023-10-27 22:59:59 | [Mutex] isItemNotified: received:node:74ffd8a9-50e9-4e1c-8807-b88f5f8ff8c1:localhost:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:Node c229304e-8b58-44d6-b2a2-a07f5f8f0479 :: true

createSubnodes 1.021s
2023-10-27 22:59:59 |

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

2023-10-27 22:59:59 | ------------------------------------

2023-10-27 22:59:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e8934a93-d650-4ec6-92c3-43478ed10f11</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e8934a93-d650-4ec6-92c3-43478ed10f11</title></pubsub></data>

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

2023-10-27 23:00:00 | [Mutex] waiting for: [received:nodes:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost]

2023-10-27 23:00:00 | [Mutex] waiting for: [received:nodes:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost]

2023-10-27 23:00:00 | [Mutex] waiting for: [received:nodes:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost]

2023-10-27 23:00:00 | [Mutex] waiting for: [received:nodes:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost]

2023-10-27 23:00:00 | [Mutex] waiting for: [received:nodes:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost]

2023-10-27 23:00:00 | [Mutex] received everything.

2023-10-27 23:00:00 | [Mutex] isItemNotified: received:node:2de326a6-4d3b-4230-b4c6-fa3d1e9bcefb:localhost:node-e8934a93-d650-4ec6-92c3-43478ed10f11:Node e8934a93-d650-4ec6-92c3-43478ed10f11 :: true

deleteNodes 1.029s
2023-10-27 23:00:06 |

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

2023-10-27 23:00:06 | ------------------------------------

2023-10-27 23:00:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e8934a93-d650-4ec6-92c3-43478ed10f11</node></data>

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

2023-10-27 23:00:07 | [Mutex] waiting for: [received:nodes:7de48f8c-4c84-47a4-8e79-20da5f6534b1:localhost]

2023-10-27 23:00:07 | [Mutex] waiting for: [received:nodes:7de48f8c-4c84-47a4-8e79-20da5f6534b1:localhost]

2023-10-27 23:00:07 | [Mutex] waiting for: [received:nodes:7de48f8c-4c84-47a4-8e79-20da5f6534b1:localhost]

2023-10-27 23:00:07 | [Mutex] received everything.

2023-10-27 23:00:07 | [Mutex] isItemNotified: received:node:7de48f8c-4c84-47a4-8e79-20da5f6534b1:localhost:node-e8934a93-d650-4ec6-92c3-43478ed10f11:Node e8934a93-d650-4ec6-92c3-43478ed10f11 :: false

deleteSubnodes 1.127s
2023-10-27 23:00:05 |

2023-10-27 23:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:05 | ------------------------------------

2023-10-27 23:00:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node></data>

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

2023-10-27 23:00:06 | [Mutex] waiting for: [received:nodes:a743ab11-531c-4e96-9ffc-1ef325208afe:localhost]

2023-10-27 23:00:06 | [Mutex] received everything.

2023-10-27 23:00:06 | [Mutex] isItemNotified: received:node:a743ab11-531c-4e96-9ffc-1ef325208afe:localhost:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:Node c229304e-8b58-44d6-b2a2-a07f5f8f0479 :: false

2023-10-27 23:00:06 | [Mutex] waiting for: [received:nodes:d4a45946-3fa1-492c-9eae-cac618bfa5c2:localhost]

2023-10-27 23:00:06 | [Mutex] received everything.

2023-10-27 23:00:06 | [Mutex] isItemNotified: received:node:d4a45946-3fa1-492c-9eae-cac618bfa5c2:localhost:node-c229304e-8b58-44d6-b2a2-a07f5f8f0479:Node c229304e-8b58-44d6-b2a2-a07f5f8f0479 :: false

publishItemsToNodes 0.340s
2023-10-27 23:00:03 |

2023-10-27 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:03 | ------------------------------------

2023-10-27 23:00:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><item-id>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</item-id><entry><test>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</test></entry></data>

2023-10-27 23:00:03 | 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-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</value></item-id></result>

2023-10-27 23:00:03 | [Mutex] received everything.

2023-10-27 23:00:03 | [Mutex] isItemNotified: published:item:notifieditem-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2023-10-27 23:00:04 |

2023-10-27 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:04 | ------------------------------------

2023-10-27 23:00:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><item-id>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</item-id></data>

2023-10-27 23:00:04 | 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-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</value></item-id></result>

2023-10-27 23:00:04 | [Mutex] received everything.

2023-10-27 23:00:04 | [Mutex] isItemNotified: retracted:item:notifieditem-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2023-10-27 23:00:03 |

2023-10-27 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:03 | ------------------------------------

2023-10-27 23:00:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><item-id>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</item-id></data>

2023-10-27 23:00:04 | 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-c229304e-8b58-44d6-b2a2-a07f5f8f0479</value></node><item-id type="text-single" label="Item ID"><value>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</value></item-id><item type="text-multi" label="Item"><value><item id="item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2"><test>item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2</test></item></value></item></result>

2023-10-27 23:00:04 | [Mutex] notify: [retrieved:item:item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2:payload-matches:true:localhost]

2023-10-27 23:00:04 | [Mutex] received everything.

2023-10-27 23:00:04 | [Mutex] isItemNotified: retrieved:item:item-2fd4d783-7060-4ff5-a56f-a8b7d1d4b8e2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.074s
2023-10-27 23:00:04 |

2023-10-27 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:04 | ------------------------------------

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

2023-10-27 23:00:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</value><value>test</value><value>node-e8934a93-d650-4ec6-92c3-43478ed10f11</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.085s
2023-10-27 23:00:04 |

2023-10-27 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:04 | ------------------------------------

2023-10-27 23:00:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c229304e-8b58-44d6-b2a2-a07f5f8f0479)</node-pattern></data>

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

subscribeNodes 1.368s
2023-10-27 23:00:02 |

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

2023-10-27 23:00:02 | ------------------------------------

2023-10-27 23:00:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2023-10-27 23:00:04 |

2023-10-27 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-27 23:00:04 | ------------------------------------

2023-10-27 23:00:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c229304e-8b58-44d6-b2a2-a07f5f8f0479</node><jids><value>admin@test-domain.com</value></jids></data>

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