Generated by TestNG with ReportNG at 22:15 PDT on Sunday 26 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.499s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2023-03-26 22:30:29 |

2023-03-26 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:29 | ------------------------------------

2023-03-26 22:30:29 | [Mutex] waiting for: [configured:node:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:node-2fb615dc-38ff-4fbb-bebd-def0d9288202]

2023-03-26 22:30:29 | [Mutex] received everything.

2023-03-26 22:30:29 | [Mutex] isItemNotified: configured:node:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:node-2fb615dc-38ff-4fbb-bebd-def0d9288202 :: true

2023-03-26 22:30:30 | [Mutex] waiting for: [received:nodes:208e8d4c-1f76-4572-941e-2faed587174e:localhost]

2023-03-26 22:30:30 | [Mutex] received everything.

2023-03-26 22:30:30 | [Mutex] isItemNotified: received:node:208e8d4c-1f76-4572-941e-2faed587174e:localhost:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df :: true

2023-03-26 22:30:30 | [Mutex] waiting for: [received:nodes:eda12e11-8832-4321-af9f-ee8e27a6211b:localhost]

2023-03-26 22:30:30 | [Mutex] waiting for: [received:nodes:eda12e11-8832-4321-af9f-ee8e27a6211b:localhost]

2023-03-26 22:30:30 | [Mutex] waiting for: [received:nodes:eda12e11-8832-4321-af9f-ee8e27a6211b:localhost]

2023-03-26 22:30:30 | [Mutex] waiting for: [received:nodes:eda12e11-8832-4321-af9f-ee8e27a6211b:localhost]

2023-03-26 22:30:30 | [Mutex] received everything.

2023-03-26 22:30:30 | [Mutex] isItemNotified: received:node:eda12e11-8832-4321-af9f-ee8e27a6211b:localhost:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df :: false

createNodes 1.415s
2023-03-26 22:30:26 |

2023-03-26 22:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:26 | ------------------------------------

2023-03-26 22:30:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</title></pubsub></data>

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

2023-03-26 22:30:28 | [Mutex] waiting for: [received:nodes:92dde7f3-3b17-4154-8640-61e452acafdf:localhost]

2023-03-26 22:30:28 | [Mutex] waiting for: [received:nodes:92dde7f3-3b17-4154-8640-61e452acafdf:localhost]

2023-03-26 22:30:28 | [Mutex] waiting for: [received:nodes:92dde7f3-3b17-4154-8640-61e452acafdf:localhost]

2023-03-26 22:30:28 | [Mutex] received everything.

2023-03-26 22:30:28 | [Mutex] isItemNotified: received:node:92dde7f3-3b17-4154-8640-61e452acafdf:localhost:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df :: true

createSubnodes 1.025s
2023-03-26 22:30:28 |

2023-03-26 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:28 | ------------------------------------

2023-03-26 22:30:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2fb615dc-38ff-4fbb-bebd-def0d9288202</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2fb615dc-38ff-4fbb-bebd-def0d9288202</title></pubsub></data>

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

2023-03-26 22:30:29 | [Mutex] waiting for: [received:nodes:c2ecd56a-1722-4fef-a147-a417e8adb136:localhost]

2023-03-26 22:30:29 | [Mutex] waiting for: [received:nodes:c2ecd56a-1722-4fef-a147-a417e8adb136:localhost]

2023-03-26 22:30:29 | [Mutex] waiting for: [received:nodes:c2ecd56a-1722-4fef-a147-a417e8adb136:localhost]

2023-03-26 22:30:29 | [Mutex] waiting for: [received:nodes:c2ecd56a-1722-4fef-a147-a417e8adb136:localhost]

2023-03-26 22:30:29 | [Mutex] received everything.

2023-03-26 22:30:29 | [Mutex] isItemNotified: received:node:c2ecd56a-1722-4fef-a147-a417e8adb136:localhost:node-2fb615dc-38ff-4fbb-bebd-def0d9288202:Node 2fb615dc-38ff-4fbb-bebd-def0d9288202 :: true

deleteNodes 1.016s
2023-03-26 22:30:34 |

2023-03-26 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:34 | ------------------------------------

2023-03-26 22:30:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2fb615dc-38ff-4fbb-bebd-def0d9288202</node></data>

2023-03-26 22:30:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:b7fe4807-db7f-42d5-9c48-ad9bf4b9233b:localhost]

2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:b7fe4807-db7f-42d5-9c48-ad9bf4b9233b:localhost]

2023-03-26 22:30:35 | [Mutex] received everything.

2023-03-26 22:30:35 | [Mutex] isItemNotified: received:node:b7fe4807-db7f-42d5-9c48-ad9bf4b9233b:localhost:node-2fb615dc-38ff-4fbb-bebd-def0d9288202:Node 2fb615dc-38ff-4fbb-bebd-def0d9288202 :: false

deleteSubnodes 1.125s
2023-03-26 22:30:33 |

2023-03-26 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:33 | ------------------------------------

2023-03-26 22:30:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node></data>

2023-03-26 22:30:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-26 22:30:34 | [Mutex] waiting for: [received:nodes:d72ea422-9277-4b97-94e1-ee847707a4d7:localhost]

2023-03-26 22:30:34 | [Mutex] waiting for: [received:nodes:d72ea422-9277-4b97-94e1-ee847707a4d7:localhost]

2023-03-26 22:30:34 | [Mutex] waiting for: [received:nodes:d72ea422-9277-4b97-94e1-ee847707a4d7:localhost]

2023-03-26 22:30:34 | [Mutex] waiting for: [received:nodes:d72ea422-9277-4b97-94e1-ee847707a4d7:localhost]

2023-03-26 22:30:34 | [Mutex] received everything.

2023-03-26 22:30:34 | [Mutex] isItemNotified: received:node:d72ea422-9277-4b97-94e1-ee847707a4d7:localhost:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df :: false

2023-03-26 22:30:34 | [Mutex] waiting for: [received:nodes:3fe15835-6c62-4c0e-b613-0be9f29d964e:localhost]

2023-03-26 22:30:34 | [Mutex] received everything.

2023-03-26 22:30:34 | [Mutex] isItemNotified: received:node:3fe15835-6c62-4c0e-b613-0be9f29d964e:localhost:node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df:Node c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df :: false

publishItemsToNodes 0.193s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

2023-03-26 22:30:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><item-id>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</item-id><entry><test>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</test></entry></data>

2023-03-26 22:30:31 | 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-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</value></item-id></result>

2023-03-26 22:30:31 | [Mutex] waiting for: [published:item:notifieditem-beb5f23e-cfe1-482d-8053-df1d5aaed3dc:admin@test-domain.com]

2023-03-26 22:30:31 | [Mutex] received everything.

2023-03-26 22:30:31 | [Mutex] isItemNotified: published:item:notifieditem-beb5f23e-cfe1-482d-8053-df1d5aaed3dc:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

2023-03-26 22:30:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><item-id>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</item-id></data>

2023-03-26 22:30:32 | 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-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</value></item-id></result>

2023-03-26 22:30:32 | [Mutex] received everything.

2023-03-26 22:30:32 | [Mutex] isItemNotified: retracted:item:notifieditem-beb5f23e-cfe1-482d-8053-df1d5aaed3dc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

2023-03-26 22:30:31 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><item-id>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</item-id></data>

2023-03-26 22:30:31 | 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-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</value></node><item-id type="text-single" label="Item ID"><value>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</value></item-id><item type="text-multi" label="Item"><value><item id="item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc"><test>item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc</test></item></value></item></result>

2023-03-26 22:30:31 | [Mutex] notify: [retrieved:item:item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc:payload-matches:true:localhost]

2023-03-26 22:30:31 | [Mutex] received everything.

2023-03-26 22:30:31 | [Mutex] isItemNotified: retrieved:item:item-beb5f23e-cfe1-482d-8053-df1d5aaed3dc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

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

2023-03-26 22:30:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</value><value>node-2fb615dc-38ff-4fbb-bebd-def0d9288202</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-26 22:30:31 |

2023-03-26 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:31 | ------------------------------------

2023-03-26 22:30:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df)</node-pattern></data>

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

subscribeNodes 1.148s
2023-03-26 22:30:30 |

2023-03-26 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:30 | ------------------------------------

2023-03-26 22:30:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-26 22:30:30 | 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-26 22:30:32 |

2023-03-26 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-26 22:30:32 | ------------------------------------

2023-03-26 22:30:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c6a20f75-ab97-4e5a-b154-b4cc0fa4c0df</node><jids><value>admin@test-domain.com</value></jids></data>

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