Generated by TestNG with ReportNG at 22:45 PDT on Monday 27 March 2023
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.523s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2023-03-27 22:59:52 |

2023-03-27 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:52 | ------------------------------------

2023-03-27 22:59:52 | [Mutex] waiting for: [configured:node:node-dd10eb16-b40e-45ba-8178-48919053ac38:node-037f55ed-bf18-4f04-a5ff-45555470a748]

2023-03-27 22:59:52 | [Mutex] received everything.

2023-03-27 22:59:52 | [Mutex] isItemNotified: configured:node:node-dd10eb16-b40e-45ba-8178-48919053ac38:node-037f55ed-bf18-4f04-a5ff-45555470a748 :: true

2023-03-27 22:59:53 | [Mutex] waiting for: [received:nodes:ec1e395d-e1c1-42de-b2f1-141fcc544187:localhost]

2023-03-27 22:59:53 | [Mutex] received everything.

2023-03-27 22:59:53 | [Mutex] isItemNotified: received:node:ec1e395d-e1c1-42de-b2f1-141fcc544187:localhost:node-dd10eb16-b40e-45ba-8178-48919053ac38:Node dd10eb16-b40e-45ba-8178-48919053ac38 :: true

2023-03-27 22:59:53 | [Mutex] waiting for: [received:nodes:7bbcad69-3639-49e9-a835-4ce9c306f4f3:localhost]

2023-03-27 22:59:53 | [Mutex] waiting for: [received:nodes:7bbcad69-3639-49e9-a835-4ce9c306f4f3:localhost]

2023-03-27 22:59:53 | [Mutex] waiting for: [received:nodes:7bbcad69-3639-49e9-a835-4ce9c306f4f3:localhost]

2023-03-27 22:59:53 | [Mutex] received everything.

2023-03-27 22:59:53 | [Mutex] isItemNotified: received:node:7bbcad69-3639-49e9-a835-4ce9c306f4f3:localhost:node-dd10eb16-b40e-45ba-8178-48919053ac38:Node dd10eb16-b40e-45ba-8178-48919053ac38 :: false

createNodes 1.352s
2023-03-27 22:59:50 |

2023-03-27 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:50 | ------------------------------------

2023-03-27 22:59:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd10eb16-b40e-45ba-8178-48919053ac38</title></pubsub></data>

2023-03-27 22:59:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:59:51 | [Mutex] waiting for: [received:nodes:75afdfb5-e193-4369-93a6-5d5f907c9d34:localhost]

2023-03-27 22:59:51 | [Mutex] waiting for: [received:nodes:75afdfb5-e193-4369-93a6-5d5f907c9d34:localhost]

2023-03-27 22:59:51 | [Mutex] waiting for: [received:nodes:75afdfb5-e193-4369-93a6-5d5f907c9d34:localhost]

2023-03-27 22:59:51 | [Mutex] received everything.

2023-03-27 22:59:51 | [Mutex] isItemNotified: received:node:75afdfb5-e193-4369-93a6-5d5f907c9d34:localhost:node-dd10eb16-b40e-45ba-8178-48919053ac38:Node dd10eb16-b40e-45ba-8178-48919053ac38 :: true

createSubnodes 1.020s
2023-03-27 22:59:51 |

2023-03-27 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:51 | ------------------------------------

2023-03-27 22:59:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-037f55ed-bf18-4f04-a5ff-45555470a748</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 037f55ed-bf18-4f04-a5ff-45555470a748</title></pubsub></data>

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

2023-03-27 22:59:52 | [Mutex] waiting for: [received:nodes:f34f4fe7-5ba1-4d51-b13a-eadd09bdb8db:localhost]

2023-03-27 22:59:52 | [Mutex] waiting for: [received:nodes:f34f4fe7-5ba1-4d51-b13a-eadd09bdb8db:localhost]

2023-03-27 22:59:52 | [Mutex] waiting for: [received:nodes:f34f4fe7-5ba1-4d51-b13a-eadd09bdb8db:localhost]

2023-03-27 22:59:52 | [Mutex] waiting for: [received:nodes:f34f4fe7-5ba1-4d51-b13a-eadd09bdb8db:localhost]

2023-03-27 22:59:52 | [Mutex] received everything.

2023-03-27 22:59:52 | [Mutex] isItemNotified: received:node:f34f4fe7-5ba1-4d51-b13a-eadd09bdb8db:localhost:node-037f55ed-bf18-4f04-a5ff-45555470a748:Node 037f55ed-bf18-4f04-a5ff-45555470a748 :: true

deleteNodes 1.018s
2023-03-27 22:59:57 |

2023-03-27 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:57 | ------------------------------------

2023-03-27 22:59:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-037f55ed-bf18-4f04-a5ff-45555470a748</node></data>

2023-03-27 22:59:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:59:58 | [Mutex] waiting for: [received:nodes:7bf93651-1ba8-4c19-bd0c-a8df739c5059:localhost]

2023-03-27 22:59:58 | [Mutex] waiting for: [received:nodes:7bf93651-1ba8-4c19-bd0c-a8df739c5059:localhost]

2023-03-27 22:59:58 | [Mutex] waiting for: [received:nodes:7bf93651-1ba8-4c19-bd0c-a8df739c5059:localhost]

2023-03-27 22:59:58 | [Mutex] received everything.

2023-03-27 22:59:58 | [Mutex] isItemNotified: received:node:7bf93651-1ba8-4c19-bd0c-a8df739c5059:localhost:node-037f55ed-bf18-4f04-a5ff-45555470a748:Node 037f55ed-bf18-4f04-a5ff-45555470a748 :: false

deleteSubnodes 1.158s
2023-03-27 22:59:56 |

2023-03-27 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:56 | ------------------------------------

2023-03-27 22:59:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node></data>

2023-03-27 22:59:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-27 22:59:57 | [Mutex] waiting for: [received:nodes:62621c72-5f59-443d-8619-0d7ef6ddd763:localhost]

2023-03-27 22:59:57 | [Mutex] waiting for: [received:nodes:62621c72-5f59-443d-8619-0d7ef6ddd763:localhost]

2023-03-27 22:59:57 | [Mutex] waiting for: [received:nodes:62621c72-5f59-443d-8619-0d7ef6ddd763:localhost]

2023-03-27 22:59:57 | [Mutex] waiting for: [received:nodes:62621c72-5f59-443d-8619-0d7ef6ddd763:localhost]

2023-03-27 22:59:57 | [Mutex] received everything.

2023-03-27 22:59:57 | [Mutex] isItemNotified: received:node:62621c72-5f59-443d-8619-0d7ef6ddd763:localhost:node-dd10eb16-b40e-45ba-8178-48919053ac38:Node dd10eb16-b40e-45ba-8178-48919053ac38 :: false

2023-03-27 22:59:57 | [Mutex] waiting for: [received:nodes:a9f6eef0-8881-4804-9850-bb14bc2f4ea0:localhost]

2023-03-27 22:59:57 | [Mutex] received everything.

2023-03-27 22:59:57 | [Mutex] isItemNotified: received:node:a9f6eef0-8881-4804-9850-bb14bc2f4ea0:localhost:node-dd10eb16-b40e-45ba-8178-48919053ac38:Node dd10eb16-b40e-45ba-8178-48919053ac38 :: false

publishItemsToNodes 0.207s
2023-03-27 22:59:54 |

2023-03-27 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:54 | ------------------------------------

2023-03-27 22:59:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><item-id>item-64e84b94-62de-4a20-9210-d60db3ab4fad</item-id><entry><test>item-64e84b94-62de-4a20-9210-d60db3ab4fad</test></entry></data>

2023-03-27 22:59:54 | 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-64e84b94-62de-4a20-9210-d60db3ab4fad</value></item-id></result>

2023-03-27 22:59:54 | [Mutex] waiting for: [published:item:notifieditem-64e84b94-62de-4a20-9210-d60db3ab4fad:admin@test-domain.com]

2023-03-27 22:59:54 | [Mutex] received everything.

2023-03-27 22:59:54 | [Mutex] isItemNotified: published:item:notifieditem-64e84b94-62de-4a20-9210-d60db3ab4fad:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2023-03-27 22:59:55 |

2023-03-27 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:55 | ------------------------------------

2023-03-27 22:59:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><item-id>item-64e84b94-62de-4a20-9210-d60db3ab4fad</item-id></data>

2023-03-27 22:59:55 | 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-64e84b94-62de-4a20-9210-d60db3ab4fad</value></item-id></result>

2023-03-27 22:59:55 | [Mutex] waiting for: [retracted:item:notifieditem-64e84b94-62de-4a20-9210-d60db3ab4fad:admin@test-domain.com]

2023-03-27 22:59:55 | [Mutex] received everything.

2023-03-27 22:59:55 | [Mutex] isItemNotified: retracted:item:notifieditem-64e84b94-62de-4a20-9210-d60db3ab4fad:admin@test-domain.com :: true

retrieveItemsFromNodes 0.301s
2023-03-27 22:59:54 |

2023-03-27 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:54 | ------------------------------------

2023-03-27 22:59:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><item-id>item-64e84b94-62de-4a20-9210-d60db3ab4fad</item-id></data>

2023-03-27 22:59:55 | 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-dd10eb16-b40e-45ba-8178-48919053ac38</value></node><item-id type="text-single" label="Item ID"><value>item-64e84b94-62de-4a20-9210-d60db3ab4fad</value></item-id><item type="text-multi" label="Item"><value><item id="item-64e84b94-62de-4a20-9210-d60db3ab4fad"><test>item-64e84b94-62de-4a20-9210-d60db3ab4fad</test></item></value></item></result>

2023-03-27 22:59:55 | [Mutex] notify: [retrieved:item:item-64e84b94-62de-4a20-9210-d60db3ab4fad:payload-matches:true:localhost]

2023-03-27 22:59:55 | [Mutex] received everything.

2023-03-27 22:59:55 | [Mutex] isItemNotified: retrieved:item:item-64e84b94-62de-4a20-9210-d60db3ab4fad:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-27 22:59:55 |

2023-03-27 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:55 | ------------------------------------

2023-03-27 22:59:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-27 22:59:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-dd10eb16-b40e-45ba-8178-48919053ac38</value><value>test</value><value>node-037f55ed-bf18-4f04-a5ff-45555470a748</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-27 22:59:55 |

2023-03-27 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:55 | ------------------------------------

2023-03-27 22:59:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd10eb16-b40e-45ba-8178-48919053ac38)</node-pattern></data>

2023-03-27 22:59:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.111s
2023-03-27 22:59:53 |

2023-03-27 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:53 | ------------------------------------

2023-03-27 22:59:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 22:59:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.259s
2023-03-27 22:59:55 |

2023-03-27 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-27 22:59:55 | ------------------------------------

2023-03-27 22:59:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd10eb16-b40e-45ba-8178-48919053ac38</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-27 22:59:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>