Generated by TestNG with ReportNG at 22:22 PDT on Monday 17 October 2022
root@ed1b7dd8a1b3 / 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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-10-17 22:36:16 |

2022-10-17 22:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:16 | ------------------------------------

2022-10-17 22:36:16 | [Mutex] waiting for: [configured:node:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:node-1f51070b-572d-4c82-bf47-0d9b148ad6a9]

2022-10-17 22:36:16 | [Mutex] received everything.

2022-10-17 22:36:16 | [Mutex] isItemNotified: configured:node:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:node-1f51070b-572d-4c82-bf47-0d9b148ad6a9 :: true

2022-10-17 22:36:17 | [Mutex] waiting for: [received:nodes:6281bf8e-21ea-41f0-8d27-433caed8f454:localhost]

2022-10-17 22:36:17 | [Mutex] received everything.

2022-10-17 22:36:17 | [Mutex] isItemNotified: received:node:6281bf8e-21ea-41f0-8d27-433caed8f454:localhost:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3 :: true

2022-10-17 22:36:17 | [Mutex] waiting for: [received:nodes:335cf756-290e-45e6-a57d-61fd15bd04cd:localhost]

2022-10-17 22:36:17 | [Mutex] received everything.

2022-10-17 22:36:17 | [Mutex] isItemNotified: received:node:335cf756-290e-45e6-a57d-61fd15bd04cd:localhost:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3 :: false

createNodes 1.431s
2022-10-17 22:36:14 |

2022-10-17 22:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:14 | ------------------------------------

2022-10-17 22:36:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</title></pubsub></data>

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

2022-10-17 22:36:15 | [Mutex] waiting for: [received:nodes:34a74c9c-756a-4adc-8a8f-97d3b4398538:localhost]

2022-10-17 22:36:15 | [Mutex] received everything.

2022-10-17 22:36:15 | [Mutex] isItemNotified: received:node:34a74c9c-756a-4adc-8a8f-97d3b4398538:localhost:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3 :: true

createSubnodes 1.026s
2022-10-17 22:36:15 |

2022-10-17 22:36:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:15 | ------------------------------------

2022-10-17 22:36:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1f51070b-572d-4c82-bf47-0d9b148ad6a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1f51070b-572d-4c82-bf47-0d9b148ad6a9</title></pubsub></data>

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

2022-10-17 22:36:16 | [Mutex] waiting for: [received:nodes:5f283f42-a00c-449f-b60b-a826a42de169:localhost]

2022-10-17 22:36:16 | [Mutex] waiting for: [received:nodes:5f283f42-a00c-449f-b60b-a826a42de169:localhost]

2022-10-17 22:36:16 | [Mutex] received everything.

2022-10-17 22:36:16 | [Mutex] isItemNotified: received:node:5f283f42-a00c-449f-b60b-a826a42de169:localhost:node-1f51070b-572d-4c82-bf47-0d9b148ad6a9:Node 1f51070b-572d-4c82-bf47-0d9b148ad6a9 :: true

deleteNodes 1.017s
2022-10-17 22:36:22 |

2022-10-17 22:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:22 | ------------------------------------

2022-10-17 22:36:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1f51070b-572d-4c82-bf47-0d9b148ad6a9</node></data>

2022-10-17 22:36:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:23 | [Mutex] waiting for: [received:nodes:a4084ac8-25c1-4322-bc24-0ac7327edd53:localhost]

2022-10-17 22:36:23 | [Mutex] received everything.

2022-10-17 22:36:23 | [Mutex] isItemNotified: received:node:a4084ac8-25c1-4322-bc24-0ac7327edd53:localhost:node-1f51070b-572d-4c82-bf47-0d9b148ad6a9:Node 1f51070b-572d-4c82-bf47-0d9b148ad6a9 :: false

deleteSubnodes 1.134s
2022-10-17 22:36:21 |

2022-10-17 22:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:21 | ------------------------------------

2022-10-17 22:36:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node></data>

2022-10-17 22:36:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:22 | [Mutex] waiting for: [received:nodes:f10b8b49-d141-4d8e-a075-ffdc5cee5ed1:localhost]

2022-10-17 22:36:22 | [Mutex] received everything.

2022-10-17 22:36:22 | [Mutex] isItemNotified: received:node:f10b8b49-d141-4d8e-a075-ffdc5cee5ed1:localhost:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3 :: false

2022-10-17 22:36:22 | [Mutex] waiting for: [received:nodes:09bce58d-6c66-49b9-81ff-238982b8964f:localhost]

2022-10-17 22:36:22 | [Mutex] received everything.

2022-10-17 22:36:22 | [Mutex] isItemNotified: received:node:09bce58d-6c66-49b9-81ff-238982b8964f:localhost:node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3:Node a8187c21-c89b-4aab-a8ae-6033e1ce0bb3 :: false

publishItemsToNodes 0.252s
2022-10-17 22:36:19 |

2022-10-17 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:19 | ------------------------------------

2022-10-17 22:36:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><item-id>item-405b11f4-0893-4ded-9814-d0dc6d157633</item-id><entry><test>item-405b11f4-0893-4ded-9814-d0dc6d157633</test></entry></data>

2022-10-17 22:36:19 | 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-405b11f4-0893-4ded-9814-d0dc6d157633</value></item-id></result>

2022-10-17 22:36:19 | [Mutex] received everything.

2022-10-17 22:36:19 | [Mutex] isItemNotified: published:item:notifieditem-405b11f4-0893-4ded-9814-d0dc6d157633:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-10-17 22:36:19 |

2022-10-17 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:19 | ------------------------------------

2022-10-17 22:36:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><item-id>item-405b11f4-0893-4ded-9814-d0dc6d157633</item-id></data>

2022-10-17 22:36:20 | 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-405b11f4-0893-4ded-9814-d0dc6d157633</value></item-id></result>

2022-10-17 22:36:20 | [Mutex] received everything.

2022-10-17 22:36:20 | [Mutex] isItemNotified: retracted:item:notifieditem-405b11f4-0893-4ded-9814-d0dc6d157633:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-10-17 22:36:19 |

2022-10-17 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:19 | ------------------------------------

2022-10-17 22:36:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><item-id>item-405b11f4-0893-4ded-9814-d0dc6d157633</item-id></data>

2022-10-17 22:36:19 | 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-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</value></node><item-id type="text-single" label="Item ID"><value>item-405b11f4-0893-4ded-9814-d0dc6d157633</value></item-id><item type="text-multi" label="Item"><value><item id="item-405b11f4-0893-4ded-9814-d0dc6d157633"><test>item-405b11f4-0893-4ded-9814-d0dc6d157633</test></item></value></item></result>

2022-10-17 22:36:19 | [Mutex] notify: [retrieved:item:item-405b11f4-0893-4ded-9814-d0dc6d157633:payload-matches:true:localhost]

2022-10-17 22:36:19 | [Mutex] received everything.

2022-10-17 22:36:19 | [Mutex] isItemNotified: retrieved:item:item-405b11f4-0893-4ded-9814-d0dc6d157633:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-17 22:36:19 |

2022-10-17 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:19 | ------------------------------------

2022-10-17 22:36:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-17 22:36:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1f51070b-572d-4c82-bf47-0d9b148ad6a9</value><value>test</value><value>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-10-17 22:36:19 |

2022-10-17 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:19 | ------------------------------------

2022-10-17 22:36:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3)</node-pattern></data>

2022-10-17 22:36:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.107s
2022-10-17 22:36:17 |

2022-10-17 22:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:17 | ------------------------------------

2022-10-17 22:36:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-17 22:36:18 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.171s
2022-10-17 22:36:20 |

2022-10-17 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:20 | ------------------------------------

2022-10-17 22:36:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a8187c21-c89b-4aab-a8ae-6033e1ce0bb3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-17 22:36:20 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>