Generated by TestNG with ReportNG at 22:14 PDT on Monday 03 May 2021
root@785cf647a4ab / 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.305s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2021-05-03 22:29:38 |

2021-05-03 22:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:38 | ------------------------------------

2021-05-03 22:29:38 | [Mutex] waiting for: [configured:node:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:node-84bc6b3d-076b-4e0d-bccc-32a122634b3f]

2021-05-03 22:29:38 | [Mutex] received everything.

2021-05-03 22:29:38 | [Mutex] isItemNotified: configured:node:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:node-84bc6b3d-076b-4e0d-bccc-32a122634b3f :: true

2021-05-03 22:29:39 | [Mutex] waiting for: [received:nodes:e08ce23f-e839-4f33-8869-71a4333b4eb9:localhost]

2021-05-03 22:29:39 | [Mutex] received everything.

2021-05-03 22:29:39 | [Mutex] isItemNotified: received:node:e08ce23f-e839-4f33-8869-71a4333b4eb9:localhost:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2 :: true

2021-05-03 22:29:39 | [Mutex] waiting for: [received:nodes:31323361-f9d2-4a49-b2b2-835ae4759c1f:localhost]

2021-05-03 22:29:39 | [Mutex] waiting for: [received:nodes:31323361-f9d2-4a49-b2b2-835ae4759c1f:localhost]

2021-05-03 22:29:39 | [Mutex] received everything.

2021-05-03 22:29:39 | [Mutex] isItemNotified: received:node:31323361-f9d2-4a49-b2b2-835ae4759c1f:localhost:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2 :: false

createNodes 1.529s
2021-05-03 22:29:36 |

2021-05-03 22:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:36 | ------------------------------------

2021-05-03 22:29:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2</title></pubsub></data>

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

2021-05-03 22:29:37 | [Mutex] waiting for: [received:nodes:6fa4f27b-3085-4243-b17a-f0bd12143630:localhost]

2021-05-03 22:29:37 | [Mutex] waiting for: [received:nodes:6fa4f27b-3085-4243-b17a-f0bd12143630:localhost]

2021-05-03 22:29:37 | [Mutex] received everything.

2021-05-03 22:29:37 | [Mutex] isItemNotified: received:node:6fa4f27b-3085-4243-b17a-f0bd12143630:localhost:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2 :: true

createSubnodes 1.031s
2021-05-03 22:29:37 |

2021-05-03 22:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:37 | ------------------------------------

2021-05-03 22:29:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-84bc6b3d-076b-4e0d-bccc-32a122634b3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 84bc6b3d-076b-4e0d-bccc-32a122634b3f</title></pubsub></data>

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

2021-05-03 22:29:38 | [Mutex] waiting for: [received:nodes:7b293d00-a1f1-4625-ad92-89e53c5b7145:localhost]

2021-05-03 22:29:38 | [Mutex] received everything.

2021-05-03 22:29:38 | [Mutex] isItemNotified: received:node:7b293d00-a1f1-4625-ad92-89e53c5b7145:localhost:node-84bc6b3d-076b-4e0d-bccc-32a122634b3f:Node 84bc6b3d-076b-4e0d-bccc-32a122634b3f :: true

deleteNodes 1.021s
2021-05-03 22:29:44 |

2021-05-03 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:44 | ------------------------------------

2021-05-03 22:29:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-84bc6b3d-076b-4e0d-bccc-32a122634b3f</node></data>

2021-05-03 22:29:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-03 22:29:45 | [Mutex] waiting for: [received:nodes:1c6ddd15-e021-40ed-8eaa-9866c9e05e88:localhost]

2021-05-03 22:29:45 | [Mutex] received everything.

2021-05-03 22:29:45 | [Mutex] isItemNotified: received:node:1c6ddd15-e021-40ed-8eaa-9866c9e05e88:localhost:node-84bc6b3d-076b-4e0d-bccc-32a122634b3f:Node 84bc6b3d-076b-4e0d-bccc-32a122634b3f :: false

deleteSubnodes 1.186s
2021-05-03 22:29:43 |

2021-05-03 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:43 | ------------------------------------

2021-05-03 22:29:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node></data>

2021-05-03 22:29:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-03 22:29:44 | [Mutex] waiting for: [received:nodes:281f7b75-2988-4410-a382-ae60b9c65139:localhost]

2021-05-03 22:29:44 | [Mutex] received everything.

2021-05-03 22:29:44 | [Mutex] isItemNotified: received:node:281f7b75-2988-4410-a382-ae60b9c65139:localhost:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2 :: false

2021-05-03 22:29:44 | [Mutex] waiting for: [received:nodes:8f2530a7-70c4-4427-8f83-13f0bb00efbe:localhost]

2021-05-03 22:29:44 | [Mutex] received everything.

2021-05-03 22:29:44 | [Mutex] isItemNotified: received:node:8f2530a7-70c4-4427-8f83-13f0bb00efbe:localhost:node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2:Node c80faccd-6daf-4761-8a7a-20ac87c7f2b2 :: false

publishItemsToNodes 0.278s
2021-05-03 22:29:40 |

2021-05-03 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:40 | ------------------------------------

2021-05-03 22:29:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><item-id>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</item-id><entry><test>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</test></entry></data>

2021-05-03 22:29:41 | 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-0ea006ee-8577-4c16-8417-1d308c8aae5b</value></item-id></result>

2021-05-03 22:29:41 | [Mutex] received everything.

2021-05-03 22:29:41 | [Mutex] isItemNotified: published:item:notifieditem-0ea006ee-8577-4c16-8417-1d308c8aae5b:admin@test-domain.com :: true

retractItemsFromNodes 0.294s
2021-05-03 22:29:41 |

2021-05-03 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:41 | ------------------------------------

2021-05-03 22:29:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><item-id>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</item-id></data>

2021-05-03 22:29:41 | 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-0ea006ee-8577-4c16-8417-1d308c8aae5b</value></item-id></result>

2021-05-03 22:29:41 | [Mutex] waiting for: [retracted:item:notifieditem-0ea006ee-8577-4c16-8417-1d308c8aae5b:admin@test-domain.com]

2021-05-03 22:29:41 | [Mutex] received everything.

2021-05-03 22:29:41 | [Mutex] isItemNotified: retracted:item:notifieditem-0ea006ee-8577-4c16-8417-1d308c8aae5b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.287s
2021-05-03 22:29:41 |

2021-05-03 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:41 | ------------------------------------

2021-05-03 22:29:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><item-id>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</item-id></data>

2021-05-03 22:29:41 | 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-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</value></node><item-id type="text-single" label="Item ID"><value>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</value></item-id><item type="text-multi" label="Item"><value><item id="item-0ea006ee-8577-4c16-8417-1d308c8aae5b"><test>item-0ea006ee-8577-4c16-8417-1d308c8aae5b</test></item></value></item></result>

2021-05-03 22:29:41 | [Mutex] notify: [retrieved:item:item-0ea006ee-8577-4c16-8417-1d308c8aae5b:payload-matches:true:localhost]

2021-05-03 22:29:41 | [Mutex] received everything.

2021-05-03 22:29:41 | [Mutex] isItemNotified: retrieved:item:item-0ea006ee-8577-4c16-8417-1d308c8aae5b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-03 22:29:41 |

2021-05-03 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:41 | ------------------------------------

2021-05-03 22:29:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-03 22:29:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</value><value>node-84bc6b3d-076b-4e0d-bccc-32a122634b3f</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-03 22:29:41 |

2021-05-03 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:41 | ------------------------------------

2021-05-03 22:29:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2)</node-pattern></data>

2021-05-03 22:29:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.139s
2021-05-03 22:29:39 |

2021-05-03 22:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:39 | ------------------------------------

2021-05-03 22:29:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-03 22:29:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.288s
2021-05-03 22:29:41 |

2021-05-03 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-03 22:29:41 | ------------------------------------

2021-05-03 22:29:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c80faccd-6daf-4761-8a7a-20ac87c7f2b2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-03 22:29:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>