Generated by TestNG with ReportNG at 22:47 PDT on Tuesday 16 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.477s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2022-08-16 23:01:43 |

2022-08-16 23:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:43 | ------------------------------------

2022-08-16 23:01:43 | [Mutex] waiting for: [configured:node:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:node-f69a90e0-6b5f-4533-ad23-d124e1b5e265]

2022-08-16 23:01:43 | [Mutex] received everything.

2022-08-16 23:01:43 | [Mutex] isItemNotified: configured:node:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:node-f69a90e0-6b5f-4533-ad23-d124e1b5e265 :: true

2022-08-16 23:01:44 | [Mutex] waiting for: [received:nodes:c689cf4d-cbe5-4505-b2ad-6db024a619df:localhost]

2022-08-16 23:01:44 | [Mutex] received everything.

2022-08-16 23:01:44 | [Mutex] isItemNotified: received:node:c689cf4d-cbe5-4505-b2ad-6db024a619df:localhost:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24 :: true

2022-08-16 23:01:44 | [Mutex] waiting for: [received:nodes:a3f2b362-4ac4-4a96-879b-172758ecf112:localhost]

2022-08-16 23:01:44 | [Mutex] received everything.

2022-08-16 23:01:44 | [Mutex] isItemNotified: received:node:a3f2b362-4ac4-4a96-879b-172758ecf112:localhost:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24 :: false

createNodes 1.423s
2022-08-16 23:01:41 |

2022-08-16 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:41 | ------------------------------------

2022-08-16 23:01:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24</title></pubsub></data>

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

2022-08-16 23:01:42 | [Mutex] waiting for: [received:nodes:6a07a06e-2eaf-41a4-af7e-c7e50d1d1e57:localhost]

2022-08-16 23:01:42 | [Mutex] received everything.

2022-08-16 23:01:42 | [Mutex] isItemNotified: received:node:6a07a06e-2eaf-41a4-af7e-c7e50d1d1e57:localhost:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24 :: true

createSubnodes 1.026s
2022-08-16 23:01:42 |

2022-08-16 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:42 | ------------------------------------

2022-08-16 23:01:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f69a90e0-6b5f-4533-ad23-d124e1b5e265</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f69a90e0-6b5f-4533-ad23-d124e1b5e265</title></pubsub></data>

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

2022-08-16 23:01:43 | [Mutex] waiting for: [received:nodes:53a868b6-0b5c-4729-b3e6-3030e923d720:localhost]

2022-08-16 23:01:43 | [Mutex] waiting for: [received:nodes:53a868b6-0b5c-4729-b3e6-3030e923d720:localhost]

2022-08-16 23:01:43 | [Mutex] received everything.

2022-08-16 23:01:43 | [Mutex] isItemNotified: received:node:53a868b6-0b5c-4729-b3e6-3030e923d720:localhost:node-f69a90e0-6b5f-4533-ad23-d124e1b5e265:Node f69a90e0-6b5f-4533-ad23-d124e1b5e265 :: true

deleteNodes 1.016s
2022-08-16 23:01:49 |

2022-08-16 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:49 | ------------------------------------

2022-08-16 23:01:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f69a90e0-6b5f-4533-ad23-d124e1b5e265</node></data>

2022-08-16 23:01:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-16 23:01:50 | [Mutex] waiting for: [received:nodes:dd98b3db-5e52-48d8-b38d-758babdc3895:localhost]

2022-08-16 23:01:50 | [Mutex] waiting for: [received:nodes:dd98b3db-5e52-48d8-b38d-758babdc3895:localhost]

2022-08-16 23:01:50 | [Mutex] received everything.

2022-08-16 23:01:50 | [Mutex] isItemNotified: received:node:dd98b3db-5e52-48d8-b38d-758babdc3895:localhost:node-f69a90e0-6b5f-4533-ad23-d124e1b5e265:Node f69a90e0-6b5f-4533-ad23-d124e1b5e265 :: false

deleteSubnodes 1.161s
2022-08-16 23:01:48 |

2022-08-16 23:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:48 | ------------------------------------

2022-08-16 23:01:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node></data>

2022-08-16 23:01:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-16 23:01:49 | [Mutex] waiting for: [received:nodes:836f3f8a-8f45-44a3-a345-56e50012cea8:localhost]

2022-08-16 23:01:49 | [Mutex] waiting for: [received:nodes:836f3f8a-8f45-44a3-a345-56e50012cea8:localhost]

2022-08-16 23:01:49 | [Mutex] waiting for: [received:nodes:836f3f8a-8f45-44a3-a345-56e50012cea8:localhost]

2022-08-16 23:01:49 | [Mutex] waiting for: [received:nodes:836f3f8a-8f45-44a3-a345-56e50012cea8:localhost]

2022-08-16 23:01:49 | [Mutex] received everything.

2022-08-16 23:01:49 | [Mutex] isItemNotified: received:node:836f3f8a-8f45-44a3-a345-56e50012cea8:localhost:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24 :: false

2022-08-16 23:01:49 | [Mutex] waiting for: [received:nodes:3000177f-c0dc-4ea6-84ec-3567e6d75337:localhost]

2022-08-16 23:01:49 | [Mutex] received everything.

2022-08-16 23:01:49 | [Mutex] isItemNotified: received:node:3000177f-c0dc-4ea6-84ec-3567e6d75337:localhost:node-76e36c25-82d5-46fe-8fdf-370e7f3fee24:Node 76e36c25-82d5-46fe-8fdf-370e7f3fee24 :: false

publishItemsToNodes 0.218s
2022-08-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><item-id>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</item-id><entry><test>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</test></entry></data>

2022-08-16 23:01:46 | 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-5352b784-0d03-4e8c-aa1b-9a4bb992597a</value></item-id></result>

2022-08-16 23:01:46 | [Mutex] waiting for: [published:item:notifieditem-5352b784-0d03-4e8c-aa1b-9a4bb992597a:admin@test-domain.com]

2022-08-16 23:01:46 | [Mutex] received everything.

2022-08-16 23:01:46 | [Mutex] isItemNotified: published:item:notifieditem-5352b784-0d03-4e8c-aa1b-9a4bb992597a:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2022-08-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><item-id>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</item-id></data>

2022-08-16 23:01:46 | 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-5352b784-0d03-4e8c-aa1b-9a4bb992597a</value></item-id></result>

2022-08-16 23:01:46 | [Mutex] received everything.

2022-08-16 23:01:46 | [Mutex] isItemNotified: retracted:item:notifieditem-5352b784-0d03-4e8c-aa1b-9a4bb992597a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.188s
2022-08-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><item-id>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</item-id></data>

2022-08-16 23:01:46 | 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-76e36c25-82d5-46fe-8fdf-370e7f3fee24</value></node><item-id type="text-single" label="Item ID"><value>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</value></item-id><item type="text-multi" label="Item"><value><item id="item-5352b784-0d03-4e8c-aa1b-9a4bb992597a"><test>item-5352b784-0d03-4e8c-aa1b-9a4bb992597a</test></item></value></item></result>

2022-08-16 23:01:46 | [Mutex] notify: [retrieved:item:item-5352b784-0d03-4e8c-aa1b-9a4bb992597a:payload-matches:true:localhost]

2022-08-16 23:01:46 | [Mutex] received everything.

2022-08-16 23:01:46 | [Mutex] isItemNotified: retrieved:item:item-5352b784-0d03-4e8c-aa1b-9a4bb992597a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-08-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-16 23:01:46 | 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-f69a90e0-6b5f-4533-ad23-d124e1b5e265</value><value>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-76e36c25-82d5-46fe-8fdf-370e7f3fee24)</node-pattern></data>

2022-08-16 23:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.100s
2022-08-16 23:01:44 |

2022-08-16 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:44 | ------------------------------------

2022-08-16 23:01:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-16 23:01:45 | 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-16 23:01:46 |

2022-08-16 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 23:01:46 | ------------------------------------

2022-08-16 23:01:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-76e36c25-82d5-46fe-8fdf-370e7f3fee24</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-16 23:01:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>