Generated by TestNG with ReportNG at 21:43 PST on Thursday 21 January 2021
root@87f6aca6b6f2 / 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.571s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.131s
2021-01-21 21:57:35 |

2021-01-21 21:57:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:35 | ------------------------------------

2021-01-21 21:57:35 | [Mutex] waiting for: [configured:node:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14]

2021-01-21 21:57:35 | [Mutex] received everything.

2021-01-21 21:57:35 | [Mutex] isItemNotified: configured:node:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14 :: true

2021-01-21 21:57:36 | [Mutex] waiting for: [received:nodes:e263ea09-f6cc-48a6-b3e3-fc2d74f6f329:localhost]

2021-01-21 21:57:36 | [Mutex] received everything.

2021-01-21 21:57:36 | [Mutex] isItemNotified: received:node:e263ea09-f6cc-48a6-b3e3-fc2d74f6f329:localhost:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:Node ee955a7c-aa9e-4b96-9fa8-822b13f17835 :: true

2021-01-21 21:57:36 | [Mutex] waiting for: [received:nodes:35945c43-627a-48f9-9ec3-ad112ebc4176:localhost]

2021-01-21 21:57:36 | [Mutex] waiting for: [received:nodes:35945c43-627a-48f9-9ec3-ad112ebc4176:localhost]

2021-01-21 21:57:36 | [Mutex] waiting for: [received:nodes:35945c43-627a-48f9-9ec3-ad112ebc4176:localhost]

2021-01-21 21:57:36 | [Mutex] received everything.

2021-01-21 21:57:36 | [Mutex] isItemNotified: received:node:35945c43-627a-48f9-9ec3-ad112ebc4176:localhost:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:Node ee955a7c-aa9e-4b96-9fa8-822b13f17835 :: false

createNodes 1.472s
2021-01-21 21:57:33 |

2021-01-21 21:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:33 | ------------------------------------

2021-01-21 21:57:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee955a7c-aa9e-4b96-9fa8-822b13f17835</title></pubsub></data>

2021-01-21 21:57:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-21 21:57:34 | [Mutex] waiting for: [received:nodes:ba29fb67-16ce-4195-bc08-fee68d133d1e:localhost]

2021-01-21 21:57:34 | [Mutex] received everything.

2021-01-21 21:57:34 | [Mutex] isItemNotified: received:node:ba29fb67-16ce-4195-bc08-fee68d133d1e:localhost:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:Node ee955a7c-aa9e-4b96-9fa8-822b13f17835 :: true

createSubnodes 1.029s
2021-01-21 21:57:34 |

2021-01-21 21:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:34 | ------------------------------------

2021-01-21 21:57:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62bfcd26-cac7-4a56-aeaa-58d8c4500a14</title></pubsub></data>

2021-01-21 21:57:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-21 21:57:35 | [Mutex] waiting for: [received:nodes:d6b40b1a-5c02-4f46-9a78-022d12891bfb:localhost]

2021-01-21 21:57:35 | [Mutex] received everything.

2021-01-21 21:57:35 | [Mutex] isItemNotified: received:node:d6b40b1a-5c02-4f46-9a78-022d12891bfb:localhost:node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14:Node 62bfcd26-cac7-4a56-aeaa-58d8c4500a14 :: true

deleteNodes 1.031s
2021-01-21 21:57:41 |

2021-01-21 21:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:41 | ------------------------------------

2021-01-21 21:57:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14</node></data>

2021-01-21 21:57:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-21 21:57:42 | [Mutex] waiting for: [received:nodes:78b57ec3-bcbe-4d7d-bdc7-f10af0b1e4f9:localhost]

2021-01-21 21:57:42 | [Mutex] waiting for: [received:nodes:78b57ec3-bcbe-4d7d-bdc7-f10af0b1e4f9:localhost]

2021-01-21 21:57:42 | [Mutex] received everything.

2021-01-21 21:57:42 | [Mutex] isItemNotified: received:node:78b57ec3-bcbe-4d7d-bdc7-f10af0b1e4f9:localhost:node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14:Node 62bfcd26-cac7-4a56-aeaa-58d8c4500a14 :: false

deleteSubnodes 1.141s
2021-01-21 21:57:40 |

2021-01-21 21:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:40 | ------------------------------------

2021-01-21 21:57:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node></data>

2021-01-21 21:57:40 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-21 21:57:41 | [Mutex] waiting for: [received:nodes:d3553bfd-c916-4a1d-b59e-275e16611513:localhost]

2021-01-21 21:57:41 | [Mutex] received everything.

2021-01-21 21:57:41 | [Mutex] isItemNotified: received:node:d3553bfd-c916-4a1d-b59e-275e16611513:localhost:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:Node ee955a7c-aa9e-4b96-9fa8-822b13f17835 :: false

2021-01-21 21:57:41 | [Mutex] waiting for: [received:nodes:9bc8cc28-9e70-42e3-9bbe-e6ea0dd8455e:localhost]

2021-01-21 21:57:41 | [Mutex] received everything.

2021-01-21 21:57:41 | [Mutex] isItemNotified: received:node:9bc8cc28-9e70-42e3-9bbe-e6ea0dd8455e:localhost:node-ee955a7c-aa9e-4b96-9fa8-822b13f17835:Node ee955a7c-aa9e-4b96-9fa8-822b13f17835 :: false

publishItemsToNodes 0.295s
2021-01-21 21:57:37 |

2021-01-21 21:57:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:37 | ------------------------------------

2021-01-21 21:57:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><item-id>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</item-id><entry><test>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</test></entry></data>

2021-01-21 21:57:38 | 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-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</value></item-id></result>

2021-01-21 21:57:38 | [Mutex] waiting for: [published:item:notifieditem-947a2a18-1af4-411f-a1be-8aeb7b5a62e4:admin@test-domain.com]

2021-01-21 21:57:38 | [Mutex] received everything.

2021-01-21 21:57:38 | [Mutex] isItemNotified: published:item:notifieditem-947a2a18-1af4-411f-a1be-8aeb7b5a62e4:admin@test-domain.com :: true

retractItemsFromNodes 0.370s
2021-01-21 21:57:38 |

2021-01-21 21:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:38 | ------------------------------------

2021-01-21 21:57:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><item-id>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</item-id></data>

2021-01-21 21:57:38 | 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-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</value></item-id></result>

2021-01-21 21:57:38 | [Mutex] received everything.

2021-01-21 21:57:38 | [Mutex] isItemNotified: retracted:item:notifieditem-947a2a18-1af4-411f-a1be-8aeb7b5a62e4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.348s
2021-01-21 21:57:38 |

2021-01-21 21:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:38 | ------------------------------------

2021-01-21 21:57:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><item-id>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</item-id></data>

2021-01-21 21:57:38 | 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-ee955a7c-aa9e-4b96-9fa8-822b13f17835</value></node><item-id label="Item ID" type="text-single"><value>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</value></item-id><item label="Item" type="text-multi"><value><item id="item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4"><test>item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4</test></item></value></item></result>

2021-01-21 21:57:38 | [Mutex] notify: [retrieved:item:item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4:payload-matches:true:localhost]

2021-01-21 21:57:38 | [Mutex] received everything.

2021-01-21 21:57:38 | [Mutex] isItemNotified: retrieved:item:item-947a2a18-1af4-411f-a1be-8aeb7b5a62e4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-01-21 21:57:38 |

2021-01-21 21:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:38 | ------------------------------------

2021-01-21 21:57:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-21 21:57:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</value><value>test</value><value>node-62bfcd26-cac7-4a56-aeaa-58d8c4500a14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-21 21:57:38 |

2021-01-21 21:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:38 | ------------------------------------

2021-01-21 21:57:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee955a7c-aa9e-4b96-9fa8-822b13f17835)</node-pattern></data>

2021-01-21 21:57:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.174s
2021-01-21 21:57:36 |

2021-01-21 21:57:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:36 | ------------------------------------

2021-01-21 21:57:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-21 21:57:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.431s
2021-01-21 21:57:38 |

2021-01-21 21:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-21 21:57:38 | ------------------------------------

2021-01-21 21:57:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee955a7c-aa9e-4b96-9fa8-822b13f17835</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-21 21:57:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>