Generated by TestNG with ReportNG at 22:36 PDT on Wednesday 27 April 2022
root@1bc69cf4cb94 / 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.797s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-04-27 22:51:43 |

2022-04-27 22:51:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:43 | ------------------------------------

2022-04-27 22:51:43 | [Mutex] waiting for: [configured:node:node-23ff1240-5aa8-4de8-bc64-110eaee15987:node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c]

2022-04-27 22:51:43 | [Mutex] received everything.

2022-04-27 22:51:43 | [Mutex] isItemNotified: configured:node:node-23ff1240-5aa8-4de8-bc64-110eaee15987:node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c :: true

2022-04-27 22:51:44 | [Mutex] waiting for: [received:nodes:557503f2-2f4f-420c-af7a-48231ffd87e3:localhost]

2022-04-27 22:51:44 | [Mutex] received everything.

2022-04-27 22:51:44 | [Mutex] isItemNotified: received:node:557503f2-2f4f-420c-af7a-48231ffd87e3:localhost:node-23ff1240-5aa8-4de8-bc64-110eaee15987:Node 23ff1240-5aa8-4de8-bc64-110eaee15987 :: true

2022-04-27 22:51:44 | [Mutex] waiting for: [received:nodes:9950caad-8beb-43b3-ba84-07ab977b0268:localhost]

2022-04-27 22:51:44 | [Mutex] received everything.

2022-04-27 22:51:44 | [Mutex] isItemNotified: received:node:9950caad-8beb-43b3-ba84-07ab977b0268:localhost:node-23ff1240-5aa8-4de8-bc64-110eaee15987:Node 23ff1240-5aa8-4de8-bc64-110eaee15987 :: false

createNodes 1.432s
2022-04-27 22:51:41 |

2022-04-27 22:51:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:41 | ------------------------------------

2022-04-27 22:51:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 23ff1240-5aa8-4de8-bc64-110eaee15987</title></pubsub></data>

2022-04-27 22:51:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 22:51:42 | [Mutex] waiting for: [received:nodes:6c86145c-063c-455b-b7ed-88cdf91b3284:localhost]

2022-04-27 22:51:42 | [Mutex] received everything.

2022-04-27 22:51:42 | [Mutex] isItemNotified: received:node:6c86145c-063c-455b-b7ed-88cdf91b3284:localhost:node-23ff1240-5aa8-4de8-bc64-110eaee15987:Node 23ff1240-5aa8-4de8-bc64-110eaee15987 :: true

createSubnodes 1.032s
2022-04-27 22:51:42 |

2022-04-27 22:51:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:42 | ------------------------------------

2022-04-27 22:51:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8ef4bc94-80f4-4ec2-8056-2ed6fcec869c</title></pubsub></data>

2022-04-27 22:51:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 22:51:43 | [Mutex] waiting for: [received:nodes:b7991f8f-ad3d-4450-89b7-c7a35ed4f93b:localhost]

2022-04-27 22:51:43 | [Mutex] waiting for: [received:nodes:b7991f8f-ad3d-4450-89b7-c7a35ed4f93b:localhost]

2022-04-27 22:51:43 | [Mutex] received everything.

2022-04-27 22:51:43 | [Mutex] isItemNotified: received:node:b7991f8f-ad3d-4450-89b7-c7a35ed4f93b:localhost:node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c:Node 8ef4bc94-80f4-4ec2-8056-2ed6fcec869c :: true

deleteNodes 1.027s
2022-04-27 22:51:49 |

2022-04-27 22:51:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:49 | ------------------------------------

2022-04-27 22:51:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c</node></data>

2022-04-27 22:51:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 22:51:50 | [Mutex] waiting for: [received:nodes:ebb55ef7-0ed1-4075-97a7-839ffebf81a8:localhost]

2022-04-27 22:51:50 | [Mutex] received everything.

2022-04-27 22:51:50 | [Mutex] isItemNotified: received:node:ebb55ef7-0ed1-4075-97a7-839ffebf81a8:localhost:node-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c:Node 8ef4bc94-80f4-4ec2-8056-2ed6fcec869c :: false

deleteSubnodes 1.129s
2022-04-27 22:51:47 |

2022-04-27 22:51:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:47 | ------------------------------------

2022-04-27 22:51:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node></data>

2022-04-27 22:51:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-27 22:51:49 | [Mutex] waiting for: [received:nodes:18453110-2232-43bd-a886-6f7d0a58cb2d:localhost]

2022-04-27 22:51:49 | [Mutex] received everything.

2022-04-27 22:51:49 | [Mutex] isItemNotified: received:node:18453110-2232-43bd-a886-6f7d0a58cb2d:localhost:node-23ff1240-5aa8-4de8-bc64-110eaee15987:Node 23ff1240-5aa8-4de8-bc64-110eaee15987 :: false

2022-04-27 22:51:49 | [Mutex] waiting for: [received:nodes:8d30b0c1-4f2a-4bfe-9bdb-581503c3095f:localhost]

2022-04-27 22:51:49 | [Mutex] received everything.

2022-04-27 22:51:49 | [Mutex] isItemNotified: received:node:8d30b0c1-4f2a-4bfe-9bdb-581503c3095f:localhost:node-23ff1240-5aa8-4de8-bc64-110eaee15987:Node 23ff1240-5aa8-4de8-bc64-110eaee15987 :: false

publishItemsToNodes 0.206s
2022-04-27 22:51:45 |

2022-04-27 22:51:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:45 | ------------------------------------

2022-04-27 22:51:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><item-id>item-d490980b-6642-48aa-9526-20ba583ec02f</item-id><entry><test>item-d490980b-6642-48aa-9526-20ba583ec02f</test></entry></data>

2022-04-27 22:51:46 | 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-d490980b-6642-48aa-9526-20ba583ec02f</value></item-id></result>

2022-04-27 22:51:46 | [Mutex] waiting for: [published:item:notifieditem-d490980b-6642-48aa-9526-20ba583ec02f:admin@test-domain.com]

2022-04-27 22:51:46 | [Mutex] received everything.

2022-04-27 22:51:46 | [Mutex] isItemNotified: published:item:notifieditem-d490980b-6642-48aa-9526-20ba583ec02f:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2022-04-27 22:51:46 |

2022-04-27 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:46 | ------------------------------------

2022-04-27 22:51:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><item-id>item-d490980b-6642-48aa-9526-20ba583ec02f</item-id></data>

2022-04-27 22:51:46 | 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-d490980b-6642-48aa-9526-20ba583ec02f</value></item-id></result>

2022-04-27 22:51:46 | [Mutex] received everything.

2022-04-27 22:51:46 | [Mutex] isItemNotified: retracted:item:notifieditem-d490980b-6642-48aa-9526-20ba583ec02f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.290s
2022-04-27 22:51:46 |

2022-04-27 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:46 | ------------------------------------

2022-04-27 22:51:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><item-id>item-d490980b-6642-48aa-9526-20ba583ec02f</item-id></data>

2022-04-27 22:51:46 | 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-23ff1240-5aa8-4de8-bc64-110eaee15987</value></node><item-id type="text-single" label="Item ID"><value>item-d490980b-6642-48aa-9526-20ba583ec02f</value></item-id><item type="text-multi" label="Item"><value><item id="item-d490980b-6642-48aa-9526-20ba583ec02f"><test>item-d490980b-6642-48aa-9526-20ba583ec02f</test></item></value></item></result>

2022-04-27 22:51:46 | [Mutex] notify: [retrieved:item:item-d490980b-6642-48aa-9526-20ba583ec02f:payload-matches:true:localhost]

2022-04-27 22:51:46 | [Mutex] received everything.

2022-04-27 22:51:46 | [Mutex] isItemNotified: retrieved:item:item-d490980b-6642-48aa-9526-20ba583ec02f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-04-27 22:51:46 |

2022-04-27 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:46 | ------------------------------------

2022-04-27 22:51:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-04-27 22:51:46 | 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-8ef4bc94-80f4-4ec2-8056-2ed6fcec869c</value><value>node-23ff1240-5aa8-4de8-bc64-110eaee15987</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-04-27 22:51:46 |

2022-04-27 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:46 | ------------------------------------

2022-04-27 22:51:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-23ff1240-5aa8-4de8-bc64-110eaee15987)</node-pattern></data>

2022-04-27 22:51:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.153s
2022-04-27 22:51:44 |

2022-04-27 22:51:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:44 | ------------------------------------

2022-04-27 22:51:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 22:51:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.238s
2022-04-27 22:51:46 |

2022-04-27 22:51:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:51:46 | ------------------------------------

2022-04-27 22:51:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-23ff1240-5aa8-4de8-bc64-110eaee15987</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 22:51:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>