Generated by TestNG with ReportNG at 21:40 PST on Tuesday 09 November 2021
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.611s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-11-09 21:54:49 |

2021-11-09 21:54:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:49 | ------------------------------------

2021-11-09 21:54:49 | [Mutex] waiting for: [configured:node:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:node-9310c185-a386-4e7f-b2bb-a5df4dde7497]

2021-11-09 21:54:49 | [Mutex] received everything.

2021-11-09 21:54:49 | [Mutex] isItemNotified: configured:node:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:node-9310c185-a386-4e7f-b2bb-a5df4dde7497 :: true

2021-11-09 21:54:50 | [Mutex] waiting for: [received:nodes:d7a7b158-49e3-4491-8888-abdf76c54436:localhost]

2021-11-09 21:54:50 | [Mutex] received everything.

2021-11-09 21:54:50 | [Mutex] isItemNotified: received:node:d7a7b158-49e3-4491-8888-abdf76c54436:localhost:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f :: true

2021-11-09 21:54:50 | [Mutex] waiting for: [received:nodes:690ee1b0-78a5-4df0-ae52-6256a889ab18:localhost]

2021-11-09 21:54:50 | [Mutex] received everything.

2021-11-09 21:54:50 | [Mutex] isItemNotified: received:node:690ee1b0-78a5-4df0-ae52-6256a889ab18:localhost:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f :: false

createNodes 1.742s
2021-11-09 21:54:46 |

2021-11-09 21:54:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:46 | ------------------------------------

2021-11-09 21:54:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</title></pubsub></data>

2021-11-09 21:54:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:54:48 | [Mutex] waiting for: [received:nodes:99f21381-cffe-4f7a-8471-2e2df7f8b889:localhost]

2021-11-09 21:54:48 | [Mutex] waiting for: [received:nodes:99f21381-cffe-4f7a-8471-2e2df7f8b889:localhost]

2021-11-09 21:54:48 | [Mutex] received everything.

2021-11-09 21:54:48 | [Mutex] isItemNotified: received:node:99f21381-cffe-4f7a-8471-2e2df7f8b889:localhost:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f :: true

createSubnodes 1.034s
2021-11-09 21:54:48 |

2021-11-09 21:54:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:48 | ------------------------------------

2021-11-09 21:54:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9310c185-a386-4e7f-b2bb-a5df4dde7497</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9310c185-a386-4e7f-b2bb-a5df4dde7497</title></pubsub></data>

2021-11-09 21:54:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:54:49 | [Mutex] waiting for: [received:nodes:52dd6028-96c5-4845-8c4e-969283190bac:localhost]

2021-11-09 21:54:49 | [Mutex] received everything.

2021-11-09 21:54:49 | [Mutex] isItemNotified: received:node:52dd6028-96c5-4845-8c4e-969283190bac:localhost:node-9310c185-a386-4e7f-b2bb-a5df4dde7497:Node 9310c185-a386-4e7f-b2bb-a5df4dde7497 :: true

deleteNodes 1.021s
2021-11-09 21:54:54 |

2021-11-09 21:54:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:54 | ------------------------------------

2021-11-09 21:54:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9310c185-a386-4e7f-b2bb-a5df4dde7497</node></data>

2021-11-09 21:54:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:54:55 | [Mutex] waiting for: [received:nodes:c785d626-a6eb-4038-ac8f-fb8e71748f9f:localhost]

2021-11-09 21:54:55 | [Mutex] received everything.

2021-11-09 21:54:55 | [Mutex] isItemNotified: received:node:c785d626-a6eb-4038-ac8f-fb8e71748f9f:localhost:node-9310c185-a386-4e7f-b2bb-a5df4dde7497:Node 9310c185-a386-4e7f-b2bb-a5df4dde7497 :: false

deleteSubnodes 1.199s
2021-11-09 21:54:53 |

2021-11-09 21:54:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:53 | ------------------------------------

2021-11-09 21:54:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node></data>

2021-11-09 21:54:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:54:54 | [Mutex] waiting for: [received:nodes:0aed20c3-da18-42f1-87fa-64ec5c70f5f3:localhost]

2021-11-09 21:54:54 | [Mutex] received everything.

2021-11-09 21:54:54 | [Mutex] isItemNotified: received:node:0aed20c3-da18-42f1-87fa-64ec5c70f5f3:localhost:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f :: false

2021-11-09 21:54:54 | [Mutex] waiting for: [received:nodes:e78f6593-a485-4626-be31-794931dd1d3b:localhost]

2021-11-09 21:54:54 | [Mutex] received everything.

2021-11-09 21:54:54 | [Mutex] isItemNotified: received:node:e78f6593-a485-4626-be31-794931dd1d3b:localhost:node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f:Node bc9dc0bb-e82b-48b6-9851-0b4fc014f72f :: false

publishItemsToNodes 0.336s
2021-11-09 21:54:51 |

2021-11-09 21:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:51 | ------------------------------------

2021-11-09 21:54:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><item-id>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</item-id><entry><test>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</test></entry></data>

2021-11-09 21:54:51 | 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-3bf25227-9ea7-4ce2-bb67-215873a6d754</value></item-id></result>

2021-11-09 21:54:51 | [Mutex] waiting for: [published:item:notifieditem-3bf25227-9ea7-4ce2-bb67-215873a6d754:admin@test-domain.com]

2021-11-09 21:54:51 | [Mutex] received everything.

2021-11-09 21:54:51 | [Mutex] isItemNotified: published:item:notifieditem-3bf25227-9ea7-4ce2-bb67-215873a6d754:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-11-09 21:54:52 |

2021-11-09 21:54:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:52 | ------------------------------------

2021-11-09 21:54:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><item-id>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</item-id></data>

2021-11-09 21:54:52 | 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-3bf25227-9ea7-4ce2-bb67-215873a6d754</value></item-id></result>

2021-11-09 21:54:52 | [Mutex] received everything.

2021-11-09 21:54:52 | [Mutex] isItemNotified: retracted:item:notifieditem-3bf25227-9ea7-4ce2-bb67-215873a6d754:admin@test-domain.com :: true

retrieveItemsFromNodes 0.327s
2021-11-09 21:54:51 |

2021-11-09 21:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:51 | ------------------------------------

2021-11-09 21:54:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><item-id>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</item-id></data>

2021-11-09 21:54:52 | 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-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</value></node><item-id label="Item ID" type="text-single"><value>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</value></item-id><item label="Item" type="text-multi"><value><item id="item-3bf25227-9ea7-4ce2-bb67-215873a6d754"><test>item-3bf25227-9ea7-4ce2-bb67-215873a6d754</test></item></value></item></result>

2021-11-09 21:54:52 | [Mutex] notify: [retrieved:item:item-3bf25227-9ea7-4ce2-bb67-215873a6d754:payload-matches:true:localhost]

2021-11-09 21:54:52 | [Mutex] received everything.

2021-11-09 21:54:52 | [Mutex] isItemNotified: retrieved:item:item-3bf25227-9ea7-4ce2-bb67-215873a6d754:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-11-09 21:54:52 |

2021-11-09 21:54:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:52 | ------------------------------------

2021-11-09 21:54:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-09 21:54:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</value><value>test</value><value>node-9310c185-a386-4e7f-b2bb-a5df4dde7497</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-11-09 21:54:52 |

2021-11-09 21:54:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:52 | ------------------------------------

2021-11-09 21:54:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f)</node-pattern></data>

2021-11-09 21:54:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.150s
2021-11-09 21:54:50 |

2021-11-09 21:54:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:50 | ------------------------------------

2021-11-09 21:54:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:54:50 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.326s
2021-11-09 21:54:52 |

2021-11-09 21:54:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:54:52 | ------------------------------------

2021-11-09 21:54:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bc9dc0bb-e82b-48b6-9851-0b4fc014f72f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:54:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>