Generated by TestNG with ReportNG at 22:18 PDT on Monday 15 August 2022
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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-08-15 22:32:54 |

2022-08-15 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:54 | ------------------------------------

2022-08-15 22:32:54 | [Mutex] waiting for: [configured:node:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:node-7a82096d-a7f3-4609-b31b-aedcfedc59ce]

2022-08-15 22:32:54 | [Mutex] received everything.

2022-08-15 22:32:54 | [Mutex] isItemNotified: configured:node:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:node-7a82096d-a7f3-4609-b31b-aedcfedc59ce :: true

2022-08-15 22:32:55 | [Mutex] waiting for: [received:nodes:134df4bb-679e-418f-8268-033e4129091f:localhost]

2022-08-15 22:32:55 | [Mutex] received everything.

2022-08-15 22:32:55 | [Mutex] isItemNotified: received:node:134df4bb-679e-418f-8268-033e4129091f:localhost:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595 :: true

2022-08-15 22:32:55 | [Mutex] waiting for: [received:nodes:36485fae-5f9e-4a2f-9986-fda7abbeada4:localhost]

2022-08-15 22:32:55 | [Mutex] received everything.

2022-08-15 22:32:55 | [Mutex] isItemNotified: received:node:36485fae-5f9e-4a2f-9986-fda7abbeada4:localhost:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595 :: false

createNodes 1.425s
2022-08-15 22:32:52 |

2022-08-15 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:52 | ------------------------------------

2022-08-15 22:32:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595</title></pubsub></data>

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

2022-08-15 22:32:53 | [Mutex] waiting for: [received:nodes:03825329-0f9f-4104-a5d0-1e378831c6a4:localhost]

2022-08-15 22:32:53 | [Mutex] waiting for: [received:nodes:03825329-0f9f-4104-a5d0-1e378831c6a4:localhost]

2022-08-15 22:32:53 | [Mutex] received everything.

2022-08-15 22:32:53 | [Mutex] isItemNotified: received:node:03825329-0f9f-4104-a5d0-1e378831c6a4:localhost:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595 :: true

createSubnodes 1.024s
2022-08-15 22:32:53 |

2022-08-15 22:32:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:53 | ------------------------------------

2022-08-15 22:32:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a82096d-a7f3-4609-b31b-aedcfedc59ce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7a82096d-a7f3-4609-b31b-aedcfedc59ce</title></pubsub></data>

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

2022-08-15 22:32:54 | [Mutex] waiting for: [received:nodes:60d3d306-5043-4ae3-8e8f-638b17fdd446:localhost]

2022-08-15 22:32:54 | [Mutex] waiting for: [received:nodes:60d3d306-5043-4ae3-8e8f-638b17fdd446:localhost]

2022-08-15 22:32:54 | [Mutex] waiting for: [received:nodes:60d3d306-5043-4ae3-8e8f-638b17fdd446:localhost]

2022-08-15 22:32:54 | [Mutex] waiting for: [received:nodes:60d3d306-5043-4ae3-8e8f-638b17fdd446:localhost]

2022-08-15 22:32:54 | [Mutex] received everything.

2022-08-15 22:32:54 | [Mutex] isItemNotified: received:node:60d3d306-5043-4ae3-8e8f-638b17fdd446:localhost:node-7a82096d-a7f3-4609-b31b-aedcfedc59ce:Node 7a82096d-a7f3-4609-b31b-aedcfedc59ce :: true

deleteNodes 1.017s
2022-08-15 22:33:00 |

2022-08-15 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:33:00 | ------------------------------------

2022-08-15 22:33:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a82096d-a7f3-4609-b31b-aedcfedc59ce</node></data>

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

2022-08-15 22:33:01 | [Mutex] waiting for: [received:nodes:8bfd15a2-d5a6-47f4-816e-9e7d54652f4c:localhost]

2022-08-15 22:33:01 | [Mutex] waiting for: [received:nodes:8bfd15a2-d5a6-47f4-816e-9e7d54652f4c:localhost]

2022-08-15 22:33:01 | [Mutex] received everything.

2022-08-15 22:33:01 | [Mutex] isItemNotified: received:node:8bfd15a2-d5a6-47f4-816e-9e7d54652f4c:localhost:node-7a82096d-a7f3-4609-b31b-aedcfedc59ce:Node 7a82096d-a7f3-4609-b31b-aedcfedc59ce :: false

deleteSubnodes 1.154s
2022-08-15 22:32:58 |

2022-08-15 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:58 | ------------------------------------

2022-08-15 22:32:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node></data>

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

2022-08-15 22:32:59 | [Mutex] waiting for: [received:nodes:ac36d599-04df-49f0-b929-b584d1a57a6a:localhost]

2022-08-15 22:32:59 | [Mutex] waiting for: [received:nodes:ac36d599-04df-49f0-b929-b584d1a57a6a:localhost]

2022-08-15 22:32:59 | [Mutex] waiting for: [received:nodes:ac36d599-04df-49f0-b929-b584d1a57a6a:localhost]

2022-08-15 22:32:59 | [Mutex] waiting for: [received:nodes:ac36d599-04df-49f0-b929-b584d1a57a6a:localhost]

2022-08-15 22:32:59 | [Mutex] received everything.

2022-08-15 22:32:59 | [Mutex] isItemNotified: received:node:ac36d599-04df-49f0-b929-b584d1a57a6a:localhost:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595 :: false

2022-08-15 22:32:59 | [Mutex] waiting for: [received:nodes:5973d271-04b4-47cb-bd5a-a4f0bf58424f:localhost]

2022-08-15 22:32:59 | [Mutex] received everything.

2022-08-15 22:32:59 | [Mutex] isItemNotified: received:node:5973d271-04b4-47cb-bd5a-a4f0bf58424f:localhost:node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595:Node c31acb3a-6a61-4ee5-88e9-66ccb1f07595 :: false

publishItemsToNodes 0.192s
2022-08-15 22:32:56 |

2022-08-15 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:56 | ------------------------------------

2022-08-15 22:32:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><item-id>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</item-id><entry><test>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</test></entry></data>

2022-08-15 22:32:56 | 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-b51377f2-23c5-4b21-b399-58e60afc6cd6</value></item-id></result>

2022-08-15 22:32:56 | [Mutex] waiting for: [published:item:notifieditem-b51377f2-23c5-4b21-b399-58e60afc6cd6:admin@test-domain.com]

2022-08-15 22:32:56 | [Mutex] received everything.

2022-08-15 22:32:56 | [Mutex] isItemNotified: published:item:notifieditem-b51377f2-23c5-4b21-b399-58e60afc6cd6:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2022-08-15 22:32:57 |

2022-08-15 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:57 | ------------------------------------

2022-08-15 22:32:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><item-id>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</item-id></data>

2022-08-15 22:32:57 | 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-b51377f2-23c5-4b21-b399-58e60afc6cd6</value></item-id></result>

2022-08-15 22:32:57 | [Mutex] received everything.

2022-08-15 22:32:57 | [Mutex] isItemNotified: retracted:item:notifieditem-b51377f2-23c5-4b21-b399-58e60afc6cd6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.285s
2022-08-15 22:32:56 |

2022-08-15 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:56 | ------------------------------------

2022-08-15 22:32:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><item-id>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</item-id></data>

2022-08-15 22:32:57 | 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-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</value></node><item-id type="text-single" label="Item ID"><value>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</value></item-id><item type="text-multi" label="Item"><value><item id="item-b51377f2-23c5-4b21-b399-58e60afc6cd6"><test>item-b51377f2-23c5-4b21-b399-58e60afc6cd6</test></item></value></item></result>

2022-08-15 22:32:57 | [Mutex] notify: [retrieved:item:item-b51377f2-23c5-4b21-b399-58e60afc6cd6:payload-matches:true:localhost]

2022-08-15 22:32:57 | [Mutex] received everything.

2022-08-15 22:32:57 | [Mutex] isItemNotified: retrieved:item:item-b51377f2-23c5-4b21-b399-58e60afc6cd6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-08-15 22:32:57 |

2022-08-15 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:57 | ------------------------------------

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

2022-08-15 22:32:57 | 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-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</value><value>node-7a82096d-a7f3-4609-b31b-aedcfedc59ce</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-15 22:32:57 |

2022-08-15 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:57 | ------------------------------------

2022-08-15 22:32:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595)</node-pattern></data>

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

subscribeNodes 1.115s
2022-08-15 22:32:55 |

2022-08-15 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:55 | ------------------------------------

2022-08-15 22:32:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-15 22:32:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.206s
2022-08-15 22:32:57 |

2022-08-15 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 22:32:57 | ------------------------------------

2022-08-15 22:32:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c31acb3a-6a61-4ee5-88e9-66ccb1f07595</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-15 22:32:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>