Generated by TestNG with ReportNG at 10:06 PDT on Tuesday 24 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.536s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-05-24 10:20:53 |

2022-05-24 10:20:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:53 | ------------------------------------

2022-05-24 10:20:53 | [Mutex] waiting for: [configured:node:node-c5183a7d-e79d-4450-b98f-6778d60a0692:node-8a061fab-5d6f-41dc-bd7c-98c6022a0228]

2022-05-24 10:20:53 | [Mutex] received everything.

2022-05-24 10:20:53 | [Mutex] isItemNotified: configured:node:node-c5183a7d-e79d-4450-b98f-6778d60a0692:node-8a061fab-5d6f-41dc-bd7c-98c6022a0228 :: true

2022-05-24 10:20:54 | [Mutex] waiting for: [received:nodes:816580a6-2867-43e6-be2a-b16455e5d687:localhost]

2022-05-24 10:20:54 | [Mutex] received everything.

2022-05-24 10:20:54 | [Mutex] isItemNotified: received:node:816580a6-2867-43e6-be2a-b16455e5d687:localhost:node-c5183a7d-e79d-4450-b98f-6778d60a0692:Node c5183a7d-e79d-4450-b98f-6778d60a0692 :: true

2022-05-24 10:20:54 | [Mutex] waiting for: [received:nodes:270143de-071b-45e2-bc58-0de036e115fc:localhost]

2022-05-24 10:20:54 | [Mutex] received everything.

2022-05-24 10:20:54 | [Mutex] isItemNotified: received:node:270143de-071b-45e2-bc58-0de036e115fc:localhost:node-c5183a7d-e79d-4450-b98f-6778d60a0692:Node c5183a7d-e79d-4450-b98f-6778d60a0692 :: false

createNodes 1.480s
2022-05-24 10:20:51 |

2022-05-24 10:20:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:51 | ------------------------------------

2022-05-24 10:20:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c5183a7d-e79d-4450-b98f-6778d60a0692</title></pubsub></data>

2022-05-24 10:20:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 10:20:52 | [Mutex] waiting for: [received:nodes:255de000-57ec-49ea-94c9-d36bf67b8408:localhost]

2022-05-24 10:20:52 | [Mutex] received everything.

2022-05-24 10:20:52 | [Mutex] isItemNotified: received:node:255de000-57ec-49ea-94c9-d36bf67b8408:localhost:node-c5183a7d-e79d-4450-b98f-6778d60a0692:Node c5183a7d-e79d-4450-b98f-6778d60a0692 :: true

createSubnodes 1.024s
2022-05-24 10:20:52 |

2022-05-24 10:20:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:52 | ------------------------------------

2022-05-24 10:20:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8a061fab-5d6f-41dc-bd7c-98c6022a0228</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a061fab-5d6f-41dc-bd7c-98c6022a0228</title></pubsub></data>

2022-05-24 10:20:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 10:20:53 | [Mutex] waiting for: [received:nodes:4f85eee1-ea01-4d09-b8d4-a69ca5a1969f:localhost]

2022-05-24 10:20:53 | [Mutex] waiting for: [received:nodes:4f85eee1-ea01-4d09-b8d4-a69ca5a1969f:localhost]

2022-05-24 10:20:53 | [Mutex] waiting for: [received:nodes:4f85eee1-ea01-4d09-b8d4-a69ca5a1969f:localhost]

2022-05-24 10:20:53 | [Mutex] received everything.

2022-05-24 10:20:53 | [Mutex] isItemNotified: received:node:4f85eee1-ea01-4d09-b8d4-a69ca5a1969f:localhost:node-8a061fab-5d6f-41dc-bd7c-98c6022a0228:Node 8a061fab-5d6f-41dc-bd7c-98c6022a0228 :: true

deleteNodes 1.022s
2022-05-24 10:20:58 |

2022-05-24 10:20:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:58 | ------------------------------------

2022-05-24 10:20:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8a061fab-5d6f-41dc-bd7c-98c6022a0228</node></data>

2022-05-24 10:20:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 10:20:59 | [Mutex] waiting for: [received:nodes:cfeb4d3b-7b04-48ed-83ad-2dc2be8a0405:localhost]

2022-05-24 10:21:00 | [Mutex] received everything.

2022-05-24 10:21:00 | [Mutex] isItemNotified: received:node:cfeb4d3b-7b04-48ed-83ad-2dc2be8a0405:localhost:node-8a061fab-5d6f-41dc-bd7c-98c6022a0228:Node 8a061fab-5d6f-41dc-bd7c-98c6022a0228 :: false

deleteSubnodes 1.123s
2022-05-24 10:20:57 |

2022-05-24 10:20:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:57 | ------------------------------------

2022-05-24 10:20:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node></data>

2022-05-24 10:20:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 10:20:58 | [Mutex] waiting for: [received:nodes:f2a7c635-db9e-43cb-89ae-9ccdc0044c37:localhost]

2022-05-24 10:20:58 | [Mutex] received everything.

2022-05-24 10:20:58 | [Mutex] isItemNotified: received:node:f2a7c635-db9e-43cb-89ae-9ccdc0044c37:localhost:node-c5183a7d-e79d-4450-b98f-6778d60a0692:Node c5183a7d-e79d-4450-b98f-6778d60a0692 :: false

2022-05-24 10:20:58 | [Mutex] waiting for: [received:nodes:1dc73279-9332-42ad-8b9d-a6de7aaccb0d:localhost]

2022-05-24 10:20:58 | [Mutex] received everything.

2022-05-24 10:20:58 | [Mutex] isItemNotified: received:node:1dc73279-9332-42ad-8b9d-a6de7aaccb0d:localhost:node-c5183a7d-e79d-4450-b98f-6778d60a0692:Node c5183a7d-e79d-4450-b98f-6778d60a0692 :: false

publishItemsToNodes 0.174s
2022-05-24 10:20:55 |

2022-05-24 10:20:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:55 | ------------------------------------

2022-05-24 10:20:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><item-id>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</item-id><entry><test>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</test></entry></data>

2022-05-24 10:20:55 | 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-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</value></item-id></result>

2022-05-24 10:20:55 | [Mutex] waiting for: [published:item:notifieditem-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89:admin@test-domain.com]

2022-05-24 10:20:56 | [Mutex] received everything.

2022-05-24 10:20:56 | [Mutex] isItemNotified: published:item:notifieditem-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-05-24 10:20:56 |

2022-05-24 10:20:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:56 | ------------------------------------

2022-05-24 10:20:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><item-id>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</item-id></data>

2022-05-24 10:20:56 | 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-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</value></item-id></result>

2022-05-24 10:20:56 | [Mutex] received everything.

2022-05-24 10:20:56 | [Mutex] isItemNotified: retracted:item:notifieditem-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89:admin@test-domain.com :: true

retrieveItemsFromNodes 0.315s
2022-05-24 10:20:56 |

2022-05-24 10:20:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:56 | ------------------------------------

2022-05-24 10:20:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><item-id>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</item-id></data>

2022-05-24 10:20:56 | 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-c5183a7d-e79d-4450-b98f-6778d60a0692</value></node><item-id label="Item ID" type="text-single"><value>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</value></item-id><item label="Item" type="text-multi"><value><item id="item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89"><test>item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89</test></item></value></item></result>

2022-05-24 10:20:56 | [Mutex] notify: [retrieved:item:item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89:payload-matches:true:localhost]

2022-05-24 10:20:56 | [Mutex] received everything.

2022-05-24 10:20:56 | [Mutex] isItemNotified: retrieved:item:item-949b5c6b-5f13-4c2b-8d69-6a589dfe1b89:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-24 10:20:56 |

2022-05-24 10:20:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:56 | ------------------------------------

2022-05-24 10:20:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-24 10:20:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c5183a7d-e79d-4450-b98f-6778d60a0692</value><value>test</value><value>node-8a061fab-5d6f-41dc-bd7c-98c6022a0228</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-05-24 10:20:56 |

2022-05-24 10:20:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:56 | ------------------------------------

2022-05-24 10:20:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c5183a7d-e79d-4450-b98f-6778d60a0692)</node-pattern></data>

2022-05-24 10:20:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.099s
2022-05-24 10:20:54 |

2022-05-24 10:20:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:54 | ------------------------------------

2022-05-24 10:20:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 10:20:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2022-05-24 10:20:56 |

2022-05-24 10:20:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 10:20:56 | ------------------------------------

2022-05-24 10:20:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c5183a7d-e79d-4450-b98f-6778d60a0692</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 10:20:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>