Generated by TestNG with ReportNG at 04:08 PST on Thursday 17 February 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.235s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-02-17 04:22:40 |

2022-02-17 04:22:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:40 | ------------------------------------

2022-02-17 04:22:40 | [Mutex] waiting for: [configured:node:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:node-f5653194-4dc0-4617-b714-14af7f5e5a7d]

2022-02-17 04:22:40 | [Mutex] received everything.

2022-02-17 04:22:40 | [Mutex] isItemNotified: configured:node:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:node-f5653194-4dc0-4617-b714-14af7f5e5a7d :: true

2022-02-17 04:22:41 | [Mutex] waiting for: [received:nodes:a4f9b0e0-e345-4150-acf7-a3b34011e26d:localhost]

2022-02-17 04:22:41 | [Mutex] received everything.

2022-02-17 04:22:41 | [Mutex] isItemNotified: received:node:a4f9b0e0-e345-4150-acf7-a3b34011e26d:localhost:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa :: true

2022-02-17 04:22:41 | [Mutex] waiting for: [received:nodes:4c05a6c5-2fde-40e2-a4e6-902ec6c77ce5:localhost]

2022-02-17 04:22:41 | [Mutex] received everything.

2022-02-17 04:22:41 | [Mutex] isItemNotified: received:node:4c05a6c5-2fde-40e2-a4e6-902ec6c77ce5:localhost:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa :: false

createNodes 1.447s
2022-02-17 04:22:38 |

2022-02-17 04:22:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:38 | ------------------------------------

2022-02-17 04:22:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa</title></pubsub></data>

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

2022-02-17 04:22:39 | [Mutex] waiting for: [received:nodes:5ee00d2b-ae1e-42b5-b91c-50f9e2c0a66b:localhost]

2022-02-17 04:22:39 | [Mutex] waiting for: [received:nodes:5ee00d2b-ae1e-42b5-b91c-50f9e2c0a66b:localhost]

2022-02-17 04:22:39 | [Mutex] waiting for: [received:nodes:5ee00d2b-ae1e-42b5-b91c-50f9e2c0a66b:localhost]

2022-02-17 04:22:39 | [Mutex] waiting for: [received:nodes:5ee00d2b-ae1e-42b5-b91c-50f9e2c0a66b:localhost]

2022-02-17 04:22:39 | [Mutex] received everything.

2022-02-17 04:22:39 | [Mutex] isItemNotified: received:node:5ee00d2b-ae1e-42b5-b91c-50f9e2c0a66b:localhost:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa :: true

createSubnodes 1.037s
2022-02-17 04:22:39 |

2022-02-17 04:22:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:39 | ------------------------------------

2022-02-17 04:22:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f5653194-4dc0-4617-b714-14af7f5e5a7d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f5653194-4dc0-4617-b714-14af7f5e5a7d</title></pubsub></data>

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

2022-02-17 04:22:40 | [Mutex] waiting for: [received:nodes:0e17ed03-f877-435b-9749-f6ca53e56c48:localhost]

2022-02-17 04:22:40 | [Mutex] received everything.

2022-02-17 04:22:40 | [Mutex] isItemNotified: received:node:0e17ed03-f877-435b-9749-f6ca53e56c48:localhost:node-f5653194-4dc0-4617-b714-14af7f5e5a7d:Node f5653194-4dc0-4617-b714-14af7f5e5a7d :: true

deleteNodes 1.023s
2022-02-17 04:22:46 |

2022-02-17 04:22:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:46 | ------------------------------------

2022-02-17 04:22:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f5653194-4dc0-4617-b714-14af7f5e5a7d</node></data>

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

2022-02-17 04:22:47 | [Mutex] waiting for: [received:nodes:677f8e73-96a4-437c-96c0-9344844115e3:localhost]

2022-02-17 04:22:47 | [Mutex] received everything.

2022-02-17 04:22:47 | [Mutex] isItemNotified: received:node:677f8e73-96a4-437c-96c0-9344844115e3:localhost:node-f5653194-4dc0-4617-b714-14af7f5e5a7d:Node f5653194-4dc0-4617-b714-14af7f5e5a7d :: false

deleteSubnodes 1.166s
2022-02-17 04:22:45 |

2022-02-17 04:22:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:45 | ------------------------------------

2022-02-17 04:22:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node></data>

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

2022-02-17 04:22:46 | [Mutex] waiting for: [received:nodes:45c93fbd-0f21-45dd-b996-a0ac192a2191:localhost]

2022-02-17 04:22:46 | [Mutex] received everything.

2022-02-17 04:22:46 | [Mutex] isItemNotified: received:node:45c93fbd-0f21-45dd-b996-a0ac192a2191:localhost:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa :: false

2022-02-17 04:22:46 | [Mutex] waiting for: [received:nodes:21ee032e-ae61-4d46-8ab4-3c2223bd21a2:localhost]

2022-02-17 04:22:46 | [Mutex] received everything.

2022-02-17 04:22:46 | [Mutex] isItemNotified: received:node:21ee032e-ae61-4d46-8ab4-3c2223bd21a2:localhost:node-486e5c95-19bd-4dfb-81db-9b0d139e77fa:Node 486e5c95-19bd-4dfb-81db-9b0d139e77fa :: false

publishItemsToNodes 0.291s
2022-02-17 04:22:42 |

2022-02-17 04:22:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:42 | ------------------------------------

2022-02-17 04:22:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><item-id>item-5290cc16-0563-4fd9-8928-0189f2887fe1</item-id><entry><test>item-5290cc16-0563-4fd9-8928-0189f2887fe1</test></entry></data>

2022-02-17 04:22:43 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5290cc16-0563-4fd9-8928-0189f2887fe1</value></item-id></result>

2022-02-17 04:22:43 | [Mutex] waiting for: [published:item:notifieditem-5290cc16-0563-4fd9-8928-0189f2887fe1:admin@test-domain.com]

2022-02-17 04:22:43 | [Mutex] received everything.

2022-02-17 04:22:43 | [Mutex] isItemNotified: published:item:notifieditem-5290cc16-0563-4fd9-8928-0189f2887fe1:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2022-02-17 04:22:43 |

2022-02-17 04:22:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:43 | ------------------------------------

2022-02-17 04:22:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><item-id>item-5290cc16-0563-4fd9-8928-0189f2887fe1</item-id></data>

2022-02-17 04:22:43 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5290cc16-0563-4fd9-8928-0189f2887fe1</value></item-id></result>

2022-02-17 04:22:43 | [Mutex] received everything.

2022-02-17 04:22:43 | [Mutex] isItemNotified: retracted:item:notifieditem-5290cc16-0563-4fd9-8928-0189f2887fe1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.304s
2022-02-17 04:22:43 |

2022-02-17 04:22:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:43 | ------------------------------------

2022-02-17 04:22:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><item-id>item-5290cc16-0563-4fd9-8928-0189f2887fe1</item-id></data>

2022-02-17 04:22:43 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</value></node><item-id label="Item ID" type="text-single"><value>item-5290cc16-0563-4fd9-8928-0189f2887fe1</value></item-id><item label="Item" type="text-multi"><value><item id="item-5290cc16-0563-4fd9-8928-0189f2887fe1"><test>item-5290cc16-0563-4fd9-8928-0189f2887fe1</test></item></value></item></result>

2022-02-17 04:22:43 | [Mutex] notify: [retrieved:item:item-5290cc16-0563-4fd9-8928-0189f2887fe1:payload-matches:true:localhost]

2022-02-17 04:22:43 | [Mutex] received everything.

2022-02-17 04:22:43 | [Mutex] isItemNotified: retrieved:item:item-5290cc16-0563-4fd9-8928-0189f2887fe1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2022-02-17 04:22:43 |

2022-02-17 04:22:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:43 | ------------------------------------

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

2022-02-17 04:22:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</value><value>test</value><value>node-f5653194-4dc0-4617-b714-14af7f5e5a7d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-17 04:22:43 |

2022-02-17 04:22:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:43 | ------------------------------------

2022-02-17 04:22:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-486e5c95-19bd-4dfb-81db-9b0d139e77fa)</node-pattern></data>

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

subscribeNodes 1.192s
2022-02-17 04:22:41 |

2022-02-17 04:22:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:41 | ------------------------------------

2022-02-17 04:22:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.299s
2022-02-17 04:22:43 |

2022-02-17 04:22:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:22:43 | ------------------------------------

2022-02-17 04:22:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-486e5c95-19bd-4dfb-81db-9b0d139e77fa</node><jids><value>admin@test-domain.com</value></jids></data>

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