Generated by TestNG with ReportNG at 23:05 PDT on Monday 20 September 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.395s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.037s
2021-09-20 23:29:31 |

2021-09-20 23:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:31 | ------------------------------------

2021-09-20 23:29:31 | [Mutex] waiting for: [configured:node:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659]

2021-09-20 23:29:31 | [Mutex] received everything.

2021-09-20 23:29:31 | [Mutex] isItemNotified: configured:node:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659 :: true

2021-09-20 23:29:32 | [Mutex] waiting for: [received:nodes:973df7d7-e1e3-4983-8bdf-6c0e9e9784e0:localhost]

2021-09-20 23:29:32 | [Mutex] waiting for: [received:nodes:973df7d7-e1e3-4983-8bdf-6c0e9e9784e0:localhost]

2021-09-20 23:29:32 | [Mutex] received everything.

2021-09-20 23:29:32 | [Mutex] isItemNotified: received:node:973df7d7-e1e3-4983-8bdf-6c0e9e9784e0:localhost:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16 :: true

2021-09-20 23:29:32 | [Mutex] waiting for: [received:nodes:7feddc27-57a2-4a2a-ae29-88fb50309b2b:localhost]

2021-09-20 23:29:32 | [Mutex] received everything.

2021-09-20 23:29:32 | [Mutex] isItemNotified: received:node:7feddc27-57a2-4a2a-ae29-88fb50309b2b:localhost:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16 :: false

createNodes 1.523s
2021-09-20 23:29:29 |

2021-09-20 23:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:29 | ------------------------------------

2021-09-20 23:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</title></pubsub></data>

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

2021-09-20 23:29:30 | [Mutex] waiting for: [received:nodes:c036a245-b1eb-470c-b55e-8f4df1ffc064:localhost]

2021-09-20 23:29:30 | [Mutex] received everything.

2021-09-20 23:29:30 | [Mutex] isItemNotified: received:node:c036a245-b1eb-470c-b55e-8f4df1ffc064:localhost:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16 :: true

createSubnodes 1.024s
2021-09-20 23:29:30 |

2021-09-20 23:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:30 | ------------------------------------

2021-09-20 23:29:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3d9ae2e4-d61c-48cf-a325-d2578fc5c659</title></pubsub></data>

2021-09-20 23:29:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-20 23:29:31 | [Mutex] waiting for: [received:nodes:ea1addcd-8427-42d7-bbcf-8366446f6a14:localhost]

2021-09-20 23:29:31 | [Mutex] waiting for: [received:nodes:ea1addcd-8427-42d7-bbcf-8366446f6a14:localhost]

2021-09-20 23:29:31 | [Mutex] waiting for: [received:nodes:ea1addcd-8427-42d7-bbcf-8366446f6a14:localhost]

2021-09-20 23:29:31 | [Mutex] received everything.

2021-09-20 23:29:31 | [Mutex] isItemNotified: received:node:ea1addcd-8427-42d7-bbcf-8366446f6a14:localhost:node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659:Node 3d9ae2e4-d61c-48cf-a325-d2578fc5c659 :: true

deleteNodes 1.023s
2021-09-20 23:29:37 |

2021-09-20 23:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:37 | ------------------------------------

2021-09-20 23:29:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659</node></data>

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

2021-09-20 23:29:38 | [Mutex] waiting for: [received:nodes:5fb74510-5c11-4ca1-8876-3eeb1c1863eb:localhost]

2021-09-20 23:29:38 | [Mutex] received everything.

2021-09-20 23:29:38 | [Mutex] isItemNotified: received:node:5fb74510-5c11-4ca1-8876-3eeb1c1863eb:localhost:node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659:Node 3d9ae2e4-d61c-48cf-a325-d2578fc5c659 :: false

deleteSubnodes 1.207s
2021-09-20 23:29:36 |

2021-09-20 23:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:36 | ------------------------------------

2021-09-20 23:29:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node></data>

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

2021-09-20 23:29:37 | [Mutex] waiting for: [received:nodes:df6782e8-a649-4437-ac19-a5fbf6cdd0ac:localhost]

2021-09-20 23:29:37 | [Mutex] waiting for: [received:nodes:df6782e8-a649-4437-ac19-a5fbf6cdd0ac:localhost]

2021-09-20 23:29:37 | [Mutex] received everything.

2021-09-20 23:29:37 | [Mutex] isItemNotified: received:node:df6782e8-a649-4437-ac19-a5fbf6cdd0ac:localhost:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16 :: false

2021-09-20 23:29:37 | [Mutex] waiting for: [received:nodes:3e0b5cd4-a96c-4ad4-9535-f3218f9e06a2:localhost]

2021-09-20 23:29:37 | [Mutex] received everything.

2021-09-20 23:29:37 | [Mutex] isItemNotified: received:node:3e0b5cd4-a96c-4ad4-9535-f3218f9e06a2:localhost:node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16:Node f7b82fe3-6fe6-4bfc-8988-afce7c8dad16 :: false

publishItemsToNodes 0.312s
2021-09-20 23:29:34 |

2021-09-20 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:34 | ------------------------------------

2021-09-20 23:29:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><item-id>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</item-id><entry><test>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</test></entry></data>

2021-09-20 23:29:34 | 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-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</value></item-id></result>

2021-09-20 23:29:34 | [Mutex] waiting for: [published:item:notifieditem-7bb5c935-37a4-4b80-bd2a-df6d63f4679a:admin@test-domain.com]

2021-09-20 23:29:34 | [Mutex] received everything.

2021-09-20 23:29:34 | [Mutex] isItemNotified: published:item:notifieditem-7bb5c935-37a4-4b80-bd2a-df6d63f4679a:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2021-09-20 23:29:34 |

2021-09-20 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:34 | ------------------------------------

2021-09-20 23:29:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><item-id>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</item-id></data>

2021-09-20 23:29:35 | 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-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</value></item-id></result>

2021-09-20 23:29:35 | [Mutex] received everything.

2021-09-20 23:29:35 | [Mutex] isItemNotified: retracted:item:notifieditem-7bb5c935-37a4-4b80-bd2a-df6d63f4679a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.332s
2021-09-20 23:29:34 |

2021-09-20 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:34 | ------------------------------------

2021-09-20 23:29:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><item-id>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</item-id></data>

2021-09-20 23:29:34 | 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-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</value></node><item-id type="text-single" label="Item ID"><value>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</value></item-id><item type="text-multi" label="Item"><value><item id="item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a"><test>item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a</test></item></value></item></result>

2021-09-20 23:29:34 | [Mutex] notify: [retrieved:item:item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a:payload-matches:true:localhost]

2021-09-20 23:29:34 | [Mutex] received everything.

2021-09-20 23:29:34 | [Mutex] isItemNotified: retrieved:item:item-7bb5c935-37a4-4b80-bd2a-df6d63f4679a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-20 23:29:34 |

2021-09-20 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:34 | ------------------------------------

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

2021-09-20 23:29:34 | 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-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</value><value>node-3d9ae2e4-d61c-48cf-a325-d2578fc5c659</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-20 23:29:34 |

2021-09-20 23:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:34 | ------------------------------------

2021-09-20 23:29:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16)</node-pattern></data>

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

subscribeNodes 1.203s
2021-09-20 23:29:32 |

2021-09-20 23:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:32 | ------------------------------------

2021-09-20 23:29:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-20 23:29:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2021-09-20 23:29:35 |

2021-09-20 23:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:29:35 | ------------------------------------

2021-09-20 23:29:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f7b82fe3-6fe6-4bfc-8988-afce7c8dad16</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-20 23:29:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>