Generated by TestNG with ReportNG at 21:15 PST on Sunday 05 March 2023
root@f9c07ffec79b / 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.455s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2023-03-05 21:29:35 |

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

2023-03-05 21:29:35 | ------------------------------------

2023-03-05 21:29:35 | [Mutex] waiting for: [configured:node:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:node-e2694557-2879-42b2-8e99-91e1d3427a9b]

2023-03-05 21:29:35 | [Mutex] received everything.

2023-03-05 21:29:35 | [Mutex] isItemNotified: configured:node:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:node-e2694557-2879-42b2-8e99-91e1d3427a9b :: true

2023-03-05 21:29:36 | [Mutex] waiting for: [received:nodes:600e292a-b8a5-4d2c-adb7-db980e0ff211:localhost]

2023-03-05 21:29:36 | [Mutex] received everything.

2023-03-05 21:29:36 | [Mutex] isItemNotified: received:node:600e292a-b8a5-4d2c-adb7-db980e0ff211:localhost:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a :: true

2023-03-05 21:29:36 | [Mutex] waiting for: [received:nodes:d14e9800-d1a5-427a-b41f-ca459a6f0ddd:localhost]

2023-03-05 21:29:36 | [Mutex] received everything.

2023-03-05 21:29:36 | [Mutex] isItemNotified: received:node:d14e9800-d1a5-427a-b41f-ca459a6f0ddd:localhost:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a :: false

createNodes 1.441s
2023-03-05 21:29:33 |

2023-03-05 21:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:33 | ------------------------------------

2023-03-05 21:29:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a</title></pubsub></data>

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

2023-03-05 21:29:34 | [Mutex] waiting for: [received:nodes:ddbd3af9-8e80-4720-b4b4-424abe2c9953:localhost]

2023-03-05 21:29:34 | [Mutex] waiting for: [received:nodes:ddbd3af9-8e80-4720-b4b4-424abe2c9953:localhost]

2023-03-05 21:29:34 | [Mutex] waiting for: [received:nodes:ddbd3af9-8e80-4720-b4b4-424abe2c9953:localhost]

2023-03-05 21:29:34 | [Mutex] received everything.

2023-03-05 21:29:34 | [Mutex] isItemNotified: received:node:ddbd3af9-8e80-4720-b4b4-424abe2c9953:localhost:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a :: true

createSubnodes 1.028s
2023-03-05 21:29:34 |

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

2023-03-05 21:29:34 | ------------------------------------

2023-03-05 21:29:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2694557-2879-42b2-8e99-91e1d3427a9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e2694557-2879-42b2-8e99-91e1d3427a9b</title></pubsub></data>

2023-03-05 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-03-05 21:29:35 | [Mutex] waiting for: [received:nodes:92558089-2b87-4255-bb74-5d98d15ed6a5:localhost]

2023-03-05 21:29:35 | [Mutex] waiting for: [received:nodes:92558089-2b87-4255-bb74-5d98d15ed6a5:localhost]

2023-03-05 21:29:35 | [Mutex] waiting for: [received:nodes:92558089-2b87-4255-bb74-5d98d15ed6a5:localhost]

2023-03-05 21:29:35 | [Mutex] waiting for: [received:nodes:92558089-2b87-4255-bb74-5d98d15ed6a5:localhost]

2023-03-05 21:29:35 | [Mutex] received everything.

2023-03-05 21:29:35 | [Mutex] isItemNotified: received:node:92558089-2b87-4255-bb74-5d98d15ed6a5:localhost:node-e2694557-2879-42b2-8e99-91e1d3427a9b:Node e2694557-2879-42b2-8e99-91e1d3427a9b :: true

deleteNodes 1.019s
2023-03-05 21:29:41 |

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

2023-03-05 21:29:41 | ------------------------------------

2023-03-05 21:29:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2694557-2879-42b2-8e99-91e1d3427a9b</node></data>

2023-03-05 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-03-05 21:29:42 | [Mutex] waiting for: [received:nodes:caa3128e-e0e8-4a21-8897-75592c38c9c7:localhost]

2023-03-05 21:29:42 | [Mutex] waiting for: [received:nodes:caa3128e-e0e8-4a21-8897-75592c38c9c7:localhost]

2023-03-05 21:29:42 | [Mutex] received everything.

2023-03-05 21:29:42 | [Mutex] isItemNotified: received:node:caa3128e-e0e8-4a21-8897-75592c38c9c7:localhost:node-e2694557-2879-42b2-8e99-91e1d3427a9b:Node e2694557-2879-42b2-8e99-91e1d3427a9b :: false

deleteSubnodes 1.138s
2023-03-05 21:29:40 |

2023-03-05 21:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:40 | ------------------------------------

2023-03-05 21:29:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node></data>

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

2023-03-05 21:29:41 | [Mutex] waiting for: [received:nodes:c0382fbb-5d3c-4b03-b758-d6013435b1d7:localhost]

2023-03-05 21:29:41 | [Mutex] waiting for: [received:nodes:c0382fbb-5d3c-4b03-b758-d6013435b1d7:localhost]

2023-03-05 21:29:41 | [Mutex] waiting for: [received:nodes:c0382fbb-5d3c-4b03-b758-d6013435b1d7:localhost]

2023-03-05 21:29:41 | [Mutex] received everything.

2023-03-05 21:29:41 | [Mutex] isItemNotified: received:node:c0382fbb-5d3c-4b03-b758-d6013435b1d7:localhost:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a :: false

2023-03-05 21:29:41 | [Mutex] waiting for: [received:nodes:68a37e21-ddcc-4313-a79b-1a199b8fc334:localhost]

2023-03-05 21:29:41 | [Mutex] received everything.

2023-03-05 21:29:41 | [Mutex] isItemNotified: received:node:68a37e21-ddcc-4313-a79b-1a199b8fc334:localhost:node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a:Node 1e8b631a-7654-4ba4-8d5d-fa191d217c1a :: false

publishItemsToNodes 0.198s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

2023-03-05 21:29:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><item-id>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</item-id><entry><test>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</test></entry></data>

2023-03-05 21:29:38 | 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-beb4740f-8407-47d7-ba01-1c499c7b18c9</value></item-id></result>

2023-03-05 21:29:38 | [Mutex] received everything.

2023-03-05 21:29:38 | [Mutex] isItemNotified: published:item:notifieditem-beb4740f-8407-47d7-ba01-1c499c7b18c9:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

2023-03-05 21:29:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><item-id>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</item-id></data>

2023-03-05 21:29:38 | 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-beb4740f-8407-47d7-ba01-1c499c7b18c9</value></item-id></result>

2023-03-05 21:29:38 | [Mutex] received everything.

2023-03-05 21:29:38 | [Mutex] isItemNotified: retracted:item:notifieditem-beb4740f-8407-47d7-ba01-1c499c7b18c9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

2023-03-05 21:29:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><item-id>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</item-id></data>

2023-03-05 21:29:38 | 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-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</value></node><item-id label="Item ID" type="text-single"><value>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</value></item-id><item label="Item" type="text-multi"><value><item id="item-beb4740f-8407-47d7-ba01-1c499c7b18c9"><test>item-beb4740f-8407-47d7-ba01-1c499c7b18c9</test></item></value></item></result>

2023-03-05 21:29:38 | [Mutex] notify: [retrieved:item:item-beb4740f-8407-47d7-ba01-1c499c7b18c9:payload-matches:true:localhost]

2023-03-05 21:29:38 | [Mutex] received everything.

2023-03-05 21:29:38 | [Mutex] isItemNotified: retrieved:item:item-beb4740f-8407-47d7-ba01-1c499c7b18c9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

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

2023-03-05 21:29:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</value><value>test</value><value>node-e2694557-2879-42b2-8e99-91e1d3427a9b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

2023-03-05 21:29:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a)</node-pattern></data>

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

subscribeNodes 1.119s
2023-03-05 21:29:36 |

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

2023-03-05 21:29:36 | ------------------------------------

2023-03-05 21:29:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2023-03-05 21:29:38 |

2023-03-05 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-05 21:29:38 | ------------------------------------

2023-03-05 21:29:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1e8b631a-7654-4ba4-8d5d-fa191d217c1a</node><jids><value>admin@test-domain.com</value></jids></data>

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