Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 20 September 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.658s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-09-20 22:34:49 |

2022-09-20 22:34:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:49 | ------------------------------------

2022-09-20 22:34:49 | [Mutex] waiting for: [configured:node:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:node-852e9a02-c690-4701-9ec7-b089c1bda9ea]

2022-09-20 22:34:49 | [Mutex] received everything.

2022-09-20 22:34:49 | [Mutex] isItemNotified: configured:node:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:node-852e9a02-c690-4701-9ec7-b089c1bda9ea :: true

2022-09-20 22:34:50 | [Mutex] waiting for: [received:nodes:e8dff47c-09d8-4c17-ba64-dc61bd540798:localhost]

2022-09-20 22:34:50 | [Mutex] received everything.

2022-09-20 22:34:50 | [Mutex] isItemNotified: received:node:e8dff47c-09d8-4c17-ba64-dc61bd540798:localhost:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd :: true

2022-09-20 22:34:50 | [Mutex] waiting for: [received:nodes:babdebeb-d302-4d4d-8ecf-79d1f19de6c7:localhost]

2022-09-20 22:34:50 | [Mutex] waiting for: [received:nodes:babdebeb-d302-4d4d-8ecf-79d1f19de6c7:localhost]

2022-09-20 22:34:50 | [Mutex] received everything.

2022-09-20 22:34:50 | [Mutex] isItemNotified: received:node:babdebeb-d302-4d4d-8ecf-79d1f19de6c7:localhost:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd :: false

createNodes 1.435s
2022-09-20 22:34:47 |

2022-09-20 22:34:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:47 | ------------------------------------

2022-09-20 22:34:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd</title></pubsub></data>

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

2022-09-20 22:34:48 | [Mutex] waiting for: [received:nodes:6e5a089b-2c0a-44e2-aad0-70e3b597d39a:localhost]

2022-09-20 22:34:48 | [Mutex] received everything.

2022-09-20 22:34:48 | [Mutex] isItemNotified: received:node:6e5a089b-2c0a-44e2-aad0-70e3b597d39a:localhost:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd :: true

createSubnodes 1.025s
2022-09-20 22:34:48 |

2022-09-20 22:34:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:48 | ------------------------------------

2022-09-20 22:34:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-852e9a02-c690-4701-9ec7-b089c1bda9ea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 852e9a02-c690-4701-9ec7-b089c1bda9ea</title></pubsub></data>

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

2022-09-20 22:34:49 | [Mutex] waiting for: [received:nodes:b1d9dbd8-c070-4600-945b-88ccb61727f8:localhost]

2022-09-20 22:34:49 | [Mutex] received everything.

2022-09-20 22:34:49 | [Mutex] isItemNotified: received:node:b1d9dbd8-c070-4600-945b-88ccb61727f8:localhost:node-852e9a02-c690-4701-9ec7-b089c1bda9ea:Node 852e9a02-c690-4701-9ec7-b089c1bda9ea :: true

deleteNodes 1.017s
2022-09-20 22:34:54 |

2022-09-20 22:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:54 | ------------------------------------

2022-09-20 22:34:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-852e9a02-c690-4701-9ec7-b089c1bda9ea</node></data>

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

2022-09-20 22:34:55 | [Mutex] waiting for: [received:nodes:85582286-9bb1-4ab7-a52d-051635cf7e59:localhost]

2022-09-20 22:34:55 | [Mutex] waiting for: [received:nodes:85582286-9bb1-4ab7-a52d-051635cf7e59:localhost]

2022-09-20 22:34:55 | [Mutex] received everything.

2022-09-20 22:34:55 | [Mutex] isItemNotified: received:node:85582286-9bb1-4ab7-a52d-051635cf7e59:localhost:node-852e9a02-c690-4701-9ec7-b089c1bda9ea:Node 852e9a02-c690-4701-9ec7-b089c1bda9ea :: false

deleteSubnodes 1.126s
2022-09-20 22:34:53 |

2022-09-20 22:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:53 | ------------------------------------

2022-09-20 22:34:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node></data>

2022-09-20 22:34:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-20 22:34:54 | [Mutex] waiting for: [received:nodes:81c5e8b9-dff7-4179-ba22-bb693e989783:localhost]

2022-09-20 22:34:54 | [Mutex] waiting for: [received:nodes:81c5e8b9-dff7-4179-ba22-bb693e989783:localhost]

2022-09-20 22:34:54 | [Mutex] waiting for: [received:nodes:81c5e8b9-dff7-4179-ba22-bb693e989783:localhost]

2022-09-20 22:34:54 | [Mutex] waiting for: [received:nodes:81c5e8b9-dff7-4179-ba22-bb693e989783:localhost]

2022-09-20 22:34:54 | [Mutex] received everything.

2022-09-20 22:34:54 | [Mutex] isItemNotified: received:node:81c5e8b9-dff7-4179-ba22-bb693e989783:localhost:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd :: false

2022-09-20 22:34:54 | [Mutex] waiting for: [received:nodes:6aa16fbe-ab88-40e0-b021-ef7fa887b2ed:localhost]

2022-09-20 22:34:54 | [Mutex] received everything.

2022-09-20 22:34:54 | [Mutex] isItemNotified: received:node:6aa16fbe-ab88-40e0-b021-ef7fa887b2ed:localhost:node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd:Node 85eacc02-92b9-4c99-ac5a-e85c2a1710dd :: false

publishItemsToNodes 0.300s
2022-09-20 22:34:51 |

2022-09-20 22:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:51 | ------------------------------------

2022-09-20 22:34:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><item-id>item-a034676a-59d2-4db0-ab67-b6f3782a4938</item-id><entry><test>item-a034676a-59d2-4db0-ab67-b6f3782a4938</test></entry></data>

2022-09-20 22:34:52 | 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-a034676a-59d2-4db0-ab67-b6f3782a4938</value></item-id></result>

2022-09-20 22:34:52 | [Mutex] waiting for: [published:item:notifieditem-a034676a-59d2-4db0-ab67-b6f3782a4938:admin@test-domain.com]

2022-09-20 22:34:52 | [Mutex] received everything.

2022-09-20 22:34:52 | [Mutex] isItemNotified: published:item:notifieditem-a034676a-59d2-4db0-ab67-b6f3782a4938:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-09-20 22:34:52 |

2022-09-20 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:52 | ------------------------------------

2022-09-20 22:34:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><item-id>item-a034676a-59d2-4db0-ab67-b6f3782a4938</item-id></data>

2022-09-20 22:34:52 | 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-a034676a-59d2-4db0-ab67-b6f3782a4938</value></item-id></result>

2022-09-20 22:34:52 | [Mutex] received everything.

2022-09-20 22:34:52 | [Mutex] isItemNotified: retracted:item:notifieditem-a034676a-59d2-4db0-ab67-b6f3782a4938:admin@test-domain.com :: true

retrieveItemsFromNodes 0.139s
2022-09-20 22:34:52 |

2022-09-20 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:52 | ------------------------------------

2022-09-20 22:34:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><item-id>item-a034676a-59d2-4db0-ab67-b6f3782a4938</item-id></data>

2022-09-20 22:34:52 | 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-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</value></node><item-id type="text-single" label="Item ID"><value>item-a034676a-59d2-4db0-ab67-b6f3782a4938</value></item-id><item type="text-multi" label="Item"><value><item id="item-a034676a-59d2-4db0-ab67-b6f3782a4938"><test>item-a034676a-59d2-4db0-ab67-b6f3782a4938</test></item></value></item></result>

2022-09-20 22:34:52 | [Mutex] notify: [retrieved:item:item-a034676a-59d2-4db0-ab67-b6f3782a4938:payload-matches:true:localhost]

2022-09-20 22:34:52 | [Mutex] received everything.

2022-09-20 22:34:52 | [Mutex] isItemNotified: retrieved:item:item-a034676a-59d2-4db0-ab67-b6f3782a4938:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-20 22:34:52 |

2022-09-20 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:52 | ------------------------------------

2022-09-20 22:34:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-20 22:34:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-852e9a02-c690-4701-9ec7-b089c1bda9ea</value><value>test</value><value>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-20 22:34:52 |

2022-09-20 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:52 | ------------------------------------

2022-09-20 22:34: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-85eacc02-92b9-4c99-ac5a-e85c2a1710dd)</node-pattern></data>

2022-09-20 22:34:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.160s
2022-09-20 22:34:50 |

2022-09-20 22:34:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:50 | ------------------------------------

2022-09-20 22:34:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 22:34: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.187s
2022-09-20 22:34:52 |

2022-09-20 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-20 22:34:52 | ------------------------------------

2022-09-20 22:34:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85eacc02-92b9-4c99-ac5a-e85c2a1710dd</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-20 22:34:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>