Generated by TestNG with ReportNG at 22:29 PDT on Wednesday 15 March 2023
root@7c41cec37518 / 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.422s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2023-03-15 22:44:01 |

2023-03-15 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:01 | ------------------------------------

2023-03-15 22:44:01 | [Mutex] waiting for: [configured:node:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:node-cc9ef70a-67d0-4825-bc44-abd5a58f0232]

2023-03-15 22:44:01 | [Mutex] received everything.

2023-03-15 22:44:01 | [Mutex] isItemNotified: configured:node:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:node-cc9ef70a-67d0-4825-bc44-abd5a58f0232 :: true

2023-03-15 22:44:02 | [Mutex] waiting for: [received:nodes:fa6b089c-5967-46f3-8d76-b7e2b7b03cf1:localhost]

2023-03-15 22:44:02 | [Mutex] received everything.

2023-03-15 22:44:02 | [Mutex] isItemNotified: received:node:fa6b089c-5967-46f3-8d76-b7e2b7b03cf1:localhost:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303 :: true

2023-03-15 22:44:02 | [Mutex] waiting for: [received:nodes:d6aa24dc-4caa-40e1-8a6d-7f2e98ef5d2d:localhost]

2023-03-15 22:44:02 | [Mutex] waiting for: [received:nodes:d6aa24dc-4caa-40e1-8a6d-7f2e98ef5d2d:localhost]

2023-03-15 22:44:02 | [Mutex] waiting for: [received:nodes:d6aa24dc-4caa-40e1-8a6d-7f2e98ef5d2d:localhost]

2023-03-15 22:44:02 | [Mutex] waiting for: [received:nodes:d6aa24dc-4caa-40e1-8a6d-7f2e98ef5d2d:localhost]

2023-03-15 22:44:02 | [Mutex] received everything.

2023-03-15 22:44:02 | [Mutex] isItemNotified: received:node:d6aa24dc-4caa-40e1-8a6d-7f2e98ef5d2d:localhost:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303 :: false

createNodes 1.426s
2023-03-15 22:43:58 |

2023-03-15 22:43:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:43:58 | ------------------------------------

2023-03-15 22:43:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303</title></pubsub></data>

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

2023-03-15 22:44:00 | [Mutex] waiting for: [received:nodes:aa6c82c7-e2d8-40bb-a1f0-8eda1f345ef1:localhost]

2023-03-15 22:44:00 | [Mutex] waiting for: [received:nodes:aa6c82c7-e2d8-40bb-a1f0-8eda1f345ef1:localhost]

2023-03-15 22:44:00 | [Mutex] waiting for: [received:nodes:aa6c82c7-e2d8-40bb-a1f0-8eda1f345ef1:localhost]

2023-03-15 22:44:00 | [Mutex] received everything.

2023-03-15 22:44:00 | [Mutex] isItemNotified: received:node:aa6c82c7-e2d8-40bb-a1f0-8eda1f345ef1:localhost:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303 :: true

createSubnodes 1.034s
2023-03-15 22:44:00 |

2023-03-15 22:44:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:00 | ------------------------------------

2023-03-15 22:44:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc9ef70a-67d0-4825-bc44-abd5a58f0232</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cc9ef70a-67d0-4825-bc44-abd5a58f0232</title></pubsub></data>

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

2023-03-15 22:44:01 | [Mutex] waiting for: [received:nodes:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost]

2023-03-15 22:44:01 | [Mutex] waiting for: [received:nodes:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost]

2023-03-15 22:44:01 | [Mutex] waiting for: [received:nodes:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost]

2023-03-15 22:44:01 | [Mutex] waiting for: [received:nodes:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost]

2023-03-15 22:44:01 | [Mutex] waiting for: [received:nodes:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost]

2023-03-15 22:44:01 | [Mutex] received everything.

2023-03-15 22:44:01 | [Mutex] isItemNotified: received:node:1abbcc4e-ee0a-4fdc-9ec2-ae9fd09ed6c0:localhost:node-cc9ef70a-67d0-4825-bc44-abd5a58f0232:Node cc9ef70a-67d0-4825-bc44-abd5a58f0232 :: true

deleteNodes 1.028s
2023-03-15 22:44:06 |

2023-03-15 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:06 | ------------------------------------

2023-03-15 22:44:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc9ef70a-67d0-4825-bc44-abd5a58f0232</node></data>

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

2023-03-15 22:44:07 | [Mutex] waiting for: [received:nodes:9627bf3d-8053-4dc9-b10f-e61fdd73e05f:localhost]

2023-03-15 22:44:07 | [Mutex] waiting for: [received:nodes:9627bf3d-8053-4dc9-b10f-e61fdd73e05f:localhost]

2023-03-15 22:44:07 | [Mutex] received everything.

2023-03-15 22:44:07 | [Mutex] isItemNotified: received:node:9627bf3d-8053-4dc9-b10f-e61fdd73e05f:localhost:node-cc9ef70a-67d0-4825-bc44-abd5a58f0232:Node cc9ef70a-67d0-4825-bc44-abd5a58f0232 :: false

deleteSubnodes 1.130s
2023-03-15 22:44:05 |

2023-03-15 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:05 | ------------------------------------

2023-03-15 22:44:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node></data>

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

2023-03-15 22:44:06 | [Mutex] waiting for: [received:nodes:85a8b126-ff90-4a3a-9ded-37a71ab3e3aa:localhost]

2023-03-15 22:44:06 | [Mutex] waiting for: [received:nodes:85a8b126-ff90-4a3a-9ded-37a71ab3e3aa:localhost]

2023-03-15 22:44:06 | [Mutex] waiting for: [received:nodes:85a8b126-ff90-4a3a-9ded-37a71ab3e3aa:localhost]

2023-03-15 22:44:06 | [Mutex] received everything.

2023-03-15 22:44:06 | [Mutex] isItemNotified: received:node:85a8b126-ff90-4a3a-9ded-37a71ab3e3aa:localhost:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303 :: false

2023-03-15 22:44:06 | [Mutex] waiting for: [received:nodes:f939a1c0-f2b9-4583-af12-7e4feae23d5c:localhost]

2023-03-15 22:44:06 | [Mutex] received everything.

2023-03-15 22:44:06 | [Mutex] isItemNotified: received:node:f939a1c0-f2b9-4583-af12-7e4feae23d5c:localhost:node-9a9c9624-2c6b-4d35-802d-7deaec3c0303:Node 9a9c9624-2c6b-4d35-802d-7deaec3c0303 :: false

publishItemsToNodes 0.194s
2023-03-15 22:44:03 |

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

2023-03-15 22:44:03 | ------------------------------------

2023-03-15 22:44:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><item-id>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</item-id><entry><test>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</test></entry></data>

2023-03-15 22:44: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-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</value></item-id></result>

2023-03-15 22:44:03 | [Mutex] waiting for: [published:item:notifieditem-3b8d07f7-c2e7-41cb-83c4-cff90a06b128:admin@test-domain.com]

2023-03-15 22:44:03 | [Mutex] received everything.

2023-03-15 22:44:03 | [Mutex] isItemNotified: published:item:notifieditem-3b8d07f7-c2e7-41cb-83c4-cff90a06b128:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2023-03-15 22:44:03 |

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

2023-03-15 22:44:03 | ------------------------------------

2023-03-15 22:44:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><item-id>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</item-id></data>

2023-03-15 22:44: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-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</value></item-id></result>

2023-03-15 22:44:04 | [Mutex] received everything.

2023-03-15 22:44:04 | [Mutex] isItemNotified: retracted:item:notifieditem-3b8d07f7-c2e7-41cb-83c4-cff90a06b128:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2023-03-15 22:44:03 |

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

2023-03-15 22:44:03 | ------------------------------------

2023-03-15 22:44:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><item-id>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</item-id></data>

2023-03-15 22:44:03 | 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-9a9c9624-2c6b-4d35-802d-7deaec3c0303</value></node><item-id type="text-single" label="Item ID"><value>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</value></item-id><item type="text-multi" label="Item"><value><item id="item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128"><test>item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128</test></item></value></item></result>

2023-03-15 22:44:03 | [Mutex] notify: [retrieved:item:item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128:payload-matches:true:localhost]

2023-03-15 22:44:03 | [Mutex] received everything.

2023-03-15 22:44:03 | [Mutex] isItemNotified: retrieved:item:item-3b8d07f7-c2e7-41cb-83c4-cff90a06b128:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-15 22:44:03 |

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

2023-03-15 22:44:03 | ------------------------------------

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

2023-03-15 22:44:03 | 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-9a9c9624-2c6b-4d35-802d-7deaec3c0303</value><value>node-cc9ef70a-67d0-4825-bc44-abd5a58f0232</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-15 22:44:03 |

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

2023-03-15 22:44:03 | ------------------------------------

2023-03-15 22:44:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9a9c9624-2c6b-4d35-802d-7deaec3c0303)</node-pattern></data>

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

subscribeNodes 1.136s
2023-03-15 22:44:02 |

2023-03-15 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:02 | ------------------------------------

2023-03-15 22:44:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-15 22:44: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.125s
2023-03-15 22:44:04 |

2023-03-15 22:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 22:44:04 | ------------------------------------

2023-03-15 22:44:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9a9c9624-2c6b-4d35-802d-7deaec3c0303</node><jids><value>admin@test-domain.com</value></jids></data>

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