Generated by TestNG with ReportNG at 22:46 PDT on Friday 22 July 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.492s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.078s
2022-07-22 23:00:25 |

2022-07-22 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:25 | ------------------------------------

2022-07-22 23:00:25 | [Mutex] waiting for: [configured:node:node-928d39db-7761-456d-8b12-776979f8ddc2:node-a566c58e-57ff-487c-aea8-8a6a0a8099cf]

2022-07-22 23:00:25 | [Mutex] received everything.

2022-07-22 23:00:25 | [Mutex] isItemNotified: configured:node:node-928d39db-7761-456d-8b12-776979f8ddc2:node-a566c58e-57ff-487c-aea8-8a6a0a8099cf :: true

2022-07-22 23:00:26 | [Mutex] waiting for: [received:nodes:5afde63c-2eef-4b7f-b68e-abaeb09ec46f:localhost]

2022-07-22 23:00:26 | [Mutex] received everything.

2022-07-22 23:00:26 | [Mutex] isItemNotified: received:node:5afde63c-2eef-4b7f-b68e-abaeb09ec46f:localhost:node-928d39db-7761-456d-8b12-776979f8ddc2:Node 928d39db-7761-456d-8b12-776979f8ddc2 :: true

2022-07-22 23:00:26 | [Mutex] waiting for: [received:nodes:38106551-84ae-44a0-ae83-5cb1382f81e6:localhost]

2022-07-22 23:00:26 | [Mutex] received everything.

2022-07-22 23:00:26 | [Mutex] isItemNotified: received:node:38106551-84ae-44a0-ae83-5cb1382f81e6:localhost:node-928d39db-7761-456d-8b12-776979f8ddc2:Node 928d39db-7761-456d-8b12-776979f8ddc2 :: false

createNodes 1.412s
2022-07-22 23:00:22 |

2022-07-22 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:22 | ------------------------------------

2022-07-22 23:00:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 928d39db-7761-456d-8b12-776979f8ddc2</title></pubsub></data>

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

2022-07-22 23:00:24 | [Mutex] waiting for: [received:nodes:edfc4d9b-0381-4fc1-a70c-3f05c5cc75ac:localhost]

2022-07-22 23:00:24 | [Mutex] received everything.

2022-07-22 23:00:24 | [Mutex] isItemNotified: received:node:edfc4d9b-0381-4fc1-a70c-3f05c5cc75ac:localhost:node-928d39db-7761-456d-8b12-776979f8ddc2:Node 928d39db-7761-456d-8b12-776979f8ddc2 :: true

createSubnodes 1.023s
2022-07-22 23:00:24 |

2022-07-22 23:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:24 | ------------------------------------

2022-07-22 23:00:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a566c58e-57ff-487c-aea8-8a6a0a8099cf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a566c58e-57ff-487c-aea8-8a6a0a8099cf</title></pubsub></data>

2022-07-22 23:00:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-22 23:00:25 | [Mutex] waiting for: [received:nodes:6cd218de-ff2a-4810-8c03-71adfdcea6e2:localhost]

2022-07-22 23:00:25 | [Mutex] waiting for: [received:nodes:6cd218de-ff2a-4810-8c03-71adfdcea6e2:localhost]

2022-07-22 23:00:25 | [Mutex] received everything.

2022-07-22 23:00:25 | [Mutex] isItemNotified: received:node:6cd218de-ff2a-4810-8c03-71adfdcea6e2:localhost:node-a566c58e-57ff-487c-aea8-8a6a0a8099cf:Node a566c58e-57ff-487c-aea8-8a6a0a8099cf :: true

deleteNodes 1.016s
2022-07-22 23:00:30 |

2022-07-22 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:30 | ------------------------------------

2022-07-22 23:00:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a566c58e-57ff-487c-aea8-8a6a0a8099cf</node></data>

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

2022-07-22 23:00:31 | [Mutex] waiting for: [received:nodes:25fd7943-b113-4907-a005-888a11f75b45:localhost]

2022-07-22 23:00:31 | [Mutex] waiting for: [received:nodes:25fd7943-b113-4907-a005-888a11f75b45:localhost]

2022-07-22 23:00:31 | [Mutex] received everything.

2022-07-22 23:00:31 | [Mutex] isItemNotified: received:node:25fd7943-b113-4907-a005-888a11f75b45:localhost:node-a566c58e-57ff-487c-aea8-8a6a0a8099cf:Node a566c58e-57ff-487c-aea8-8a6a0a8099cf :: false

deleteSubnodes 1.126s
2022-07-22 23:00:29 |

2022-07-22 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:29 | ------------------------------------

2022-07-22 23:00:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node></data>

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

2022-07-22 23:00:30 | [Mutex] waiting for: [received:nodes:f085448b-e060-4839-b171-23fff5b515a4:localhost]

2022-07-22 23:00:30 | [Mutex] waiting for: [received:nodes:f085448b-e060-4839-b171-23fff5b515a4:localhost]

2022-07-22 23:00:30 | [Mutex] received everything.

2022-07-22 23:00:30 | [Mutex] isItemNotified: received:node:f085448b-e060-4839-b171-23fff5b515a4:localhost:node-928d39db-7761-456d-8b12-776979f8ddc2:Node 928d39db-7761-456d-8b12-776979f8ddc2 :: false

2022-07-22 23:00:30 | [Mutex] waiting for: [received:nodes:cada23b9-21e9-4e12-8037-87ae9616bf0c:localhost]

2022-07-22 23:00:30 | [Mutex] received everything.

2022-07-22 23:00:30 | [Mutex] isItemNotified: received:node:cada23b9-21e9-4e12-8037-87ae9616bf0c:localhost:node-928d39db-7761-456d-8b12-776979f8ddc2:Node 928d39db-7761-456d-8b12-776979f8ddc2 :: false

publishItemsToNodes 0.241s
2022-07-22 23:00:27 |

2022-07-22 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:27 | ------------------------------------

2022-07-22 23:00:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><item-id>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</item-id><entry><test>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</test></entry></data>

2022-07-22 23:00:27 | 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-93e20c3a-f6da-4ce9-86e1-250a0967b160</value></item-id></result>

2022-07-22 23:00:27 | [Mutex] waiting for: [published:item:notifieditem-93e20c3a-f6da-4ce9-86e1-250a0967b160:admin@test-domain.com]

2022-07-22 23:00:27 | [Mutex] received everything.

2022-07-22 23:00:27 | [Mutex] isItemNotified: published:item:notifieditem-93e20c3a-f6da-4ce9-86e1-250a0967b160:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-07-22 23:00:27 |

2022-07-22 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:27 | ------------------------------------

2022-07-22 23:00:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><item-id>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</item-id></data>

2022-07-22 23:00:28 | 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-93e20c3a-f6da-4ce9-86e1-250a0967b160</value></item-id></result>

2022-07-22 23:00:28 | [Mutex] received everything.

2022-07-22 23:00:28 | [Mutex] isItemNotified: retracted:item:notifieditem-93e20c3a-f6da-4ce9-86e1-250a0967b160:admin@test-domain.com :: true

retrieveItemsFromNodes 0.211s
2022-07-22 23:00:27 |

2022-07-22 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:27 | ------------------------------------

2022-07-22 23:00:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><item-id>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</item-id></data>

2022-07-22 23:00:27 | 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-928d39db-7761-456d-8b12-776979f8ddc2</value></node><item-id type="text-single" label="Item ID"><value>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</value></item-id><item type="text-multi" label="Item"><value><item id="item-93e20c3a-f6da-4ce9-86e1-250a0967b160"><test>item-93e20c3a-f6da-4ce9-86e1-250a0967b160</test></item></value></item></result>

2022-07-22 23:00:27 | [Mutex] notify: [retrieved:item:item-93e20c3a-f6da-4ce9-86e1-250a0967b160:payload-matches:true:localhost]

2022-07-22 23:00:27 | [Mutex] received everything.

2022-07-22 23:00:27 | [Mutex] isItemNotified: retrieved:item:item-93e20c3a-f6da-4ce9-86e1-250a0967b160:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-07-22 23:00:27 |

2022-07-22 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:27 | ------------------------------------

2022-07-22 23:00:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-22 23:00:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-928d39db-7761-456d-8b12-776979f8ddc2</value><value>test</value><value>node-a566c58e-57ff-487c-aea8-8a6a0a8099cf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-22 23:00:27 |

2022-07-22 23:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:27 | ------------------------------------

2022-07-22 23:00:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-928d39db-7761-456d-8b12-776979f8ddc2)</node-pattern></data>

2022-07-22 23:00:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.159s
2022-07-22 23:00:26 |

2022-07-22 23:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:26 | ------------------------------------

2022-07-22 23:00:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.123s
2022-07-22 23:00:28 |

2022-07-22 23:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-22 23:00:28 | ------------------------------------

2022-07-22 23:00:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-928d39db-7761-456d-8b12-776979f8ddc2</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-22 23:00:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>