Generated by TestNG with ReportNG at 04:36 PST on Thursday 17 February 2022
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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-02-17 04:49:40 |

2022-02-17 04:49:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:40 | ------------------------------------

2022-02-17 04:49:40 | [Mutex] waiting for: [configured:node:node-cc95a023-f038-42b5-a256-e990f403072d:node-c3285651-6b5a-4284-8df7-9f6a1e017aeb]

2022-02-17 04:49:40 | [Mutex] received everything.

2022-02-17 04:49:40 | [Mutex] isItemNotified: configured:node:node-cc95a023-f038-42b5-a256-e990f403072d:node-c3285651-6b5a-4284-8df7-9f6a1e017aeb :: true

2022-02-17 04:49:41 | [Mutex] waiting for: [received:nodes:3f64c21d-a53b-4ab9-891c-356e3d444b2d:localhost]

2022-02-17 04:49:41 | [Mutex] received everything.

2022-02-17 04:49:41 | [Mutex] isItemNotified: received:node:3f64c21d-a53b-4ab9-891c-356e3d444b2d:localhost:node-cc95a023-f038-42b5-a256-e990f403072d:Node cc95a023-f038-42b5-a256-e990f403072d :: true

2022-02-17 04:49:41 | [Mutex] waiting for: [received:nodes:c32944d4-7e8b-4808-a588-12d7ec041cab:localhost]

2022-02-17 04:49:41 | [Mutex] received everything.

2022-02-17 04:49:41 | [Mutex] isItemNotified: received:node:c32944d4-7e8b-4808-a588-12d7ec041cab:localhost:node-cc95a023-f038-42b5-a256-e990f403072d:Node cc95a023-f038-42b5-a256-e990f403072d :: false

createNodes 1.485s
2022-02-17 04:49:37 |

2022-02-17 04:49:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:37 | ------------------------------------

2022-02-17 04:49:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cc95a023-f038-42b5-a256-e990f403072d</title></pubsub></data>

2022-02-17 04:49:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 04:49:39 | [Mutex] waiting for: [received:nodes:5c1656e7-ec33-4a16-8237-a98b92d3ffed:localhost]

2022-02-17 04:49:39 | [Mutex] received everything.

2022-02-17 04:49:39 | [Mutex] isItemNotified: received:node:5c1656e7-ec33-4a16-8237-a98b92d3ffed:localhost:node-cc95a023-f038-42b5-a256-e990f403072d:Node cc95a023-f038-42b5-a256-e990f403072d :: true

createSubnodes 1.033s
2022-02-17 04:49:39 |

2022-02-17 04:49:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:39 | ------------------------------------

2022-02-17 04:49:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3285651-6b5a-4284-8df7-9f6a1e017aeb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c3285651-6b5a-4284-8df7-9f6a1e017aeb</title></pubsub></data>

2022-02-17 04:49:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 04:49:40 | [Mutex] waiting for: [received:nodes:235a2e76-74da-494b-93d3-fc2ffbd4f52d:localhost]

2022-02-17 04:49:40 | [Mutex] received everything.

2022-02-17 04:49:40 | [Mutex] isItemNotified: received:node:235a2e76-74da-494b-93d3-fc2ffbd4f52d:localhost:node-c3285651-6b5a-4284-8df7-9f6a1e017aeb:Node c3285651-6b5a-4284-8df7-9f6a1e017aeb :: true

deleteNodes 1.020s
2022-02-17 04:49:45 |

2022-02-17 04:49:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:45 | ------------------------------------

2022-02-17 04:49:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3285651-6b5a-4284-8df7-9f6a1e017aeb</node></data>

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

2022-02-17 04:49:46 | [Mutex] waiting for: [received:nodes:6ea26814-508c-4285-a834-ca7399c1a199:localhost]

2022-02-17 04:49:46 | [Mutex] received everything.

2022-02-17 04:49:46 | [Mutex] isItemNotified: received:node:6ea26814-508c-4285-a834-ca7399c1a199:localhost:node-c3285651-6b5a-4284-8df7-9f6a1e017aeb:Node c3285651-6b5a-4284-8df7-9f6a1e017aeb :: false

deleteSubnodes 1.195s
2022-02-17 04:49:44 |

2022-02-17 04:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:44 | ------------------------------------

2022-02-17 04:49:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node></data>

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

2022-02-17 04:49:45 | [Mutex] waiting for: [received:nodes:fdce93fb-892c-4bc4-aa0a-da97e40bd145:localhost]

2022-02-17 04:49:45 | [Mutex] received everything.

2022-02-17 04:49:45 | [Mutex] isItemNotified: received:node:fdce93fb-892c-4bc4-aa0a-da97e40bd145:localhost:node-cc95a023-f038-42b5-a256-e990f403072d:Node cc95a023-f038-42b5-a256-e990f403072d :: false

2022-02-17 04:49:45 | [Mutex] waiting for: [received:nodes:75c68b6c-a624-49d9-92b5-8cfeea0cb9e7:localhost]

2022-02-17 04:49:45 | [Mutex] received everything.

2022-02-17 04:49:45 | [Mutex] isItemNotified: received:node:75c68b6c-a624-49d9-92b5-8cfeea0cb9e7:localhost:node-cc95a023-f038-42b5-a256-e990f403072d:Node cc95a023-f038-42b5-a256-e990f403072d :: false

publishItemsToNodes 0.275s
2022-02-17 04:49:42 |

2022-02-17 04:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:42 | ------------------------------------

2022-02-17 04:49:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><item-id>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</item-id><entry><test>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</test></entry></data>

2022-02-17 04:49:42 | 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-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</value></item-id></result>

2022-02-17 04:49:42 | [Mutex] waiting for: [published:item:notifieditem-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:admin@test-domain.com]

2022-02-17 04:49:42 | [Mutex] received everything.

2022-02-17 04:49:42 | [Mutex] isItemNotified: published:item:notifieditem-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:admin@test-domain.com :: true

retractItemsFromNodes 0.222s
2022-02-17 04:49:42 |

2022-02-17 04:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:42 | ------------------------------------

2022-02-17 04:49:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><item-id>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</item-id></data>

2022-02-17 04:49:43 | 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-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</value></item-id></result>

2022-02-17 04:49:43 | [Mutex] waiting for: [retracted:item:notifieditem-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:admin@test-domain.com]

2022-02-17 04:49:43 | [Mutex] received everything.

2022-02-17 04:49:43 | [Mutex] isItemNotified: retracted:item:notifieditem-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2022-02-17 04:49:42 |

2022-02-17 04:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:42 | ------------------------------------

2022-02-17 04:49:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><item-id>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</item-id></data>

2022-02-17 04:49:42 | 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-cc95a023-f038-42b5-a256-e990f403072d</value></node><item-id type="text-single" label="Item ID"><value>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</value></item-id><item type="text-multi" label="Item"><value><item id="item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c"><test>item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c</test></item></value></item></result>

2022-02-17 04:49:42 | [Mutex] notify: [retrieved:item:item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:payload-matches:true:localhost]

2022-02-17 04:49:42 | [Mutex] received everything.

2022-02-17 04:49:42 | [Mutex] isItemNotified: retrieved:item:item-68d79fa2-ce92-4867-9e21-5ce7fbbf228c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-17 04:49:42 |

2022-02-17 04:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:42 | ------------------------------------

2022-02-17 04:49:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-17 04:49:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-cc95a023-f038-42b5-a256-e990f403072d</value><value>node-c3285651-6b5a-4284-8df7-9f6a1e017aeb</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-17 04:49:42 |

2022-02-17 04:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:42 | ------------------------------------

2022-02-17 04:49:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cc95a023-f038-42b5-a256-e990f403072d)</node-pattern></data>

2022-02-17 04:49:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.203s
2022-02-17 04:49:41 |

2022-02-17 04:49:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:41 | ------------------------------------

2022-02-17 04:49:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 04:49:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2022-02-17 04:49:43 |

2022-02-17 04:49:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 04:49:43 | ------------------------------------

2022-02-17 04:49:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cc95a023-f038-42b5-a256-e990f403072d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 04:49:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>