Generated by TestNG with ReportNG at 07:39 PDT on Friday 26 August 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.359s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-08-26 07:53:41 |

2022-08-26 07:53:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:41 | ------------------------------------

2022-08-26 07:53:41 | [Mutex] waiting for: [configured:node:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:node-5c0b2a84-bc82-4c26-996f-709329be8550]

2022-08-26 07:53:41 | [Mutex] received everything.

2022-08-26 07:53:41 | [Mutex] isItemNotified: configured:node:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:node-5c0b2a84-bc82-4c26-996f-709329be8550 :: true

2022-08-26 07:53:42 | [Mutex] waiting for: [received:nodes:68c35809-e63c-434c-8a9d-90811f197ab7:localhost]

2022-08-26 07:53:42 | [Mutex] received everything.

2022-08-26 07:53:42 | [Mutex] isItemNotified: received:node:68c35809-e63c-434c-8a9d-90811f197ab7:localhost:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f :: true

2022-08-26 07:53:42 | [Mutex] waiting for: [received:nodes:e2ec0e8b-3069-44bf-9404-ab5087c10f95:localhost]

2022-08-26 07:53:42 | [Mutex] received everything.

2022-08-26 07:53:42 | [Mutex] isItemNotified: received:node:e2ec0e8b-3069-44bf-9404-ab5087c10f95:localhost:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f :: false

createNodes 1.434s
2022-08-26 07:53:39 |

2022-08-26 07:53:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:39 | ------------------------------------

2022-08-26 07:53:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f</title></pubsub></data>

2022-08-26 07:53:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:53:40 | [Mutex] waiting for: [received:nodes:e3b51f45-449f-49b5-8b4f-06d2608b6f27:localhost]

2022-08-26 07:53:40 | [Mutex] received everything.

2022-08-26 07:53:40 | [Mutex] isItemNotified: received:node:e3b51f45-449f-49b5-8b4f-06d2608b6f27:localhost:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f :: true

createSubnodes 1.026s
2022-08-26 07:53:40 |

2022-08-26 07:53:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:40 | ------------------------------------

2022-08-26 07:53:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c0b2a84-bc82-4c26-996f-709329be8550</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5c0b2a84-bc82-4c26-996f-709329be8550</title></pubsub></data>

2022-08-26 07:53:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:53:41 | [Mutex] waiting for: [received:nodes:2b009c0c-e09d-4651-9db1-e3cd614650f2:localhost]

2022-08-26 07:53:41 | [Mutex] waiting for: [received:nodes:2b009c0c-e09d-4651-9db1-e3cd614650f2:localhost]

2022-08-26 07:53:41 | [Mutex] received everything.

2022-08-26 07:53:41 | [Mutex] isItemNotified: received:node:2b009c0c-e09d-4651-9db1-e3cd614650f2:localhost:node-5c0b2a84-bc82-4c26-996f-709329be8550:Node 5c0b2a84-bc82-4c26-996f-709329be8550 :: true

deleteNodes 1.015s
2022-08-26 07:53:46 |

2022-08-26 07:53:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:46 | ------------------------------------

2022-08-26 07:53:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c0b2a84-bc82-4c26-996f-709329be8550</node></data>

2022-08-26 07:53:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:53:47 | [Mutex] waiting for: [received:nodes:1a903b4d-4a6b-4ce2-85ae-69325de6f815:localhost]

2022-08-26 07:53:47 | [Mutex] received everything.

2022-08-26 07:53:47 | [Mutex] isItemNotified: received:node:1a903b4d-4a6b-4ce2-85ae-69325de6f815:localhost:node-5c0b2a84-bc82-4c26-996f-709329be8550:Node 5c0b2a84-bc82-4c26-996f-709329be8550 :: false

deleteSubnodes 1.133s
2022-08-26 07:53:45 |

2022-08-26 07:53:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:45 | ------------------------------------

2022-08-26 07:53:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node></data>

2022-08-26 07:53:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:53:46 | [Mutex] waiting for: [received:nodes:a171f855-af35-408e-8352-fdae4242c43d:localhost]

2022-08-26 07:53:46 | [Mutex] waiting for: [received:nodes:a171f855-af35-408e-8352-fdae4242c43d:localhost]

2022-08-26 07:53:46 | [Mutex] received everything.

2022-08-26 07:53:46 | [Mutex] isItemNotified: received:node:a171f855-af35-408e-8352-fdae4242c43d:localhost:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f :: false

2022-08-26 07:53:46 | [Mutex] waiting for: [received:nodes:0143faa2-625b-4a3c-bef7-5d9344018c61:localhost]

2022-08-26 07:53:46 | [Mutex] received everything.

2022-08-26 07:53:46 | [Mutex] isItemNotified: received:node:0143faa2-625b-4a3c-bef7-5d9344018c61:localhost:node-2e4bc74d-7595-423f-8003-2c1cc7d0893f:Node 2e4bc74d-7595-423f-8003-2c1cc7d0893f :: false

publishItemsToNodes 0.255s
2022-08-26 07:53:43 |

2022-08-26 07:53:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:43 | ------------------------------------

2022-08-26 07:53:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><item-id>item-78489874-8f77-4a36-943a-8bec11951440</item-id><entry><test>item-78489874-8f77-4a36-943a-8bec11951440</test></entry></data>

2022-08-26 07:53:44 | 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-78489874-8f77-4a36-943a-8bec11951440</value></item-id></result>

2022-08-26 07:53:44 | [Mutex] waiting for: [published:item:notifieditem-78489874-8f77-4a36-943a-8bec11951440:admin@test-domain.com]

2022-08-26 07:53:44 | [Mutex] received everything.

2022-08-26 07:53:44 | [Mutex] isItemNotified: published:item:notifieditem-78489874-8f77-4a36-943a-8bec11951440:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2022-08-26 07:53:44 |

2022-08-26 07:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:44 | ------------------------------------

2022-08-26 07:53:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><item-id>item-78489874-8f77-4a36-943a-8bec11951440</item-id></data>

2022-08-26 07:53:44 | 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-78489874-8f77-4a36-943a-8bec11951440</value></item-id></result>

2022-08-26 07:53:44 | [Mutex] waiting for: [retracted:item:notifieditem-78489874-8f77-4a36-943a-8bec11951440:admin@test-domain.com]

2022-08-26 07:53:44 | [Mutex] received everything.

2022-08-26 07:53:44 | [Mutex] isItemNotified: retracted:item:notifieditem-78489874-8f77-4a36-943a-8bec11951440:admin@test-domain.com :: true

retrieveItemsFromNodes 0.129s
2022-08-26 07:53:44 |

2022-08-26 07:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:44 | ------------------------------------

2022-08-26 07:53:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><item-id>item-78489874-8f77-4a36-943a-8bec11951440</item-id></data>

2022-08-26 07:53:44 | 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-2e4bc74d-7595-423f-8003-2c1cc7d0893f</value></node><item-id type="text-single" label="Item ID"><value>item-78489874-8f77-4a36-943a-8bec11951440</value></item-id><item type="text-multi" label="Item"><value><item id="item-78489874-8f77-4a36-943a-8bec11951440"><test>item-78489874-8f77-4a36-943a-8bec11951440</test></item></value></item></result>

2022-08-26 07:53:44 | [Mutex] notify: [retrieved:item:item-78489874-8f77-4a36-943a-8bec11951440:payload-matches:true:localhost]

2022-08-26 07:53:44 | [Mutex] received everything.

2022-08-26 07:53:44 | [Mutex] isItemNotified: retrieved:item:item-78489874-8f77-4a36-943a-8bec11951440:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-08-26 07:53:44 |

2022-08-26 07:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:44 | ------------------------------------

2022-08-26 07:53:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-26 07:53:44 | 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-2e4bc74d-7595-423f-8003-2c1cc7d0893f</value><value>node-5c0b2a84-bc82-4c26-996f-709329be8550</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-26 07:53:44 |

2022-08-26 07:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:44 | ------------------------------------

2022-08-26 07:53:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2e4bc74d-7595-423f-8003-2c1cc7d0893f)</node-pattern></data>

2022-08-26 07:53:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.103s
2022-08-26 07:53:42 |

2022-08-26 07:53:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:42 | ------------------------------------

2022-08-26 07:53:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-26 07:53:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2022-08-26 07:53:44 |

2022-08-26 07:53:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:53:44 | ------------------------------------

2022-08-26 07:53:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2e4bc74d-7595-423f-8003-2c1cc7d0893f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-26 07:53:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>